@requence/task 1.0.0-alpha.4 → 1.0.0-alpha.41
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.
- package/CHANGELOG.md +222 -0
- package/build/chunk-y4v98p2s.js +53 -0
- package/build/chunk-y4v98p2s.js.map +10 -0
- package/build/cli.js +660 -158
- package/build/cli.js.map +28 -17
- package/build/index.js +865 -227
- package/build/index.js.map +20 -8
- package/build/types/helpers/src/files/RequenceFile.d.ts +40 -0
- package/build/types/helpers/src/files/RequenceFile.d.ts.map +1 -0
- package/build/types/helpers/src/files/RequenceStream.d.ts +32 -0
- package/build/types/helpers/src/files/RequenceStream.d.ts.map +1 -0
- package/build/types/helpers/src/files/fileObject.d.ts +16 -0
- package/build/types/helpers/src/files/fileObject.d.ts.map +1 -0
- package/build/types/helpers/src/files/index.d.ts +7 -0
- package/build/types/helpers/src/files/index.d.ts.map +1 -0
- package/build/types/helpers/src/files/isValidMimeType.d.ts +5 -0
- package/build/types/helpers/src/files/isValidMimeType.d.ts.map +1 -0
- package/build/types/helpers/src/files/mapOutput.d.ts +10 -0
- package/build/types/helpers/src/files/mapOutput.d.ts.map +1 -0
- package/build/types/helpers/src/files/streamObject.d.ts +14 -0
- package/build/types/helpers/src/files/streamObject.d.ts.map +1 -0
- package/build/types/helpers/src/files/types.d.ts +4 -0
- package/build/types/helpers/src/files/types.d.ts.map +1 -0
- package/build/types/helpers/src/index.d.ts +11 -6
- package/build/types/helpers/src/index.d.ts.map +1 -1
- package/build/types/helpers/src/jsonschema/mapSchema.d.ts +20 -0
- package/build/types/helpers/src/jsonschema/mapSchema.d.ts.map +1 -0
- package/build/types/helpers/src/jsonschema/types.d.ts +13 -0
- package/build/types/helpers/src/jsonschema/types.d.ts.map +1 -0
- package/build/types/helpers/src/jsonschema/validate.d.ts +32 -0
- package/build/types/helpers/src/jsonschema/validate.d.ts.map +1 -0
- package/build/types/helpers/src/jsonschema/zod.d.ts +16 -0
- package/build/types/helpers/src/jsonschema/zod.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/NodeTree.d.ts +479 -0
- package/build/types/helpers/src/protocol/NodeTree.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/command.d.ts +489 -0
- package/build/types/helpers/src/protocol/command.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/helpers.d.ts +7 -0
- package/build/types/helpers/src/protocol/helpers.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/index.d.ts +8 -0
- package/build/types/helpers/src/protocol/index.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/nodeType.d.ts +169 -0
- package/build/types/helpers/src/protocol/nodeType.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/taskOptions.d.ts +23 -0
- package/build/types/helpers/src/protocol/taskOptions.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/templateNodeTypes.d.ts +235 -0
- package/build/types/helpers/src/protocol/templateNodeTypes.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/treeNodes.d.ts +832 -0
- package/build/types/helpers/src/protocol/treeNodes.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/update.d.ts +381 -0
- package/build/types/helpers/src/protocol/update.d.ts.map +1 -0
- package/build/types/helpers/src/utils/callbackToAsyncIterator.d.ts +3 -0
- package/build/types/helpers/src/utils/callbackToAsyncIterator.d.ts.map +1 -0
- package/build/types/helpers/src/utils/clone.d.ts +3 -0
- package/build/types/helpers/src/utils/clone.d.ts.map +1 -0
- package/build/types/helpers/src/utils/createObjectProxy.d.ts +2 -0
- package/build/types/helpers/src/utils/createObjectProxy.d.ts.map +1 -0
- package/build/types/helpers/src/{createRemotePromise.d.ts → utils/createRemotePromise.d.ts} +1 -1
- package/build/types/helpers/src/utils/createRemotePromise.d.ts.map +1 -0
- package/build/types/helpers/src/utils/isRecord.d.ts +2 -0
- package/build/types/helpers/src/utils/isRecord.d.ts.map +1 -0
- package/build/types/helpers/src/utils/mapData.d.ts +18 -0
- package/build/types/helpers/src/utils/mapData.d.ts.map +1 -0
- package/build/types/helpers/src/{utils.d.ts → utils/matchSchema.d.ts} +2 -2
- package/build/types/helpers/src/utils/matchSchema.d.ts.map +1 -0
- package/build/types/helpers/src/utils/obfuscate.d.ts.map +1 -0
- package/build/types/helpers/src/utils/requenceCallback.d.ts +17 -0
- package/build/types/helpers/src/utils/requenceCallback.d.ts.map +1 -0
- package/build/types/helpers/src/utils/resolveRequenceTypes.d.ts +8 -0
- package/build/types/helpers/src/utils/resolveRequenceTypes.d.ts.map +1 -0
- package/build/types/helpers/src/utils/types.d.ts +4 -0
- package/build/types/helpers/src/utils/types.d.ts.map +1 -0
- package/build/types/task/src/abortTask.d.ts +8 -0
- package/build/types/task/src/abortTask.d.ts.map +1 -0
- package/build/types/task/src/createTask.d.ts +14 -103
- package/build/types/task/src/createTask.d.ts.map +1 -1
- package/build/types/task/src/getTask.d.ts +25 -0
- package/build/types/task/src/getTask.d.ts.map +1 -0
- package/build/types/task/src/index.d.ts +6 -1
- package/build/types/task/src/index.d.ts.map +1 -1
- package/build/types/task/src/recreateTask.d.ts +10 -0
- package/build/types/task/src/recreateTask.d.ts.map +1 -0
- package/build/types/task/src/types.d.ts +189 -941
- package/build/types/task/src/types.d.ts.map +1 -1
- package/build/types/task/src/utils/getAccessToken.d.ts.map +1 -1
- package/build/types/task/src/watchTasks.d.ts +13 -97
- package/build/types/task/src/watchTasks.d.ts.map +1 -1
- package/package.json +8 -7
- package/build/chunk-6pjtq0hg.js +0 -66
- package/build/chunk-6pjtq0hg.js.map +0 -12
- package/build/types/helpers/src/clone.d.ts +0 -3
- package/build/types/helpers/src/clone.d.ts.map +0 -1
- package/build/types/helpers/src/createObjectProxy.d.ts +0 -2
- package/build/types/helpers/src/createObjectProxy.d.ts.map +0 -1
- package/build/types/helpers/src/createRemotePromise.d.ts.map +0 -1
- package/build/types/helpers/src/obfuscate.d.ts.map +0 -1
- package/build/types/helpers/src/utils.d.ts.map +0 -1
- package/build/types/task/src/utils/callbackToAsyncIterator.d.ts +0 -5
- package/build/types/task/src/utils/callbackToAsyncIterator.d.ts.map +0 -1
- /package/build/types/helpers/src/{obfuscate.d.ts → utils/obfuscate.d.ts} +0 -0
|
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;kBAoBF,CAAA;AAC5B,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAE5D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;kBAYA,CAAA;AAC5B,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,eAAe,CAAC,CAAA;AAExD,eAAO,MAAM,YAAY;;;;kBAIvB,CAAA;AACF,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,YAAY,CAAC,CAAA;AAElD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;kBAcJ,CAAA;AAC5B,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAEhE,eAAO,MAAM,cAAc;;;;kBAIzB,CAAA;AACF,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,cAAc,CAAC,CAAA;AAEtD,eAAO,MAAM,iBAAiB;;;;;iBAK5B,CAAA;AACF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAG5D,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
|
+
export declare const taskOptionsSchema: z.ZodObject<{
|
|
3
|
+
maxExecutions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4
|
+
compliance: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
5
|
+
MCP_TOOL: "MCP_TOOL";
|
|
6
|
+
}>>>;
|
|
7
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
8
|
+
LINEAR: "LINEAR";
|
|
9
|
+
CONTINUOUS: "CONTINUOUS";
|
|
10
|
+
}>>;
|
|
11
|
+
priority: z.ZodDefault<z.ZodInt>;
|
|
12
|
+
uploadUrl: z.ZodOptional<z.ZodString>;
|
|
13
|
+
streamUrl: z.ZodOptional<z.ZodString>;
|
|
14
|
+
referencedBy: z.ZodOptional<z.ZodObject<{
|
|
15
|
+
rootTaskId: z.ZodUUID;
|
|
16
|
+
taskId: z.ZodUUID;
|
|
17
|
+
nodeId: z.ZodUUID;
|
|
18
|
+
messageId: z.ZodUUID;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
export type TaskOptions = z.output<typeof taskOptionsSchema>;
|
|
22
|
+
export type TaskOptionsInput = z.input<typeof taskOptionsSchema>;
|
|
23
|
+
//# sourceMappingURL=taskOptions.d.ts.map
|
|
@@ -0,0 +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;;;;;;;;;;;;;;;;;;iBAqB3B,CAAA;AAEH,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"}
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
|
+
export declare const templateEntryNodeSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
4
|
+
type: z.ZodLiteral<"entry">;
|
|
5
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
6
|
+
inputSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
7
|
+
position: z.ZodObject<{
|
|
8
|
+
x: z.ZodNumber;
|
|
9
|
+
y: z.ZodNumber;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
12
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
}, z.core.$strip>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
export type TemplateEntryNode = z.output<typeof templateEntryNodeSchema>;
|
|
17
|
+
export declare const templateServiceNodeSchema: z.ZodObject<{
|
|
18
|
+
type: z.ZodLiteral<"service">;
|
|
19
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
20
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
21
|
+
configuration: z.ZodOptional<z.ZodAny>;
|
|
22
|
+
ttl: z.ZodOptional<z.ZodNumber>;
|
|
23
|
+
retry: z.ZodOptional<z.ZodNumber>;
|
|
24
|
+
retryDelay: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
serviceVersion: z.ZodNullable<z.ZodUUID>;
|
|
26
|
+
position: z.ZodObject<{
|
|
27
|
+
x: z.ZodNumber;
|
|
28
|
+
y: z.ZodNumber;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
31
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
32
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
33
|
+
}, z.core.$strip>>;
|
|
34
|
+
}, z.core.$strip>;
|
|
35
|
+
export type TemplateServiceNode = z.output<typeof templateServiceNodeSchema>;
|
|
36
|
+
export declare const templateLogicNodeSchema: z.ZodObject<{
|
|
37
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
38
|
+
type: z.ZodLiteral<"logic">;
|
|
39
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
40
|
+
script: z.ZodString;
|
|
41
|
+
concurrency: z.ZodDefault<z.ZodBoolean>;
|
|
42
|
+
language: z.ZodDefault<z.ZodEnum<{
|
|
43
|
+
javascript: "javascript";
|
|
44
|
+
python: "python";
|
|
45
|
+
typescript: "typescript";
|
|
46
|
+
}>>;
|
|
47
|
+
maxExecutionTime: z.ZodDefault<z.ZodNumber>;
|
|
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>>;
|
|
52
|
+
position: z.ZodObject<{
|
|
53
|
+
x: z.ZodNumber;
|
|
54
|
+
y: z.ZodNumber;
|
|
55
|
+
}, z.core.$strip>;
|
|
56
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
57
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
58
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
59
|
+
}, z.core.$strip>>;
|
|
60
|
+
}, z.core.$strip>;
|
|
61
|
+
export type TemplateLogicNode = z.output<typeof templateLogicNodeSchema>;
|
|
62
|
+
export declare const templateOrNodeSchema: z.ZodObject<{
|
|
63
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
64
|
+
type: z.ZodLiteral<"or">;
|
|
65
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
66
|
+
position: z.ZodObject<{
|
|
67
|
+
x: z.ZodNumber;
|
|
68
|
+
y: z.ZodNumber;
|
|
69
|
+
}, z.core.$strip>;
|
|
70
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
71
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
72
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
73
|
+
}, z.core.$strip>>;
|
|
74
|
+
}, z.core.$strip>;
|
|
75
|
+
export type TemplateOrNode = z.output<typeof templateOrNodeSchema>;
|
|
76
|
+
export declare const templateReferenceNodeSchema: z.ZodObject<{
|
|
77
|
+
type: z.ZodLiteral<"reference">;
|
|
78
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
79
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
80
|
+
reference: z.ZodNullable<z.ZodUUID>;
|
|
81
|
+
position: z.ZodObject<{
|
|
82
|
+
x: z.ZodNumber;
|
|
83
|
+
y: z.ZodNumber;
|
|
84
|
+
}, z.core.$strip>;
|
|
85
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
86
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
87
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
88
|
+
}, z.core.$strip>>;
|
|
89
|
+
}, z.core.$strip>;
|
|
90
|
+
export type TemplateReferenceNode = z.output<typeof templateReferenceNodeSchema>;
|
|
91
|
+
export declare const templateExitNodeSchema: z.ZodObject<{
|
|
92
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
93
|
+
type: z.ZodLiteral<"exit">;
|
|
94
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
95
|
+
position: z.ZodObject<{
|
|
96
|
+
x: z.ZodNumber;
|
|
97
|
+
y: z.ZodNumber;
|
|
98
|
+
}, z.core.$strip>;
|
|
99
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
100
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
101
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
102
|
+
}, z.core.$strip>>;
|
|
103
|
+
}, z.core.$strip>;
|
|
104
|
+
export type TemplateExitNode = z.output<typeof templateExitNodeSchema>;
|
|
105
|
+
export declare const templateCommentNodeSchema: z.ZodObject<{
|
|
106
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
107
|
+
type: z.ZodLiteral<"comment">;
|
|
108
|
+
text: z.ZodDefault<z.ZodString>;
|
|
109
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
110
|
+
position: z.ZodObject<{
|
|
111
|
+
x: z.ZodNumber;
|
|
112
|
+
y: z.ZodNumber;
|
|
113
|
+
}, z.core.$strip>;
|
|
114
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
115
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
116
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
117
|
+
}, z.core.$strip>>;
|
|
118
|
+
}, z.core.$strip>;
|
|
119
|
+
export type TemplateCommentNode = z.output<typeof templateCommentNodeSchema>;
|
|
120
|
+
export declare const templateTreeSchema: z.ZodObject<{
|
|
121
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
122
|
+
id: z.ZodUUID;
|
|
123
|
+
source: z.ZodUUID;
|
|
124
|
+
sourceHandle: z.ZodNullable<z.ZodString>;
|
|
125
|
+
target: z.ZodUUID;
|
|
126
|
+
}, z.core.$strip>>;
|
|
127
|
+
nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
128
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
129
|
+
type: z.ZodLiteral<"entry">;
|
|
130
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
131
|
+
inputSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
132
|
+
position: z.ZodObject<{
|
|
133
|
+
x: z.ZodNumber;
|
|
134
|
+
y: z.ZodNumber;
|
|
135
|
+
}, z.core.$strip>;
|
|
136
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
137
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
138
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
139
|
+
}, z.core.$strip>>;
|
|
140
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
141
|
+
type: z.ZodLiteral<"service">;
|
|
142
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
143
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
144
|
+
configuration: z.ZodOptional<z.ZodAny>;
|
|
145
|
+
ttl: z.ZodOptional<z.ZodNumber>;
|
|
146
|
+
retry: z.ZodOptional<z.ZodNumber>;
|
|
147
|
+
retryDelay: z.ZodOptional<z.ZodNumber>;
|
|
148
|
+
serviceVersion: z.ZodNullable<z.ZodUUID>;
|
|
149
|
+
position: z.ZodObject<{
|
|
150
|
+
x: z.ZodNumber;
|
|
151
|
+
y: z.ZodNumber;
|
|
152
|
+
}, z.core.$strip>;
|
|
153
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
154
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
155
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
156
|
+
}, z.core.$strip>>;
|
|
157
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
158
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
159
|
+
type: z.ZodLiteral<"logic">;
|
|
160
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
161
|
+
script: z.ZodString;
|
|
162
|
+
concurrency: z.ZodDefault<z.ZodBoolean>;
|
|
163
|
+
language: z.ZodDefault<z.ZodEnum<{
|
|
164
|
+
javascript: "javascript";
|
|
165
|
+
python: "python";
|
|
166
|
+
typescript: "typescript";
|
|
167
|
+
}>>;
|
|
168
|
+
maxExecutionTime: z.ZodDefault<z.ZodNumber>;
|
|
169
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
170
|
+
name: z.ZodNullable<z.ZodString>;
|
|
171
|
+
schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
172
|
+
}, z.core.$strip>>;
|
|
173
|
+
position: z.ZodObject<{
|
|
174
|
+
x: z.ZodNumber;
|
|
175
|
+
y: z.ZodNumber;
|
|
176
|
+
}, z.core.$strip>;
|
|
177
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
178
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
179
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
180
|
+
}, z.core.$strip>>;
|
|
181
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
182
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
183
|
+
type: z.ZodLiteral<"or">;
|
|
184
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
185
|
+
position: z.ZodObject<{
|
|
186
|
+
x: z.ZodNumber;
|
|
187
|
+
y: z.ZodNumber;
|
|
188
|
+
}, z.core.$strip>;
|
|
189
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
190
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
191
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
192
|
+
}, z.core.$strip>>;
|
|
193
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
194
|
+
type: z.ZodLiteral<"reference">;
|
|
195
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
196
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
197
|
+
reference: z.ZodNullable<z.ZodUUID>;
|
|
198
|
+
position: z.ZodObject<{
|
|
199
|
+
x: z.ZodNumber;
|
|
200
|
+
y: z.ZodNumber;
|
|
201
|
+
}, z.core.$strip>;
|
|
202
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
203
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
204
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
205
|
+
}, z.core.$strip>>;
|
|
206
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
207
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
208
|
+
type: z.ZodLiteral<"exit">;
|
|
209
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
210
|
+
position: z.ZodObject<{
|
|
211
|
+
x: z.ZodNumber;
|
|
212
|
+
y: z.ZodNumber;
|
|
213
|
+
}, z.core.$strip>;
|
|
214
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
215
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
216
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
217
|
+
}, z.core.$strip>>;
|
|
218
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
219
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
220
|
+
type: z.ZodLiteral<"comment">;
|
|
221
|
+
text: z.ZodDefault<z.ZodString>;
|
|
222
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
223
|
+
position: z.ZodObject<{
|
|
224
|
+
x: z.ZodNumber;
|
|
225
|
+
y: z.ZodNumber;
|
|
226
|
+
}, z.core.$strip>;
|
|
227
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
228
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
229
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
230
|
+
}, z.core.$strip>>;
|
|
231
|
+
}, z.core.$strip>], "type">>;
|
|
232
|
+
}, z.core.$strip>;
|
|
233
|
+
export type TemplateTree = z.output<typeof templateTreeSchema>;
|
|
234
|
+
export type InputTemplateTree = z.input<typeof templateTreeSchema>;
|
|
235
|
+
//# sourceMappingURL=templateNodeTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"templateNodeTypes.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/templateNodeTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AA0B1B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;iBAEX,CAAA;AACzB,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAExE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;iBAYb,CAAA;AACzB,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAE5E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;iBAEX,CAAA;AACzB,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAExE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;iBAER,CAAA;AACzB,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAElE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;iBAMf,CAAA;AACzB,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,2BAA2B,CAAC,CAAA;AAEhF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;iBAEV,CAAA;AACzB,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAEtE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;iBAEb,CAAA;AACzB,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAE5E,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAa7B,CAAA;AAEF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAC9D,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA"}
|