@ms-cloudpack/api-server 0.13.2 → 0.13.4

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.
Files changed (49) hide show
  1. package/lib/apis/addPackageOverride.d.ts +2 -2
  2. package/lib/apis/ensurePackageBundled.d.ts +1114 -147
  3. package/lib/apis/ensurePackageBundled.d.ts.map +1 -1
  4. package/lib/apis/ensurePackageBundled.js +56 -12
  5. package/lib/apis/ensurePackageBundled.js.map +1 -1
  6. package/lib/apis/getData.d.ts +2 -2
  7. package/lib/apis/getSessionId.d.ts +2 -2
  8. package/lib/apis/index.d.ts +1 -0
  9. package/lib/apis/index.d.ts.map +1 -1
  10. package/lib/apis/index.js +1 -0
  11. package/lib/apis/index.js.map +1 -1
  12. package/lib/apis/onDataChanged.d.ts +2 -2
  13. package/lib/apis/openCodeEditor.d.ts +2 -2
  14. package/lib/apis/openConfigEditor.d.ts +2 -2
  15. package/lib/apis/openFilePath.d.ts +2 -2
  16. package/lib/apis/reportMetric.d.ts +2 -2
  17. package/lib/apis/syncDownload.d.ts +2 -2
  18. package/lib/apis/syncUpload.d.ts +18 -10
  19. package/lib/apis/syncUpload.d.ts.map +1 -1
  20. package/lib/apis/syncUpload.js +34 -5
  21. package/lib/apis/syncUpload.js.map +1 -1
  22. package/lib/apis/validatePackageOverride.d.ts +2 -2
  23. package/lib/index.d.ts +3 -0
  24. package/lib/index.d.ts.map +1 -1
  25. package/lib/index.js +1 -0
  26. package/lib/index.js.map +1 -1
  27. package/lib/trpc/common.d.ts +3 -3
  28. package/lib/trpc/createAppRouter.d.ts +305 -23
  29. package/lib/trpc/createAppRouter.d.ts.map +1 -1
  30. package/lib/trpc/createCloudpackServer.d.ts +122 -1
  31. package/lib/trpc/createCloudpackServer.d.ts.map +1 -1
  32. package/lib/trpc/createCloudpackServer.js.map +1 -1
  33. package/lib/trpc/createRouterFromApis.d.ts +1 -1
  34. package/lib/utilities/bundleTask.d.ts.map +1 -1
  35. package/lib/utilities/bundleTask.js +3 -6
  36. package/lib/utilities/bundleTask.js.map +1 -1
  37. package/lib/utilities/createBundleRequestForPackage.d.ts +4 -0
  38. package/lib/utilities/createBundleRequestForPackage.d.ts.map +1 -1
  39. package/lib/utilities/createBundleRequestForPackage.js +4 -3
  40. package/lib/utilities/createBundleRequestForPackage.js.map +1 -1
  41. package/lib/utilities/ensureFieldsExist.d.ts +8 -0
  42. package/lib/utilities/ensureFieldsExist.d.ts.map +1 -0
  43. package/lib/utilities/ensureFieldsExist.js +18 -0
  44. package/lib/utilities/ensureFieldsExist.js.map +1 -0
  45. package/lib/utilities/validateBundleRequestResult.d.ts +13 -0
  46. package/lib/utilities/validateBundleRequestResult.d.ts.map +1 -0
  47. package/lib/utilities/validateBundleRequestResult.js +28 -0
  48. package/lib/utilities/validateBundleRequestResult.js.map +1 -0
  49. package/package.json +6 -2
@@ -8,23 +8,41 @@ import type { TaskReporter } from '@ms-cloudpack/task-reporter';
8
8
  declare const ZodEnsurePackageBundledInput: z.ZodObject<{
9
9
  name: z.ZodString;
10
10
  version: z.ZodString;
11
+ outputPath: z.ZodOptional<z.ZodString>;
12
+ bundlerType: z.ZodOptional<z.ZodString>;
13
+ disableSourceMaps: z.ZodOptional<z.ZodBoolean>;
14
+ enqueueDependencies: z.ZodOptional<z.ZodBoolean>;
11
15
  shouldRerun: z.ZodOptional<z.ZodBoolean>;
12
16
  shouldWatch: z.ZodOptional<z.ZodBoolean>;
17
+ shouldForce: z.ZodOptional<z.ZodBoolean>;
13
18
  }, "strip", z.ZodTypeAny, {
14
19
  name: string;
15
20
  version: string;
21
+ outputPath?: string | undefined;
22
+ bundlerType?: string | undefined;
23
+ disableSourceMaps?: boolean | undefined;
24
+ enqueueDependencies?: boolean | undefined;
16
25
  shouldRerun?: boolean | undefined;
17
26
  shouldWatch?: boolean | undefined;
27
+ shouldForce?: boolean | undefined;
18
28
  }, {
19
29
  name: string;
20
30
  version: string;
31
+ outputPath?: string | undefined;
32
+ bundlerType?: string | undefined;
33
+ disableSourceMaps?: boolean | undefined;
34
+ enqueueDependencies?: boolean | undefined;
21
35
  shouldRerun?: boolean | undefined;
22
36
  shouldWatch?: boolean | undefined;
37
+ shouldForce?: boolean | undefined;
23
38
  }>;
24
- declare const ZodEnsurePackageBundledOutput: z.ZodObject<{
39
+ type ZodEnsurePackageBundledInput = z.infer<typeof ZodEnsurePackageBundledInput>;
40
+ declare const ZodEnsurePackageBundledOutputResult: z.ZodObject<{
41
+ name: z.ZodString;
42
+ version: z.ZodString;
25
43
  bundlerName: z.ZodOptional<z.ZodString>;
26
44
  inputPath: z.ZodOptional<z.ZodString>;
27
- outputPath: z.ZodOptional<z.ZodString>;
45
+ outputPath: z.ZodString;
28
46
  entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
29
47
  dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
30
48
  hash: z.ZodOptional<z.ZodString>;
@@ -207,10 +225,14 @@ declare const ZodEnsurePackageBundledOutput: z.ZodObject<{
207
225
  }>, "many">>;
208
226
  rawInput: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
209
227
  rawOutput: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
228
+ isExternal: z.ZodBoolean;
210
229
  }, "strip", z.ZodTypeAny, {
230
+ name: string;
231
+ outputPath: string;
232
+ version: string;
233
+ isExternal: boolean;
211
234
  bundlerName?: string | undefined;
212
235
  inputPath?: string | undefined;
213
- outputPath?: string | undefined;
214
236
  entries?: Record<string, string> | undefined;
215
237
  dependencies?: string[] | undefined;
216
238
  hash?: string | undefined;
@@ -258,9 +280,12 @@ declare const ZodEnsurePackageBundledOutput: z.ZodObject<{
258
280
  rawInput?: Record<string, unknown> | undefined;
259
281
  rawOutput?: Record<string, unknown> | undefined;
260
282
  }, {
283
+ name: string;
284
+ outputPath: string;
285
+ version: string;
286
+ isExternal: boolean;
261
287
  bundlerName?: string | undefined;
262
288
  inputPath?: string | undefined;
263
- outputPath?: string | undefined;
264
289
  entries?: Record<string, string> | undefined;
265
290
  dependencies?: string[] | undefined;
266
291
  hash?: string | undefined;
@@ -308,175 +333,1117 @@ declare const ZodEnsurePackageBundledOutput: z.ZodObject<{
308
333
  rawInput?: Record<string, unknown> | undefined;
309
334
  rawOutput?: Record<string, unknown> | undefined;
310
335
  }>;
311
- type ZodEnsurePackageBundledOutput = z.infer<typeof ZodEnsurePackageBundledOutput>;
312
- /**
313
- * Checks if the package is bundled or needs bundling, and returns the result. For internal packages,
314
- * we also notify the watcher to monitor for code changes.
315
- */
316
- export declare function ensurePackageBundled({ input, ctx, }: {
317
- input: z.infer<typeof ZodEnsurePackageBundledInput>;
318
- ctx: {
319
- bus: DataBus;
320
- taskRunner: TaskRunner;
321
- session: Session;
322
- watcher: Watcher;
323
- packages: PackageDefinitionsCache;
324
- reporter: TaskReporter;
325
- };
326
- }): Promise<ZodEnsurePackageBundledOutput>;
327
- export declare namespace ensurePackageBundled {
328
- var procedure: import("@trpc/server").BuildProcedure<"mutation", {
329
- _config: import("@trpc/server").RootConfig<{
330
- ctx: {
331
- session: Session;
332
- bus: DataBus;
333
- rootSpan: import("@opentelemetry/api").Span | undefined;
334
- reporter: TaskReporter;
335
- watcher: {
336
- watch({ path, watchPaths, }: {
337
- path: string;
338
- watchPaths?: string[] | undefined;
339
- }, onPackageChanged: () => void): () => Promise<void>;
340
- unwatchAll(): Promise<void>;
341
- };
342
- packages: PackageDefinitionsCache;
343
- taskRunner: TaskRunner;
344
- dispose(): Promise<void>;
345
- };
346
- meta: object;
347
- errorShape: import("@trpc/server").DefaultErrorShape;
348
- transformer: import("@trpc/server").DefaultDataTransformer;
349
- }>;
350
- _meta: object;
351
- _ctx_out: {
352
- session: Session;
353
- bus: DataBus;
354
- rootSpan: import("@opentelemetry/api").Span | undefined;
355
- reporter: TaskReporter;
356
- watcher: {
357
- watch({ path, watchPaths, }: {
358
- path: string;
359
- watchPaths?: string[] | undefined;
360
- }, onPackageChanged: () => void): () => Promise<void>;
361
- unwatchAll(): Promise<void>;
362
- };
363
- packages: PackageDefinitionsCache;
364
- taskRunner: TaskRunner;
365
- dispose(): Promise<void>;
366
- };
367
- _input_in: {
368
- name: string;
369
- version: string;
370
- shouldRerun?: boolean | undefined;
371
- shouldWatch?: boolean | undefined;
372
- };
373
- _input_out: {
374
- name: string;
375
- version: string;
376
- shouldRerun?: boolean | undefined;
377
- shouldWatch?: boolean | undefined;
378
- };
379
- _output_in: {
380
- bundlerName?: string | undefined;
381
- inputPath?: string | undefined;
382
- outputPath?: string | undefined;
383
- entries?: Record<string, string> | undefined;
384
- dependencies?: string[] | undefined;
385
- hash?: string | undefined;
386
- outputFiles?: {
387
- outputPath: string;
388
- entryPoint?: string | undefined;
389
- exports?: string[] | undefined;
336
+ export type ZodEnsurePackageBundledOutputResult = z.infer<typeof ZodEnsurePackageBundledOutputResult>;
337
+ declare const ZodEnsurePackageBundledOutput: z.ZodObject<{
338
+ result: z.ZodObject<{
339
+ name: z.ZodString;
340
+ version: z.ZodString;
341
+ bundlerName: z.ZodOptional<z.ZodString>;
342
+ inputPath: z.ZodOptional<z.ZodString>;
343
+ outputPath: z.ZodString;
344
+ entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
345
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
346
+ hash: z.ZodOptional<z.ZodString>;
347
+ outputFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
348
+ outputPath: z.ZodString;
349
+ entryPoint: z.ZodOptional<z.ZodString>;
350
+ exports: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
351
+ }, "strip", z.ZodTypeAny, {
352
+ outputPath: string;
353
+ entryPoint?: string | undefined;
354
+ exports?: string[] | undefined;
355
+ }, {
356
+ outputPath: string;
357
+ entryPoint?: string | undefined;
358
+ exports?: string[] | undefined;
359
+ }>, "many">>;
360
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
361
+ pluginName: z.ZodOptional<z.ZodString>;
362
+ type: z.ZodOptional<z.ZodString>;
363
+ text: z.ZodString;
364
+ location: z.ZodOptional<z.ZodObject<{
365
+ file: z.ZodString;
366
+ line: z.ZodNumber;
367
+ column: z.ZodNumber;
368
+ }, "strip", z.ZodTypeAny, {
369
+ line: number;
370
+ column: number;
371
+ file: string;
372
+ }, {
373
+ line: number;
374
+ column: number;
375
+ file: string;
376
+ }>>;
377
+ notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
378
+ text: z.ZodOptional<z.ZodString>;
379
+ location: z.ZodOptional<z.ZodObject<{
380
+ file: z.ZodString;
381
+ line: z.ZodNumber;
382
+ column: z.ZodNumber;
383
+ }, "strip", z.ZodTypeAny, {
384
+ line: number;
385
+ column: number;
386
+ file: string;
387
+ }, {
388
+ line: number;
389
+ column: number;
390
+ file: string;
391
+ }>>;
392
+ }, "strip", z.ZodTypeAny, {
393
+ text?: string | undefined;
394
+ location?: {
395
+ line: number;
396
+ column: number;
397
+ file: string;
398
+ } | undefined;
399
+ }, {
400
+ text?: string | undefined;
401
+ location?: {
402
+ line: number;
403
+ column: number;
404
+ file: string;
405
+ } | undefined;
406
+ }>, "many">>;
407
+ }, "strip", z.ZodTypeAny, {
408
+ text: string;
409
+ pluginName?: string | undefined;
410
+ type?: string | undefined;
411
+ location?: {
412
+ line: number;
413
+ column: number;
414
+ file: string;
415
+ } | undefined;
416
+ notes?: {
417
+ text?: string | undefined;
418
+ location?: {
419
+ line: number;
420
+ column: number;
421
+ file: string;
422
+ } | undefined;
423
+ }[] | undefined;
424
+ }, {
425
+ text: string;
426
+ pluginName?: string | undefined;
427
+ type?: string | undefined;
428
+ location?: {
429
+ line: number;
430
+ column: number;
431
+ file: string;
432
+ } | undefined;
433
+ notes?: {
434
+ text?: string | undefined;
435
+ location?: {
436
+ line: number;
437
+ column: number;
438
+ file: string;
439
+ } | undefined;
390
440
  }[] | undefined;
391
- errors?: {
392
- text: string;
393
- pluginName?: string | undefined;
394
- type?: string | undefined;
441
+ }>, "many">>;
442
+ warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
443
+ pluginName: z.ZodOptional<z.ZodString>;
444
+ type: z.ZodOptional<z.ZodString>;
445
+ text: z.ZodString;
446
+ location: z.ZodOptional<z.ZodObject<{
447
+ file: z.ZodString;
448
+ line: z.ZodNumber;
449
+ column: z.ZodNumber;
450
+ }, "strip", z.ZodTypeAny, {
451
+ line: number;
452
+ column: number;
453
+ file: string;
454
+ }, {
455
+ line: number;
456
+ column: number;
457
+ file: string;
458
+ }>>;
459
+ notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
460
+ text: z.ZodOptional<z.ZodString>;
461
+ location: z.ZodOptional<z.ZodObject<{
462
+ file: z.ZodString;
463
+ line: z.ZodNumber;
464
+ column: z.ZodNumber;
465
+ }, "strip", z.ZodTypeAny, {
466
+ line: number;
467
+ column: number;
468
+ file: string;
469
+ }, {
470
+ line: number;
471
+ column: number;
472
+ file: string;
473
+ }>>;
474
+ }, "strip", z.ZodTypeAny, {
475
+ text?: string | undefined;
476
+ location?: {
477
+ line: number;
478
+ column: number;
479
+ file: string;
480
+ } | undefined;
481
+ }, {
482
+ text?: string | undefined;
483
+ location?: {
484
+ line: number;
485
+ column: number;
486
+ file: string;
487
+ } | undefined;
488
+ }>, "many">>;
489
+ }, "strip", z.ZodTypeAny, {
490
+ text: string;
491
+ pluginName?: string | undefined;
492
+ type?: string | undefined;
493
+ location?: {
494
+ line: number;
495
+ column: number;
496
+ file: string;
497
+ } | undefined;
498
+ notes?: {
499
+ text?: string | undefined;
395
500
  location?: {
396
501
  line: number;
397
502
  column: number;
398
503
  file: string;
399
504
  } | undefined;
400
- notes?: {
401
- text?: string | undefined;
402
- location?: {
403
- line: number;
404
- column: number;
405
- file: string;
406
- } | undefined;
407
- }[] | undefined;
408
505
  }[] | undefined;
409
- warnings?: {
410
- text: string;
411
- pluginName?: string | undefined;
412
- type?: string | undefined;
506
+ }, {
507
+ text: string;
508
+ pluginName?: string | undefined;
509
+ type?: string | undefined;
510
+ location?: {
511
+ line: number;
512
+ column: number;
513
+ file: string;
514
+ } | undefined;
515
+ notes?: {
516
+ text?: string | undefined;
413
517
  location?: {
414
518
  line: number;
415
519
  column: number;
416
520
  file: string;
417
521
  } | undefined;
418
- notes?: {
419
- text?: string | undefined;
420
- location?: {
421
- line: number;
422
- column: number;
423
- file: string;
424
- } | undefined;
425
- }[] | undefined;
426
522
  }[] | undefined;
427
- rawInput?: Record<string, unknown> | undefined;
428
- rawOutput?: Record<string, unknown> | undefined;
429
- };
430
- _output_out: {
431
- bundlerName?: string | undefined;
432
- inputPath?: string | undefined;
433
- outputPath?: string | undefined;
434
- entries?: Record<string, string> | undefined;
435
- dependencies?: string[] | undefined;
436
- hash?: string | undefined;
437
- outputFiles?: {
438
- outputPath: string;
439
- entryPoint?: string | undefined;
440
- exports?: string[] | undefined;
523
+ }>, "many">>;
524
+ rawInput: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
525
+ rawOutput: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
526
+ isExternal: z.ZodBoolean;
527
+ }, "strip", z.ZodTypeAny, {
528
+ name: string;
529
+ outputPath: string;
530
+ version: string;
531
+ isExternal: boolean;
532
+ bundlerName?: string | undefined;
533
+ inputPath?: string | undefined;
534
+ entries?: Record<string, string> | undefined;
535
+ dependencies?: string[] | undefined;
536
+ hash?: string | undefined;
537
+ outputFiles?: {
538
+ outputPath: string;
539
+ entryPoint?: string | undefined;
540
+ exports?: string[] | undefined;
541
+ }[] | undefined;
542
+ errors?: {
543
+ text: string;
544
+ pluginName?: string | undefined;
545
+ type?: string | undefined;
546
+ location?: {
547
+ line: number;
548
+ column: number;
549
+ file: string;
550
+ } | undefined;
551
+ notes?: {
552
+ text?: string | undefined;
553
+ location?: {
554
+ line: number;
555
+ column: number;
556
+ file: string;
557
+ } | undefined;
441
558
  }[] | undefined;
442
- errors?: {
443
- text: string;
444
- pluginName?: string | undefined;
445
- type?: string | undefined;
559
+ }[] | undefined;
560
+ warnings?: {
561
+ text: string;
562
+ pluginName?: string | undefined;
563
+ type?: string | undefined;
564
+ location?: {
565
+ line: number;
566
+ column: number;
567
+ file: string;
568
+ } | undefined;
569
+ notes?: {
570
+ text?: string | undefined;
571
+ location?: {
572
+ line: number;
573
+ column: number;
574
+ file: string;
575
+ } | undefined;
576
+ }[] | undefined;
577
+ }[] | undefined;
578
+ rawInput?: Record<string, unknown> | undefined;
579
+ rawOutput?: Record<string, unknown> | undefined;
580
+ }, {
581
+ name: string;
582
+ outputPath: string;
583
+ version: string;
584
+ isExternal: boolean;
585
+ bundlerName?: string | undefined;
586
+ inputPath?: string | undefined;
587
+ entries?: Record<string, string> | undefined;
588
+ dependencies?: string[] | undefined;
589
+ hash?: string | undefined;
590
+ outputFiles?: {
591
+ outputPath: string;
592
+ entryPoint?: string | undefined;
593
+ exports?: string[] | undefined;
594
+ }[] | undefined;
595
+ errors?: {
596
+ text: string;
597
+ pluginName?: string | undefined;
598
+ type?: string | undefined;
599
+ location?: {
600
+ line: number;
601
+ column: number;
602
+ file: string;
603
+ } | undefined;
604
+ notes?: {
605
+ text?: string | undefined;
446
606
  location?: {
447
607
  line: number;
448
608
  column: number;
449
609
  file: string;
450
610
  } | undefined;
451
- notes?: {
452
- text?: string | undefined;
453
- location?: {
454
- line: number;
455
- column: number;
456
- file: string;
457
- } | undefined;
458
- }[] | undefined;
459
611
  }[] | undefined;
460
- warnings?: {
461
- text: string;
462
- pluginName?: string | undefined;
463
- type?: string | undefined;
612
+ }[] | undefined;
613
+ warnings?: {
614
+ text: string;
615
+ pluginName?: string | undefined;
616
+ type?: string | undefined;
617
+ location?: {
618
+ line: number;
619
+ column: number;
620
+ file: string;
621
+ } | undefined;
622
+ notes?: {
623
+ text?: string | undefined;
464
624
  location?: {
465
625
  line: number;
466
626
  column: number;
467
627
  file: string;
468
628
  } | undefined;
469
- notes?: {
470
- text?: string | undefined;
471
- location?: {
472
- line: number;
473
- column: number;
474
- file: string;
475
- } | undefined;
476
- }[] | undefined;
477
629
  }[] | undefined;
478
- rawInput?: Record<string, unknown> | undefined;
479
- rawOutput?: Record<string, unknown> | undefined;
630
+ }[] | undefined;
631
+ rawInput?: Record<string, unknown> | undefined;
632
+ rawOutput?: Record<string, unknown> | undefined;
633
+ }>;
634
+ dependencies: z.ZodPromise<z.ZodArray<z.ZodObject<{
635
+ name: z.ZodString;
636
+ version: z.ZodString;
637
+ bundlerName: z.ZodOptional<z.ZodString>;
638
+ inputPath: z.ZodOptional<z.ZodString>;
639
+ outputPath: z.ZodString;
640
+ entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
641
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
642
+ hash: z.ZodOptional<z.ZodString>;
643
+ outputFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
644
+ outputPath: z.ZodString;
645
+ entryPoint: z.ZodOptional<z.ZodString>;
646
+ exports: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
647
+ }, "strip", z.ZodTypeAny, {
648
+ outputPath: string;
649
+ entryPoint?: string | undefined;
650
+ exports?: string[] | undefined;
651
+ }, {
652
+ outputPath: string;
653
+ entryPoint?: string | undefined;
654
+ exports?: string[] | undefined;
655
+ }>, "many">>;
656
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
657
+ pluginName: z.ZodOptional<z.ZodString>;
658
+ type: z.ZodOptional<z.ZodString>;
659
+ text: z.ZodString;
660
+ location: z.ZodOptional<z.ZodObject<{
661
+ file: z.ZodString;
662
+ line: z.ZodNumber;
663
+ column: z.ZodNumber;
664
+ }, "strip", z.ZodTypeAny, {
665
+ line: number;
666
+ column: number;
667
+ file: string;
668
+ }, {
669
+ line: number;
670
+ column: number;
671
+ file: string;
672
+ }>>;
673
+ notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
674
+ text: z.ZodOptional<z.ZodString>;
675
+ location: z.ZodOptional<z.ZodObject<{
676
+ file: z.ZodString;
677
+ line: z.ZodNumber;
678
+ column: z.ZodNumber;
679
+ }, "strip", z.ZodTypeAny, {
680
+ line: number;
681
+ column: number;
682
+ file: string;
683
+ }, {
684
+ line: number;
685
+ column: number;
686
+ file: string;
687
+ }>>;
688
+ }, "strip", z.ZodTypeAny, {
689
+ text?: string | undefined;
690
+ location?: {
691
+ line: number;
692
+ column: number;
693
+ file: string;
694
+ } | undefined;
695
+ }, {
696
+ text?: string | undefined;
697
+ location?: {
698
+ line: number;
699
+ column: number;
700
+ file: string;
701
+ } | undefined;
702
+ }>, "many">>;
703
+ }, "strip", z.ZodTypeAny, {
704
+ text: string;
705
+ pluginName?: string | undefined;
706
+ type?: string | undefined;
707
+ location?: {
708
+ line: number;
709
+ column: number;
710
+ file: string;
711
+ } | undefined;
712
+ notes?: {
713
+ text?: string | undefined;
714
+ location?: {
715
+ line: number;
716
+ column: number;
717
+ file: string;
718
+ } | undefined;
719
+ }[] | undefined;
720
+ }, {
721
+ text: string;
722
+ pluginName?: string | undefined;
723
+ type?: string | undefined;
724
+ location?: {
725
+ line: number;
726
+ column: number;
727
+ file: string;
728
+ } | undefined;
729
+ notes?: {
730
+ text?: string | undefined;
731
+ location?: {
732
+ line: number;
733
+ column: number;
734
+ file: string;
735
+ } | undefined;
736
+ }[] | undefined;
737
+ }>, "many">>;
738
+ warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
739
+ pluginName: z.ZodOptional<z.ZodString>;
740
+ type: z.ZodOptional<z.ZodString>;
741
+ text: z.ZodString;
742
+ location: z.ZodOptional<z.ZodObject<{
743
+ file: z.ZodString;
744
+ line: z.ZodNumber;
745
+ column: z.ZodNumber;
746
+ }, "strip", z.ZodTypeAny, {
747
+ line: number;
748
+ column: number;
749
+ file: string;
750
+ }, {
751
+ line: number;
752
+ column: number;
753
+ file: string;
754
+ }>>;
755
+ notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
756
+ text: z.ZodOptional<z.ZodString>;
757
+ location: z.ZodOptional<z.ZodObject<{
758
+ file: z.ZodString;
759
+ line: z.ZodNumber;
760
+ column: z.ZodNumber;
761
+ }, "strip", z.ZodTypeAny, {
762
+ line: number;
763
+ column: number;
764
+ file: string;
765
+ }, {
766
+ line: number;
767
+ column: number;
768
+ file: string;
769
+ }>>;
770
+ }, "strip", z.ZodTypeAny, {
771
+ text?: string | undefined;
772
+ location?: {
773
+ line: number;
774
+ column: number;
775
+ file: string;
776
+ } | undefined;
777
+ }, {
778
+ text?: string | undefined;
779
+ location?: {
780
+ line: number;
781
+ column: number;
782
+ file: string;
783
+ } | undefined;
784
+ }>, "many">>;
785
+ }, "strip", z.ZodTypeAny, {
786
+ text: string;
787
+ pluginName?: string | undefined;
788
+ type?: string | undefined;
789
+ location?: {
790
+ line: number;
791
+ column: number;
792
+ file: string;
793
+ } | undefined;
794
+ notes?: {
795
+ text?: string | undefined;
796
+ location?: {
797
+ line: number;
798
+ column: number;
799
+ file: string;
800
+ } | undefined;
801
+ }[] | undefined;
802
+ }, {
803
+ text: string;
804
+ pluginName?: string | undefined;
805
+ type?: string | undefined;
806
+ location?: {
807
+ line: number;
808
+ column: number;
809
+ file: string;
810
+ } | undefined;
811
+ notes?: {
812
+ text?: string | undefined;
813
+ location?: {
814
+ line: number;
815
+ column: number;
816
+ file: string;
817
+ } | undefined;
818
+ }[] | undefined;
819
+ }>, "many">>;
820
+ rawInput: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
821
+ rawOutput: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
822
+ isExternal: z.ZodBoolean;
823
+ }, "strip", z.ZodTypeAny, {
824
+ name: string;
825
+ outputPath: string;
826
+ version: string;
827
+ isExternal: boolean;
828
+ bundlerName?: string | undefined;
829
+ inputPath?: string | undefined;
830
+ entries?: Record<string, string> | undefined;
831
+ dependencies?: string[] | undefined;
832
+ hash?: string | undefined;
833
+ outputFiles?: {
834
+ outputPath: string;
835
+ entryPoint?: string | undefined;
836
+ exports?: string[] | undefined;
837
+ }[] | undefined;
838
+ errors?: {
839
+ text: string;
840
+ pluginName?: string | undefined;
841
+ type?: string | undefined;
842
+ location?: {
843
+ line: number;
844
+ column: number;
845
+ file: string;
846
+ } | undefined;
847
+ notes?: {
848
+ text?: string | undefined;
849
+ location?: {
850
+ line: number;
851
+ column: number;
852
+ file: string;
853
+ } | undefined;
854
+ }[] | undefined;
855
+ }[] | undefined;
856
+ warnings?: {
857
+ text: string;
858
+ pluginName?: string | undefined;
859
+ type?: string | undefined;
860
+ location?: {
861
+ line: number;
862
+ column: number;
863
+ file: string;
864
+ } | undefined;
865
+ notes?: {
866
+ text?: string | undefined;
867
+ location?: {
868
+ line: number;
869
+ column: number;
870
+ file: string;
871
+ } | undefined;
872
+ }[] | undefined;
873
+ }[] | undefined;
874
+ rawInput?: Record<string, unknown> | undefined;
875
+ rawOutput?: Record<string, unknown> | undefined;
876
+ }, {
877
+ name: string;
878
+ outputPath: string;
879
+ version: string;
880
+ isExternal: boolean;
881
+ bundlerName?: string | undefined;
882
+ inputPath?: string | undefined;
883
+ entries?: Record<string, string> | undefined;
884
+ dependencies?: string[] | undefined;
885
+ hash?: string | undefined;
886
+ outputFiles?: {
887
+ outputPath: string;
888
+ entryPoint?: string | undefined;
889
+ exports?: string[] | undefined;
890
+ }[] | undefined;
891
+ errors?: {
892
+ text: string;
893
+ pluginName?: string | undefined;
894
+ type?: string | undefined;
895
+ location?: {
896
+ line: number;
897
+ column: number;
898
+ file: string;
899
+ } | undefined;
900
+ notes?: {
901
+ text?: string | undefined;
902
+ location?: {
903
+ line: number;
904
+ column: number;
905
+ file: string;
906
+ } | undefined;
907
+ }[] | undefined;
908
+ }[] | undefined;
909
+ warnings?: {
910
+ text: string;
911
+ pluginName?: string | undefined;
912
+ type?: string | undefined;
913
+ location?: {
914
+ line: number;
915
+ column: number;
916
+ file: string;
917
+ } | undefined;
918
+ notes?: {
919
+ text?: string | undefined;
920
+ location?: {
921
+ line: number;
922
+ column: number;
923
+ file: string;
924
+ } | undefined;
925
+ }[] | undefined;
926
+ }[] | undefined;
927
+ rawInput?: Record<string, unknown> | undefined;
928
+ rawOutput?: Record<string, unknown> | undefined;
929
+ }>, "many">>;
930
+ }, "strip", z.ZodTypeAny, {
931
+ dependencies: Promise<{
932
+ name: string;
933
+ outputPath: string;
934
+ version: string;
935
+ isExternal: boolean;
936
+ bundlerName?: string | undefined;
937
+ inputPath?: string | undefined;
938
+ entries?: Record<string, string> | undefined;
939
+ dependencies?: string[] | undefined;
940
+ hash?: string | undefined;
941
+ outputFiles?: {
942
+ outputPath: string;
943
+ entryPoint?: string | undefined;
944
+ exports?: string[] | undefined;
945
+ }[] | undefined;
946
+ errors?: {
947
+ text: string;
948
+ pluginName?: string | undefined;
949
+ type?: string | undefined;
950
+ location?: {
951
+ line: number;
952
+ column: number;
953
+ file: string;
954
+ } | undefined;
955
+ notes?: {
956
+ text?: string | undefined;
957
+ location?: {
958
+ line: number;
959
+ column: number;
960
+ file: string;
961
+ } | undefined;
962
+ }[] | undefined;
963
+ }[] | undefined;
964
+ warnings?: {
965
+ text: string;
966
+ pluginName?: string | undefined;
967
+ type?: string | undefined;
968
+ location?: {
969
+ line: number;
970
+ column: number;
971
+ file: string;
972
+ } | undefined;
973
+ notes?: {
974
+ text?: string | undefined;
975
+ location?: {
976
+ line: number;
977
+ column: number;
978
+ file: string;
979
+ } | undefined;
980
+ }[] | undefined;
981
+ }[] | undefined;
982
+ rawInput?: Record<string, unknown> | undefined;
983
+ rawOutput?: Record<string, unknown> | undefined;
984
+ }[]>;
985
+ result: {
986
+ name: string;
987
+ outputPath: string;
988
+ version: string;
989
+ isExternal: boolean;
990
+ bundlerName?: string | undefined;
991
+ inputPath?: string | undefined;
992
+ entries?: Record<string, string> | undefined;
993
+ dependencies?: string[] | undefined;
994
+ hash?: string | undefined;
995
+ outputFiles?: {
996
+ outputPath: string;
997
+ entryPoint?: string | undefined;
998
+ exports?: string[] | undefined;
999
+ }[] | undefined;
1000
+ errors?: {
1001
+ text: string;
1002
+ pluginName?: string | undefined;
1003
+ type?: string | undefined;
1004
+ location?: {
1005
+ line: number;
1006
+ column: number;
1007
+ file: string;
1008
+ } | undefined;
1009
+ notes?: {
1010
+ text?: string | undefined;
1011
+ location?: {
1012
+ line: number;
1013
+ column: number;
1014
+ file: string;
1015
+ } | undefined;
1016
+ }[] | undefined;
1017
+ }[] | undefined;
1018
+ warnings?: {
1019
+ text: string;
1020
+ pluginName?: string | undefined;
1021
+ type?: string | undefined;
1022
+ location?: {
1023
+ line: number;
1024
+ column: number;
1025
+ file: string;
1026
+ } | undefined;
1027
+ notes?: {
1028
+ text?: string | undefined;
1029
+ location?: {
1030
+ line: number;
1031
+ column: number;
1032
+ file: string;
1033
+ } | undefined;
1034
+ }[] | undefined;
1035
+ }[] | undefined;
1036
+ rawInput?: Record<string, unknown> | undefined;
1037
+ rawOutput?: Record<string, unknown> | undefined;
1038
+ };
1039
+ }, {
1040
+ dependencies: Promise<{
1041
+ name: string;
1042
+ outputPath: string;
1043
+ version: string;
1044
+ isExternal: boolean;
1045
+ bundlerName?: string | undefined;
1046
+ inputPath?: string | undefined;
1047
+ entries?: Record<string, string> | undefined;
1048
+ dependencies?: string[] | undefined;
1049
+ hash?: string | undefined;
1050
+ outputFiles?: {
1051
+ outputPath: string;
1052
+ entryPoint?: string | undefined;
1053
+ exports?: string[] | undefined;
1054
+ }[] | undefined;
1055
+ errors?: {
1056
+ text: string;
1057
+ pluginName?: string | undefined;
1058
+ type?: string | undefined;
1059
+ location?: {
1060
+ line: number;
1061
+ column: number;
1062
+ file: string;
1063
+ } | undefined;
1064
+ notes?: {
1065
+ text?: string | undefined;
1066
+ location?: {
1067
+ line: number;
1068
+ column: number;
1069
+ file: string;
1070
+ } | undefined;
1071
+ }[] | undefined;
1072
+ }[] | undefined;
1073
+ warnings?: {
1074
+ text: string;
1075
+ pluginName?: string | undefined;
1076
+ type?: string | undefined;
1077
+ location?: {
1078
+ line: number;
1079
+ column: number;
1080
+ file: string;
1081
+ } | undefined;
1082
+ notes?: {
1083
+ text?: string | undefined;
1084
+ location?: {
1085
+ line: number;
1086
+ column: number;
1087
+ file: string;
1088
+ } | undefined;
1089
+ }[] | undefined;
1090
+ }[] | undefined;
1091
+ rawInput?: Record<string, unknown> | undefined;
1092
+ rawOutput?: Record<string, unknown> | undefined;
1093
+ }[]>;
1094
+ result: {
1095
+ name: string;
1096
+ outputPath: string;
1097
+ version: string;
1098
+ isExternal: boolean;
1099
+ bundlerName?: string | undefined;
1100
+ inputPath?: string | undefined;
1101
+ entries?: Record<string, string> | undefined;
1102
+ dependencies?: string[] | undefined;
1103
+ hash?: string | undefined;
1104
+ outputFiles?: {
1105
+ outputPath: string;
1106
+ entryPoint?: string | undefined;
1107
+ exports?: string[] | undefined;
1108
+ }[] | undefined;
1109
+ errors?: {
1110
+ text: string;
1111
+ pluginName?: string | undefined;
1112
+ type?: string | undefined;
1113
+ location?: {
1114
+ line: number;
1115
+ column: number;
1116
+ file: string;
1117
+ } | undefined;
1118
+ notes?: {
1119
+ text?: string | undefined;
1120
+ location?: {
1121
+ line: number;
1122
+ column: number;
1123
+ file: string;
1124
+ } | undefined;
1125
+ }[] | undefined;
1126
+ }[] | undefined;
1127
+ warnings?: {
1128
+ text: string;
1129
+ pluginName?: string | undefined;
1130
+ type?: string | undefined;
1131
+ location?: {
1132
+ line: number;
1133
+ column: number;
1134
+ file: string;
1135
+ } | undefined;
1136
+ notes?: {
1137
+ text?: string | undefined;
1138
+ location?: {
1139
+ line: number;
1140
+ column: number;
1141
+ file: string;
1142
+ } | undefined;
1143
+ }[] | undefined;
1144
+ }[] | undefined;
1145
+ rawInput?: Record<string, unknown> | undefined;
1146
+ rawOutput?: Record<string, unknown> | undefined;
1147
+ };
1148
+ }>;
1149
+ type ZodEnsurePackageBundledOutput = z.infer<typeof ZodEnsurePackageBundledOutput>;
1150
+ type EnsurePackageBundledContext = {
1151
+ bus: DataBus;
1152
+ taskRunner: TaskRunner;
1153
+ session: Session;
1154
+ watcher: Watcher;
1155
+ packages: PackageDefinitionsCache;
1156
+ reporter: TaskReporter;
1157
+ };
1158
+ /**
1159
+ * Checks if the package is bundled or needs bundling, and returns the result. For internal packages,
1160
+ * we also notify the watcher to monitor for code changes.
1161
+ */
1162
+ export declare function ensurePackageBundled({ input, ctx, }: {
1163
+ input: ZodEnsurePackageBundledInput;
1164
+ ctx: EnsurePackageBundledContext;
1165
+ }): Promise<ZodEnsurePackageBundledOutput>;
1166
+ export declare namespace ensurePackageBundled {
1167
+ var procedure: import("@trpc/server").BuildProcedure<"mutation", {
1168
+ _config: import("@trpc/server").RootConfig<{
1169
+ ctx: {
1170
+ session: Session;
1171
+ bus: DataBus;
1172
+ rootSpan: import("@opentelemetry/api").Span | undefined;
1173
+ reporter: TaskReporter;
1174
+ watcher: {
1175
+ watch({ path, watchPaths, }: {
1176
+ path: string;
1177
+ watchPaths?: string[] | undefined;
1178
+ }, onPackageChanged: () => void): () => Promise<void>;
1179
+ unwatchAll(): Promise<void>;
1180
+ };
1181
+ packages: PackageDefinitionsCache;
1182
+ taskRunner: TaskRunner;
1183
+ dispose(): Promise<void>;
1184
+ };
1185
+ meta: object;
1186
+ errorShape: import("@trpc/server").DefaultErrorShape;
1187
+ transformer: import("@trpc/server").DefaultDataTransformer;
1188
+ }>;
1189
+ _meta: object;
1190
+ _ctx_out: {
1191
+ session: Session;
1192
+ bus: DataBus;
1193
+ rootSpan: import("@opentelemetry/api").Span | undefined;
1194
+ reporter: TaskReporter;
1195
+ watcher: {
1196
+ watch({ path, watchPaths, }: {
1197
+ path: string;
1198
+ watchPaths?: string[] | undefined;
1199
+ }, onPackageChanged: () => void): () => Promise<void>;
1200
+ unwatchAll(): Promise<void>;
1201
+ };
1202
+ packages: PackageDefinitionsCache;
1203
+ taskRunner: TaskRunner;
1204
+ dispose(): Promise<void>;
1205
+ };
1206
+ _input_in: {
1207
+ name: string;
1208
+ version: string;
1209
+ outputPath?: string | undefined;
1210
+ bundlerType?: string | undefined;
1211
+ disableSourceMaps?: boolean | undefined;
1212
+ enqueueDependencies?: boolean | undefined;
1213
+ shouldRerun?: boolean | undefined;
1214
+ shouldWatch?: boolean | undefined;
1215
+ shouldForce?: boolean | undefined;
1216
+ };
1217
+ _input_out: {
1218
+ name: string;
1219
+ version: string;
1220
+ outputPath?: string | undefined;
1221
+ bundlerType?: string | undefined;
1222
+ disableSourceMaps?: boolean | undefined;
1223
+ enqueueDependencies?: boolean | undefined;
1224
+ shouldRerun?: boolean | undefined;
1225
+ shouldWatch?: boolean | undefined;
1226
+ shouldForce?: boolean | undefined;
1227
+ };
1228
+ _output_in: {
1229
+ dependencies: Promise<{
1230
+ name: string;
1231
+ outputPath: string;
1232
+ version: string;
1233
+ isExternal: boolean;
1234
+ bundlerName?: string | undefined;
1235
+ inputPath?: string | undefined;
1236
+ entries?: Record<string, string> | undefined;
1237
+ dependencies?: string[] | undefined;
1238
+ hash?: string | undefined;
1239
+ outputFiles?: {
1240
+ outputPath: string;
1241
+ entryPoint?: string | undefined;
1242
+ exports?: string[] | undefined;
1243
+ }[] | undefined;
1244
+ errors?: {
1245
+ text: string;
1246
+ pluginName?: string | undefined;
1247
+ type?: string | undefined;
1248
+ location?: {
1249
+ line: number;
1250
+ column: number;
1251
+ file: string;
1252
+ } | undefined;
1253
+ notes?: {
1254
+ text?: string | undefined;
1255
+ location?: {
1256
+ line: number;
1257
+ column: number;
1258
+ file: string;
1259
+ } | undefined;
1260
+ }[] | undefined;
1261
+ }[] | undefined;
1262
+ warnings?: {
1263
+ text: string;
1264
+ pluginName?: string | undefined;
1265
+ type?: string | undefined;
1266
+ location?: {
1267
+ line: number;
1268
+ column: number;
1269
+ file: string;
1270
+ } | undefined;
1271
+ notes?: {
1272
+ text?: string | undefined;
1273
+ location?: {
1274
+ line: number;
1275
+ column: number;
1276
+ file: string;
1277
+ } | undefined;
1278
+ }[] | undefined;
1279
+ }[] | undefined;
1280
+ rawInput?: Record<string, unknown> | undefined;
1281
+ rawOutput?: Record<string, unknown> | undefined;
1282
+ }[]>;
1283
+ result: {
1284
+ name: string;
1285
+ outputPath: string;
1286
+ version: string;
1287
+ isExternal: boolean;
1288
+ bundlerName?: string | undefined;
1289
+ inputPath?: string | undefined;
1290
+ entries?: Record<string, string> | undefined;
1291
+ dependencies?: string[] | undefined;
1292
+ hash?: string | undefined;
1293
+ outputFiles?: {
1294
+ outputPath: string;
1295
+ entryPoint?: string | undefined;
1296
+ exports?: string[] | undefined;
1297
+ }[] | undefined;
1298
+ errors?: {
1299
+ text: string;
1300
+ pluginName?: string | undefined;
1301
+ type?: string | undefined;
1302
+ location?: {
1303
+ line: number;
1304
+ column: number;
1305
+ file: string;
1306
+ } | undefined;
1307
+ notes?: {
1308
+ text?: string | undefined;
1309
+ location?: {
1310
+ line: number;
1311
+ column: number;
1312
+ file: string;
1313
+ } | undefined;
1314
+ }[] | undefined;
1315
+ }[] | undefined;
1316
+ warnings?: {
1317
+ text: string;
1318
+ pluginName?: string | undefined;
1319
+ type?: string | undefined;
1320
+ location?: {
1321
+ line: number;
1322
+ column: number;
1323
+ file: string;
1324
+ } | undefined;
1325
+ notes?: {
1326
+ text?: string | undefined;
1327
+ location?: {
1328
+ line: number;
1329
+ column: number;
1330
+ file: string;
1331
+ } | undefined;
1332
+ }[] | undefined;
1333
+ }[] | undefined;
1334
+ rawInput?: Record<string, unknown> | undefined;
1335
+ rawOutput?: Record<string, unknown> | undefined;
1336
+ };
1337
+ };
1338
+ _output_out: {
1339
+ dependencies: Promise<{
1340
+ name: string;
1341
+ outputPath: string;
1342
+ version: string;
1343
+ isExternal: boolean;
1344
+ bundlerName?: string | undefined;
1345
+ inputPath?: string | undefined;
1346
+ entries?: Record<string, string> | undefined;
1347
+ dependencies?: string[] | undefined;
1348
+ hash?: string | undefined;
1349
+ outputFiles?: {
1350
+ outputPath: string;
1351
+ entryPoint?: string | undefined;
1352
+ exports?: string[] | undefined;
1353
+ }[] | undefined;
1354
+ errors?: {
1355
+ text: string;
1356
+ pluginName?: string | undefined;
1357
+ type?: string | undefined;
1358
+ location?: {
1359
+ line: number;
1360
+ column: number;
1361
+ file: string;
1362
+ } | undefined;
1363
+ notes?: {
1364
+ text?: string | undefined;
1365
+ location?: {
1366
+ line: number;
1367
+ column: number;
1368
+ file: string;
1369
+ } | undefined;
1370
+ }[] | undefined;
1371
+ }[] | undefined;
1372
+ warnings?: {
1373
+ text: string;
1374
+ pluginName?: string | undefined;
1375
+ type?: string | undefined;
1376
+ location?: {
1377
+ line: number;
1378
+ column: number;
1379
+ file: string;
1380
+ } | undefined;
1381
+ notes?: {
1382
+ text?: string | undefined;
1383
+ location?: {
1384
+ line: number;
1385
+ column: number;
1386
+ file: string;
1387
+ } | undefined;
1388
+ }[] | undefined;
1389
+ }[] | undefined;
1390
+ rawInput?: Record<string, unknown> | undefined;
1391
+ rawOutput?: Record<string, unknown> | undefined;
1392
+ }[]>;
1393
+ result: {
1394
+ name: string;
1395
+ outputPath: string;
1396
+ version: string;
1397
+ isExternal: boolean;
1398
+ bundlerName?: string | undefined;
1399
+ inputPath?: string | undefined;
1400
+ entries?: Record<string, string> | undefined;
1401
+ dependencies?: string[] | undefined;
1402
+ hash?: string | undefined;
1403
+ outputFiles?: {
1404
+ outputPath: string;
1405
+ entryPoint?: string | undefined;
1406
+ exports?: string[] | undefined;
1407
+ }[] | undefined;
1408
+ errors?: {
1409
+ text: string;
1410
+ pluginName?: string | undefined;
1411
+ type?: string | undefined;
1412
+ location?: {
1413
+ line: number;
1414
+ column: number;
1415
+ file: string;
1416
+ } | undefined;
1417
+ notes?: {
1418
+ text?: string | undefined;
1419
+ location?: {
1420
+ line: number;
1421
+ column: number;
1422
+ file: string;
1423
+ } | undefined;
1424
+ }[] | undefined;
1425
+ }[] | undefined;
1426
+ warnings?: {
1427
+ text: string;
1428
+ pluginName?: string | undefined;
1429
+ type?: string | undefined;
1430
+ location?: {
1431
+ line: number;
1432
+ column: number;
1433
+ file: string;
1434
+ } | undefined;
1435
+ notes?: {
1436
+ text?: string | undefined;
1437
+ location?: {
1438
+ line: number;
1439
+ column: number;
1440
+ file: string;
1441
+ } | undefined;
1442
+ }[] | undefined;
1443
+ }[] | undefined;
1444
+ rawInput?: Record<string, unknown> | undefined;
1445
+ rawOutput?: Record<string, unknown> | undefined;
1446
+ };
480
1447
  };
481
1448
  }, unknown>;
482
1449
  }