@ms-cloudpack/api-server 0.34.5 → 0.35.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 +2 -2
- package/lib/apis/ensurePackageBundled.d.ts +2 -2
- package/lib/apis/getData.d.ts +2 -2
- package/lib/apis/getSessionId.d.ts +2 -2
- package/lib/apis/onDataChanged.d.ts +2 -2
- package/lib/apis/openCodeEditor.d.ts +2 -2
- package/lib/apis/openConfigEditor.d.ts +2 -2
- package/lib/apis/openFilePath.d.ts +2 -2
- package/lib/apis/reportMetric.d.ts +2 -2
- package/lib/apis/syncDownload.d.ts +2 -2
- package/lib/apis/syncUpload.d.ts +2 -2
- package/lib/apis/validatePackageOverride.d.ts +2 -2
- package/lib/data/busSources.d.ts +5 -161
- package/lib/data/busSources.d.ts.map +1 -1
- package/lib/index.browser.d.ts +1 -14
- package/lib/index.browser.d.ts.map +1 -1
- package/lib/index.browser.js +1 -1
- package/lib/index.browser.js.map +1 -1
- package/lib/trpc/common.d.ts +3 -3
- package/lib/trpc/createAppRouter.d.ts +25 -25
- package/lib/trpc/createCloudpackServer.d.ts +1 -1
- package/lib/trpc/createRouterFromApis.d.ts +1 -1
- package/lib/types/TaskDescription.d.ts +3 -119
- package/lib/types/TaskDescription.d.ts.map +1 -1
- package/lib/types/TaskEndDescription.d.ts +0 -116
- package/lib/types/TaskEndDescription.d.ts.map +1 -1
- package/lib/types/TaskMessage.d.ts +0 -57
- package/lib/types/TaskMessage.d.ts.map +1 -1
- package/lib/types/TaskMessage.js +0 -2
- package/lib/types/TaskMessage.js.map +1 -1
- package/lib/types/TaskMessageLocation.d.ts +0 -9
- package/lib/types/TaskMessageLocation.d.ts.map +1 -1
- package/lib/types/TaskMessageLocation.js +0 -3
- package/lib/types/TaskMessageLocation.js.map +1 -1
- package/lib/types/TaskResponse.d.ts +0 -148
- package/lib/types/TaskResponse.d.ts.map +1 -1
- package/lib/types/TaskResult.d.ts +0 -116
- package/lib/types/TaskResult.d.ts.map +1 -1
- package/package.json +8 -8
|
@@ -1,30 +1,19 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
2
|
export declare const ZodTaskResult: z.ZodObject<{
|
|
3
3
|
errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4
|
-
pluginName: z.ZodOptional<z.ZodString>;
|
|
5
|
-
type: z.ZodOptional<z.ZodString>;
|
|
6
4
|
text: z.ZodString;
|
|
7
5
|
location: z.ZodOptional<z.ZodObject<{
|
|
8
6
|
file: z.ZodString;
|
|
9
7
|
line: z.ZodNumber;
|
|
10
8
|
column: z.ZodNumber;
|
|
11
|
-
length: z.ZodOptional<z.ZodNumber>;
|
|
12
|
-
lineText: z.ZodOptional<z.ZodString>;
|
|
13
|
-
suggestion: z.ZodOptional<z.ZodString>;
|
|
14
9
|
}, "strip", z.ZodTypeAny, {
|
|
15
10
|
file: string;
|
|
16
11
|
line: number;
|
|
17
12
|
column: number;
|
|
18
|
-
length?: number | undefined;
|
|
19
|
-
lineText?: string | undefined;
|
|
20
|
-
suggestion?: string | undefined;
|
|
21
13
|
}, {
|
|
22
14
|
file: string;
|
|
23
15
|
line: number;
|
|
24
16
|
column: number;
|
|
25
|
-
length?: number | undefined;
|
|
26
|
-
lineText?: string | undefined;
|
|
27
|
-
suggestion?: string | undefined;
|
|
28
17
|
}>>;
|
|
29
18
|
notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
30
19
|
text: z.ZodString;
|
|
@@ -32,23 +21,14 @@ export declare const ZodTaskResult: z.ZodObject<{
|
|
|
32
21
|
file: z.ZodString;
|
|
33
22
|
line: z.ZodNumber;
|
|
34
23
|
column: z.ZodNumber;
|
|
35
|
-
length: z.ZodOptional<z.ZodNumber>;
|
|
36
|
-
lineText: z.ZodOptional<z.ZodString>;
|
|
37
|
-
suggestion: z.ZodOptional<z.ZodString>;
|
|
38
24
|
}, "strip", z.ZodTypeAny, {
|
|
39
25
|
file: string;
|
|
40
26
|
line: number;
|
|
41
27
|
column: number;
|
|
42
|
-
length?: number | undefined;
|
|
43
|
-
lineText?: string | undefined;
|
|
44
|
-
suggestion?: string | undefined;
|
|
45
28
|
}, {
|
|
46
29
|
file: string;
|
|
47
30
|
line: number;
|
|
48
31
|
column: number;
|
|
49
|
-
length?: number | undefined;
|
|
50
|
-
lineText?: string | undefined;
|
|
51
|
-
suggestion?: string | undefined;
|
|
52
32
|
}>>;
|
|
53
33
|
}, "strip", z.ZodTypeAny, {
|
|
54
34
|
text: string;
|
|
@@ -56,9 +36,6 @@ export declare const ZodTaskResult: z.ZodObject<{
|
|
|
56
36
|
file: string;
|
|
57
37
|
line: number;
|
|
58
38
|
column: number;
|
|
59
|
-
length?: number | undefined;
|
|
60
|
-
lineText?: string | undefined;
|
|
61
|
-
suggestion?: string | undefined;
|
|
62
39
|
} | undefined;
|
|
63
40
|
}, {
|
|
64
41
|
text: string;
|
|
@@ -66,22 +43,14 @@ export declare const ZodTaskResult: z.ZodObject<{
|
|
|
66
43
|
file: string;
|
|
67
44
|
line: number;
|
|
68
45
|
column: number;
|
|
69
|
-
length?: number | undefined;
|
|
70
|
-
lineText?: string | undefined;
|
|
71
|
-
suggestion?: string | undefined;
|
|
72
46
|
} | undefined;
|
|
73
47
|
}>, "many">>;
|
|
74
48
|
}, "strip", z.ZodTypeAny, {
|
|
75
49
|
text: string;
|
|
76
|
-
pluginName?: string | undefined;
|
|
77
|
-
type?: string | undefined;
|
|
78
50
|
location?: {
|
|
79
51
|
file: string;
|
|
80
52
|
line: number;
|
|
81
53
|
column: number;
|
|
82
|
-
length?: number | undefined;
|
|
83
|
-
lineText?: string | undefined;
|
|
84
|
-
suggestion?: string | undefined;
|
|
85
54
|
} | undefined;
|
|
86
55
|
notes?: {
|
|
87
56
|
text: string;
|
|
@@ -89,22 +58,14 @@ export declare const ZodTaskResult: z.ZodObject<{
|
|
|
89
58
|
file: string;
|
|
90
59
|
line: number;
|
|
91
60
|
column: number;
|
|
92
|
-
length?: number | undefined;
|
|
93
|
-
lineText?: string | undefined;
|
|
94
|
-
suggestion?: string | undefined;
|
|
95
61
|
} | undefined;
|
|
96
62
|
}[] | undefined;
|
|
97
63
|
}, {
|
|
98
64
|
text: string;
|
|
99
|
-
pluginName?: string | undefined;
|
|
100
|
-
type?: string | undefined;
|
|
101
65
|
location?: {
|
|
102
66
|
file: string;
|
|
103
67
|
line: number;
|
|
104
68
|
column: number;
|
|
105
|
-
length?: number | undefined;
|
|
106
|
-
lineText?: string | undefined;
|
|
107
|
-
suggestion?: string | undefined;
|
|
108
69
|
} | undefined;
|
|
109
70
|
notes?: {
|
|
110
71
|
text: string;
|
|
@@ -112,37 +73,23 @@ export declare const ZodTaskResult: z.ZodObject<{
|
|
|
112
73
|
file: string;
|
|
113
74
|
line: number;
|
|
114
75
|
column: number;
|
|
115
|
-
length?: number | undefined;
|
|
116
|
-
lineText?: string | undefined;
|
|
117
|
-
suggestion?: string | undefined;
|
|
118
76
|
} | undefined;
|
|
119
77
|
}[] | undefined;
|
|
120
78
|
}>, "many">>;
|
|
121
79
|
warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
122
|
-
pluginName: z.ZodOptional<z.ZodString>;
|
|
123
|
-
type: z.ZodOptional<z.ZodString>;
|
|
124
80
|
text: z.ZodString;
|
|
125
81
|
location: z.ZodOptional<z.ZodObject<{
|
|
126
82
|
file: z.ZodString;
|
|
127
83
|
line: z.ZodNumber;
|
|
128
84
|
column: z.ZodNumber;
|
|
129
|
-
length: z.ZodOptional<z.ZodNumber>;
|
|
130
|
-
lineText: z.ZodOptional<z.ZodString>;
|
|
131
|
-
suggestion: z.ZodOptional<z.ZodString>;
|
|
132
85
|
}, "strip", z.ZodTypeAny, {
|
|
133
86
|
file: string;
|
|
134
87
|
line: number;
|
|
135
88
|
column: number;
|
|
136
|
-
length?: number | undefined;
|
|
137
|
-
lineText?: string | undefined;
|
|
138
|
-
suggestion?: string | undefined;
|
|
139
89
|
}, {
|
|
140
90
|
file: string;
|
|
141
91
|
line: number;
|
|
142
92
|
column: number;
|
|
143
|
-
length?: number | undefined;
|
|
144
|
-
lineText?: string | undefined;
|
|
145
|
-
suggestion?: string | undefined;
|
|
146
93
|
}>>;
|
|
147
94
|
notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
148
95
|
text: z.ZodString;
|
|
@@ -150,23 +97,14 @@ export declare const ZodTaskResult: z.ZodObject<{
|
|
|
150
97
|
file: z.ZodString;
|
|
151
98
|
line: z.ZodNumber;
|
|
152
99
|
column: z.ZodNumber;
|
|
153
|
-
length: z.ZodOptional<z.ZodNumber>;
|
|
154
|
-
lineText: z.ZodOptional<z.ZodString>;
|
|
155
|
-
suggestion: z.ZodOptional<z.ZodString>;
|
|
156
100
|
}, "strip", z.ZodTypeAny, {
|
|
157
101
|
file: string;
|
|
158
102
|
line: number;
|
|
159
103
|
column: number;
|
|
160
|
-
length?: number | undefined;
|
|
161
|
-
lineText?: string | undefined;
|
|
162
|
-
suggestion?: string | undefined;
|
|
163
104
|
}, {
|
|
164
105
|
file: string;
|
|
165
106
|
line: number;
|
|
166
107
|
column: number;
|
|
167
|
-
length?: number | undefined;
|
|
168
|
-
lineText?: string | undefined;
|
|
169
|
-
suggestion?: string | undefined;
|
|
170
108
|
}>>;
|
|
171
109
|
}, "strip", z.ZodTypeAny, {
|
|
172
110
|
text: string;
|
|
@@ -174,9 +112,6 @@ export declare const ZodTaskResult: z.ZodObject<{
|
|
|
174
112
|
file: string;
|
|
175
113
|
line: number;
|
|
176
114
|
column: number;
|
|
177
|
-
length?: number | undefined;
|
|
178
|
-
lineText?: string | undefined;
|
|
179
|
-
suggestion?: string | undefined;
|
|
180
115
|
} | undefined;
|
|
181
116
|
}, {
|
|
182
117
|
text: string;
|
|
@@ -184,22 +119,14 @@ export declare const ZodTaskResult: z.ZodObject<{
|
|
|
184
119
|
file: string;
|
|
185
120
|
line: number;
|
|
186
121
|
column: number;
|
|
187
|
-
length?: number | undefined;
|
|
188
|
-
lineText?: string | undefined;
|
|
189
|
-
suggestion?: string | undefined;
|
|
190
122
|
} | undefined;
|
|
191
123
|
}>, "many">>;
|
|
192
124
|
}, "strip", z.ZodTypeAny, {
|
|
193
125
|
text: string;
|
|
194
|
-
pluginName?: string | undefined;
|
|
195
|
-
type?: string | undefined;
|
|
196
126
|
location?: {
|
|
197
127
|
file: string;
|
|
198
128
|
line: number;
|
|
199
129
|
column: number;
|
|
200
|
-
length?: number | undefined;
|
|
201
|
-
lineText?: string | undefined;
|
|
202
|
-
suggestion?: string | undefined;
|
|
203
130
|
} | undefined;
|
|
204
131
|
notes?: {
|
|
205
132
|
text: string;
|
|
@@ -207,22 +134,14 @@ export declare const ZodTaskResult: z.ZodObject<{
|
|
|
207
134
|
file: string;
|
|
208
135
|
line: number;
|
|
209
136
|
column: number;
|
|
210
|
-
length?: number | undefined;
|
|
211
|
-
lineText?: string | undefined;
|
|
212
|
-
suggestion?: string | undefined;
|
|
213
137
|
} | undefined;
|
|
214
138
|
}[] | undefined;
|
|
215
139
|
}, {
|
|
216
140
|
text: string;
|
|
217
|
-
pluginName?: string | undefined;
|
|
218
|
-
type?: string | undefined;
|
|
219
141
|
location?: {
|
|
220
142
|
file: string;
|
|
221
143
|
line: number;
|
|
222
144
|
column: number;
|
|
223
|
-
length?: number | undefined;
|
|
224
|
-
lineText?: string | undefined;
|
|
225
|
-
suggestion?: string | undefined;
|
|
226
145
|
} | undefined;
|
|
227
146
|
notes?: {
|
|
228
147
|
text: string;
|
|
@@ -230,24 +149,16 @@ export declare const ZodTaskResult: z.ZodObject<{
|
|
|
230
149
|
file: string;
|
|
231
150
|
line: number;
|
|
232
151
|
column: number;
|
|
233
|
-
length?: number | undefined;
|
|
234
|
-
lineText?: string | undefined;
|
|
235
|
-
suggestion?: string | undefined;
|
|
236
152
|
} | undefined;
|
|
237
153
|
}[] | undefined;
|
|
238
154
|
}>, "many">>;
|
|
239
155
|
}, "strip", z.ZodTypeAny, {
|
|
240
156
|
errors?: {
|
|
241
157
|
text: string;
|
|
242
|
-
pluginName?: string | undefined;
|
|
243
|
-
type?: string | undefined;
|
|
244
158
|
location?: {
|
|
245
159
|
file: string;
|
|
246
160
|
line: number;
|
|
247
161
|
column: number;
|
|
248
|
-
length?: number | undefined;
|
|
249
|
-
lineText?: string | undefined;
|
|
250
|
-
suggestion?: string | undefined;
|
|
251
162
|
} | undefined;
|
|
252
163
|
notes?: {
|
|
253
164
|
text: string;
|
|
@@ -255,23 +166,15 @@ export declare const ZodTaskResult: z.ZodObject<{
|
|
|
255
166
|
file: string;
|
|
256
167
|
line: number;
|
|
257
168
|
column: number;
|
|
258
|
-
length?: number | undefined;
|
|
259
|
-
lineText?: string | undefined;
|
|
260
|
-
suggestion?: string | undefined;
|
|
261
169
|
} | undefined;
|
|
262
170
|
}[] | undefined;
|
|
263
171
|
}[] | undefined;
|
|
264
172
|
warnings?: {
|
|
265
173
|
text: string;
|
|
266
|
-
pluginName?: string | undefined;
|
|
267
|
-
type?: string | undefined;
|
|
268
174
|
location?: {
|
|
269
175
|
file: string;
|
|
270
176
|
line: number;
|
|
271
177
|
column: number;
|
|
272
|
-
length?: number | undefined;
|
|
273
|
-
lineText?: string | undefined;
|
|
274
|
-
suggestion?: string | undefined;
|
|
275
178
|
} | undefined;
|
|
276
179
|
notes?: {
|
|
277
180
|
text: string;
|
|
@@ -279,24 +182,16 @@ export declare const ZodTaskResult: z.ZodObject<{
|
|
|
279
182
|
file: string;
|
|
280
183
|
line: number;
|
|
281
184
|
column: number;
|
|
282
|
-
length?: number | undefined;
|
|
283
|
-
lineText?: string | undefined;
|
|
284
|
-
suggestion?: string | undefined;
|
|
285
185
|
} | undefined;
|
|
286
186
|
}[] | undefined;
|
|
287
187
|
}[] | undefined;
|
|
288
188
|
}, {
|
|
289
189
|
errors?: {
|
|
290
190
|
text: string;
|
|
291
|
-
pluginName?: string | undefined;
|
|
292
|
-
type?: string | undefined;
|
|
293
191
|
location?: {
|
|
294
192
|
file: string;
|
|
295
193
|
line: number;
|
|
296
194
|
column: number;
|
|
297
|
-
length?: number | undefined;
|
|
298
|
-
lineText?: string | undefined;
|
|
299
|
-
suggestion?: string | undefined;
|
|
300
195
|
} | undefined;
|
|
301
196
|
notes?: {
|
|
302
197
|
text: string;
|
|
@@ -304,23 +199,15 @@ export declare const ZodTaskResult: z.ZodObject<{
|
|
|
304
199
|
file: string;
|
|
305
200
|
line: number;
|
|
306
201
|
column: number;
|
|
307
|
-
length?: number | undefined;
|
|
308
|
-
lineText?: string | undefined;
|
|
309
|
-
suggestion?: string | undefined;
|
|
310
202
|
} | undefined;
|
|
311
203
|
}[] | undefined;
|
|
312
204
|
}[] | undefined;
|
|
313
205
|
warnings?: {
|
|
314
206
|
text: string;
|
|
315
|
-
pluginName?: string | undefined;
|
|
316
|
-
type?: string | undefined;
|
|
317
207
|
location?: {
|
|
318
208
|
file: string;
|
|
319
209
|
line: number;
|
|
320
210
|
column: number;
|
|
321
|
-
length?: number | undefined;
|
|
322
|
-
lineText?: string | undefined;
|
|
323
|
-
suggestion?: string | undefined;
|
|
324
211
|
} | undefined;
|
|
325
212
|
notes?: {
|
|
326
213
|
text: string;
|
|
@@ -328,9 +215,6 @@ export declare const ZodTaskResult: z.ZodObject<{
|
|
|
328
215
|
file: string;
|
|
329
216
|
line: number;
|
|
330
217
|
column: number;
|
|
331
|
-
length?: number | undefined;
|
|
332
|
-
lineText?: string | undefined;
|
|
333
|
-
suggestion?: string | undefined;
|
|
334
218
|
} | undefined;
|
|
335
219
|
}[] | undefined;
|
|
336
220
|
}[] | undefined;
|
|
@@ -1 +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
|
|
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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ms-cloudpack/api-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.35.0",
|
|
4
4
|
"description": "An implementation of the API server that does interacts with a task scheduler.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"@lage-run/logger": "^1.3.0",
|
|
28
28
|
"@lage-run/scheduler": "^1.1.9",
|
|
29
29
|
"@lage-run/target-graph": "^0.8.9",
|
|
30
|
-
"@ms-cloudpack/bundler": "^0.19.
|
|
31
|
-
"@ms-cloudpack/common-types": "^0.
|
|
32
|
-
"@ms-cloudpack/config": "^0.18.
|
|
33
|
-
"@ms-cloudpack/create-express-app": "^1.6.
|
|
30
|
+
"@ms-cloudpack/bundler": "^0.19.1",
|
|
31
|
+
"@ms-cloudpack/common-types": "^0.2.0",
|
|
32
|
+
"@ms-cloudpack/config": "^0.18.1",
|
|
33
|
+
"@ms-cloudpack/create-express-app": "^1.6.1",
|
|
34
34
|
"@ms-cloudpack/data-bus": "^0.4.2",
|
|
35
35
|
"@ms-cloudpack/file-watcher": "^0.1.2",
|
|
36
|
-
"@ms-cloudpack/import-map": "^0.2.
|
|
36
|
+
"@ms-cloudpack/import-map": "^0.2.1",
|
|
37
37
|
"@ms-cloudpack/json-utilities": "^0.1.4",
|
|
38
|
-
"@ms-cloudpack/package-hashes": "^0.5.
|
|
39
|
-
"@ms-cloudpack/package-utilities": "^7.1.
|
|
38
|
+
"@ms-cloudpack/package-hashes": "^0.5.1",
|
|
39
|
+
"@ms-cloudpack/package-utilities": "^7.1.1",
|
|
40
40
|
"@ms-cloudpack/path-string-parsing": "^1.2.1",
|
|
41
41
|
"@ms-cloudpack/path-utilities": "^2.6.1",
|
|
42
42
|
"@ms-cloudpack/remote-cache": "^0.6.2",
|