@ms-cloudpack/api-server 0.13.3 → 0.14.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/ensurePackageBundled.d.ts +1530 -201
- package/lib/apis/ensurePackageBundled.d.ts.map +1 -1
- package/lib/apis/ensurePackageBundled.js +35 -29
- package/lib/apis/ensurePackageBundled.js.map +1 -1
- package/lib/apis/index.d.ts +3 -2
- package/lib/apis/index.d.ts.map +1 -1
- package/lib/apis/index.js +2 -2
- package/lib/apis/index.js.map +1 -1
- package/lib/apis/syncDownload.d.ts +19 -4
- package/lib/apis/syncDownload.d.ts.map +1 -1
- package/lib/apis/syncDownload.js +28 -5
- package/lib/apis/syncDownload.js.map +1 -1
- package/lib/apis/syncUpload.d.ts +35 -13
- package/lib/apis/syncUpload.d.ts.map +1 -1
- package/lib/apis/syncUpload.js +57 -6
- package/lib/apis/syncUpload.js.map +1 -1
- package/lib/apis.d.ts +3 -0
- package/lib/apis.d.ts.map +1 -0
- package/lib/apis.js +2 -0
- package/lib/apis.js.map +1 -0
- package/lib/index.d.ts +2 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/performance/markers.d.ts +13 -0
- package/lib/performance/markers.d.ts.map +1 -0
- package/lib/performance/markers.js +15 -0
- package/lib/performance/markers.js.map +1 -0
- package/lib/trpc/createAppRouter.d.ts +347 -171
- package/lib/trpc/createAppRouter.d.ts.map +1 -1
- package/lib/trpc/createCloudpackServer.d.ts +150 -62
- package/lib/trpc/createCloudpackServer.d.ts.map +1 -1
- package/lib/types/TaskMessage.d.ts +17 -17
- package/lib/types/TaskMessage.d.ts.map +1 -1
- package/lib/types/TaskMessage.js +1 -4
- package/lib/types/TaskMessage.js.map +1 -1
- package/lib/types/TaskMessageLocation.d.ts +2 -2
- package/lib/types/TaskResponse.d.ts +50 -50
- package/lib/types/TaskResult.d.ts +38 -38
- package/lib/utilities/createBundleRequestForPackage.d.ts +1 -0
- package/lib/utilities/createBundleRequestForPackage.d.ts.map +1 -1
- package/lib/utilities/createBundleRequestForPackage.js +1 -1
- package/lib/utilities/createBundleRequestForPackage.js.map +1 -1
- package/lib/utilities/ensureFieldsExist.d.ts +8 -0
- package/lib/utilities/ensureFieldsExist.d.ts.map +1 -0
- package/lib/utilities/ensureFieldsExist.js +18 -0
- package/lib/utilities/ensureFieldsExist.js.map +1 -0
- package/lib/utilities/getPackagesToSync.d.ts +12 -0
- package/lib/utilities/getPackagesToSync.d.ts.map +1 -0
- package/lib/utilities/getPackagesToSync.js +20 -0
- package/lib/utilities/getPackagesToSync.js.map +1 -0
- package/package.json +10 -6
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Marks the start of the sync download/upload operations.
|
|
3
|
+
*/
|
|
4
|
+
export declare const PerfMarkerSyncStart = "SYNC_START";
|
|
5
|
+
/**
|
|
6
|
+
* Measures the time it takes to complete the download sync operation.
|
|
7
|
+
*/
|
|
8
|
+
export declare const PerfMeasurementSyncDownload = "SYNC_DOWNLOAD";
|
|
9
|
+
/**
|
|
10
|
+
* Measures the time it takes to complete the upload sync operation.
|
|
11
|
+
*/
|
|
12
|
+
export declare const PerfMeasurementSyncUpload = "SYNC_UPLOAD";
|
|
13
|
+
//# sourceMappingURL=markers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"markers.d.ts","sourceRoot":"","sources":["../../src/performance/markers.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,mBAAmB,eAAe,CAAC;AAIhD;;GAEG;AACH,eAAO,MAAM,2BAA2B,kBAAkB,CAAC;AAE3D;;GAEG;AACH,eAAO,MAAM,yBAAyB,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Markers
|
|
2
|
+
/**
|
|
3
|
+
* Marks the start of the sync download/upload operations.
|
|
4
|
+
*/
|
|
5
|
+
export const PerfMarkerSyncStart = 'SYNC_START';
|
|
6
|
+
// Measurements
|
|
7
|
+
/**
|
|
8
|
+
* Measures the time it takes to complete the download sync operation.
|
|
9
|
+
*/
|
|
10
|
+
export const PerfMeasurementSyncDownload = 'SYNC_DOWNLOAD';
|
|
11
|
+
/**
|
|
12
|
+
* Measures the time it takes to complete the upload sync operation.
|
|
13
|
+
*/
|
|
14
|
+
export const PerfMeasurementSyncUpload = 'SYNC_UPLOAD';
|
|
15
|
+
//# sourceMappingURL=markers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"markers.js","sourceRoot":"","sources":["../../src/performance/markers.ts"],"names":[],"mappings":"AAAA,UAAU;AAEV;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,YAAY,CAAC;AAEhD,eAAe;AAEf;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,eAAe,CAAC;AAE3D;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,aAAa,CAAC","sourcesContent":["// Markers\n\n/**\n * Marks the start of the sync download/upload operations.\n */\nexport const PerfMarkerSyncStart = 'SYNC_START';\n\n// Measurements\n\n/**\n * Measures the time it takes to complete the download sync operation.\n */\nexport const PerfMeasurementSyncDownload = 'SYNC_DOWNLOAD';\n\n/**\n * Measures the time it takes to complete the upload sync operation.\n */\nexport const PerfMeasurementSyncUpload = 'SYNC_UPLOAD';\n"]}
|
|
@@ -74,6 +74,336 @@ export declare function createAppRouter(): {
|
|
|
74
74
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
|
75
75
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
|
76
76
|
}, void>;
|
|
77
|
+
ensurePackageBundled: import("@trpc/server").BuildProcedure<"mutation", {
|
|
78
|
+
_config: import("@trpc/server").RootConfig<{
|
|
79
|
+
ctx: {
|
|
80
|
+
session: import("../index.js").Session;
|
|
81
|
+
bus: import("@ms-cloudpack/data-bus").DataBus;
|
|
82
|
+
rootSpan: import("@opentelemetry/api").Span | undefined;
|
|
83
|
+
reporter: import("@ms-cloudpack/task-reporter").TaskReporter;
|
|
84
|
+
watcher: {
|
|
85
|
+
watch({ path, watchPaths, }: {
|
|
86
|
+
path: string;
|
|
87
|
+
watchPaths?: string[] | undefined;
|
|
88
|
+
}, onPackageChanged: () => void): () => Promise<void>;
|
|
89
|
+
unwatchAll(): Promise<void>;
|
|
90
|
+
};
|
|
91
|
+
packages: import("@ms-cloudpack/bundler-types").PackageDefinitionsCache;
|
|
92
|
+
taskRunner: import("../index.js").TaskRunner;
|
|
93
|
+
dispose(): Promise<void>;
|
|
94
|
+
};
|
|
95
|
+
meta: object;
|
|
96
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
|
97
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
|
98
|
+
}>;
|
|
99
|
+
_meta: object;
|
|
100
|
+
_ctx_out: {
|
|
101
|
+
session: import("../index.js").Session;
|
|
102
|
+
bus: import("@ms-cloudpack/data-bus").DataBus;
|
|
103
|
+
rootSpan: import("@opentelemetry/api").Span | undefined;
|
|
104
|
+
reporter: import("@ms-cloudpack/task-reporter").TaskReporter;
|
|
105
|
+
watcher: {
|
|
106
|
+
watch({ path, watchPaths, }: {
|
|
107
|
+
path: string;
|
|
108
|
+
watchPaths?: string[] | undefined;
|
|
109
|
+
}, onPackageChanged: () => void): () => Promise<void>;
|
|
110
|
+
unwatchAll(): Promise<void>;
|
|
111
|
+
};
|
|
112
|
+
packages: import("@ms-cloudpack/bundler-types").PackageDefinitionsCache;
|
|
113
|
+
taskRunner: import("../index.js").TaskRunner;
|
|
114
|
+
dispose(): Promise<void>;
|
|
115
|
+
};
|
|
116
|
+
_input_in: {
|
|
117
|
+
name: string;
|
|
118
|
+
version: string;
|
|
119
|
+
outputPath?: string | undefined;
|
|
120
|
+
bundlerType?: string | undefined;
|
|
121
|
+
disableSourceMaps?: boolean | undefined;
|
|
122
|
+
enqueueDependencies?: boolean | undefined;
|
|
123
|
+
shouldRerun?: boolean | undefined;
|
|
124
|
+
shouldWatch?: boolean | undefined;
|
|
125
|
+
shouldForce?: boolean | undefined;
|
|
126
|
+
};
|
|
127
|
+
_input_out: {
|
|
128
|
+
name: string;
|
|
129
|
+
version: string;
|
|
130
|
+
outputPath?: string | undefined;
|
|
131
|
+
bundlerType?: string | undefined;
|
|
132
|
+
disableSourceMaps?: boolean | undefined;
|
|
133
|
+
enqueueDependencies?: boolean | undefined;
|
|
134
|
+
shouldRerun?: boolean | undefined;
|
|
135
|
+
shouldWatch?: boolean | undefined;
|
|
136
|
+
shouldForce?: boolean | undefined;
|
|
137
|
+
};
|
|
138
|
+
_output_in: {
|
|
139
|
+
result: {
|
|
140
|
+
name: string;
|
|
141
|
+
outputPath: string;
|
|
142
|
+
version: string;
|
|
143
|
+
isExternal: boolean;
|
|
144
|
+
bundlerName?: string | undefined;
|
|
145
|
+
inputPath?: string | undefined;
|
|
146
|
+
entries?: Record<string, string> | undefined;
|
|
147
|
+
dependencies?: string[] | undefined;
|
|
148
|
+
hash?: string | undefined;
|
|
149
|
+
outputFiles?: {
|
|
150
|
+
outputPath: string;
|
|
151
|
+
entryPoint?: string | undefined;
|
|
152
|
+
exports?: string[] | undefined;
|
|
153
|
+
}[] | undefined;
|
|
154
|
+
errors?: {
|
|
155
|
+
text: string;
|
|
156
|
+
pluginName?: string | undefined;
|
|
157
|
+
type?: string | undefined;
|
|
158
|
+
location?: {
|
|
159
|
+
file: string;
|
|
160
|
+
line: number;
|
|
161
|
+
column: number;
|
|
162
|
+
length?: number | undefined;
|
|
163
|
+
lineText?: string | undefined;
|
|
164
|
+
suggestion?: string | undefined;
|
|
165
|
+
} | undefined;
|
|
166
|
+
notes?: {
|
|
167
|
+
text: string;
|
|
168
|
+
location?: {
|
|
169
|
+
file: string;
|
|
170
|
+
line: number;
|
|
171
|
+
column: number;
|
|
172
|
+
length?: number | undefined;
|
|
173
|
+
lineText?: string | undefined;
|
|
174
|
+
suggestion?: string | undefined;
|
|
175
|
+
} | undefined;
|
|
176
|
+
}[] | undefined;
|
|
177
|
+
}[] | undefined;
|
|
178
|
+
warnings?: {
|
|
179
|
+
text: string;
|
|
180
|
+
pluginName?: string | undefined;
|
|
181
|
+
type?: string | undefined;
|
|
182
|
+
location?: {
|
|
183
|
+
file: string;
|
|
184
|
+
line: number;
|
|
185
|
+
column: number;
|
|
186
|
+
length?: number | undefined;
|
|
187
|
+
lineText?: string | undefined;
|
|
188
|
+
suggestion?: string | undefined;
|
|
189
|
+
} | undefined;
|
|
190
|
+
notes?: {
|
|
191
|
+
text: string;
|
|
192
|
+
location?: {
|
|
193
|
+
file: string;
|
|
194
|
+
line: number;
|
|
195
|
+
column: number;
|
|
196
|
+
length?: number | undefined;
|
|
197
|
+
lineText?: string | undefined;
|
|
198
|
+
suggestion?: string | undefined;
|
|
199
|
+
} | undefined;
|
|
200
|
+
}[] | undefined;
|
|
201
|
+
}[] | undefined;
|
|
202
|
+
rawInput?: Record<string, unknown> | undefined;
|
|
203
|
+
rawOutput?: Record<string, unknown> | undefined;
|
|
204
|
+
};
|
|
205
|
+
dependencies: Promise<{
|
|
206
|
+
name: string;
|
|
207
|
+
outputPath: string;
|
|
208
|
+
version: string;
|
|
209
|
+
isExternal: boolean;
|
|
210
|
+
bundlerName?: string | undefined;
|
|
211
|
+
inputPath?: string | undefined;
|
|
212
|
+
entries?: Record<string, string> | undefined;
|
|
213
|
+
dependencies?: string[] | undefined;
|
|
214
|
+
hash?: string | undefined;
|
|
215
|
+
outputFiles?: {
|
|
216
|
+
outputPath: string;
|
|
217
|
+
entryPoint?: string | undefined;
|
|
218
|
+
exports?: string[] | undefined;
|
|
219
|
+
}[] | undefined;
|
|
220
|
+
errors?: {
|
|
221
|
+
text: string;
|
|
222
|
+
pluginName?: string | undefined;
|
|
223
|
+
type?: string | undefined;
|
|
224
|
+
location?: {
|
|
225
|
+
file: string;
|
|
226
|
+
line: number;
|
|
227
|
+
column: number;
|
|
228
|
+
length?: number | undefined;
|
|
229
|
+
lineText?: string | undefined;
|
|
230
|
+
suggestion?: string | undefined;
|
|
231
|
+
} | undefined;
|
|
232
|
+
notes?: {
|
|
233
|
+
text: string;
|
|
234
|
+
location?: {
|
|
235
|
+
file: string;
|
|
236
|
+
line: number;
|
|
237
|
+
column: number;
|
|
238
|
+
length?: number | undefined;
|
|
239
|
+
lineText?: string | undefined;
|
|
240
|
+
suggestion?: string | undefined;
|
|
241
|
+
} | undefined;
|
|
242
|
+
}[] | undefined;
|
|
243
|
+
}[] | undefined;
|
|
244
|
+
warnings?: {
|
|
245
|
+
text: string;
|
|
246
|
+
pluginName?: string | undefined;
|
|
247
|
+
type?: string | undefined;
|
|
248
|
+
location?: {
|
|
249
|
+
file: string;
|
|
250
|
+
line: number;
|
|
251
|
+
column: number;
|
|
252
|
+
length?: number | undefined;
|
|
253
|
+
lineText?: string | undefined;
|
|
254
|
+
suggestion?: string | undefined;
|
|
255
|
+
} | undefined;
|
|
256
|
+
notes?: {
|
|
257
|
+
text: string;
|
|
258
|
+
location?: {
|
|
259
|
+
file: string;
|
|
260
|
+
line: number;
|
|
261
|
+
column: number;
|
|
262
|
+
length?: number | undefined;
|
|
263
|
+
lineText?: string | undefined;
|
|
264
|
+
suggestion?: string | undefined;
|
|
265
|
+
} | undefined;
|
|
266
|
+
}[] | undefined;
|
|
267
|
+
}[] | undefined;
|
|
268
|
+
rawInput?: Record<string, unknown> | undefined;
|
|
269
|
+
rawOutput?: Record<string, unknown> | undefined;
|
|
270
|
+
}[]>;
|
|
271
|
+
};
|
|
272
|
+
_output_out: {
|
|
273
|
+
result: {
|
|
274
|
+
name: string;
|
|
275
|
+
outputPath: string;
|
|
276
|
+
version: string;
|
|
277
|
+
isExternal: boolean;
|
|
278
|
+
bundlerName?: string | undefined;
|
|
279
|
+
inputPath?: string | undefined;
|
|
280
|
+
entries?: Record<string, string> | undefined;
|
|
281
|
+
dependencies?: string[] | undefined;
|
|
282
|
+
hash?: string | undefined;
|
|
283
|
+
outputFiles?: {
|
|
284
|
+
outputPath: string;
|
|
285
|
+
entryPoint?: string | undefined;
|
|
286
|
+
exports?: string[] | undefined;
|
|
287
|
+
}[] | undefined;
|
|
288
|
+
errors?: {
|
|
289
|
+
text: string;
|
|
290
|
+
pluginName?: string | undefined;
|
|
291
|
+
type?: string | undefined;
|
|
292
|
+
location?: {
|
|
293
|
+
file: string;
|
|
294
|
+
line: number;
|
|
295
|
+
column: number;
|
|
296
|
+
length?: number | undefined;
|
|
297
|
+
lineText?: string | undefined;
|
|
298
|
+
suggestion?: string | undefined;
|
|
299
|
+
} | undefined;
|
|
300
|
+
notes?: {
|
|
301
|
+
text: string;
|
|
302
|
+
location?: {
|
|
303
|
+
file: string;
|
|
304
|
+
line: number;
|
|
305
|
+
column: number;
|
|
306
|
+
length?: number | undefined;
|
|
307
|
+
lineText?: string | undefined;
|
|
308
|
+
suggestion?: string | undefined;
|
|
309
|
+
} | undefined;
|
|
310
|
+
}[] | undefined;
|
|
311
|
+
}[] | undefined;
|
|
312
|
+
warnings?: {
|
|
313
|
+
text: string;
|
|
314
|
+
pluginName?: string | undefined;
|
|
315
|
+
type?: string | undefined;
|
|
316
|
+
location?: {
|
|
317
|
+
file: string;
|
|
318
|
+
line: number;
|
|
319
|
+
column: number;
|
|
320
|
+
length?: number | undefined;
|
|
321
|
+
lineText?: string | undefined;
|
|
322
|
+
suggestion?: string | undefined;
|
|
323
|
+
} | undefined;
|
|
324
|
+
notes?: {
|
|
325
|
+
text: string;
|
|
326
|
+
location?: {
|
|
327
|
+
file: string;
|
|
328
|
+
line: number;
|
|
329
|
+
column: number;
|
|
330
|
+
length?: number | undefined;
|
|
331
|
+
lineText?: string | undefined;
|
|
332
|
+
suggestion?: string | undefined;
|
|
333
|
+
} | undefined;
|
|
334
|
+
}[] | undefined;
|
|
335
|
+
}[] | undefined;
|
|
336
|
+
rawInput?: Record<string, unknown> | undefined;
|
|
337
|
+
rawOutput?: Record<string, unknown> | undefined;
|
|
338
|
+
};
|
|
339
|
+
dependencies: Promise<{
|
|
340
|
+
name: string;
|
|
341
|
+
outputPath: string;
|
|
342
|
+
version: string;
|
|
343
|
+
isExternal: boolean;
|
|
344
|
+
bundlerName?: string | undefined;
|
|
345
|
+
inputPath?: string | undefined;
|
|
346
|
+
entries?: Record<string, string> | undefined;
|
|
347
|
+
dependencies?: string[] | undefined;
|
|
348
|
+
hash?: string | undefined;
|
|
349
|
+
outputFiles?: {
|
|
350
|
+
outputPath: string;
|
|
351
|
+
entryPoint?: string | undefined;
|
|
352
|
+
exports?: string[] | undefined;
|
|
353
|
+
}[] | undefined;
|
|
354
|
+
errors?: {
|
|
355
|
+
text: string;
|
|
356
|
+
pluginName?: string | undefined;
|
|
357
|
+
type?: string | undefined;
|
|
358
|
+
location?: {
|
|
359
|
+
file: string;
|
|
360
|
+
line: number;
|
|
361
|
+
column: number;
|
|
362
|
+
length?: number | undefined;
|
|
363
|
+
lineText?: string | undefined;
|
|
364
|
+
suggestion?: string | undefined;
|
|
365
|
+
} | undefined;
|
|
366
|
+
notes?: {
|
|
367
|
+
text: string;
|
|
368
|
+
location?: {
|
|
369
|
+
file: string;
|
|
370
|
+
line: number;
|
|
371
|
+
column: number;
|
|
372
|
+
length?: number | undefined;
|
|
373
|
+
lineText?: string | undefined;
|
|
374
|
+
suggestion?: string | undefined;
|
|
375
|
+
} | undefined;
|
|
376
|
+
}[] | undefined;
|
|
377
|
+
}[] | undefined;
|
|
378
|
+
warnings?: {
|
|
379
|
+
text: string;
|
|
380
|
+
pluginName?: string | undefined;
|
|
381
|
+
type?: string | undefined;
|
|
382
|
+
location?: {
|
|
383
|
+
file: string;
|
|
384
|
+
line: number;
|
|
385
|
+
column: number;
|
|
386
|
+
length?: number | undefined;
|
|
387
|
+
lineText?: string | undefined;
|
|
388
|
+
suggestion?: string | undefined;
|
|
389
|
+
} | undefined;
|
|
390
|
+
notes?: {
|
|
391
|
+
text: string;
|
|
392
|
+
location?: {
|
|
393
|
+
file: string;
|
|
394
|
+
line: number;
|
|
395
|
+
column: number;
|
|
396
|
+
length?: number | undefined;
|
|
397
|
+
lineText?: string | undefined;
|
|
398
|
+
suggestion?: string | undefined;
|
|
399
|
+
} | undefined;
|
|
400
|
+
}[] | undefined;
|
|
401
|
+
}[] | undefined;
|
|
402
|
+
rawInput?: Record<string, unknown> | undefined;
|
|
403
|
+
rawOutput?: Record<string, unknown> | undefined;
|
|
404
|
+
}[]>;
|
|
405
|
+
};
|
|
406
|
+
}, unknown>;
|
|
77
407
|
getData: import("@trpc/server").BuildProcedure<"query", {
|
|
78
408
|
_config: import("@trpc/server").RootConfig<{
|
|
79
409
|
ctx: {
|
|
@@ -412,7 +742,7 @@ export declare function createAppRouter(): {
|
|
|
412
742
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
|
413
743
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
|
414
744
|
}, void>;
|
|
415
|
-
|
|
745
|
+
syncDownload: import("@trpc/server").BuildProcedure<"mutation", {
|
|
416
746
|
_config: import("@trpc/server").RootConfig<{
|
|
417
747
|
ctx: {
|
|
418
748
|
session: import("../index.js").Session;
|
|
@@ -452,63 +782,13 @@ export declare function createAppRouter(): {
|
|
|
452
782
|
dispose(): Promise<void>;
|
|
453
783
|
};
|
|
454
784
|
_input_in: {
|
|
455
|
-
|
|
456
|
-
importPath: string;
|
|
785
|
+
isInteractiveLogin: boolean;
|
|
457
786
|
};
|
|
458
787
|
_input_out: {
|
|
459
|
-
|
|
460
|
-
importPath: string;
|
|
461
|
-
};
|
|
462
|
-
_output_in: {
|
|
463
|
-
fixable: boolean;
|
|
464
|
-
};
|
|
465
|
-
_output_out: {
|
|
466
|
-
fixable: boolean;
|
|
788
|
+
isInteractiveLogin: boolean;
|
|
467
789
|
};
|
|
468
|
-
}, unknown>;
|
|
469
|
-
syncDownload: import("@trpc/server").BuildProcedure<"mutation", {
|
|
470
|
-
_config: import("@trpc/server").RootConfig<{
|
|
471
|
-
ctx: {
|
|
472
|
-
session: import("../index.js").Session;
|
|
473
|
-
bus: import("@ms-cloudpack/data-bus").DataBus;
|
|
474
|
-
rootSpan: import("@opentelemetry/api").Span | undefined;
|
|
475
|
-
reporter: import("@ms-cloudpack/task-reporter").TaskReporter;
|
|
476
|
-
watcher: {
|
|
477
|
-
watch({ path, watchPaths, }: {
|
|
478
|
-
path: string;
|
|
479
|
-
watchPaths?: string[] | undefined;
|
|
480
|
-
}, onPackageChanged: () => void): () => Promise<void>;
|
|
481
|
-
unwatchAll(): Promise<void>;
|
|
482
|
-
};
|
|
483
|
-
packages: import("@ms-cloudpack/bundler-types").PackageDefinitionsCache;
|
|
484
|
-
taskRunner: import("../index.js").TaskRunner;
|
|
485
|
-
dispose(): Promise<void>;
|
|
486
|
-
};
|
|
487
|
-
meta: object;
|
|
488
|
-
errorShape: import("@trpc/server").DefaultErrorShape;
|
|
489
|
-
transformer: import("@trpc/server").DefaultDataTransformer;
|
|
490
|
-
}>;
|
|
491
|
-
_ctx_out: {
|
|
492
|
-
session: import("../index.js").Session;
|
|
493
|
-
bus: import("@ms-cloudpack/data-bus").DataBus;
|
|
494
|
-
rootSpan: import("@opentelemetry/api").Span | undefined;
|
|
495
|
-
reporter: import("@ms-cloudpack/task-reporter").TaskReporter;
|
|
496
|
-
watcher: {
|
|
497
|
-
watch({ path, watchPaths, }: {
|
|
498
|
-
path: string;
|
|
499
|
-
watchPaths?: string[] | undefined;
|
|
500
|
-
}, onPackageChanged: () => void): () => Promise<void>;
|
|
501
|
-
unwatchAll(): Promise<void>;
|
|
502
|
-
};
|
|
503
|
-
packages: import("@ms-cloudpack/bundler-types").PackageDefinitionsCache;
|
|
504
|
-
taskRunner: import("../index.js").TaskRunner;
|
|
505
|
-
dispose(): Promise<void>;
|
|
506
|
-
};
|
|
507
|
-
_input_in: typeof import("@trpc/server").unsetMarker;
|
|
508
|
-
_input_out: typeof import("@trpc/server").unsetMarker;
|
|
509
790
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
|
510
791
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
|
511
|
-
_meta: object;
|
|
512
792
|
}, void>;
|
|
513
793
|
syncUpload: import("@trpc/server").BuildProcedure<"mutation", {
|
|
514
794
|
_config: import("@trpc/server").RootConfig<{
|
|
@@ -532,6 +812,7 @@ export declare function createAppRouter(): {
|
|
|
532
812
|
errorShape: import("@trpc/server").DefaultErrorShape;
|
|
533
813
|
transformer: import("@trpc/server").DefaultDataTransformer;
|
|
534
814
|
}>;
|
|
815
|
+
_meta: object;
|
|
535
816
|
_ctx_out: {
|
|
536
817
|
session: import("../index.js").Session;
|
|
537
818
|
bus: import("@ms-cloudpack/data-bus").DataBus;
|
|
@@ -548,13 +829,16 @@ export declare function createAppRouter(): {
|
|
|
548
829
|
taskRunner: import("../index.js").TaskRunner;
|
|
549
830
|
dispose(): Promise<void>;
|
|
550
831
|
};
|
|
551
|
-
_input_in:
|
|
552
|
-
|
|
832
|
+
_input_in: {
|
|
833
|
+
isInteractiveLogin: boolean;
|
|
834
|
+
};
|
|
835
|
+
_input_out: {
|
|
836
|
+
isInteractiveLogin: boolean;
|
|
837
|
+
};
|
|
553
838
|
_output_in: typeof import("@trpc/server").unsetMarker;
|
|
554
839
|
_output_out: typeof import("@trpc/server").unsetMarker;
|
|
555
|
-
_meta: object;
|
|
556
840
|
}, void>;
|
|
557
|
-
|
|
841
|
+
validatePackageOverride: import("@trpc/server").BuildProcedure<"query", {
|
|
558
842
|
_config: import("@trpc/server").RootConfig<{
|
|
559
843
|
ctx: {
|
|
560
844
|
session: import("../index.js").Session;
|
|
@@ -594,126 +878,18 @@ export declare function createAppRouter(): {
|
|
|
594
878
|
dispose(): Promise<void>;
|
|
595
879
|
};
|
|
596
880
|
_input_in: {
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
outputPath?: string | undefined;
|
|
600
|
-
bundlerType?: string | undefined;
|
|
601
|
-
disableSourceMaps?: boolean | undefined;
|
|
602
|
-
shouldRerun?: boolean | undefined;
|
|
603
|
-
shouldWatch?: boolean | undefined;
|
|
604
|
-
shouldForce?: boolean | undefined;
|
|
881
|
+
packageName: string;
|
|
882
|
+
importPath: string;
|
|
605
883
|
};
|
|
606
884
|
_input_out: {
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
outputPath?: string | undefined;
|
|
610
|
-
bundlerType?: string | undefined;
|
|
611
|
-
disableSourceMaps?: boolean | undefined;
|
|
612
|
-
shouldRerun?: boolean | undefined;
|
|
613
|
-
shouldWatch?: boolean | undefined;
|
|
614
|
-
shouldForce?: boolean | undefined;
|
|
885
|
+
packageName: string;
|
|
886
|
+
importPath: string;
|
|
615
887
|
};
|
|
616
888
|
_output_in: {
|
|
617
|
-
|
|
618
|
-
inputPath?: string | undefined;
|
|
619
|
-
outputPath?: string | undefined;
|
|
620
|
-
entries?: Record<string, string> | undefined;
|
|
621
|
-
dependencies?: string[] | undefined;
|
|
622
|
-
hash?: string | undefined;
|
|
623
|
-
outputFiles?: {
|
|
624
|
-
outputPath: string;
|
|
625
|
-
entryPoint?: string | undefined;
|
|
626
|
-
exports?: string[] | undefined;
|
|
627
|
-
}[] | undefined;
|
|
628
|
-
errors?: {
|
|
629
|
-
text: string;
|
|
630
|
-
pluginName?: string | undefined;
|
|
631
|
-
type?: string | undefined;
|
|
632
|
-
location?: {
|
|
633
|
-
line: number;
|
|
634
|
-
column: number;
|
|
635
|
-
file: string;
|
|
636
|
-
} | undefined;
|
|
637
|
-
notes?: {
|
|
638
|
-
text?: string | undefined;
|
|
639
|
-
location?: {
|
|
640
|
-
line: number;
|
|
641
|
-
column: number;
|
|
642
|
-
file: string;
|
|
643
|
-
} | undefined;
|
|
644
|
-
}[] | undefined;
|
|
645
|
-
}[] | undefined;
|
|
646
|
-
warnings?: {
|
|
647
|
-
text: string;
|
|
648
|
-
pluginName?: string | undefined;
|
|
649
|
-
type?: string | undefined;
|
|
650
|
-
location?: {
|
|
651
|
-
line: number;
|
|
652
|
-
column: number;
|
|
653
|
-
file: string;
|
|
654
|
-
} | undefined;
|
|
655
|
-
notes?: {
|
|
656
|
-
text?: string | undefined;
|
|
657
|
-
location?: {
|
|
658
|
-
line: number;
|
|
659
|
-
column: number;
|
|
660
|
-
file: string;
|
|
661
|
-
} | undefined;
|
|
662
|
-
}[] | undefined;
|
|
663
|
-
}[] | undefined;
|
|
664
|
-
rawInput?: Record<string, unknown> | undefined;
|
|
665
|
-
rawOutput?: Record<string, unknown> | undefined;
|
|
889
|
+
fixable: boolean;
|
|
666
890
|
};
|
|
667
891
|
_output_out: {
|
|
668
|
-
|
|
669
|
-
inputPath?: string | undefined;
|
|
670
|
-
outputPath?: string | undefined;
|
|
671
|
-
entries?: Record<string, string> | undefined;
|
|
672
|
-
dependencies?: string[] | undefined;
|
|
673
|
-
hash?: string | undefined;
|
|
674
|
-
outputFiles?: {
|
|
675
|
-
outputPath: string;
|
|
676
|
-
entryPoint?: string | undefined;
|
|
677
|
-
exports?: string[] | undefined;
|
|
678
|
-
}[] | undefined;
|
|
679
|
-
errors?: {
|
|
680
|
-
text: string;
|
|
681
|
-
pluginName?: string | undefined;
|
|
682
|
-
type?: string | undefined;
|
|
683
|
-
location?: {
|
|
684
|
-
line: number;
|
|
685
|
-
column: number;
|
|
686
|
-
file: string;
|
|
687
|
-
} | undefined;
|
|
688
|
-
notes?: {
|
|
689
|
-
text?: string | undefined;
|
|
690
|
-
location?: {
|
|
691
|
-
line: number;
|
|
692
|
-
column: number;
|
|
693
|
-
file: string;
|
|
694
|
-
} | undefined;
|
|
695
|
-
}[] | undefined;
|
|
696
|
-
}[] | undefined;
|
|
697
|
-
warnings?: {
|
|
698
|
-
text: string;
|
|
699
|
-
pluginName?: string | undefined;
|
|
700
|
-
type?: string | undefined;
|
|
701
|
-
location?: {
|
|
702
|
-
line: number;
|
|
703
|
-
column: number;
|
|
704
|
-
file: string;
|
|
705
|
-
} | undefined;
|
|
706
|
-
notes?: {
|
|
707
|
-
text?: string | undefined;
|
|
708
|
-
location?: {
|
|
709
|
-
line: number;
|
|
710
|
-
column: number;
|
|
711
|
-
file: string;
|
|
712
|
-
} | undefined;
|
|
713
|
-
}[] | undefined;
|
|
714
|
-
}[] | undefined;
|
|
715
|
-
rawInput?: Record<string, unknown> | undefined;
|
|
716
|
-
rawOutput?: Record<string, unknown> | undefined;
|
|
892
|
+
fixable: boolean;
|
|
717
893
|
};
|
|
718
894
|
}, unknown>;
|
|
719
895
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createAppRouter.d.ts","sourceRoot":"","sources":["../../src/trpc/createAppRouter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAC;AAGzC,wBAAgB,eAAe
|
|
1
|
+
{"version":3,"file":"createAppRouter.d.ts","sourceRoot":"","sources":["../../src/trpc/createAppRouter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAC;AAGzC,wBAAgB,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK9B;AAED,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,QAAQ,CAAC,CAAC"}
|