@requence/service 0.7.1 → 0.8.2-edge.1149

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/README.md +15 -0
  3. package/build/chunk-974rc2jy.js +200 -0
  4. package/build/chunk-974rc2jy.js.map +12 -0
  5. package/build/cli.js +17 -7
  6. package/build/cli.js.map +3 -3
  7. package/build/index.js +1416 -452
  8. package/build/index.js.map +29 -14
  9. package/build/types/helpers/src/index.d.ts +8 -2
  10. package/build/types/helpers/src/index.d.ts.map +1 -1
  11. package/build/types/helpers/src/jsonschema/validate.d.ts +1 -5
  12. package/build/types/helpers/src/jsonschema/validate.d.ts.map +1 -1
  13. package/build/types/helpers/src/jsonschema/zod.d.ts +11 -1
  14. package/build/types/helpers/src/jsonschema/zod.d.ts.map +1 -1
  15. package/build/types/helpers/src/protocol/NodeTree.d.ts +532 -148
  16. package/build/types/helpers/src/protocol/NodeTree.d.ts.map +1 -1
  17. package/build/types/helpers/src/protocol/clientProperties.d.ts +66 -0
  18. package/build/types/helpers/src/protocol/clientProperties.d.ts.map +1 -0
  19. package/build/types/helpers/src/protocol/command.d.ts +372 -142
  20. package/build/types/helpers/src/protocol/command.d.ts.map +1 -1
  21. package/build/types/helpers/src/protocol/configurationScript.d.ts +10 -0
  22. package/build/types/helpers/src/protocol/configurationScript.d.ts.map +1 -0
  23. package/build/types/helpers/src/protocol/helpers.d.ts.map +1 -1
  24. package/build/types/helpers/src/protocol/index.d.ts +5 -0
  25. package/build/types/helpers/src/protocol/index.d.ts.map +1 -1
  26. package/build/types/helpers/src/protocol/logicLanguages.d.ts +19 -0
  27. package/build/types/helpers/src/protocol/logicLanguages.d.ts.map +1 -0
  28. package/build/types/helpers/src/protocol/loopDetection.d.ts +23 -0
  29. package/build/types/helpers/src/protocol/loopDetection.d.ts.map +1 -0
  30. package/build/types/helpers/src/protocol/nodeType.d.ts +81 -27
  31. package/build/types/helpers/src/protocol/nodeType.d.ts.map +1 -1
  32. package/build/types/helpers/src/protocol/taskOptions.d.ts +4 -1
  33. package/build/types/helpers/src/protocol/taskOptions.d.ts.map +1 -1
  34. package/build/types/helpers/src/protocol/templateNodeTypes.d.ts +36 -20
  35. package/build/types/helpers/src/protocol/templateNodeTypes.d.ts.map +1 -1
  36. package/build/types/helpers/src/protocol/treeNodes.d.ts +508 -164
  37. package/build/types/helpers/src/protocol/treeNodes.d.ts.map +1 -1
  38. package/build/types/helpers/src/protocol/update.d.ts +40 -24
  39. package/build/types/helpers/src/protocol/update.d.ts.map +1 -1
  40. package/build/types/helpers/src/protocol/validateTreeStructure.d.ts +22 -0
  41. package/build/types/helpers/src/protocol/validateTreeStructure.d.ts.map +1 -0
  42. package/build/types/helpers/src/utils/amqpHeartbeat.d.ts +3 -0
  43. package/build/types/helpers/src/utils/amqpHeartbeat.d.ts.map +1 -0
  44. package/build/types/helpers/src/utils/amqpPublishRetry.d.ts +45 -0
  45. package/build/types/helpers/src/utils/amqpPublishRetry.d.ts.map +1 -0
  46. package/build/types/helpers/src/utils/claimCheckObject.d.ts +40 -0
  47. package/build/types/helpers/src/utils/claimCheckObject.d.ts.map +1 -0
  48. package/build/types/helpers/src/utils/debounce.d.ts.map +1 -1
  49. package/build/types/helpers/src/{files → utils}/fileObject.d.ts.map +1 -1
  50. package/build/types/helpers/src/{files → utils}/isValidMimeType.d.ts.map +1 -1
  51. package/build/types/helpers/src/utils/mapData.d.ts +1 -1
  52. package/build/types/helpers/src/utils/mapData.d.ts.map +1 -1
  53. package/build/types/helpers/src/{files → utils}/streamObject.d.ts.map +1 -1
  54. package/build/types/helpers/src/utils/variableRef.d.ts +19 -0
  55. package/build/types/helpers/src/utils/variableRef.d.ts.map +1 -0
  56. package/build/types/helpers/src/utils/variableScriptPatterns.d.ts +125 -0
  57. package/build/types/helpers/src/utils/variableScriptPatterns.d.ts.map +1 -0
  58. package/build/types/service/src/boundary.d.ts +87 -0
  59. package/build/types/service/src/boundary.d.ts.map +1 -0
  60. package/build/types/service/src/createAmqpConnection.d.ts +29 -4
  61. package/build/types/service/src/createAmqpConnection.d.ts.map +1 -1
  62. package/build/types/service/src/errors.d.ts +45 -0
  63. package/build/types/service/src/errors.d.ts.map +1 -1
  64. package/build/types/service/src/helpers.d.ts +59 -56
  65. package/build/types/service/src/helpers.d.ts.map +1 -1
  66. package/build/types/service/src/index.d.ts +25 -3
  67. package/build/types/service/src/index.d.ts.map +1 -1
  68. package/build/types/service/src/transformer.d.ts +16 -0
  69. package/build/types/service/src/transformer.d.ts.map +1 -0
  70. package/package.json +7 -3
  71. package/build/chunk-6w7td62p.js +0 -56
  72. package/build/chunk-6w7td62p.js.map +0 -10
  73. package/build/types/helpers/src/files/RequenceFile.d.ts +0 -40
  74. package/build/types/helpers/src/files/RequenceFile.d.ts.map +0 -1
  75. package/build/types/helpers/src/files/RequenceStream.d.ts +0 -32
  76. package/build/types/helpers/src/files/RequenceStream.d.ts.map +0 -1
  77. package/build/types/helpers/src/files/index.d.ts +0 -7
  78. package/build/types/helpers/src/files/index.d.ts.map +0 -1
  79. package/build/types/helpers/src/files/mapOutput.d.ts +0 -10
  80. package/build/types/helpers/src/files/mapOutput.d.ts.map +0 -1
  81. package/build/types/helpers/src/files/types.d.ts +0 -4
  82. package/build/types/helpers/src/files/types.d.ts.map +0 -1
  83. package/build/types/helpers/src/utils/createObjectProxy.d.ts +0 -2
  84. package/build/types/helpers/src/utils/createObjectProxy.d.ts.map +0 -1
  85. package/build/types/helpers/src/utils/resolveRequenceTypes.d.ts +0 -8
  86. package/build/types/helpers/src/utils/resolveRequenceTypes.d.ts.map +0 -1
  87. package/build/types/service/src/mapInput.d.ts +0 -2
  88. package/build/types/service/src/mapInput.d.ts.map +0 -1
  89. /package/build/types/helpers/src/{files → utils}/fileObject.d.ts +0 -0
  90. /package/build/types/helpers/src/{files → utils}/isValidMimeType.d.ts +0 -0
  91. /package/build/types/helpers/src/{files → utils}/streamObject.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAK1B,eAAO,MAAM,kBAAkB;;;iBAG7B,CAAA;AAEF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAE7D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuB3B,CAAA;AAEL,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAE/D,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAAqD,CAAA;AAC/E,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAA;AACnD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAA"}
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../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AqD,CAAA;AAC/E,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAA;AACnD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAA"}
@@ -0,0 +1,10 @@
1
+ export type ConfigurationScriptField = {
2
+ key: string;
3
+ body: string;
4
+ };
5
+ /**
6
+ * The single generator both sides use. `javascript`/`typescript` share the JS
7
+ * guest; only `python` differs.
8
+ */
9
+ export declare function generateConfigurationScript(language: string, fields: ConfigurationScriptField[]): string;
10
+ //# sourceMappingURL=configurationScript.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configurationScript.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/configurationScript.ts"],"names":[],"mappings":"AAkBA,MAAM,MAAM,wBAAwB,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAA;AA8DpE;;;GAGG;AACH,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,wBAAwB,EAAE,GACjC,MAAM,CAIR"}
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE/B,qBAAa,kBAAmB,SAAQ,KAAK;aAGzB,MAAM,CAAC,EAAE,MAAM;gBAD/B,OAAO,EAAE,MAAM,EACC,MAAM,CAAC,EAAE,MAAM,YAAA;CAIlC;AAED,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,GAAG,EAC/C,GAAG,EAAE,CAAC,CAAC,aAAa,EACpB,OAAO,EAAE,CAAC,GACT,UAAU,CAAC,CAAC,CAAC,CAkBf"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE/B,qBAAa,kBAAmB,SAAQ,KAAK;aAGzB,MAAM,CAAC,EAAE,MAAM;IAFjC,YACE,OAAO,EAAE,MAAM,EACC,MAAM,CAAC,EAAE,MAAM,YAAA,EAGhC;CACF;AAED,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,GAAG,EAC/C,GAAG,EAAE,CAAC,CAAC,aAAa,EACpB,OAAO,EAAE,CAAC,GACT,UAAU,CAAC,CAAC,CAAC,CAkBf"}
@@ -1,7 +1,12 @@
1
+ export * from './clientProperties.ts';
1
2
  export * from './command.ts';
3
+ export * from './configurationScript.ts';
4
+ export * from './logicLanguages.ts';
5
+ export * from './loopDetection.ts';
2
6
  export * from './nodeType.ts';
3
7
  export * from './update.ts';
4
8
  export * from './treeNodes.ts';
9
+ export * from './validateTreeStructure.ts';
5
10
  export * from './NodeTree.ts';
6
11
  export * from './taskOptions.ts';
7
12
  export * from './templateNodeTypes.ts';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,kBAAkB,CAAA;AAChC,cAAc,wBAAwB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,cAAc,CAAA;AAC5B,cAAc,0BAA0B,CAAA;AACxC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,eAAe,CAAA;AAC7B,cAAc,kBAAkB,CAAA;AAChC,cAAc,wBAAwB,CAAA"}
@@ -0,0 +1,19 @@
1
+ export declare const LOGIC_LANGUAGES: readonly ['javascript', 'python', 'typescript'];
2
+ export type LogicLanguage = (typeof LOGIC_LANGUAGES)[number];
3
+ export declare const EXECUTABLE_LOGIC_LANGUAGES: readonly ["javascript", "python", "typescript"];
4
+ export type ExecutableLogicLanguage = (typeof EXECUTABLE_LOGIC_LANGUAGES)[number];
5
+ export declare const LOGIC_TOOLCHAINS: readonly ['node', 'python'];
6
+ export type LogicToolchain = (typeof LOGIC_TOOLCHAINS)[number];
7
+ export declare const TOOLCHAIN_LANGUAGES: {
8
+ readonly node: readonly ["javascript", "typescript"];
9
+ readonly python: readonly ["python"];
10
+ };
11
+ export declare function languagesForToolchains(toolchains: readonly LogicToolchain[]): readonly ExecutableLogicLanguage[];
12
+ export declare const DEFAULT_LOGIC_SCRIPTS: {
13
+ javascript: string;
14
+ typescript: string;
15
+ python: string;
16
+ };
17
+ export declare function getDefaultLogicScript(language: LogicLanguage): string;
18
+ export declare function isDefaultLogicScript(script: string): boolean;
19
+ //# sourceMappingURL=logicLanguages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logicLanguages.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/logicLanguages.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,eAAe,YAAI,YAAY,EAAE,QAAQ,EAAE,YAAY,CAAU,CAAA;AAC9E,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAA;AAQ5D,eAAO,MAAM,0BAA0B,iDAIM,CAAA;AAC7C,MAAM,MAAM,uBAAuB,GACjC,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAA;AAK7C,eAAO,MAAM,gBAAgB,YAAI,MAAM,EAAE,QAAQ,CAAU,CAAA;AAC3D,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAA;AAS9D,eAAO,MAAM,mBAAmB;;;CAG+C,CAAA;AAQ/E,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,SAAS,cAAc,EAAE,GACpC,SAAS,uBAAuB,EAAE,CAKpC;AAID,eAAO,MAAM,qBAAqB;;;;CAIO,CAAA;AAEzC,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,aAAa,GAAG,MAAM,CAErE;AAQD,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAE5D"}
@@ -0,0 +1,23 @@
1
+ export declare const UNCONDITIONAL_LOOP_MESSAGE = "unconditional infinite loop detected";
2
+ interface LoopDetectionNode {
3
+ id: string;
4
+ }
5
+ interface LoopDetectionEdge {
6
+ source: string;
7
+ target: string;
8
+ sourceHandle?: string | null;
9
+ }
10
+ /**
11
+ * Detects an unconditional infinite loop: a cycle formed exclusively by edges
12
+ * that leave their source through its *default* output, where that source has
13
+ * no named outputs at all. A node with any named output treats its default as a
14
+ * conditional fallback, so all of its edges are excluded from the cycle search.
15
+ * Returns the id of the node where the back-edge closes the cycle (matching the
16
+ * traversal order of the array), or `null` when there is none.
17
+ *
18
+ * Single source of truth shared by the backend save-time tree validation
19
+ * (`validatedTreeSchema`) and the frontend's live structural check.
20
+ */
21
+ export declare function findUnconditionalLoop(nodes: ReadonlyArray<LoopDetectionNode>, edges: ReadonlyArray<LoopDetectionEdge>): string | null;
22
+ export {};
23
+ //# sourceMappingURL=loopDetection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loopDetection.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/loopDetection.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,yCAAyC,CAAA;AAEhF,UAAU,iBAAiB;IACzB,EAAE,EAAE,MAAM,CAAA;CACX;AAED,UAAU,iBAAiB;IACzB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC7B;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,aAAa,CAAC,iBAAiB,CAAC,EACvC,KAAK,EAAE,aAAa,CAAC,iBAAiB,CAAC,GACtC,MAAM,GAAG,IAAI,CAyDf"}
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod/v4';
2
+ export declare const RESERVED_OUTPUT_NAMES: ReadonlyArray<string>;
2
3
  export declare const entryNodeSchema: z.ZodObject<{
3
4
  id: z.ZodDefault<z.ZodUUID>;
4
5
  type: z.ZodLiteral<"entry">;
@@ -6,7 +7,20 @@ export declare const entryNodeSchema: z.ZodObject<{
6
7
  inputSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
7
8
  }, z.core.$strict>;
8
9
  export type EntryNode = z.output<typeof entryNodeSchema>;
10
+ export declare const configurationFunctionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
11
+ language: z.ZodDefault<z.ZodEnum<{
12
+ javascript: "javascript";
13
+ python: "python";
14
+ typescript: "typescript";
15
+ }>>;
16
+ body: z.ZodString;
17
+ }, z.core.$strict>>;
18
+ export type ConfigurationFunctions = z.output<typeof configurationFunctionsSchema>;
9
19
  export declare const serviceNodeSchema: z.ZodObject<{
20
+ outputs: z.ZodArray<z.ZodObject<{
21
+ name: z.ZodNullable<z.ZodString>;
22
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
23
+ }, z.core.$strip>>;
10
24
  id: z.ZodDefault<z.ZodUUID>;
11
25
  type: z.ZodLiteral<"service">;
12
26
  alias: z.ZodOptional<z.ZodString>;
@@ -16,31 +30,45 @@ export declare const serviceNodeSchema: z.ZodObject<{
16
30
  type: z.ZodLiteral<"null">;
17
31
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
18
32
  $ref: z.ZodString;
33
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodIntersection<z.ZodObject<{
34
+ oneOf: z.ZodArray<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
35
+ type: z.ZodLiteral<"object">;
36
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
37
+ type: z.ZodLiteral<"null">;
38
+ }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
39
+ $ref: z.ZodString;
40
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
19
41
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
20
42
  name: z.ZodString;
21
43
  version: z.ZodString;
22
44
  configuration: z.ZodOptional<z.ZodAny>;
23
45
  configurationSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
24
46
  ttl: z.ZodOptional<z.ZodNumber>;
25
- retry: z.ZodOptional<z.ZodNumber>;
47
+ retry: z.ZodDefault<z.ZodNumber>;
26
48
  retryDelay: z.ZodOptional<z.ZodNumber>;
27
49
  mode: z.ZodDefault<z.ZodEnum<{
28
- LINEAR: "LINEAR";
29
50
  CONTINUOUS: "CONTINUOUS";
51
+ LINEAR: "LINEAR";
30
52
  }>>;
31
- outputs: z.ZodArray<z.ZodObject<{
32
- name: z.ZodNullable<z.ZodString>;
33
- schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
34
- }, z.core.$strip>>;
53
+ privileged: z.ZodDefault<z.ZodBoolean>;
54
+ wireCodec: z.ZodOptional<z.ZodEnum<{
55
+ json: "json";
56
+ msgpack: "msgpack";
57
+ }>>;
58
+ configurationServices: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
35
59
  }, z.core.$strict>;
36
60
  export type ServiceNode = z.output<typeof serviceNodeSchema>;
37
- /** No retry, 10s retry delay, infinite TTL */
61
+ /** No retry (0 attempts), 10s retry delay, infinite TTL */
38
62
  export declare const SERVICE_SETTINGS_GLOBAL_DEFAULTS: {
39
- readonly retry: undefined;
63
+ readonly retry: 0;
40
64
  readonly retryDelay: 10000;
41
65
  readonly ttl: undefined;
42
66
  };
43
67
  export declare const logicNodeSchema: z.ZodObject<{
68
+ outputs: z.ZodArray<z.ZodObject<{
69
+ name: z.ZodNullable<z.ZodString>;
70
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
71
+ }, z.core.$strip>>;
44
72
  id: z.ZodDefault<z.ZodUUID>;
45
73
  type: z.ZodLiteral<"logic">;
46
74
  alias: z.ZodOptional<z.ZodString>;
@@ -52,10 +80,6 @@ export declare const logicNodeSchema: z.ZodObject<{
52
80
  typescript: "typescript";
53
81
  }>>;
54
82
  maxExecutionTime: z.ZodDefault<z.ZodNumber>;
55
- outputs: z.ZodArray<z.ZodObject<{
56
- name: z.ZodNullable<z.ZodString>;
57
- schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
58
- }, z.core.$strip>>;
59
83
  }, z.core.$strict>;
60
84
  export type LogicNode = z.output<typeof logicNodeSchema>;
61
85
  export declare const orNodeSchema: z.ZodObject<{
@@ -65,6 +89,10 @@ export declare const orNodeSchema: z.ZodObject<{
65
89
  }, z.core.$strict>;
66
90
  export type OrNode = z.output<typeof orNodeSchema>;
67
91
  export declare const referenceNodeSchema: z.ZodObject<{
92
+ outputs: z.ZodArray<z.ZodObject<{
93
+ name: z.ZodNullable<z.ZodString>;
94
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
95
+ }, z.core.$strip>>;
68
96
  id: z.ZodDefault<z.ZodUUID>;
69
97
  type: z.ZodLiteral<"reference">;
70
98
  alias: z.ZodOptional<z.ZodString>;
@@ -76,11 +104,15 @@ export declare const referenceNodeSchema: z.ZodObject<{
76
104
  type: z.ZodLiteral<"null">;
77
105
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
78
106
  $ref: z.ZodString;
107
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodIntersection<z.ZodObject<{
108
+ oneOf: z.ZodArray<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
109
+ type: z.ZodLiteral<"object">;
110
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
111
+ type: z.ZodLiteral<"null">;
112
+ }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
113
+ $ref: z.ZodString;
114
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
79
115
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
80
- outputs: z.ZodArray<z.ZodObject<{
81
- name: z.ZodNullable<z.ZodString>;
82
- schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
83
- }, z.core.$strip>>;
84
116
  }, z.core.$strict>;
85
117
  export type ReferenceNode = z.output<typeof referenceNodeSchema>;
86
118
  export declare const exitNodeSchema: z.ZodObject<{
@@ -103,6 +135,10 @@ export declare const nodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
103
135
  alias: z.ZodOptional<z.ZodString>;
104
136
  inputSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
105
137
  }, z.core.$strict>, z.ZodObject<{
138
+ outputs: z.ZodArray<z.ZodObject<{
139
+ name: z.ZodNullable<z.ZodString>;
140
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
141
+ }, z.core.$strip>>;
106
142
  id: z.ZodDefault<z.ZodUUID>;
107
143
  type: z.ZodLiteral<"service">;
108
144
  alias: z.ZodOptional<z.ZodString>;
@@ -112,23 +148,37 @@ export declare const nodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
112
148
  type: z.ZodLiteral<"null">;
113
149
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
114
150
  $ref: z.ZodString;
151
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodIntersection<z.ZodObject<{
152
+ oneOf: z.ZodArray<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
153
+ type: z.ZodLiteral<"object">;
154
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
155
+ type: z.ZodLiteral<"null">;
156
+ }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
157
+ $ref: z.ZodString;
158
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
115
159
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
116
160
  name: z.ZodString;
117
161
  version: z.ZodString;
118
162
  configuration: z.ZodOptional<z.ZodAny>;
119
163
  configurationSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
120
164
  ttl: z.ZodOptional<z.ZodNumber>;
121
- retry: z.ZodOptional<z.ZodNumber>;
165
+ retry: z.ZodDefault<z.ZodNumber>;
122
166
  retryDelay: z.ZodOptional<z.ZodNumber>;
123
167
  mode: z.ZodDefault<z.ZodEnum<{
124
- LINEAR: "LINEAR";
125
168
  CONTINUOUS: "CONTINUOUS";
169
+ LINEAR: "LINEAR";
170
+ }>>;
171
+ privileged: z.ZodDefault<z.ZodBoolean>;
172
+ wireCodec: z.ZodOptional<z.ZodEnum<{
173
+ json: "json";
174
+ msgpack: "msgpack";
126
175
  }>>;
176
+ configurationServices: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
177
+ }, z.core.$strict>, z.ZodObject<{
127
178
  outputs: z.ZodArray<z.ZodObject<{
128
179
  name: z.ZodNullable<z.ZodString>;
129
180
  schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
130
181
  }, z.core.$strip>>;
131
- }, z.core.$strict>, z.ZodObject<{
132
182
  id: z.ZodDefault<z.ZodUUID>;
133
183
  type: z.ZodLiteral<"logic">;
134
184
  alias: z.ZodOptional<z.ZodString>;
@@ -140,15 +190,15 @@ export declare const nodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
140
190
  typescript: "typescript";
141
191
  }>>;
142
192
  maxExecutionTime: z.ZodDefault<z.ZodNumber>;
143
- outputs: z.ZodArray<z.ZodObject<{
144
- name: z.ZodNullable<z.ZodString>;
145
- schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
146
- }, z.core.$strip>>;
147
193
  }, z.core.$strict>, z.ZodObject<{
148
194
  id: z.ZodDefault<z.ZodUUID>;
149
195
  type: z.ZodLiteral<"or">;
150
196
  alias: z.ZodOptional<z.ZodString>;
151
197
  }, z.core.$strict>, z.ZodObject<{
198
+ outputs: z.ZodArray<z.ZodObject<{
199
+ name: z.ZodNullable<z.ZodString>;
200
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
201
+ }, z.core.$strip>>;
152
202
  id: z.ZodDefault<z.ZodUUID>;
153
203
  type: z.ZodLiteral<"reference">;
154
204
  alias: z.ZodOptional<z.ZodString>;
@@ -160,11 +210,15 @@ export declare const nodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
160
210
  type: z.ZodLiteral<"null">;
161
211
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
162
212
  $ref: z.ZodString;
213
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodIntersection<z.ZodObject<{
214
+ oneOf: z.ZodArray<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
215
+ type: z.ZodLiteral<"object">;
216
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
217
+ type: z.ZodLiteral<"null">;
218
+ }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
219
+ $ref: z.ZodString;
220
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
163
221
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
164
- outputs: z.ZodArray<z.ZodObject<{
165
- name: z.ZodNullable<z.ZodString>;
166
- schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
167
- }, z.core.$strip>>;
168
222
  }, z.core.$strict>, z.ZodObject<{
169
223
  id: z.ZodDefault<z.ZodUUID>;
170
224
  type: z.ZodLiteral<"exit">;
@@ -1 +1 @@
1
- {"version":3,"file":"nodeType.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/nodeType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAkC1B,eAAO,MAAM,eAAe;;;;;kBAK1B,CAAA;AAEF,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,eAAe,CAAC,CAAA;AAExD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;kBAqBF,CAAA;AAC5B,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAE5D,8CAA8C;AAC9C,eAAO,MAAM,gCAAgC;;;;CAInC,CAAA;AAEV,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAQrB,CAAA;AAEF,eAAO,MAAM,UAAU;;;;;iBAKrB,CAAA;AAEF,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,CAAA;AAC9C,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,CAAA"}
@@ -2,12 +2,14 @@ import { z } from 'zod/v4';
2
2
  export declare const taskOptionsSchema: z.ZodObject<{
3
3
  maxExecutions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4
4
  mode: z.ZodDefault<z.ZodEnum<{
5
- LINEAR: "LINEAR";
6
5
  CONTINUOUS: "CONTINUOUS";
6
+ LINEAR: "LINEAR";
7
7
  }>>;
8
8
  priority: z.ZodDefault<z.ZodInt>;
9
9
  uploadUrl: z.ZodOptional<z.ZodString>;
10
10
  streamUrl: z.ZodOptional<z.ZodString>;
11
+ maxPayloadSize: z.ZodOptional<z.ZodNumber>;
12
+ maxFileSize: z.ZodOptional<z.ZodNumber>;
11
13
  continuous: z.ZodDefault<z.ZodObject<{
12
14
  maxReconnects: z.ZodDefault<z.ZodNumber>;
13
15
  }, z.core.$strip>>;
@@ -16,6 +18,7 @@ export declare const taskOptionsSchema: z.ZodObject<{
16
18
  taskId: z.ZodUUID;
17
19
  nodeId: z.ZodUUID;
18
20
  messageId: z.ZodUUID;
21
+ epoch: z.ZodOptional<z.ZodUUID>;
19
22
  }, z.core.$strip>>;
20
23
  }, z.core.$strip>;
21
24
  export type TaskOptions = z.output<typeof taskOptionsSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"taskOptions.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/taskOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;iBAmB5B,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAC5D,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
1
+ {"version":3,"file":"taskOptions.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/taskOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;iBA4B5B,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAC5D,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
@@ -16,15 +16,12 @@ export declare const templateEntryNodeSchema: z.ZodObject<{
16
16
  }, z.core.$strip>;
17
17
  export type TemplateEntryNode = z.output<typeof templateEntryNodeSchema>;
18
18
  export declare const templateServiceNodeSchema: z.ZodObject<{
19
- type: z.ZodLiteral<"service">;
20
19
  id: z.ZodDefault<z.ZodUUID>;
20
+ type: z.ZodLiteral<"service">;
21
21
  alias: z.ZodOptional<z.ZodString>;
22
22
  configuration: z.ZodOptional<z.ZodAny>;
23
23
  ttl: z.ZodOptional<z.ZodNumber>;
24
- retry: z.ZodOptional<z.ZodNumber>;
25
24
  retryDelay: z.ZodOptional<z.ZodNumber>;
26
- serviceVersion: z.ZodNullable<z.ZodUUID>;
27
- localInvocation: z.ZodOptional<z.ZodUUID>;
28
25
  position: z.ZodObject<{
29
26
  x: z.ZodNumber;
30
27
  y: z.ZodNumber;
@@ -34,9 +31,24 @@ export declare const templateServiceNodeSchema: z.ZodObject<{
34
31
  height: z.ZodOptional<z.ZodNumber>;
35
32
  }, z.core.$strip>>;
36
33
  flipped: z.ZodOptional<z.ZodBoolean>;
34
+ serviceVersion: z.ZodNullable<z.ZodUUID>;
35
+ localInvocation: z.ZodOptional<z.ZodUUID>;
36
+ retry: z.ZodOptional<z.ZodNumber>;
37
+ configurationFunctions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
38
+ language: z.ZodDefault<z.ZodEnum<{
39
+ javascript: "javascript";
40
+ python: "python";
41
+ typescript: "typescript";
42
+ }>>;
43
+ body: z.ZodString;
44
+ }, z.core.$strict>>>;
37
45
  }, z.core.$strip>;
38
46
  export type TemplateServiceNode = z.output<typeof templateServiceNodeSchema>;
39
47
  export declare const templateLogicNodeSchema: z.ZodObject<{
48
+ outputs: z.ZodArray<z.ZodObject<{
49
+ name: z.ZodNullable<z.ZodString>;
50
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
51
+ }, z.core.$strip>>;
40
52
  id: z.ZodDefault<z.ZodUUID>;
41
53
  type: z.ZodLiteral<"logic">;
42
54
  alias: z.ZodOptional<z.ZodString>;
@@ -48,10 +60,6 @@ export declare const templateLogicNodeSchema: z.ZodObject<{
48
60
  typescript: "typescript";
49
61
  }>>;
50
62
  maxExecutionTime: z.ZodDefault<z.ZodNumber>;
51
- outputs: z.ZodArray<z.ZodObject<{
52
- name: z.ZodNullable<z.ZodString>;
53
- schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
54
- }, z.core.$strip>>;
55
63
  position: z.ZodObject<{
56
64
  x: z.ZodNumber;
57
65
  y: z.ZodNumber;
@@ -79,10 +87,9 @@ export declare const templateOrNodeSchema: z.ZodObject<{
79
87
  }, z.core.$strip>;
80
88
  export type TemplateOrNode = z.output<typeof templateOrNodeSchema>;
81
89
  export declare const templateReferenceNodeSchema: z.ZodObject<{
82
- type: z.ZodLiteral<"reference">;
83
90
  id: z.ZodDefault<z.ZodUUID>;
91
+ type: z.ZodLiteral<"reference">;
84
92
  alias: z.ZodOptional<z.ZodString>;
85
- reference: z.ZodNullable<z.ZodUUID>;
86
93
  position: z.ZodObject<{
87
94
  x: z.ZodNumber;
88
95
  y: z.ZodNumber;
@@ -92,6 +99,7 @@ export declare const templateReferenceNodeSchema: z.ZodObject<{
92
99
  height: z.ZodOptional<z.ZodNumber>;
93
100
  }, z.core.$strip>>;
94
101
  flipped: z.ZodOptional<z.ZodBoolean>;
102
+ reference: z.ZodNullable<z.ZodUUID>;
95
103
  }, z.core.$strip>;
96
104
  export type TemplateReferenceNode = z.output<typeof templateReferenceNodeSchema>;
97
105
  export declare const templateExitNodeSchema: z.ZodObject<{
@@ -162,15 +170,12 @@ export declare const templateTreeSchema: z.ZodObject<{
162
170
  }, z.core.$strip>>;
163
171
  flipped: z.ZodOptional<z.ZodBoolean>;
164
172
  }, z.core.$strip>, z.ZodObject<{
165
- type: z.ZodLiteral<"service">;
166
173
  id: z.ZodDefault<z.ZodUUID>;
174
+ type: z.ZodLiteral<"service">;
167
175
  alias: z.ZodOptional<z.ZodString>;
168
176
  configuration: z.ZodOptional<z.ZodAny>;
169
177
  ttl: z.ZodOptional<z.ZodNumber>;
170
- retry: z.ZodOptional<z.ZodNumber>;
171
178
  retryDelay: z.ZodOptional<z.ZodNumber>;
172
- serviceVersion: z.ZodNullable<z.ZodUUID>;
173
- localInvocation: z.ZodOptional<z.ZodUUID>;
174
179
  position: z.ZodObject<{
175
180
  x: z.ZodNumber;
176
181
  y: z.ZodNumber;
@@ -180,7 +185,22 @@ export declare const templateTreeSchema: z.ZodObject<{
180
185
  height: z.ZodOptional<z.ZodNumber>;
181
186
  }, z.core.$strip>>;
182
187
  flipped: z.ZodOptional<z.ZodBoolean>;
188
+ serviceVersion: z.ZodNullable<z.ZodUUID>;
189
+ localInvocation: z.ZodOptional<z.ZodUUID>;
190
+ retry: z.ZodOptional<z.ZodNumber>;
191
+ configurationFunctions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
192
+ language: z.ZodDefault<z.ZodEnum<{
193
+ javascript: "javascript";
194
+ python: "python";
195
+ typescript: "typescript";
196
+ }>>;
197
+ body: z.ZodString;
198
+ }, z.core.$strict>>>;
183
199
  }, z.core.$strip>, z.ZodObject<{
200
+ outputs: z.ZodArray<z.ZodObject<{
201
+ name: z.ZodNullable<z.ZodString>;
202
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
203
+ }, z.core.$strip>>;
184
204
  id: z.ZodDefault<z.ZodUUID>;
185
205
  type: z.ZodLiteral<"logic">;
186
206
  alias: z.ZodOptional<z.ZodString>;
@@ -192,10 +212,6 @@ export declare const templateTreeSchema: z.ZodObject<{
192
212
  typescript: "typescript";
193
213
  }>>;
194
214
  maxExecutionTime: z.ZodDefault<z.ZodNumber>;
195
- outputs: z.ZodArray<z.ZodObject<{
196
- name: z.ZodNullable<z.ZodString>;
197
- schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
198
- }, z.core.$strip>>;
199
215
  position: z.ZodObject<{
200
216
  x: z.ZodNumber;
201
217
  y: z.ZodNumber;
@@ -219,10 +235,9 @@ export declare const templateTreeSchema: z.ZodObject<{
219
235
  }, z.core.$strip>>;
220
236
  flipped: z.ZodOptional<z.ZodBoolean>;
221
237
  }, z.core.$strip>, z.ZodObject<{
222
- type: z.ZodLiteral<"reference">;
223
238
  id: z.ZodDefault<z.ZodUUID>;
239
+ type: z.ZodLiteral<"reference">;
224
240
  alias: z.ZodOptional<z.ZodString>;
225
- reference: z.ZodNullable<z.ZodUUID>;
226
241
  position: z.ZodObject<{
227
242
  x: z.ZodNumber;
228
243
  y: z.ZodNumber;
@@ -232,6 +247,7 @@ export declare const templateTreeSchema: z.ZodObject<{
232
247
  height: z.ZodOptional<z.ZodNumber>;
233
248
  }, z.core.$strip>>;
234
249
  flipped: z.ZodOptional<z.ZodBoolean>;
250
+ reference: z.ZodNullable<z.ZodUUID>;
235
251
  }, z.core.$strip>, z.ZodObject<{
236
252
  id: z.ZodDefault<z.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