@ms-cloudpack/api-server 0.60.0 → 0.60.1
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/data/busSources.d.ts +18 -292
- package/lib/data/busSources.d.ts.map +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/types/TaskDescription.d.ts +14 -224
- package/lib/types/TaskDescription.d.ts.map +1 -1
- package/lib/types/TaskDescription.js +2 -2
- package/lib/types/TaskDescription.js.map +1 -1
- package/lib/types/TaskEndDescription.d.ts +14 -224
- package/lib/types/TaskEndDescription.d.ts.map +1 -1
- package/lib/types/TaskList.d.ts +18 -292
- package/lib/types/TaskList.d.ts.map +1 -1
- package/lib/types/TaskMessage.d.ts +11 -108
- package/lib/types/TaskMessage.d.ts.map +1 -1
- package/lib/types/TaskMessage.js +3 -2
- package/lib/types/TaskMessage.js.map +1 -1
- package/lib/types/TaskMessageLocation.d.ts +6 -13
- package/lib/types/TaskMessageLocation.d.ts.map +1 -1
- package/lib/types/TaskMessageLocation.js +2 -1
- package/lib/types/TaskMessageLocation.js.map +1 -1
- package/lib/utilities/matchingZodObject.d.ts +4 -0
- package/lib/utilities/matchingZodObject.d.ts.map +1 -1
- package/lib/utilities/matchingZodObject.js +4 -0
- package/lib/utilities/matchingZodObject.js.map +1 -1
- package/lib/utilities/writeStubForDensityEntries.d.ts.map +1 -1
- package/lib/utilities/writeStubForDensityEntries.js +2 -1
- package/lib/utilities/writeStubForDensityEntries.js.map +1 -1
- package/package.json +1 -1
- package/lib/types/TaskResponse.d.ts +0 -337
- package/lib/types/TaskResponse.d.ts.map +0 -1
- package/lib/types/TaskResponse.js +0 -8
- package/lib/types/TaskResponse.js.map +0 -1
- package/lib/types/TaskResult.d.ts +0 -233
- package/lib/types/TaskResult.d.ts.map +0 -1
- package/lib/types/TaskResult.js +0 -7
- package/lib/types/TaskResult.js.map +0 -1
- package/lib/types/Timings.d.ts +0 -20
- package/lib/types/Timings.d.ts.map +0 -1
- package/lib/types/Timings.js +0 -5
- package/lib/types/Timings.js.map +0 -1
package/lib/data/busSources.d.ts
CHANGED
|
@@ -59,163 +59,17 @@ export declare const taskListSource: DataBusPath<z.ZodObject<{
|
|
|
59
59
|
}>, {
|
|
60
60
|
id: z.ZodString;
|
|
61
61
|
errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
62
|
-
text: z.
|
|
63
|
-
source: z.
|
|
64
|
-
location: z.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
column: z.ZodOptional<z.ZodNumber>;
|
|
68
|
-
}, "strip", z.ZodTypeAny, {
|
|
69
|
-
file: string;
|
|
70
|
-
line?: number | undefined;
|
|
71
|
-
column?: number | undefined;
|
|
72
|
-
}, {
|
|
73
|
-
file: string;
|
|
74
|
-
line?: number | undefined;
|
|
75
|
-
column?: number | undefined;
|
|
76
|
-
}>>;
|
|
77
|
-
notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
78
|
-
text: z.ZodString;
|
|
79
|
-
location: z.ZodOptional<z.ZodObject<{
|
|
80
|
-
file: z.ZodString;
|
|
81
|
-
line: z.ZodOptional<z.ZodNumber>;
|
|
82
|
-
column: z.ZodOptional<z.ZodNumber>;
|
|
83
|
-
}, "strip", z.ZodTypeAny, {
|
|
84
|
-
file: string;
|
|
85
|
-
line?: number | undefined;
|
|
86
|
-
column?: number | undefined;
|
|
87
|
-
}, {
|
|
88
|
-
file: string;
|
|
89
|
-
line?: number | undefined;
|
|
90
|
-
column?: number | undefined;
|
|
91
|
-
}>>;
|
|
92
|
-
}, "strip", z.ZodTypeAny, {
|
|
93
|
-
text: string;
|
|
94
|
-
location?: {
|
|
95
|
-
file: string;
|
|
96
|
-
line?: number | undefined;
|
|
97
|
-
column?: number | undefined;
|
|
98
|
-
} | undefined;
|
|
99
|
-
}, {
|
|
100
|
-
text: string;
|
|
101
|
-
location?: {
|
|
102
|
-
file: string;
|
|
103
|
-
line?: number | undefined;
|
|
104
|
-
column?: number | undefined;
|
|
105
|
-
} | undefined;
|
|
106
|
-
}>, "many">>;
|
|
107
|
-
}, "strip", z.ZodTypeAny, {
|
|
108
|
-
text: string;
|
|
109
|
-
source: string;
|
|
110
|
-
location?: {
|
|
111
|
-
file: string;
|
|
112
|
-
line?: number | undefined;
|
|
113
|
-
column?: number | undefined;
|
|
114
|
-
} | undefined;
|
|
115
|
-
notes?: {
|
|
116
|
-
text: string;
|
|
117
|
-
location?: {
|
|
118
|
-
file: string;
|
|
119
|
-
line?: number | undefined;
|
|
120
|
-
column?: number | undefined;
|
|
121
|
-
} | undefined;
|
|
122
|
-
}[] | undefined;
|
|
123
|
-
}, {
|
|
124
|
-
text: string;
|
|
125
|
-
source: string;
|
|
126
|
-
location?: {
|
|
127
|
-
file: string;
|
|
128
|
-
line?: number | undefined;
|
|
129
|
-
column?: number | undefined;
|
|
130
|
-
} | undefined;
|
|
131
|
-
notes?: {
|
|
132
|
-
text: string;
|
|
133
|
-
location?: {
|
|
134
|
-
file: string;
|
|
135
|
-
line?: number | undefined;
|
|
136
|
-
column?: number | undefined;
|
|
137
|
-
} | undefined;
|
|
138
|
-
}[] | undefined;
|
|
139
|
-
}>, "many">>;
|
|
62
|
+
text: z.ZodType<string, z.ZodTypeDef, string>;
|
|
63
|
+
source: z.ZodType<string, z.ZodTypeDef, string>;
|
|
64
|
+
location: z.ZodType<import("@ms-cloudpack/common-types").BundleMessageLocation | undefined, z.ZodTypeDef, import("@ms-cloudpack/common-types").BundleMessageLocation | undefined>;
|
|
65
|
+
notes: z.ZodType<import("@ms-cloudpack/common-types").BundleMessageNote[] | undefined, z.ZodTypeDef, import("@ms-cloudpack/common-types").BundleMessageNote[] | undefined>;
|
|
66
|
+
}, "strict", z.ZodTypeAny, import("@ms-cloudpack/common-types").BundleMessage, import("@ms-cloudpack/common-types").BundleMessage>, "many">>;
|
|
140
67
|
warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
141
|
-
text: z.
|
|
142
|
-
source: z.
|
|
143
|
-
location: z.
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
column: z.ZodOptional<z.ZodNumber>;
|
|
147
|
-
}, "strip", z.ZodTypeAny, {
|
|
148
|
-
file: string;
|
|
149
|
-
line?: number | undefined;
|
|
150
|
-
column?: number | undefined;
|
|
151
|
-
}, {
|
|
152
|
-
file: string;
|
|
153
|
-
line?: number | undefined;
|
|
154
|
-
column?: number | undefined;
|
|
155
|
-
}>>;
|
|
156
|
-
notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
157
|
-
text: z.ZodString;
|
|
158
|
-
location: z.ZodOptional<z.ZodObject<{
|
|
159
|
-
file: z.ZodString;
|
|
160
|
-
line: z.ZodOptional<z.ZodNumber>;
|
|
161
|
-
column: z.ZodOptional<z.ZodNumber>;
|
|
162
|
-
}, "strip", z.ZodTypeAny, {
|
|
163
|
-
file: string;
|
|
164
|
-
line?: number | undefined;
|
|
165
|
-
column?: number | undefined;
|
|
166
|
-
}, {
|
|
167
|
-
file: string;
|
|
168
|
-
line?: number | undefined;
|
|
169
|
-
column?: number | undefined;
|
|
170
|
-
}>>;
|
|
171
|
-
}, "strip", z.ZodTypeAny, {
|
|
172
|
-
text: string;
|
|
173
|
-
location?: {
|
|
174
|
-
file: string;
|
|
175
|
-
line?: number | undefined;
|
|
176
|
-
column?: number | undefined;
|
|
177
|
-
} | undefined;
|
|
178
|
-
}, {
|
|
179
|
-
text: string;
|
|
180
|
-
location?: {
|
|
181
|
-
file: string;
|
|
182
|
-
line?: number | undefined;
|
|
183
|
-
column?: number | undefined;
|
|
184
|
-
} | undefined;
|
|
185
|
-
}>, "many">>;
|
|
186
|
-
}, "strip", z.ZodTypeAny, {
|
|
187
|
-
text: string;
|
|
188
|
-
source: string;
|
|
189
|
-
location?: {
|
|
190
|
-
file: string;
|
|
191
|
-
line?: number | undefined;
|
|
192
|
-
column?: number | undefined;
|
|
193
|
-
} | undefined;
|
|
194
|
-
notes?: {
|
|
195
|
-
text: string;
|
|
196
|
-
location?: {
|
|
197
|
-
file: string;
|
|
198
|
-
line?: number | undefined;
|
|
199
|
-
column?: number | undefined;
|
|
200
|
-
} | undefined;
|
|
201
|
-
}[] | undefined;
|
|
202
|
-
}, {
|
|
203
|
-
text: string;
|
|
204
|
-
source: string;
|
|
205
|
-
location?: {
|
|
206
|
-
file: string;
|
|
207
|
-
line?: number | undefined;
|
|
208
|
-
column?: number | undefined;
|
|
209
|
-
} | undefined;
|
|
210
|
-
notes?: {
|
|
211
|
-
text: string;
|
|
212
|
-
location?: {
|
|
213
|
-
file: string;
|
|
214
|
-
line?: number | undefined;
|
|
215
|
-
column?: number | undefined;
|
|
216
|
-
} | undefined;
|
|
217
|
-
}[] | undefined;
|
|
218
|
-
}>, "many">>;
|
|
68
|
+
text: z.ZodType<string, z.ZodTypeDef, string>;
|
|
69
|
+
source: z.ZodType<string, z.ZodTypeDef, string>;
|
|
70
|
+
location: z.ZodType<import("@ms-cloudpack/common-types").BundleMessageLocation | undefined, z.ZodTypeDef, import("@ms-cloudpack/common-types").BundleMessageLocation | undefined>;
|
|
71
|
+
notes: z.ZodType<import("@ms-cloudpack/common-types").BundleMessageNote[] | undefined, z.ZodTypeDef, import("@ms-cloudpack/common-types").BundleMessageNote[] | undefined>;
|
|
72
|
+
}, "strict", z.ZodTypeAny, import("@ms-cloudpack/common-types").BundleMessage, import("@ms-cloudpack/common-types").BundleMessage>, "many">>;
|
|
219
73
|
}>, "strip", z.ZodTypeAny, {
|
|
220
74
|
id: string;
|
|
221
75
|
startTime: number;
|
|
@@ -223,40 +77,8 @@ export declare const taskListSource: DataBusPath<z.ZodObject<{
|
|
|
223
77
|
name?: string | undefined;
|
|
224
78
|
inputPath?: string | undefined;
|
|
225
79
|
outputPath?: string | undefined;
|
|
226
|
-
errors?:
|
|
227
|
-
|
|
228
|
-
source: string;
|
|
229
|
-
location?: {
|
|
230
|
-
file: string;
|
|
231
|
-
line?: number | undefined;
|
|
232
|
-
column?: number | undefined;
|
|
233
|
-
} | undefined;
|
|
234
|
-
notes?: {
|
|
235
|
-
text: string;
|
|
236
|
-
location?: {
|
|
237
|
-
file: string;
|
|
238
|
-
line?: number | undefined;
|
|
239
|
-
column?: number | undefined;
|
|
240
|
-
} | undefined;
|
|
241
|
-
}[] | undefined;
|
|
242
|
-
}[] | undefined;
|
|
243
|
-
warnings?: {
|
|
244
|
-
text: string;
|
|
245
|
-
source: string;
|
|
246
|
-
location?: {
|
|
247
|
-
file: string;
|
|
248
|
-
line?: number | undefined;
|
|
249
|
-
column?: number | undefined;
|
|
250
|
-
} | undefined;
|
|
251
|
-
notes?: {
|
|
252
|
-
text: string;
|
|
253
|
-
location?: {
|
|
254
|
-
file: string;
|
|
255
|
-
line?: number | undefined;
|
|
256
|
-
column?: number | undefined;
|
|
257
|
-
} | undefined;
|
|
258
|
-
}[] | undefined;
|
|
259
|
-
}[] | undefined;
|
|
80
|
+
errors?: import("@ms-cloudpack/common-types").BundleMessage[] | undefined;
|
|
81
|
+
warnings?: import("@ms-cloudpack/common-types").BundleMessage[] | undefined;
|
|
260
82
|
timings?: {
|
|
261
83
|
name: string;
|
|
262
84
|
start: number;
|
|
@@ -272,40 +94,8 @@ export declare const taskListSource: DataBusPath<z.ZodObject<{
|
|
|
272
94
|
name?: string | undefined;
|
|
273
95
|
inputPath?: string | undefined;
|
|
274
96
|
outputPath?: string | undefined;
|
|
275
|
-
errors?:
|
|
276
|
-
|
|
277
|
-
source: string;
|
|
278
|
-
location?: {
|
|
279
|
-
file: string;
|
|
280
|
-
line?: number | undefined;
|
|
281
|
-
column?: number | undefined;
|
|
282
|
-
} | undefined;
|
|
283
|
-
notes?: {
|
|
284
|
-
text: string;
|
|
285
|
-
location?: {
|
|
286
|
-
file: string;
|
|
287
|
-
line?: number | undefined;
|
|
288
|
-
column?: number | undefined;
|
|
289
|
-
} | undefined;
|
|
290
|
-
}[] | undefined;
|
|
291
|
-
}[] | undefined;
|
|
292
|
-
warnings?: {
|
|
293
|
-
text: string;
|
|
294
|
-
source: string;
|
|
295
|
-
location?: {
|
|
296
|
-
file: string;
|
|
297
|
-
line?: number | undefined;
|
|
298
|
-
column?: number | undefined;
|
|
299
|
-
} | undefined;
|
|
300
|
-
notes?: {
|
|
301
|
-
text: string;
|
|
302
|
-
location?: {
|
|
303
|
-
file: string;
|
|
304
|
-
line?: number | undefined;
|
|
305
|
-
column?: number | undefined;
|
|
306
|
-
} | undefined;
|
|
307
|
-
}[] | undefined;
|
|
308
|
-
}[] | undefined;
|
|
97
|
+
errors?: import("@ms-cloudpack/common-types").BundleMessage[] | undefined;
|
|
98
|
+
warnings?: import("@ms-cloudpack/common-types").BundleMessage[] | undefined;
|
|
309
99
|
timings?: {
|
|
310
100
|
name: string;
|
|
311
101
|
start: number;
|
|
@@ -323,40 +113,8 @@ export declare const taskListSource: DataBusPath<z.ZodObject<{
|
|
|
323
113
|
name?: string | undefined;
|
|
324
114
|
inputPath?: string | undefined;
|
|
325
115
|
outputPath?: string | undefined;
|
|
326
|
-
errors?:
|
|
327
|
-
|
|
328
|
-
source: string;
|
|
329
|
-
location?: {
|
|
330
|
-
file: string;
|
|
331
|
-
line?: number | undefined;
|
|
332
|
-
column?: number | undefined;
|
|
333
|
-
} | undefined;
|
|
334
|
-
notes?: {
|
|
335
|
-
text: string;
|
|
336
|
-
location?: {
|
|
337
|
-
file: string;
|
|
338
|
-
line?: number | undefined;
|
|
339
|
-
column?: number | undefined;
|
|
340
|
-
} | undefined;
|
|
341
|
-
}[] | undefined;
|
|
342
|
-
}[] | undefined;
|
|
343
|
-
warnings?: {
|
|
344
|
-
text: string;
|
|
345
|
-
source: string;
|
|
346
|
-
location?: {
|
|
347
|
-
file: string;
|
|
348
|
-
line?: number | undefined;
|
|
349
|
-
column?: number | undefined;
|
|
350
|
-
} | undefined;
|
|
351
|
-
notes?: {
|
|
352
|
-
text: string;
|
|
353
|
-
location?: {
|
|
354
|
-
file: string;
|
|
355
|
-
line?: number | undefined;
|
|
356
|
-
column?: number | undefined;
|
|
357
|
-
} | undefined;
|
|
358
|
-
}[] | undefined;
|
|
359
|
-
}[] | undefined;
|
|
116
|
+
errors?: import("@ms-cloudpack/common-types").BundleMessage[] | undefined;
|
|
117
|
+
warnings?: import("@ms-cloudpack/common-types").BundleMessage[] | undefined;
|
|
360
118
|
timings?: {
|
|
361
119
|
name: string;
|
|
362
120
|
start: number;
|
|
@@ -374,40 +132,8 @@ export declare const taskListSource: DataBusPath<z.ZodObject<{
|
|
|
374
132
|
name?: string | undefined;
|
|
375
133
|
inputPath?: string | undefined;
|
|
376
134
|
outputPath?: string | undefined;
|
|
377
|
-
errors?:
|
|
378
|
-
|
|
379
|
-
source: string;
|
|
380
|
-
location?: {
|
|
381
|
-
file: string;
|
|
382
|
-
line?: number | undefined;
|
|
383
|
-
column?: number | undefined;
|
|
384
|
-
} | undefined;
|
|
385
|
-
notes?: {
|
|
386
|
-
text: string;
|
|
387
|
-
location?: {
|
|
388
|
-
file: string;
|
|
389
|
-
line?: number | undefined;
|
|
390
|
-
column?: number | undefined;
|
|
391
|
-
} | undefined;
|
|
392
|
-
}[] | undefined;
|
|
393
|
-
}[] | undefined;
|
|
394
|
-
warnings?: {
|
|
395
|
-
text: string;
|
|
396
|
-
source: string;
|
|
397
|
-
location?: {
|
|
398
|
-
file: string;
|
|
399
|
-
line?: number | undefined;
|
|
400
|
-
column?: number | undefined;
|
|
401
|
-
} | undefined;
|
|
402
|
-
notes?: {
|
|
403
|
-
text: string;
|
|
404
|
-
location?: {
|
|
405
|
-
file: string;
|
|
406
|
-
line?: number | undefined;
|
|
407
|
-
column?: number | undefined;
|
|
408
|
-
} | undefined;
|
|
409
|
-
}[] | undefined;
|
|
410
|
-
}[] | undefined;
|
|
135
|
+
errors?: import("@ms-cloudpack/common-types").BundleMessage[] | undefined;
|
|
136
|
+
warnings?: import("@ms-cloudpack/common-types").BundleMessage[] | undefined;
|
|
411
137
|
timings?: {
|
|
412
138
|
name: string;
|
|
413
139
|
start: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"busSources.d.ts","sourceRoot":"","sources":["../../src/data/busSources.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,OAAO,EAAkB,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE1E;;GAEG;AACH,eAAO,MAAM,iBAAiB,0BAG5B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;GAG1B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"busSources.d.ts","sourceRoot":"","sources":["../../src/data/busSources.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,OAAO,EAAkB,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE1E;;GAEG;AACH,eAAO,MAAM,iBAAiB,0BAG5B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;GAG1B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAGzB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,WAAW,CAAC,CAAC,CAAC,SAAS,CAGpD,CAAC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -5,11 +5,12 @@ export type { TaskStats } from './types/TaskStats.js';
|
|
|
5
5
|
export type { Task } from './types/Task.js';
|
|
6
6
|
export type { TaskDescription } from './types/TaskDescription.js';
|
|
7
7
|
export type { TaskEndDescription } from './types/TaskEndDescription.js';
|
|
8
|
+
export type { TaskList } from './types/TaskList.js';
|
|
8
9
|
export type { TaskMessage } from './types/TaskMessage.js';
|
|
9
10
|
export type { TaskStartDescription } from './types/TaskStartDescription.js';
|
|
10
11
|
export type { EnsurePackageBundledContext, EnsurePackageBundledResult } from './apis/ensurePackageBundled.js';
|
|
11
12
|
export { TaskRunner } from './utilities/TaskRunner.js';
|
|
12
|
-
export { errorEntrySource } from './data/busSources.js';
|
|
13
|
+
export { taskListSource, taskStatsSource, errorEntrySource } from './data/busSources.js';
|
|
13
14
|
export { createCloudpackClient, type CloudpackClient } from './trpc/createCloudpackClient.js';
|
|
14
15
|
export { createCloudpackServer, type CloudpackServer } from './trpc/createCloudpackServer.js';
|
|
15
16
|
export { getActiveSessionsPath } from './utilities/getActiveSessionsPath.js';
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAClE,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC9F,YAAY,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAC1D,YAAY,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,YAAY,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAC5C,YAAY,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAClE,YAAY,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACxE,YAAY,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,YAAY,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,YAAY,EAAE,2BAA2B,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAE9G,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAClE,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC9F,YAAY,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAC1D,YAAY,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,YAAY,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAC5C,YAAY,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAClE,YAAY,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACxE,YAAY,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACpD,YAAY,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,YAAY,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,YAAY,EAAE,2BAA2B,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAE9G,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACzF,OAAO,EAAE,qBAAqB,EAAE,KAAK,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAC9F,OAAO,EAAE,qBAAqB,EAAE,KAAK,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAC9F,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAGnE,OAAO,EAAE,gBAAgB,EAAE,uBAAuB,EAAE,KAAK,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAGvH,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,YAAY,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { TaskRunner } from './utilities/TaskRunner.js';
|
|
2
|
-
export { errorEntrySource } from './data/busSources.js';
|
|
2
|
+
export { taskListSource, taskStatsSource, errorEntrySource } from './data/busSources.js';
|
|
3
3
|
export { createCloudpackClient } from './trpc/createCloudpackClient.js';
|
|
4
4
|
export { createCloudpackServer } from './trpc/createCloudpackServer.js';
|
|
5
5
|
export { getActiveSessionsPath } from './utilities/getActiveSessionsPath.js';
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACzF,OAAO,EAAE,qBAAqB,EAAwB,MAAM,iCAAiC,CAAC;AAC9F,OAAO,EAAE,qBAAqB,EAAwB,MAAM,iCAAiC,CAAC;AAC9F,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,YAAY;AACZ,OAAO,EAAE,gBAAgB,EAAE,uBAAuB,EAAgC,MAAM,8BAA8B,CAAC;AAEvH,iDAAiD;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC","sourcesContent":["export type { Context, PartialContext } from './types/Context.js';\nexport type { BundleInfo, BundleEntryInfo, BundleEntryConsumes } from './types/BundleInfo.js';\nexport type { Session } from '@ms-cloudpack/common-types';\nexport type { TaskStats } from './types/TaskStats.js';\nexport type { Task } from './types/Task.js';\nexport type { TaskDescription } from './types/TaskDescription.js';\nexport type { TaskEndDescription } from './types/TaskEndDescription.js';\nexport type { TaskList } from './types/TaskList.js';\nexport type { TaskMessage } from './types/TaskMessage.js';\nexport type { TaskStartDescription } from './types/TaskStartDescription.js';\nexport type { EnsurePackageBundledContext, EnsurePackageBundledResult } from './apis/ensurePackageBundled.js';\n\nexport { TaskRunner } from './utilities/TaskRunner.js';\nexport { taskListSource, taskStatsSource, errorEntrySource } from './data/busSources.js';\nexport { createCloudpackClient, type CloudpackClient } from './trpc/createCloudpackClient.js';\nexport { createCloudpackServer, type CloudpackServer } from './trpc/createCloudpackServer.js';\nexport { getActiveSessionsPath } from './utilities/getActiveSessionsPath.js';\nexport { getConsumedDependencies } from './utilities/getConsumedDependencies.js';\nexport { getConsumedPaths } from './utilities/getConsumedPaths.js';\n\n// Utilities\nexport { createApiContext, createPartialApiContext, type CreateApiContextOptions } from './common/createApiContext.js';\n\n// API methods directly used outside this package\nexport { addPackageOverride } from './apis/addPackageOverride.js';\nexport { ensurePackageBundled } from './apis/ensurePackageBundled.js';\nexport { syncDownload } from './apis/syncDownload.js';\nexport { syncUpload } from './apis/syncUpload.js';\nexport type { SyncResult } from './types/SyncResult.js';\n"]}
|
|
@@ -28,163 +28,17 @@ export declare const ZodTaskDescription: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
28
28
|
}>, {
|
|
29
29
|
id: z.ZodString;
|
|
30
30
|
errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
31
|
-
text: z.
|
|
32
|
-
source: z.
|
|
33
|
-
location: z.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
column: z.ZodOptional<z.ZodNumber>;
|
|
37
|
-
}, "strip", z.ZodTypeAny, {
|
|
38
|
-
file: string;
|
|
39
|
-
line?: number | undefined;
|
|
40
|
-
column?: number | undefined;
|
|
41
|
-
}, {
|
|
42
|
-
file: string;
|
|
43
|
-
line?: number | undefined;
|
|
44
|
-
column?: number | undefined;
|
|
45
|
-
}>>;
|
|
46
|
-
notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
47
|
-
text: z.ZodString;
|
|
48
|
-
location: z.ZodOptional<z.ZodObject<{
|
|
49
|
-
file: z.ZodString;
|
|
50
|
-
line: z.ZodOptional<z.ZodNumber>;
|
|
51
|
-
column: z.ZodOptional<z.ZodNumber>;
|
|
52
|
-
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
file: string;
|
|
54
|
-
line?: number | undefined;
|
|
55
|
-
column?: number | undefined;
|
|
56
|
-
}, {
|
|
57
|
-
file: string;
|
|
58
|
-
line?: number | undefined;
|
|
59
|
-
column?: number | undefined;
|
|
60
|
-
}>>;
|
|
61
|
-
}, "strip", z.ZodTypeAny, {
|
|
62
|
-
text: string;
|
|
63
|
-
location?: {
|
|
64
|
-
file: string;
|
|
65
|
-
line?: number | undefined;
|
|
66
|
-
column?: number | undefined;
|
|
67
|
-
} | undefined;
|
|
68
|
-
}, {
|
|
69
|
-
text: string;
|
|
70
|
-
location?: {
|
|
71
|
-
file: string;
|
|
72
|
-
line?: number | undefined;
|
|
73
|
-
column?: number | undefined;
|
|
74
|
-
} | undefined;
|
|
75
|
-
}>, "many">>;
|
|
76
|
-
}, "strip", z.ZodTypeAny, {
|
|
77
|
-
text: string;
|
|
78
|
-
source: string;
|
|
79
|
-
location?: {
|
|
80
|
-
file: string;
|
|
81
|
-
line?: number | undefined;
|
|
82
|
-
column?: number | undefined;
|
|
83
|
-
} | undefined;
|
|
84
|
-
notes?: {
|
|
85
|
-
text: string;
|
|
86
|
-
location?: {
|
|
87
|
-
file: string;
|
|
88
|
-
line?: number | undefined;
|
|
89
|
-
column?: number | undefined;
|
|
90
|
-
} | undefined;
|
|
91
|
-
}[] | undefined;
|
|
92
|
-
}, {
|
|
93
|
-
text: string;
|
|
94
|
-
source: string;
|
|
95
|
-
location?: {
|
|
96
|
-
file: string;
|
|
97
|
-
line?: number | undefined;
|
|
98
|
-
column?: number | undefined;
|
|
99
|
-
} | undefined;
|
|
100
|
-
notes?: {
|
|
101
|
-
text: string;
|
|
102
|
-
location?: {
|
|
103
|
-
file: string;
|
|
104
|
-
line?: number | undefined;
|
|
105
|
-
column?: number | undefined;
|
|
106
|
-
} | undefined;
|
|
107
|
-
}[] | undefined;
|
|
108
|
-
}>, "many">>;
|
|
31
|
+
text: z.ZodType<string, z.ZodTypeDef, string>;
|
|
32
|
+
source: z.ZodType<string, z.ZodTypeDef, string>;
|
|
33
|
+
location: z.ZodType<import("@ms-cloudpack/common-types").BundleMessageLocation | undefined, z.ZodTypeDef, import("@ms-cloudpack/common-types").BundleMessageLocation | undefined>;
|
|
34
|
+
notes: z.ZodType<import("@ms-cloudpack/common-types").BundleMessageNote[] | undefined, z.ZodTypeDef, import("@ms-cloudpack/common-types").BundleMessageNote[] | undefined>;
|
|
35
|
+
}, "strict", z.ZodTypeAny, import("@ms-cloudpack/common-types").BundleMessage, import("@ms-cloudpack/common-types").BundleMessage>, "many">>;
|
|
109
36
|
warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
110
|
-
text: z.
|
|
111
|
-
source: z.
|
|
112
|
-
location: z.
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
column: z.ZodOptional<z.ZodNumber>;
|
|
116
|
-
}, "strip", z.ZodTypeAny, {
|
|
117
|
-
file: string;
|
|
118
|
-
line?: number | undefined;
|
|
119
|
-
column?: number | undefined;
|
|
120
|
-
}, {
|
|
121
|
-
file: string;
|
|
122
|
-
line?: number | undefined;
|
|
123
|
-
column?: number | undefined;
|
|
124
|
-
}>>;
|
|
125
|
-
notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
126
|
-
text: z.ZodString;
|
|
127
|
-
location: z.ZodOptional<z.ZodObject<{
|
|
128
|
-
file: z.ZodString;
|
|
129
|
-
line: z.ZodOptional<z.ZodNumber>;
|
|
130
|
-
column: z.ZodOptional<z.ZodNumber>;
|
|
131
|
-
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
file: string;
|
|
133
|
-
line?: number | undefined;
|
|
134
|
-
column?: number | undefined;
|
|
135
|
-
}, {
|
|
136
|
-
file: string;
|
|
137
|
-
line?: number | undefined;
|
|
138
|
-
column?: number | undefined;
|
|
139
|
-
}>>;
|
|
140
|
-
}, "strip", z.ZodTypeAny, {
|
|
141
|
-
text: string;
|
|
142
|
-
location?: {
|
|
143
|
-
file: string;
|
|
144
|
-
line?: number | undefined;
|
|
145
|
-
column?: number | undefined;
|
|
146
|
-
} | undefined;
|
|
147
|
-
}, {
|
|
148
|
-
text: string;
|
|
149
|
-
location?: {
|
|
150
|
-
file: string;
|
|
151
|
-
line?: number | undefined;
|
|
152
|
-
column?: number | undefined;
|
|
153
|
-
} | undefined;
|
|
154
|
-
}>, "many">>;
|
|
155
|
-
}, "strip", z.ZodTypeAny, {
|
|
156
|
-
text: string;
|
|
157
|
-
source: string;
|
|
158
|
-
location?: {
|
|
159
|
-
file: string;
|
|
160
|
-
line?: number | undefined;
|
|
161
|
-
column?: number | undefined;
|
|
162
|
-
} | undefined;
|
|
163
|
-
notes?: {
|
|
164
|
-
text: string;
|
|
165
|
-
location?: {
|
|
166
|
-
file: string;
|
|
167
|
-
line?: number | undefined;
|
|
168
|
-
column?: number | undefined;
|
|
169
|
-
} | undefined;
|
|
170
|
-
}[] | undefined;
|
|
171
|
-
}, {
|
|
172
|
-
text: string;
|
|
173
|
-
source: string;
|
|
174
|
-
location?: {
|
|
175
|
-
file: string;
|
|
176
|
-
line?: number | undefined;
|
|
177
|
-
column?: number | undefined;
|
|
178
|
-
} | undefined;
|
|
179
|
-
notes?: {
|
|
180
|
-
text: string;
|
|
181
|
-
location?: {
|
|
182
|
-
file: string;
|
|
183
|
-
line?: number | undefined;
|
|
184
|
-
column?: number | undefined;
|
|
185
|
-
} | undefined;
|
|
186
|
-
}[] | undefined;
|
|
187
|
-
}>, "many">>;
|
|
37
|
+
text: z.ZodType<string, z.ZodTypeDef, string>;
|
|
38
|
+
source: z.ZodType<string, z.ZodTypeDef, string>;
|
|
39
|
+
location: z.ZodType<import("@ms-cloudpack/common-types").BundleMessageLocation | undefined, z.ZodTypeDef, import("@ms-cloudpack/common-types").BundleMessageLocation | undefined>;
|
|
40
|
+
notes: z.ZodType<import("@ms-cloudpack/common-types").BundleMessageNote[] | undefined, z.ZodTypeDef, import("@ms-cloudpack/common-types").BundleMessageNote[] | undefined>;
|
|
41
|
+
}, "strict", z.ZodTypeAny, import("@ms-cloudpack/common-types").BundleMessage, import("@ms-cloudpack/common-types").BundleMessage>, "many">>;
|
|
188
42
|
}>, "strip", z.ZodTypeAny, {
|
|
189
43
|
id: string;
|
|
190
44
|
startTime: number;
|
|
@@ -192,40 +46,8 @@ export declare const ZodTaskDescription: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
192
46
|
name?: string | undefined;
|
|
193
47
|
inputPath?: string | undefined;
|
|
194
48
|
outputPath?: string | undefined;
|
|
195
|
-
errors?:
|
|
196
|
-
|
|
197
|
-
source: string;
|
|
198
|
-
location?: {
|
|
199
|
-
file: string;
|
|
200
|
-
line?: number | undefined;
|
|
201
|
-
column?: number | undefined;
|
|
202
|
-
} | undefined;
|
|
203
|
-
notes?: {
|
|
204
|
-
text: string;
|
|
205
|
-
location?: {
|
|
206
|
-
file: string;
|
|
207
|
-
line?: number | undefined;
|
|
208
|
-
column?: number | undefined;
|
|
209
|
-
} | undefined;
|
|
210
|
-
}[] | undefined;
|
|
211
|
-
}[] | undefined;
|
|
212
|
-
warnings?: {
|
|
213
|
-
text: string;
|
|
214
|
-
source: string;
|
|
215
|
-
location?: {
|
|
216
|
-
file: string;
|
|
217
|
-
line?: number | undefined;
|
|
218
|
-
column?: number | undefined;
|
|
219
|
-
} | undefined;
|
|
220
|
-
notes?: {
|
|
221
|
-
text: string;
|
|
222
|
-
location?: {
|
|
223
|
-
file: string;
|
|
224
|
-
line?: number | undefined;
|
|
225
|
-
column?: number | undefined;
|
|
226
|
-
} | undefined;
|
|
227
|
-
}[] | undefined;
|
|
228
|
-
}[] | undefined;
|
|
49
|
+
errors?: import("@ms-cloudpack/common-types").BundleMessage[] | undefined;
|
|
50
|
+
warnings?: import("@ms-cloudpack/common-types").BundleMessage[] | undefined;
|
|
229
51
|
timings?: {
|
|
230
52
|
name: string;
|
|
231
53
|
start: number;
|
|
@@ -241,40 +63,8 @@ export declare const ZodTaskDescription: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
241
63
|
name?: string | undefined;
|
|
242
64
|
inputPath?: string | undefined;
|
|
243
65
|
outputPath?: string | undefined;
|
|
244
|
-
errors?:
|
|
245
|
-
|
|
246
|
-
source: string;
|
|
247
|
-
location?: {
|
|
248
|
-
file: string;
|
|
249
|
-
line?: number | undefined;
|
|
250
|
-
column?: number | undefined;
|
|
251
|
-
} | undefined;
|
|
252
|
-
notes?: {
|
|
253
|
-
text: string;
|
|
254
|
-
location?: {
|
|
255
|
-
file: string;
|
|
256
|
-
line?: number | undefined;
|
|
257
|
-
column?: number | undefined;
|
|
258
|
-
} | undefined;
|
|
259
|
-
}[] | undefined;
|
|
260
|
-
}[] | undefined;
|
|
261
|
-
warnings?: {
|
|
262
|
-
text: string;
|
|
263
|
-
source: string;
|
|
264
|
-
location?: {
|
|
265
|
-
file: string;
|
|
266
|
-
line?: number | undefined;
|
|
267
|
-
column?: number | undefined;
|
|
268
|
-
} | undefined;
|
|
269
|
-
notes?: {
|
|
270
|
-
text: string;
|
|
271
|
-
location?: {
|
|
272
|
-
file: string;
|
|
273
|
-
line?: number | undefined;
|
|
274
|
-
column?: number | undefined;
|
|
275
|
-
} | undefined;
|
|
276
|
-
}[] | undefined;
|
|
277
|
-
}[] | undefined;
|
|
66
|
+
errors?: import("@ms-cloudpack/common-types").BundleMessage[] | undefined;
|
|
67
|
+
warnings?: import("@ms-cloudpack/common-types").BundleMessage[] | undefined;
|
|
278
68
|
timings?: {
|
|
279
69
|
name: string;
|
|
280
70
|
start: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TaskDescription.d.ts","sourceRoot":"","sources":["../../src/types/TaskDescription.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAKpB,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"TaskDescription.d.ts","sourceRoot":"","sources":["../../src/types/TaskDescription.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAKpB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASO,CAAC;AAEvC,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
2
|
import { ZodTaskStartDescription } from './TaskStartDescription.js';
|
|
3
3
|
import { ZodTaskEndDescription } from './TaskEndDescription.js';
|
|
4
|
-
import {
|
|
4
|
+
import { ZodTiming } from './Timing.js';
|
|
5
5
|
export const ZodTaskDescription = z
|
|
6
6
|
.object({
|
|
7
7
|
status: z.literal('pending').or(z.literal('complete')).optional(),
|
|
8
|
-
timings:
|
|
8
|
+
timings: z.array(ZodTiming).optional(),
|
|
9
9
|
startTime: z.number(),
|
|
10
10
|
durationMilliseconds: z.number().optional(),
|
|
11
11
|
lastUpdated: z.number().optional(),
|