Variable ActionConst

Action: {
    Create: ZodObject<{
        action: ZodEnum<[DeleteFile, WriteFile, ListDirs, ReadFiles, WriteTaskList, RunCommand, GetLinks, VisitLink, GetTree, Test]>;
        message: ZodString;
        workDir: ZodOptional<ZodString>;
    }, "strip", ZodTypeAny, {
        action: Actions;
        message: string;
        workDir?: string;
    }, {
        action: Actions;
        message: string;
        workDir?: string;
    }>;
    Schemas: {
        DeleteFile: ZodArray<ZodString, "many">;
        GetLinks: ZodObject<{
            query: ZodString;
        }, "strip", ZodTypeAny, {
            query: string;
        }, {
            query: string;
        }>;
        GetTree: ZodObject<{
            path: ZodString;
        }, "strip", ZodTypeAny, {
            path: string;
        }, {
            path: string;
        }>;
        ListDirs: ZodArray<ZodString, "many">;
        ReadFiles: ZodArray<ZodString, "many">;
        RunCommand: ZodObject<{
            arguments: ZodArray<ZodString, "many">;
            command: ZodString;
        }, "strip", ZodTypeAny, {
            arguments: string[];
            command: string;
        }, {
            arguments: string[];
            command: string;
        }>;
        Test: ZodObject<{
            message: ZodString;
            result: ZodEnum<["ok", "error"]>;
        }, "strip", ZodTypeAny, {
            message: string;
            result: "ok" | "error";
        }, {
            message: string;
            result: "ok" | "error";
        }>;
        VisitLink: ZodObject<{
            link: ZodString;
        }, "strip", ZodTypeAny, {
            link: string;
        }, {
            link: string;
        }>;
        WriteFile: ZodArray<ZodObject<{
            content: ZodString;
            path: ZodString;
        }, "strip", ZodTypeAny, {
            content: string;
            path: string;
        }, {
            content: string;
            path: string;
        }>, "many">;
        WriteTaskList: ZodArray<ZodObject<{
            description: ZodString;
            task: ZodEnum<[DeleteFile, WriteFile, ListDirs, ReadFiles, WriteTaskList, RunCommand, GetLinks, VisitLink, GetTree, Test]>;
        }, "strip", ZodTypeAny, {
            description: string;
            task: Actions;
        }, {
            description: string;
            task: Actions;
        }>, "many">;
    };
} = ...

Type declaration

  • Create: ZodObject<{
        action: ZodEnum<[DeleteFile, WriteFile, ListDirs, ReadFiles, WriteTaskList, RunCommand, GetLinks, VisitLink, GetTree, Test]>;
        message: ZodString;
        workDir: ZodOptional<ZodString>;
    }, "strip", ZodTypeAny, {
        action: Actions;
        message: string;
        workDir?: string;
    }, {
        action: Actions;
        message: string;
        workDir?: string;
    }>
  • Schemas: {
        DeleteFile: ZodArray<ZodString, "many">;
        GetLinks: ZodObject<{
            query: ZodString;
        }, "strip", ZodTypeAny, {
            query: string;
        }, {
            query: string;
        }>;
        GetTree: ZodObject<{
            path: ZodString;
        }, "strip", ZodTypeAny, {
            path: string;
        }, {
            path: string;
        }>;
        ListDirs: ZodArray<ZodString, "many">;
        ReadFiles: ZodArray<ZodString, "many">;
        RunCommand: ZodObject<{
            arguments: ZodArray<ZodString, "many">;
            command: ZodString;
        }, "strip", ZodTypeAny, {
            arguments: string[];
            command: string;
        }, {
            arguments: string[];
            command: string;
        }>;
        Test: ZodObject<{
            message: ZodString;
            result: ZodEnum<["ok", "error"]>;
        }, "strip", ZodTypeAny, {
            message: string;
            result: "ok" | "error";
        }, {
            message: string;
            result: "ok" | "error";
        }>;
        VisitLink: ZodObject<{
            link: ZodString;
        }, "strip", ZodTypeAny, {
            link: string;
        }, {
            link: string;
        }>;
        WriteFile: ZodArray<ZodObject<{
            content: ZodString;
            path: ZodString;
        }, "strip", ZodTypeAny, {
            content: string;
            path: string;
        }, {
            content: string;
            path: string;
        }>, "many">;
        WriteTaskList: ZodArray<ZodObject<{
            description: ZodString;
            task: ZodEnum<[DeleteFile, WriteFile, ListDirs, ReadFiles, WriteTaskList, RunCommand, GetLinks, VisitLink, GetTree, Test]>;
        }, "strip", ZodTypeAny, {
            description: string;
            task: Actions;
        }, {
            description: string;
            task: Actions;
        }>, "many">;
    }
    • DeleteFile: ZodArray<ZodString, "many">
    • GetLinks: ZodObject<{
          query: ZodString;
      }, "strip", ZodTypeAny, {
          query: string;
      }, {
          query: string;
      }>
    • GetTree: ZodObject<{
          path: ZodString;
      }, "strip", ZodTypeAny, {
          path: string;
      }, {
          path: string;
      }>
    • ListDirs: ZodArray<ZodString, "many">
    • ReadFiles: ZodArray<ZodString, "many">
    • RunCommand: ZodObject<{
          arguments: ZodArray<ZodString, "many">;
          command: ZodString;
      }, "strip", ZodTypeAny, {
          arguments: string[];
          command: string;
      }, {
          arguments: string[];
          command: string;
      }>
    • Test: ZodObject<{
          message: ZodString;
          result: ZodEnum<["ok", "error"]>;
      }, "strip", ZodTypeAny, {
          message: string;
          result: "ok" | "error";
      }, {
          message: string;
          result: "ok" | "error";
      }>
    • VisitLink: ZodObject<{
          link: ZodString;
      }, "strip", ZodTypeAny, {
          link: string;
      }, {
          link: string;
      }>
    • WriteFile: ZodArray<ZodObject<{
          content: ZodString;
          path: ZodString;
      }, "strip", ZodTypeAny, {
          content: string;
          path: string;
      }, {
          content: string;
          path: string;
      }>, "many">
    • WriteTaskList: ZodArray<ZodObject<{
          description: ZodString;
          task: ZodEnum<[DeleteFile, WriteFile, ListDirs, ReadFiles, WriteTaskList, RunCommand, GetLinks, VisitLink, GetTree, Test]>;
      }, "strip", ZodTypeAny, {
          description: string;
          task: Actions;
      }, {
          description: string;
          task: Actions;
      }>, "many">

Generated using TypeDoc