@ms-cloudpack/api-server 0.7.2 → 0.8.0
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/lib/apis/addPackageOverride.d.ts +64 -2
- package/lib/apis/addPackageOverride.d.ts.map +1 -1
- package/lib/apis/bus.d.ts +64 -2
- package/lib/apis/bus.d.ts.map +1 -1
- package/lib/apis/openCodeEditor.d.ts +64 -2
- package/lib/apis/openCodeEditor.d.ts.map +1 -1
- package/lib/apis/openConfigEditor.d.ts +64 -2
- package/lib/apis/openConfigEditor.d.ts.map +1 -1
- package/lib/apis/openFilePath.d.ts +64 -2
- package/lib/apis/openFilePath.d.ts.map +1 -1
- package/lib/apis/reportMetric.d.ts +66 -4
- package/lib/apis/reportMetric.d.ts.map +1 -1
- package/lib/apis/restartAllTasks.d.ts +64 -2
- package/lib/apis/restartAllTasks.d.ts.map +1 -1
- package/lib/apis/restartTask.d.ts +64 -2
- package/lib/apis/restartTask.d.ts.map +1 -1
- package/lib/apis/validatePackageOverride.d.ts +64 -2
- package/lib/apis/validatePackageOverride.d.ts.map +1 -1
- package/lib/appRouter.d.ts +610 -21
- package/lib/appRouter.d.ts.map +1 -1
- package/lib/createCloudpackServer.d.ts +1 -1
- package/lib/createContextFactory.d.ts +33 -2
- package/lib/createContextFactory.d.ts.map +1 -1
- package/lib/index.d.ts +6 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +6 -2
- package/lib/index.js.map +1 -1
- package/lib/trpc.d.ts +96 -3
- package/lib/trpc.d.ts.map +1 -1
- package/lib/types/BundleResultExtended.d.ts +23 -0
- package/lib/types/BundleResultExtended.d.ts.map +1 -0
- package/lib/types/BundleResultExtended.js +2 -0
- package/lib/types/BundleResultExtended.js.map +1 -0
- package/lib/types/TaskDescription.d.ts +133 -7
- package/lib/types/TaskDescription.d.ts.map +1 -1
- package/lib/types/TaskDescription.js +14 -1
- package/lib/types/TaskDescription.js.map +1 -1
- package/lib/types/TaskEndDescription.d.ts +84 -5
- package/lib/types/TaskEndDescription.d.ts.map +1 -1
- package/lib/types/TaskEndDescription.js +7 -1
- package/lib/types/TaskEndDescription.js.map +1 -1
- package/lib/types/TaskError.d.ts +18 -2
- package/lib/types/TaskError.d.ts.map +1 -1
- package/lib/types/TaskError.js +9 -1
- package/lib/types/TaskError.js.map +1 -1
- package/lib/types/TaskMessage.d.ts +166 -0
- package/lib/types/TaskMessage.d.ts.map +1 -0
- package/lib/types/TaskMessage.js +17 -0
- package/lib/types/TaskMessage.js.map +1 -0
- package/lib/types/TaskMessageLocation.d.ts +25 -0
- package/lib/types/TaskMessageLocation.d.ts.map +1 -0
- package/lib/types/TaskMessageLocation.js +10 -0
- package/lib/types/TaskMessageLocation.js.map +1 -0
- package/lib/types/TaskResponse.d.ts +471 -0
- package/lib/types/TaskResponse.d.ts.map +1 -0
- package/lib/types/TaskResponse.js +8 -0
- package/lib/types/TaskResponse.js.map +1 -0
- package/lib/types/TaskResult.d.ts +339 -0
- package/lib/types/TaskResult.d.ts.map +1 -0
- package/lib/types/TaskResult.js +7 -0
- package/lib/types/TaskResult.js.map +1 -0
- package/lib/types/TaskStartDescription.d.ts +17 -5
- package/lib/types/TaskStartDescription.d.ts.map +1 -1
- package/lib/types/TaskStartDescription.js +7 -1
- package/lib/types/TaskStartDescription.js.map +1 -1
- package/lib/types/TaskStats.d.ts +22 -0
- package/lib/types/TaskStats.d.ts.map +1 -0
- package/lib/types/TaskStats.js +9 -0
- package/lib/types/TaskStats.js.map +1 -0
- package/lib/types/Timing.d.ts +23 -0
- package/lib/types/Timing.d.ts.map +1 -0
- package/lib/types/Timing.js +12 -0
- package/lib/types/Timing.js.map +1 -0
- package/lib/types/Timings.d.ts +20 -0
- package/lib/types/Timings.d.ts.map +1 -0
- package/lib/types/Timings.js +5 -0
- package/lib/types/Timings.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export declare const ZodTaskResult: z.ZodObject<{
|
|
3
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4
|
+
pluginName: z.ZodOptional<z.ZodString>;
|
|
5
|
+
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"invalid-input">, z.ZodUnion<[z.ZodLiteral<"no-entries">, z.ZodUnion<[z.ZodLiteral<"input-relative">, z.ZodLiteral<"entry-absolute">]>]>]>>;
|
|
6
|
+
text: z.ZodString;
|
|
7
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
8
|
+
file: z.ZodString;
|
|
9
|
+
line: z.ZodNumber;
|
|
10
|
+
column: z.ZodNumber;
|
|
11
|
+
length: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
lineText: z.ZodOptional<z.ZodString>;
|
|
13
|
+
suggestion: z.ZodOptional<z.ZodString>;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
line: number;
|
|
16
|
+
column: number;
|
|
17
|
+
file: string;
|
|
18
|
+
length?: number | undefined;
|
|
19
|
+
lineText?: string | undefined;
|
|
20
|
+
suggestion?: string | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
line: number;
|
|
23
|
+
column: number;
|
|
24
|
+
file: string;
|
|
25
|
+
length?: number | undefined;
|
|
26
|
+
lineText?: string | undefined;
|
|
27
|
+
suggestion?: string | undefined;
|
|
28
|
+
}>>;
|
|
29
|
+
notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
30
|
+
text: z.ZodString;
|
|
31
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
32
|
+
file: z.ZodString;
|
|
33
|
+
line: z.ZodNumber;
|
|
34
|
+
column: z.ZodNumber;
|
|
35
|
+
length: z.ZodOptional<z.ZodNumber>;
|
|
36
|
+
lineText: z.ZodOptional<z.ZodString>;
|
|
37
|
+
suggestion: z.ZodOptional<z.ZodString>;
|
|
38
|
+
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
line: number;
|
|
40
|
+
column: number;
|
|
41
|
+
file: string;
|
|
42
|
+
length?: number | undefined;
|
|
43
|
+
lineText?: string | undefined;
|
|
44
|
+
suggestion?: string | undefined;
|
|
45
|
+
}, {
|
|
46
|
+
line: number;
|
|
47
|
+
column: number;
|
|
48
|
+
file: string;
|
|
49
|
+
length?: number | undefined;
|
|
50
|
+
lineText?: string | undefined;
|
|
51
|
+
suggestion?: string | undefined;
|
|
52
|
+
}>>;
|
|
53
|
+
}, "strip", z.ZodTypeAny, {
|
|
54
|
+
text: string;
|
|
55
|
+
location?: {
|
|
56
|
+
line: number;
|
|
57
|
+
column: number;
|
|
58
|
+
file: string;
|
|
59
|
+
length?: number | undefined;
|
|
60
|
+
lineText?: string | undefined;
|
|
61
|
+
suggestion?: string | undefined;
|
|
62
|
+
} | undefined;
|
|
63
|
+
}, {
|
|
64
|
+
text: string;
|
|
65
|
+
location?: {
|
|
66
|
+
line: number;
|
|
67
|
+
column: number;
|
|
68
|
+
file: string;
|
|
69
|
+
length?: number | undefined;
|
|
70
|
+
lineText?: string | undefined;
|
|
71
|
+
suggestion?: string | undefined;
|
|
72
|
+
} | undefined;
|
|
73
|
+
}>, "many">>;
|
|
74
|
+
}, "strip", z.ZodTypeAny, {
|
|
75
|
+
text: string;
|
|
76
|
+
pluginName?: string | undefined;
|
|
77
|
+
type?: "invalid-input" | "no-entries" | "input-relative" | "entry-absolute" | undefined;
|
|
78
|
+
location?: {
|
|
79
|
+
line: number;
|
|
80
|
+
column: number;
|
|
81
|
+
file: string;
|
|
82
|
+
length?: number | undefined;
|
|
83
|
+
lineText?: string | undefined;
|
|
84
|
+
suggestion?: string | undefined;
|
|
85
|
+
} | undefined;
|
|
86
|
+
notes?: {
|
|
87
|
+
text: string;
|
|
88
|
+
location?: {
|
|
89
|
+
line: number;
|
|
90
|
+
column: number;
|
|
91
|
+
file: string;
|
|
92
|
+
length?: number | undefined;
|
|
93
|
+
lineText?: string | undefined;
|
|
94
|
+
suggestion?: string | undefined;
|
|
95
|
+
} | undefined;
|
|
96
|
+
}[] | undefined;
|
|
97
|
+
}, {
|
|
98
|
+
text: string;
|
|
99
|
+
pluginName?: string | undefined;
|
|
100
|
+
type?: "invalid-input" | "no-entries" | "input-relative" | "entry-absolute" | undefined;
|
|
101
|
+
location?: {
|
|
102
|
+
line: number;
|
|
103
|
+
column: number;
|
|
104
|
+
file: string;
|
|
105
|
+
length?: number | undefined;
|
|
106
|
+
lineText?: string | undefined;
|
|
107
|
+
suggestion?: string | undefined;
|
|
108
|
+
} | undefined;
|
|
109
|
+
notes?: {
|
|
110
|
+
text: string;
|
|
111
|
+
location?: {
|
|
112
|
+
line: number;
|
|
113
|
+
column: number;
|
|
114
|
+
file: string;
|
|
115
|
+
length?: number | undefined;
|
|
116
|
+
lineText?: string | undefined;
|
|
117
|
+
suggestion?: string | undefined;
|
|
118
|
+
} | undefined;
|
|
119
|
+
}[] | undefined;
|
|
120
|
+
}>, "many">>;
|
|
121
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
122
|
+
pluginName: z.ZodOptional<z.ZodString>;
|
|
123
|
+
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"invalid-input">, z.ZodUnion<[z.ZodLiteral<"no-entries">, z.ZodUnion<[z.ZodLiteral<"input-relative">, z.ZodLiteral<"entry-absolute">]>]>]>>;
|
|
124
|
+
text: z.ZodString;
|
|
125
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
126
|
+
file: z.ZodString;
|
|
127
|
+
line: z.ZodNumber;
|
|
128
|
+
column: z.ZodNumber;
|
|
129
|
+
length: z.ZodOptional<z.ZodNumber>;
|
|
130
|
+
lineText: z.ZodOptional<z.ZodString>;
|
|
131
|
+
suggestion: z.ZodOptional<z.ZodString>;
|
|
132
|
+
}, "strip", z.ZodTypeAny, {
|
|
133
|
+
line: number;
|
|
134
|
+
column: number;
|
|
135
|
+
file: string;
|
|
136
|
+
length?: number | undefined;
|
|
137
|
+
lineText?: string | undefined;
|
|
138
|
+
suggestion?: string | undefined;
|
|
139
|
+
}, {
|
|
140
|
+
line: number;
|
|
141
|
+
column: number;
|
|
142
|
+
file: string;
|
|
143
|
+
length?: number | undefined;
|
|
144
|
+
lineText?: string | undefined;
|
|
145
|
+
suggestion?: string | undefined;
|
|
146
|
+
}>>;
|
|
147
|
+
notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
148
|
+
text: z.ZodString;
|
|
149
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
150
|
+
file: z.ZodString;
|
|
151
|
+
line: z.ZodNumber;
|
|
152
|
+
column: z.ZodNumber;
|
|
153
|
+
length: z.ZodOptional<z.ZodNumber>;
|
|
154
|
+
lineText: z.ZodOptional<z.ZodString>;
|
|
155
|
+
suggestion: z.ZodOptional<z.ZodString>;
|
|
156
|
+
}, "strip", z.ZodTypeAny, {
|
|
157
|
+
line: number;
|
|
158
|
+
column: number;
|
|
159
|
+
file: string;
|
|
160
|
+
length?: number | undefined;
|
|
161
|
+
lineText?: string | undefined;
|
|
162
|
+
suggestion?: string | undefined;
|
|
163
|
+
}, {
|
|
164
|
+
line: number;
|
|
165
|
+
column: number;
|
|
166
|
+
file: string;
|
|
167
|
+
length?: number | undefined;
|
|
168
|
+
lineText?: string | undefined;
|
|
169
|
+
suggestion?: string | undefined;
|
|
170
|
+
}>>;
|
|
171
|
+
}, "strip", z.ZodTypeAny, {
|
|
172
|
+
text: string;
|
|
173
|
+
location?: {
|
|
174
|
+
line: number;
|
|
175
|
+
column: number;
|
|
176
|
+
file: string;
|
|
177
|
+
length?: number | undefined;
|
|
178
|
+
lineText?: string | undefined;
|
|
179
|
+
suggestion?: string | undefined;
|
|
180
|
+
} | undefined;
|
|
181
|
+
}, {
|
|
182
|
+
text: string;
|
|
183
|
+
location?: {
|
|
184
|
+
line: number;
|
|
185
|
+
column: number;
|
|
186
|
+
file: string;
|
|
187
|
+
length?: number | undefined;
|
|
188
|
+
lineText?: string | undefined;
|
|
189
|
+
suggestion?: string | undefined;
|
|
190
|
+
} | undefined;
|
|
191
|
+
}>, "many">>;
|
|
192
|
+
}, "strip", z.ZodTypeAny, {
|
|
193
|
+
text: string;
|
|
194
|
+
pluginName?: string | undefined;
|
|
195
|
+
type?: "invalid-input" | "no-entries" | "input-relative" | "entry-absolute" | undefined;
|
|
196
|
+
location?: {
|
|
197
|
+
line: number;
|
|
198
|
+
column: number;
|
|
199
|
+
file: string;
|
|
200
|
+
length?: number | undefined;
|
|
201
|
+
lineText?: string | undefined;
|
|
202
|
+
suggestion?: string | undefined;
|
|
203
|
+
} | undefined;
|
|
204
|
+
notes?: {
|
|
205
|
+
text: string;
|
|
206
|
+
location?: {
|
|
207
|
+
line: number;
|
|
208
|
+
column: number;
|
|
209
|
+
file: string;
|
|
210
|
+
length?: number | undefined;
|
|
211
|
+
lineText?: string | undefined;
|
|
212
|
+
suggestion?: string | undefined;
|
|
213
|
+
} | undefined;
|
|
214
|
+
}[] | undefined;
|
|
215
|
+
}, {
|
|
216
|
+
text: string;
|
|
217
|
+
pluginName?: string | undefined;
|
|
218
|
+
type?: "invalid-input" | "no-entries" | "input-relative" | "entry-absolute" | undefined;
|
|
219
|
+
location?: {
|
|
220
|
+
line: number;
|
|
221
|
+
column: number;
|
|
222
|
+
file: string;
|
|
223
|
+
length?: number | undefined;
|
|
224
|
+
lineText?: string | undefined;
|
|
225
|
+
suggestion?: string | undefined;
|
|
226
|
+
} | undefined;
|
|
227
|
+
notes?: {
|
|
228
|
+
text: string;
|
|
229
|
+
location?: {
|
|
230
|
+
line: number;
|
|
231
|
+
column: number;
|
|
232
|
+
file: string;
|
|
233
|
+
length?: number | undefined;
|
|
234
|
+
lineText?: string | undefined;
|
|
235
|
+
suggestion?: string | undefined;
|
|
236
|
+
} | undefined;
|
|
237
|
+
}[] | undefined;
|
|
238
|
+
}>, "many">>;
|
|
239
|
+
}, "strip", z.ZodTypeAny, {
|
|
240
|
+
errors?: {
|
|
241
|
+
text: string;
|
|
242
|
+
pluginName?: string | undefined;
|
|
243
|
+
type?: "invalid-input" | "no-entries" | "input-relative" | "entry-absolute" | undefined;
|
|
244
|
+
location?: {
|
|
245
|
+
line: number;
|
|
246
|
+
column: number;
|
|
247
|
+
file: string;
|
|
248
|
+
length?: number | undefined;
|
|
249
|
+
lineText?: string | undefined;
|
|
250
|
+
suggestion?: string | undefined;
|
|
251
|
+
} | undefined;
|
|
252
|
+
notes?: {
|
|
253
|
+
text: string;
|
|
254
|
+
location?: {
|
|
255
|
+
line: number;
|
|
256
|
+
column: number;
|
|
257
|
+
file: string;
|
|
258
|
+
length?: number | undefined;
|
|
259
|
+
lineText?: string | undefined;
|
|
260
|
+
suggestion?: string | undefined;
|
|
261
|
+
} | undefined;
|
|
262
|
+
}[] | undefined;
|
|
263
|
+
}[] | undefined;
|
|
264
|
+
warnings?: {
|
|
265
|
+
text: string;
|
|
266
|
+
pluginName?: string | undefined;
|
|
267
|
+
type?: "invalid-input" | "no-entries" | "input-relative" | "entry-absolute" | undefined;
|
|
268
|
+
location?: {
|
|
269
|
+
line: number;
|
|
270
|
+
column: number;
|
|
271
|
+
file: string;
|
|
272
|
+
length?: number | undefined;
|
|
273
|
+
lineText?: string | undefined;
|
|
274
|
+
suggestion?: string | undefined;
|
|
275
|
+
} | undefined;
|
|
276
|
+
notes?: {
|
|
277
|
+
text: string;
|
|
278
|
+
location?: {
|
|
279
|
+
line: number;
|
|
280
|
+
column: number;
|
|
281
|
+
file: string;
|
|
282
|
+
length?: number | undefined;
|
|
283
|
+
lineText?: string | undefined;
|
|
284
|
+
suggestion?: string | undefined;
|
|
285
|
+
} | undefined;
|
|
286
|
+
}[] | undefined;
|
|
287
|
+
}[] | undefined;
|
|
288
|
+
}, {
|
|
289
|
+
errors?: {
|
|
290
|
+
text: string;
|
|
291
|
+
pluginName?: string | undefined;
|
|
292
|
+
type?: "invalid-input" | "no-entries" | "input-relative" | "entry-absolute" | undefined;
|
|
293
|
+
location?: {
|
|
294
|
+
line: number;
|
|
295
|
+
column: number;
|
|
296
|
+
file: string;
|
|
297
|
+
length?: number | undefined;
|
|
298
|
+
lineText?: string | undefined;
|
|
299
|
+
suggestion?: string | undefined;
|
|
300
|
+
} | undefined;
|
|
301
|
+
notes?: {
|
|
302
|
+
text: string;
|
|
303
|
+
location?: {
|
|
304
|
+
line: number;
|
|
305
|
+
column: number;
|
|
306
|
+
file: string;
|
|
307
|
+
length?: number | undefined;
|
|
308
|
+
lineText?: string | undefined;
|
|
309
|
+
suggestion?: string | undefined;
|
|
310
|
+
} | undefined;
|
|
311
|
+
}[] | undefined;
|
|
312
|
+
}[] | undefined;
|
|
313
|
+
warnings?: {
|
|
314
|
+
text: string;
|
|
315
|
+
pluginName?: string | undefined;
|
|
316
|
+
type?: "invalid-input" | "no-entries" | "input-relative" | "entry-absolute" | undefined;
|
|
317
|
+
location?: {
|
|
318
|
+
line: number;
|
|
319
|
+
column: number;
|
|
320
|
+
file: string;
|
|
321
|
+
length?: number | undefined;
|
|
322
|
+
lineText?: string | undefined;
|
|
323
|
+
suggestion?: string | undefined;
|
|
324
|
+
} | undefined;
|
|
325
|
+
notes?: {
|
|
326
|
+
text: string;
|
|
327
|
+
location?: {
|
|
328
|
+
line: number;
|
|
329
|
+
column: number;
|
|
330
|
+
file: string;
|
|
331
|
+
length?: number | undefined;
|
|
332
|
+
lineText?: string | undefined;
|
|
333
|
+
suggestion?: string | undefined;
|
|
334
|
+
} | undefined;
|
|
335
|
+
}[] | undefined;
|
|
336
|
+
}[] | undefined;
|
|
337
|
+
}>;
|
|
338
|
+
export type TaskResult = z.infer<typeof ZodTaskResult>;
|
|
339
|
+
//# sourceMappingURL=TaskResult.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TaskResult.d.ts","sourceRoot":"","sources":["../../src/types/TaskResult.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGxB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TaskResult.js","sourceRoot":"","sources":["../../src/types/TaskResult.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,QAAQ,EAAE;IAC1C,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC","sourcesContent":["import z from 'zod';\nimport { ZodTaskMessage } from './TaskMessage.js';\n\nexport const ZodTaskResult = z.object({\n errors: z.array(ZodTaskMessage).optional(),\n warnings: z.array(ZodTaskMessage).optional(),\n});\n\nexport type TaskResult = z.infer<typeof ZodTaskResult>;\n"]}
|
|
@@ -1,7 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export declare const ZodTaskStartDescription: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5
|
+
inputPath: z.ZodOptional<z.ZodString>;
|
|
6
|
+
outputPath: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
2
8
|
id: string;
|
|
3
|
-
name?: string;
|
|
4
|
-
inputPath?: string;
|
|
5
|
-
outputPath?: string;
|
|
6
|
-
}
|
|
9
|
+
name?: string | undefined;
|
|
10
|
+
inputPath?: string | undefined;
|
|
11
|
+
outputPath?: string | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
id: string;
|
|
14
|
+
name?: string | undefined;
|
|
15
|
+
inputPath?: string | undefined;
|
|
16
|
+
outputPath?: string | undefined;
|
|
17
|
+
}>;
|
|
18
|
+
export type TaskStartDescription = z.infer<typeof ZodTaskStartDescription>;
|
|
7
19
|
//# sourceMappingURL=TaskStartDescription.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TaskStartDescription.d.ts","sourceRoot":"","sources":["../../src/types/TaskStartDescription.ts"],"names":[],"mappings":"AAAA,MAAM,
|
|
1
|
+
{"version":3,"file":"TaskStartDescription.d.ts","sourceRoot":"","sources":["../../src/types/TaskStartDescription.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;EAKlC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export const ZodTaskStartDescription = z.object({
|
|
3
|
+
id: z.string(),
|
|
4
|
+
name: z.string().optional(),
|
|
5
|
+
inputPath: z.string().optional(),
|
|
6
|
+
outputPath: z.string().optional(),
|
|
7
|
+
});
|
|
2
8
|
//# sourceMappingURL=TaskStartDescription.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TaskStartDescription.js","sourceRoot":"","sources":["../../src/types/TaskStartDescription.ts"],"names":[],"mappings":"","sourcesContent":["
|
|
1
|
+
{"version":3,"file":"TaskStartDescription.js","sourceRoot":"","sources":["../../src/types/TaskStartDescription.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC","sourcesContent":["import z from 'zod';\n\nexport const ZodTaskStartDescription = z.object({\n id: z.string(),\n name: z.string().optional(),\n inputPath: z.string().optional(),\n outputPath: z.string().optional(),\n});\n\nexport type TaskStartDescription = z.infer<typeof ZodTaskStartDescription>;\n"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export declare const ZodTaskStats: z.ZodObject<{
|
|
3
|
+
status: z.ZodUnion<[z.ZodLiteral<"idle">, z.ZodLiteral<"pending">]>;
|
|
4
|
+
remainingTasks: z.ZodNumber;
|
|
5
|
+
totalTasks: z.ZodNumber;
|
|
6
|
+
totalErrors: z.ZodNumber;
|
|
7
|
+
totalWarnings: z.ZodNumber;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
status: "idle" | "pending";
|
|
10
|
+
remainingTasks: number;
|
|
11
|
+
totalTasks: number;
|
|
12
|
+
totalErrors: number;
|
|
13
|
+
totalWarnings: number;
|
|
14
|
+
}, {
|
|
15
|
+
status: "idle" | "pending";
|
|
16
|
+
remainingTasks: number;
|
|
17
|
+
totalTasks: number;
|
|
18
|
+
totalErrors: number;
|
|
19
|
+
totalWarnings: number;
|
|
20
|
+
}>;
|
|
21
|
+
export type TaskStats = z.infer<typeof ZodTaskStats>;
|
|
22
|
+
//# sourceMappingURL=TaskStats.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TaskStats.d.ts","sourceRoot":"","sources":["../../src/types/TaskStats.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;EAMvB,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export const ZodTaskStats = z.object({
|
|
3
|
+
status: z.literal('idle').or(z.literal('pending')),
|
|
4
|
+
remainingTasks: z.number(),
|
|
5
|
+
totalTasks: z.number(),
|
|
6
|
+
totalErrors: z.number(),
|
|
7
|
+
totalWarnings: z.number(),
|
|
8
|
+
});
|
|
9
|
+
//# sourceMappingURL=TaskStats.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TaskStats.js","sourceRoot":"","sources":["../../src/types/TaskStats.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAClD,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;CAC1B,CAAC,CAAC","sourcesContent":["import z from 'zod';\n\nexport const ZodTaskStats = z.object({\n status: z.literal('idle').or(z.literal('pending')),\n remainingTasks: z.number(),\n totalTasks: z.number(),\n totalErrors: z.number(),\n totalWarnings: z.number(),\n});\n\nexport type TaskStats = z.infer<typeof ZodTaskStats>;\n"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export declare const ZodTiming: z.ZodObject<{
|
|
3
|
+
/** Name of the timing */
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
/** Start time in milliseconds */
|
|
6
|
+
start: z.ZodNumber;
|
|
7
|
+
/** End time in milliseconds */
|
|
8
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
/** Exited prematurely. */
|
|
10
|
+
threwException: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
name: string;
|
|
13
|
+
start: number;
|
|
14
|
+
end?: number | undefined;
|
|
15
|
+
threwException?: boolean | undefined;
|
|
16
|
+
}, {
|
|
17
|
+
name: string;
|
|
18
|
+
start: number;
|
|
19
|
+
end?: number | undefined;
|
|
20
|
+
threwException?: boolean | undefined;
|
|
21
|
+
}>;
|
|
22
|
+
export type Timing = z.infer<typeof ZodTiming>;
|
|
23
|
+
//# sourceMappingURL=Timing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Timing.d.ts","sourceRoot":"","sources":["../../src/types/Timing.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,SAAS;IACpB,yBAAyB;;IAGzB,iCAAiC;;IAGjC,+BAA+B;;IAG/B,0BAA0B;;;;;;;;;;;;EAE1B,CAAC;AAEH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export const ZodTiming = z.object({
|
|
3
|
+
/** Name of the timing */
|
|
4
|
+
name: z.string(),
|
|
5
|
+
/** Start time in milliseconds */
|
|
6
|
+
start: z.number(),
|
|
7
|
+
/** End time in milliseconds */
|
|
8
|
+
end: z.number().optional(),
|
|
9
|
+
/** Exited prematurely. */
|
|
10
|
+
threwException: z.boolean().optional(),
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=Timing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Timing.js","sourceRoot":"","sources":["../../src/types/Timing.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,yBAAyB;IACzB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAEhB,iCAAiC;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IAEjB,+BAA+B;IAC/B,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAE1B,0BAA0B;IAC1B,cAAc,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC","sourcesContent":["import z from 'zod';\n\nexport const ZodTiming = z.object({\n /** Name of the timing */\n name: z.string(),\n\n /** Start time in milliseconds */\n start: z.number(),\n\n /** End time in milliseconds */\n end: z.number().optional(),\n\n /** Exited prematurely. */\n threwException: z.boolean().optional(),\n});\n\nexport type Timing = z.infer<typeof ZodTiming>;\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
/** Collection of timings. */
|
|
3
|
+
export declare const ZodTimings: z.ZodArray<z.ZodObject<{
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
start: z.ZodNumber;
|
|
6
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
threwException: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
name: string;
|
|
10
|
+
start: number;
|
|
11
|
+
end?: number | undefined;
|
|
12
|
+
threwException?: boolean | undefined;
|
|
13
|
+
}, {
|
|
14
|
+
name: string;
|
|
15
|
+
start: number;
|
|
16
|
+
end?: number | undefined;
|
|
17
|
+
threwException?: boolean | undefined;
|
|
18
|
+
}>, "many">;
|
|
19
|
+
export type Timings = z.infer<typeof ZodTimings>;
|
|
20
|
+
//# sourceMappingURL=Timings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Timings.d.ts","sourceRoot":"","sources":["../../src/types/Timings.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,6BAA6B;AAC7B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;WAAqB,CAAC;AAE7C,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Timings.js","sourceRoot":"","sources":["../../src/types/Timings.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,6BAA6B;AAC7B,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC","sourcesContent":["import z from 'zod';\nimport { ZodTiming } from './Timing.js';\n\n/** Collection of timings. */\nexport const ZodTimings = z.array(ZodTiming);\n\nexport type Timings = z.infer<typeof ZodTimings>;\n"]}
|