@requence/task 1.0.0-alpha.44 → 1.0.0-alpha.45
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 +6 -0
- package/build/index.js +137 -131
- package/build/index.js.map +11 -11
- package/build/types/helpers/src/files/mapOutput.d.ts.map +1 -1
- package/build/types/helpers/src/index.d.ts +3 -2
- package/build/types/helpers/src/index.d.ts.map +1 -1
- package/build/types/helpers/src/jsonschema/zod.d.ts +1 -0
- package/build/types/helpers/src/jsonschema/zod.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/NodeTree.d.ts +31 -14
- package/build/types/helpers/src/protocol/NodeTree.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/command.d.ts +4 -12
- package/build/types/helpers/src/protocol/command.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/nodeType.d.ts +2 -0
- package/build/types/helpers/src/protocol/nodeType.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/taskOptions.d.ts +0 -3
- package/build/types/helpers/src/protocol/taskOptions.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/templateNodeTypes.d.ts +32 -0
- package/build/types/helpers/src/protocol/templateNodeTypes.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/treeNodes.d.ts +10 -6
- package/build/types/helpers/src/protocol/treeNodes.d.ts.map +1 -1
- package/build/types/helpers/src/utils/debounce.d.ts +4 -0
- package/build/types/helpers/src/utils/debounce.d.ts.map +1 -0
- package/build/types/helpers/src/utils/guards.d.ts +3 -0
- package/build/types/helpers/src/utils/guards.d.ts.map +1 -0
- package/build/types/helpers/src/utils/obj.d.ts +4 -0
- package/build/types/helpers/src/utils/obj.d.ts.map +1 -0
- package/build/types/helpers/src/utils/requenceCallback.d.ts.map +1 -1
- package/build/types/helpers/src/utils/types.d.ts +3 -0
- package/build/types/helpers/src/utils/types.d.ts.map +1 -1
- package/build/types/task/src/createTask.d.ts +1 -1
- package/build/types/task/src/createTask.d.ts.map +1 -1
- package/build/types/task/src/getTask.d.ts +1 -0
- package/build/types/task/src/getTask.d.ts.map +1 -1
- package/build/types/task/src/types.d.ts +2 -1
- package/build/types/task/src/types.d.ts.map +1 -1
- package/package.json +3 -3
- package/build/types/helpers/src/utils/createRemotePromise.d.ts +0 -7
- package/build/types/helpers/src/utils/createRemotePromise.d.ts.map +0 -1
- package/build/types/helpers/src/utils/isRecord.d.ts +0 -2
- package/build/types/helpers/src/utils/isRecord.d.ts.map +0 -1
|
@@ -76,6 +76,7 @@ export declare const exitNodeSchema: z.ZodObject<{
|
|
|
76
76
|
id: z.ZodDefault<z.ZodUUID>;
|
|
77
77
|
type: z.ZodLiteral<"exit">;
|
|
78
78
|
alias: z.ZodOptional<z.ZodString>;
|
|
79
|
+
inputSchema: z.ZodOptional<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
79
80
|
}, z.core.$strict>;
|
|
80
81
|
export type ExitNode = z.output<typeof exitNodeSchema>;
|
|
81
82
|
export declare const commentNodeSchema: z.ZodObject<{
|
|
@@ -152,6 +153,7 @@ export declare const nodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
152
153
|
id: z.ZodDefault<z.ZodUUID>;
|
|
153
154
|
type: z.ZodLiteral<"exit">;
|
|
154
155
|
alias: z.ZodOptional<z.ZodString>;
|
|
156
|
+
inputSchema: z.ZodOptional<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
155
157
|
}, z.core.$strict>, z.ZodObject<{
|
|
156
158
|
id: z.ZodDefault<z.ZodUUID>;
|
|
157
159
|
type: z.ZodLiteral<"comment">;
|
|
@@ -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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;;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;;;;;kBAKzB,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"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod/v4';
|
|
2
2
|
export declare const taskOptionsSchema: z.ZodObject<{
|
|
3
3
|
maxExecutions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4
|
-
compliance: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
5
|
-
MCP_TOOL: "MCP_TOOL";
|
|
6
|
-
}>>>;
|
|
7
4
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
8
5
|
LINEAR: "LINEAR";
|
|
9
6
|
CONTINUOUS: "CONTINUOUS";
|
|
@@ -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
|
|
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;;;;;;;;;;;;;;;iBAc5B,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"}
|
|
@@ -12,6 +12,7 @@ export declare const templateEntryNodeSchema: z.ZodObject<{
|
|
|
12
12
|
width: z.ZodOptional<z.ZodNumber>;
|
|
13
13
|
height: z.ZodOptional<z.ZodNumber>;
|
|
14
14
|
}, z.core.$strip>>;
|
|
15
|
+
flipped: z.ZodOptional<z.ZodBoolean>;
|
|
15
16
|
}, z.core.$strip>;
|
|
16
17
|
export type TemplateEntryNode = z.output<typeof templateEntryNodeSchema>;
|
|
17
18
|
export declare const templateServiceNodeSchema: z.ZodObject<{
|
|
@@ -23,6 +24,7 @@ export declare const templateServiceNodeSchema: z.ZodObject<{
|
|
|
23
24
|
retry: z.ZodOptional<z.ZodNumber>;
|
|
24
25
|
retryDelay: z.ZodOptional<z.ZodNumber>;
|
|
25
26
|
serviceVersion: z.ZodNullable<z.ZodUUID>;
|
|
27
|
+
localInvocation: z.ZodOptional<z.ZodUUID>;
|
|
26
28
|
position: z.ZodObject<{
|
|
27
29
|
x: z.ZodNumber;
|
|
28
30
|
y: z.ZodNumber;
|
|
@@ -31,6 +33,7 @@ export declare const templateServiceNodeSchema: z.ZodObject<{
|
|
|
31
33
|
width: z.ZodOptional<z.ZodNumber>;
|
|
32
34
|
height: z.ZodOptional<z.ZodNumber>;
|
|
33
35
|
}, z.core.$strip>>;
|
|
36
|
+
flipped: z.ZodOptional<z.ZodBoolean>;
|
|
34
37
|
}, z.core.$strip>;
|
|
35
38
|
export type TemplateServiceNode = z.output<typeof templateServiceNodeSchema>;
|
|
36
39
|
export declare const templateLogicNodeSchema: z.ZodObject<{
|
|
@@ -57,6 +60,7 @@ export declare const templateLogicNodeSchema: z.ZodObject<{
|
|
|
57
60
|
width: z.ZodOptional<z.ZodNumber>;
|
|
58
61
|
height: z.ZodOptional<z.ZodNumber>;
|
|
59
62
|
}, z.core.$strip>>;
|
|
63
|
+
flipped: z.ZodOptional<z.ZodBoolean>;
|
|
60
64
|
}, z.core.$strip>;
|
|
61
65
|
export type TemplateLogicNode = z.output<typeof templateLogicNodeSchema>;
|
|
62
66
|
export declare const templateOrNodeSchema: z.ZodObject<{
|
|
@@ -71,6 +75,7 @@ export declare const templateOrNodeSchema: z.ZodObject<{
|
|
|
71
75
|
width: z.ZodOptional<z.ZodNumber>;
|
|
72
76
|
height: z.ZodOptional<z.ZodNumber>;
|
|
73
77
|
}, z.core.$strip>>;
|
|
78
|
+
flipped: z.ZodOptional<z.ZodBoolean>;
|
|
74
79
|
}, z.core.$strip>;
|
|
75
80
|
export type TemplateOrNode = z.output<typeof templateOrNodeSchema>;
|
|
76
81
|
export declare const templateReferenceNodeSchema: z.ZodObject<{
|
|
@@ -86,12 +91,14 @@ export declare const templateReferenceNodeSchema: z.ZodObject<{
|
|
|
86
91
|
width: z.ZodOptional<z.ZodNumber>;
|
|
87
92
|
height: z.ZodOptional<z.ZodNumber>;
|
|
88
93
|
}, z.core.$strip>>;
|
|
94
|
+
flipped: z.ZodOptional<z.ZodBoolean>;
|
|
89
95
|
}, z.core.$strip>;
|
|
90
96
|
export type TemplateReferenceNode = z.output<typeof templateReferenceNodeSchema>;
|
|
91
97
|
export declare const templateExitNodeSchema: z.ZodObject<{
|
|
92
98
|
id: z.ZodDefault<z.ZodUUID>;
|
|
93
99
|
type: z.ZodLiteral<"exit">;
|
|
94
100
|
alias: z.ZodOptional<z.ZodString>;
|
|
101
|
+
inputSchema: z.ZodOptional<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
95
102
|
position: z.ZodObject<{
|
|
96
103
|
x: z.ZodNumber;
|
|
97
104
|
y: z.ZodNumber;
|
|
@@ -100,6 +107,7 @@ export declare const templateExitNodeSchema: z.ZodObject<{
|
|
|
100
107
|
width: z.ZodOptional<z.ZodNumber>;
|
|
101
108
|
height: z.ZodOptional<z.ZodNumber>;
|
|
102
109
|
}, z.core.$strip>>;
|
|
110
|
+
flipped: z.ZodOptional<z.ZodBoolean>;
|
|
103
111
|
}, z.core.$strip>;
|
|
104
112
|
export type TemplateExitNode = z.output<typeof templateExitNodeSchema>;
|
|
105
113
|
export declare const templateCommentNodeSchema: z.ZodObject<{
|
|
@@ -115,14 +123,29 @@ export declare const templateCommentNodeSchema: z.ZodObject<{
|
|
|
115
123
|
width: z.ZodOptional<z.ZodNumber>;
|
|
116
124
|
height: z.ZodOptional<z.ZodNumber>;
|
|
117
125
|
}, z.core.$strip>>;
|
|
126
|
+
flipped: z.ZodOptional<z.ZodBoolean>;
|
|
118
127
|
}, z.core.$strip>;
|
|
119
128
|
export type TemplateCommentNode = z.output<typeof templateCommentNodeSchema>;
|
|
129
|
+
export declare const templateEdge: z.ZodObject<{
|
|
130
|
+
id: z.ZodUUID;
|
|
131
|
+
source: z.ZodUUID;
|
|
132
|
+
sourceHandle: z.ZodNullable<z.ZodString>;
|
|
133
|
+
target: z.ZodUUID;
|
|
134
|
+
center: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
135
|
+
x: z.ZodNumber;
|
|
136
|
+
y: z.ZodNumber;
|
|
137
|
+
}, z.core.$strip>>>;
|
|
138
|
+
}, z.core.$strip>;
|
|
120
139
|
export declare const templateTreeSchema: z.ZodObject<{
|
|
121
140
|
edges: z.ZodArray<z.ZodObject<{
|
|
122
141
|
id: z.ZodUUID;
|
|
123
142
|
source: z.ZodUUID;
|
|
124
143
|
sourceHandle: z.ZodNullable<z.ZodString>;
|
|
125
144
|
target: z.ZodUUID;
|
|
145
|
+
center: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
146
|
+
x: z.ZodNumber;
|
|
147
|
+
y: z.ZodNumber;
|
|
148
|
+
}, z.core.$strip>>>;
|
|
126
149
|
}, z.core.$strip>>;
|
|
127
150
|
nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
128
151
|
id: z.ZodDefault<z.ZodUUID>;
|
|
@@ -137,6 +160,7 @@ export declare const templateTreeSchema: z.ZodObject<{
|
|
|
137
160
|
width: z.ZodOptional<z.ZodNumber>;
|
|
138
161
|
height: z.ZodOptional<z.ZodNumber>;
|
|
139
162
|
}, z.core.$strip>>;
|
|
163
|
+
flipped: z.ZodOptional<z.ZodBoolean>;
|
|
140
164
|
}, z.core.$strip>, z.ZodObject<{
|
|
141
165
|
type: z.ZodLiteral<"service">;
|
|
142
166
|
id: z.ZodDefault<z.ZodUUID>;
|
|
@@ -146,6 +170,7 @@ export declare const templateTreeSchema: z.ZodObject<{
|
|
|
146
170
|
retry: z.ZodOptional<z.ZodNumber>;
|
|
147
171
|
retryDelay: z.ZodOptional<z.ZodNumber>;
|
|
148
172
|
serviceVersion: z.ZodNullable<z.ZodUUID>;
|
|
173
|
+
localInvocation: z.ZodOptional<z.ZodUUID>;
|
|
149
174
|
position: z.ZodObject<{
|
|
150
175
|
x: z.ZodNumber;
|
|
151
176
|
y: z.ZodNumber;
|
|
@@ -154,6 +179,7 @@ export declare const templateTreeSchema: z.ZodObject<{
|
|
|
154
179
|
width: z.ZodOptional<z.ZodNumber>;
|
|
155
180
|
height: z.ZodOptional<z.ZodNumber>;
|
|
156
181
|
}, z.core.$strip>>;
|
|
182
|
+
flipped: z.ZodOptional<z.ZodBoolean>;
|
|
157
183
|
}, z.core.$strip>, z.ZodObject<{
|
|
158
184
|
id: z.ZodDefault<z.ZodUUID>;
|
|
159
185
|
type: z.ZodLiteral<"logic">;
|
|
@@ -178,6 +204,7 @@ export declare const templateTreeSchema: z.ZodObject<{
|
|
|
178
204
|
width: z.ZodOptional<z.ZodNumber>;
|
|
179
205
|
height: z.ZodOptional<z.ZodNumber>;
|
|
180
206
|
}, z.core.$strip>>;
|
|
207
|
+
flipped: z.ZodOptional<z.ZodBoolean>;
|
|
181
208
|
}, z.core.$strip>, z.ZodObject<{
|
|
182
209
|
id: z.ZodDefault<z.ZodUUID>;
|
|
183
210
|
type: z.ZodLiteral<"or">;
|
|
@@ -190,6 +217,7 @@ export declare const templateTreeSchema: z.ZodObject<{
|
|
|
190
217
|
width: z.ZodOptional<z.ZodNumber>;
|
|
191
218
|
height: z.ZodOptional<z.ZodNumber>;
|
|
192
219
|
}, z.core.$strip>>;
|
|
220
|
+
flipped: z.ZodOptional<z.ZodBoolean>;
|
|
193
221
|
}, z.core.$strip>, z.ZodObject<{
|
|
194
222
|
type: z.ZodLiteral<"reference">;
|
|
195
223
|
id: z.ZodDefault<z.ZodUUID>;
|
|
@@ -203,10 +231,12 @@ export declare const templateTreeSchema: z.ZodObject<{
|
|
|
203
231
|
width: z.ZodOptional<z.ZodNumber>;
|
|
204
232
|
height: z.ZodOptional<z.ZodNumber>;
|
|
205
233
|
}, z.core.$strip>>;
|
|
234
|
+
flipped: z.ZodOptional<z.ZodBoolean>;
|
|
206
235
|
}, z.core.$strip>, z.ZodObject<{
|
|
207
236
|
id: z.ZodDefault<z.ZodUUID>;
|
|
208
237
|
type: z.ZodLiteral<"exit">;
|
|
209
238
|
alias: z.ZodOptional<z.ZodString>;
|
|
239
|
+
inputSchema: z.ZodOptional<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
210
240
|
position: z.ZodObject<{
|
|
211
241
|
x: z.ZodNumber;
|
|
212
242
|
y: z.ZodNumber;
|
|
@@ -215,6 +245,7 @@ export declare const templateTreeSchema: z.ZodObject<{
|
|
|
215
245
|
width: z.ZodOptional<z.ZodNumber>;
|
|
216
246
|
height: z.ZodOptional<z.ZodNumber>;
|
|
217
247
|
}, z.core.$strip>>;
|
|
248
|
+
flipped: z.ZodOptional<z.ZodBoolean>;
|
|
218
249
|
}, z.core.$strip>, z.ZodObject<{
|
|
219
250
|
id: z.ZodDefault<z.ZodUUID>;
|
|
220
251
|
type: z.ZodLiteral<"comment">;
|
|
@@ -228,6 +259,7 @@ export declare const templateTreeSchema: z.ZodObject<{
|
|
|
228
259
|
width: z.ZodOptional<z.ZodNumber>;
|
|
229
260
|
height: z.ZodOptional<z.ZodNumber>;
|
|
230
261
|
}, z.core.$strip>>;
|
|
262
|
+
flipped: z.ZodOptional<z.ZodBoolean>;
|
|
231
263
|
}, z.core.$strip>], "type">>;
|
|
232
264
|
}, z.core.$strip>;
|
|
233
265
|
export type TemplateTree = z.output<typeof templateTreeSchema>;
|
|
@@ -1 +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;
|
|
1
|
+
{"version":3,"file":"templateNodeTypes.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/templateNodeTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AA2B1B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;iBAEP,CAAA;AAC7B,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAExE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;iBAaT,CAAA;AAC7B,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAE5E,eAAO,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69
69
|
alias: z.ZodOptional<z.ZodString>;
|
|
70
|
+
inputSchema: z.ZodOptional<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
70
71
|
}, z.core.$strict>, z.ZodObject<{
|
|
71
72
|
id: z.ZodDefault<z.ZodUUID>;
|
|
72
73
|
type: z.ZodLiteral<"comment">;
|
|
@@ -149,6 +150,7 @@ declare const extendedTreeSchema: z.ZodObject<{
|
|
|
149
150
|
id: z.ZodDefault<z.ZodUUID>;
|
|
150
151
|
type: z.ZodLiteral<"exit">;
|
|
151
152
|
alias: z.ZodOptional<z.ZodString>;
|
|
153
|
+
inputSchema: z.ZodOptional<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
152
154
|
}, z.core.$strict>, z.ZodObject<{
|
|
153
155
|
id: z.ZodDefault<z.ZodUUID>;
|
|
154
156
|
type: z.ZodLiteral<"comment">;
|
|
@@ -232,6 +234,7 @@ export declare const validatedTreeSchema: z.ZodPipe<z.ZodObject<{
|
|
|
232
234
|
id: z.ZodDefault<z.ZodUUID>;
|
|
233
235
|
type: z.ZodLiteral<"exit">;
|
|
234
236
|
alias: z.ZodOptional<z.ZodString>;
|
|
237
|
+
inputSchema: z.ZodOptional<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
235
238
|
}, z.core.$strict>, z.ZodObject<{
|
|
236
239
|
id: z.ZodDefault<z.ZodUUID>;
|
|
237
240
|
type: z.ZodLiteral<"comment">;
|
|
@@ -309,6 +312,7 @@ export declare const validatedTreeSchema: z.ZodPipe<z.ZodObject<{
|
|
|
309
312
|
id: string;
|
|
310
313
|
type: "exit";
|
|
311
314
|
alias?: string | undefined;
|
|
315
|
+
inputSchema?: import("json-schema").JSONSchema7 | undefined;
|
|
312
316
|
} | {
|
|
313
317
|
id: string;
|
|
314
318
|
type: "comment";
|
|
@@ -385,6 +389,7 @@ export declare const validatedTreeSchema: z.ZodPipe<z.ZodObject<{
|
|
|
385
389
|
id: string;
|
|
386
390
|
type: "exit";
|
|
387
391
|
alias?: string | undefined;
|
|
392
|
+
inputSchema?: import("json-schema").JSONSchema7 | undefined;
|
|
388
393
|
} | {
|
|
389
394
|
id: string;
|
|
390
395
|
type: "comment";
|
|
@@ -403,9 +408,6 @@ export declare const treeReferenceSchema: z.ZodObject<{
|
|
|
403
408
|
id: z.ZodString;
|
|
404
409
|
options: z.ZodObject<{
|
|
405
410
|
maxExecutions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
406
|
-
compliance: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
407
|
-
MCP_TOOL: "MCP_TOOL";
|
|
408
|
-
}>>>;
|
|
409
411
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
410
412
|
LINEAR: "LINEAR";
|
|
411
413
|
CONTINUOUS: "CONTINUOUS";
|
|
@@ -479,6 +481,7 @@ export declare const treeReferenceSchema: z.ZodObject<{
|
|
|
479
481
|
id: z.ZodDefault<z.ZodUUID>;
|
|
480
482
|
type: z.ZodLiteral<"exit">;
|
|
481
483
|
alias: z.ZodOptional<z.ZodString>;
|
|
484
|
+
inputSchema: z.ZodOptional<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
482
485
|
}, z.core.$strict>, z.ZodObject<{
|
|
483
486
|
id: z.ZodDefault<z.ZodUUID>;
|
|
484
487
|
type: z.ZodLiteral<"comment">;
|
|
@@ -563,6 +566,7 @@ export declare const treeListSchema: z.ZodObject<{
|
|
|
563
566
|
id: z.ZodDefault<z.ZodUUID>;
|
|
564
567
|
type: z.ZodLiteral<"exit">;
|
|
565
568
|
alias: z.ZodOptional<z.ZodString>;
|
|
569
|
+
inputSchema: z.ZodOptional<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
566
570
|
}, z.core.$strict>, z.ZodObject<{
|
|
567
571
|
id: z.ZodDefault<z.ZodUUID>;
|
|
568
572
|
type: z.ZodLiteral<"comment">;
|
|
@@ -640,6 +644,7 @@ export declare const treeListSchema: z.ZodObject<{
|
|
|
640
644
|
id: string;
|
|
641
645
|
type: "exit";
|
|
642
646
|
alias?: string | undefined;
|
|
647
|
+
inputSchema?: import("json-schema").JSONSchema7 | undefined;
|
|
643
648
|
} | {
|
|
644
649
|
id: string;
|
|
645
650
|
type: "comment";
|
|
@@ -716,6 +721,7 @@ export declare const treeListSchema: z.ZodObject<{
|
|
|
716
721
|
id: string;
|
|
717
722
|
type: "exit";
|
|
718
723
|
alias?: string | undefined;
|
|
724
|
+
inputSchema?: import("json-schema").JSONSchema7 | undefined;
|
|
719
725
|
} | {
|
|
720
726
|
id: string;
|
|
721
727
|
type: "comment";
|
|
@@ -734,9 +740,6 @@ export declare const treeListSchema: z.ZodObject<{
|
|
|
734
740
|
id: z.ZodString;
|
|
735
741
|
options: z.ZodObject<{
|
|
736
742
|
maxExecutions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
737
|
-
compliance: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
738
|
-
MCP_TOOL: "MCP_TOOL";
|
|
739
|
-
}>>>;
|
|
740
743
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
741
744
|
LINEAR: "LINEAR";
|
|
742
745
|
CONTINUOUS: "CONTINUOUS";
|
|
@@ -810,6 +813,7 @@ export declare const treeListSchema: z.ZodObject<{
|
|
|
810
813
|
id: z.ZodDefault<z.ZodUUID>;
|
|
811
814
|
type: z.ZodLiteral<"exit">;
|
|
812
815
|
alias: z.ZodOptional<z.ZodString>;
|
|
816
|
+
inputSchema: z.ZodOptional<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
813
817
|
}, z.core.$strict>, z.ZodObject<{
|
|
814
818
|
id: z.ZodDefault<z.ZodUUID>;
|
|
815
819
|
type: z.ZodLiteral<"comment">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"treeNodes.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/treeNodes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAQ1B,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"treeNodes.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/treeNodes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAQ1B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAGrB,CAAA;AAEF,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,CAAA;AAE9C,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAEtB,CAAA;AACF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAE/D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0Q/B,CAAA;AACD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAU9B,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAEhE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqBvB,CAAA;AAEJ,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,cAAc,CAAC,CAAA;AACtD,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debounce.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/utils/debounce.ts"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,EACzD,EAAE,EAAE,CAAC,EACL,OAAO,CAAC,EAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,IAIpB,GAAG,MAAM,UAAU,CAAC,CAAC,CAAC,UAc/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"guards.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/utils/guards.ts"],"names":[],"mappings":"AAGA,wBAAgB,QAAQ,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAEvE;AAGD,wBAAgB,MAAM,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,MAAM,CAEpD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"obj.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/utils/obj.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,KAAK,CAAA;AAGrB,wBAAgB,SAAS,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,EAChE,GAAG,EAAE,CAAC,EACN,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC,EACzC,KAAK,EAAE,OAAO,GAIiB,CAAC,CACjC;AAED,eAAO,MAAM,SAAS,YAAM,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requenceCallback.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/utils/requenceCallback.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,QAAA,MAAM,oBAAoB;;;;;;iBAMxB,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEjE,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,cAAc,CAEtE;AAED,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,CAAA;AAClD,MAAM,MAAM,uBAAuB,CAAC,CAAC,IAAI,gBAAgB,CAAC,CAAC,CAAC,GAAG;IAC7D,QAAQ,IAAI,OAAO,CAAC,CAAC,CAAC,CAAA;CACvB,CAAA;AAED,wBAAgB,cAAc,CAAC,CAAC,EAC9B,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,GAC1B,uBAAuB,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"requenceCallback.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/utils/requenceCallback.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,QAAA,MAAM,oBAAoB;;;;;;iBAMxB,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEjE,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,cAAc,CAEtE;AAED,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,CAAA;AAClD,MAAM,MAAM,uBAAuB,CAAC,CAAC,IAAI,gBAAgB,CAAC,CAAC,CAAC,GAAG;IAC7D,QAAQ,IAAI,OAAO,CAAC,CAAC,CAAC,CAAA;CACvB,CAAA;AAED,wBAAgB,cAAc,CAAC,CAAC,EAC9B,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,GAC1B,uBAAuB,CAAC,CAAC,CAAC,CAa5B"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export type Prettify<T> = {
|
|
2
2
|
[K in keyof T]: T[K];
|
|
3
3
|
} & {};
|
|
4
|
+
export type DistributiveOmit<T, K extends keyof any> = T extends any ? Omit<T, K> : never;
|
|
5
|
+
export type MaybePromise<T> = T | Promise<T>;
|
|
6
|
+
export type MaybeArray<T> = T | T[];
|
|
4
7
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/utils/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI;KACvB,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,GAAG,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/utils/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI;KACvB,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,GAAG,EAAE,CAAA;AAEN,MAAM,MAAM,gBAAgB,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,GAAG,IAAI,CAAC,SAAS,GAAG,GAChE,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACV,KAAK,CAAA;AAET,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAA;AAC5C,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type CreateTaskOptions, type Result, type Update } from './types.ts';
|
|
2
|
-
|
|
2
|
+
declare class TaskPrepareError extends Error {
|
|
3
3
|
readonly taskTemplate: string;
|
|
4
4
|
constructor(message: string, taskTemplate: string);
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createTask.d.ts","sourceRoot":"","sources":["../../../../src/createTask.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"createTask.d.ts","sourceRoot":"","sources":["../../../../src/createTask.ts"],"names":[],"mappings":"AASA,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,MAAM,EACX,KAAK,MAAM,EAGZ,MAAM,YAAY,CAAA;AAGnB,cAAM,gBAAiB,SAAQ,KAAK;aAGhB,YAAY,EAAE,MAAM;gBADpC,OAAO,EAAE,MAAM,EACC,YAAY,EAAE,MAAM;CAIvC;AAED,qBAAa,SAAU,SAAQ,gBAAgB;aAG3B,YAAY,EAAE,MAAM;aACpB,MAAM,EAAE,MAAM;gBAF9B,OAAO,EAAE,MAAM,EACC,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,MAAM;CAIjC;AAED,KAAK,iBAAiB,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,KAAK,IAAI,CAAA;AAEvD,KAAK,IAAI,CAAC,CAAC,SAAS,MAAM,YAAY,CAAC,YAAY,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,IACjE,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GACtB,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,GAAG;IACvD,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IAC5B,UAAU,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAA;IACpC,KAAK,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACtC,CAAA;AAEL,wBAAgB,UAAU,CACxB,CAAC,SAAS,MAAM,YAAY,CAAC,YAAY,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,EACzD,OAAO,EAAE,iBAAiB,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,EAAE,iBAAiB,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAwUzE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTask.d.ts","sourceRoot":"","sources":["../../../../src/getTask.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getTask.d.ts","sourceRoot":"","sources":["../../../../src/getTask.ts"],"names":[],"mappings":"AA2BA,UAAU,cAAc;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,EAAE,MAAM,CAAA;CACf;AAED,wBAAsB,OAAO,CAAC,eAAe,EAAE,MAAM,GAAG,cAAc;;;;;;;;;;;;;;;;;;;GA+CrE"}
|
|
@@ -7,6 +7,7 @@ export type CreateTaskOptions<T> = {
|
|
|
7
7
|
name?: string | null;
|
|
8
8
|
priority?: number;
|
|
9
9
|
accessToken?: string;
|
|
10
|
+
suppressBranchWarning?: boolean;
|
|
10
11
|
} & IfNull<Input<T>, {
|
|
11
12
|
input?: null;
|
|
12
13
|
}, IfUnknown<Input<T>, {
|
|
@@ -27,7 +28,7 @@ export interface Result<T> {
|
|
|
27
28
|
getNodeError(alias: Alias<T>): string | null;
|
|
28
29
|
}
|
|
29
30
|
type Context<T> = Omit<Result<T>, 'taskUrl'>;
|
|
30
|
-
|
|
31
|
+
declare const updateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
31
32
|
timestamp: z.ZodCoercedDate<unknown>;
|
|
32
33
|
taskId: z.ZodUUID;
|
|
33
34
|
name: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,KAAK,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,IAAI,OAAO,SAAS,CAAC,GAC7C,CAAC,SAAS,OAAO,GACf,IAAI,GACJ,IAAI,GACN,IAAI,CAAA;AAER,KAAK,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,IAAI,CAAC,SAAS,IAAI,GACvC,IAAI,SAAS,CAAC,GACZ,IAAI,GACJ,IAAI,GACN,IAAI,CAAA;AAER,MAAM,MAAM,iBAAiB,CAAC,CAAC,IAAI;IACjC,YAAY,EAAE,CAAC,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QA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CAAE,GAAG;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE,CAAC,GAAG;IACnE,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAA;CAC7B,CAAC,GACF,CAAC,OAAO,CAAC,UAAU,EAAE;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE,CAAC,GAAG;IAC7C,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAA;IAC5B,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;CACvB,CAAC,GACF,CAAC,OAAO,CAAC,UAAU,EAAE;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,CAAC,GAAG;IAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAA;CAAE,CAAC,CACvE,CAAA;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAGH,CAAA;AAErB,eAAO,MAAM,cAAc,mEAMoB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@requence/task",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.0-alpha.
|
|
4
|
+
"version": "1.0.0-alpha.45",
|
|
5
5
|
"bin": {
|
|
6
6
|
"requence-task": "build/cli.js"
|
|
7
7
|
},
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"ajv": "^8.17.1",
|
|
22
22
|
"chalk": "^5.6.2",
|
|
23
|
-
"eventsource-client": "^1.
|
|
23
|
+
"eventsource-client": "^1.2.0",
|
|
24
24
|
"mime-types": "^3.0.1",
|
|
25
|
-
"zod": "^4.
|
|
25
|
+
"zod": "^4.3.6"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@requence/helpers": "workspace:*",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare function createRemotePromise<T = void>(onAwait?: (resolve: (value: T) => void, reject: (error: any) => void) => void | Promise<void>): Promise<T> & {
|
|
2
|
-
resolve: (value: T | PromiseLike<T>) => void;
|
|
3
|
-
reject: (reason?: any) => void;
|
|
4
|
-
promise: Promise<T>;
|
|
5
|
-
};
|
|
6
|
-
export type RemotePromise<T> = ReturnType<typeof createRemotePromise<T>>;
|
|
7
|
-
//# sourceMappingURL=createRemotePromise.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createRemotePromise.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/utils/createRemotePromise.ts"],"names":[],"mappings":"AAAA,wBAAgB,mBAAmB,CAAC,CAAC,GAAG,IAAI,EAC1C,OAAO,CAAC,EAAE,CACR,OAAO,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,EAC3B,MAAM,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,KACzB,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;qBAEI,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,KAAK,IAAI;sBAC1B,GAAG,KAAK,IAAI;;EAgC3C;AAED,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isRecord.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/utils/isRecord.ts"],"names":[],"mappings":"AAGA,wBAAgB,QAAQ,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAEvE"}
|