@taqueria/protocol 0.18.0 → 0.19.2

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 (107) hide show
  1. package/Alias.d.ts +10 -16
  2. package/Alias.d.ts.map +1 -0
  3. package/Base.d.ts +7 -9
  4. package/Base.d.ts.map +1 -0
  5. package/Command.d.ts +9 -15
  6. package/Command.d.ts.map +1 -0
  7. package/Config.d.ts +16 -23
  8. package/Config.d.ts.map +1 -0
  9. package/Contract.d.ts +10 -16
  10. package/Contract.d.ts.map +1 -0
  11. package/Crypto.d.ts +2 -3
  12. package/Crypto.d.ts.map +1 -0
  13. package/EconomicalProtocolHash.d.ts +12 -19
  14. package/EconomicalProtocolHash.d.ts.map +1 -0
  15. package/Environment.d.ts +14 -22
  16. package/Environment.d.ts.map +1 -0
  17. package/EphemeralState.d.ts +161 -166
  18. package/EphemeralState.d.ts.map +1 -0
  19. package/Faucet.d.ts +13 -20
  20. package/Faucet.d.ts.map +1 -0
  21. package/HumanReadableIdentifier.d.ts +9 -15
  22. package/HumanReadableIdentifier.d.ts.map +1 -0
  23. package/InstalledPlugin.d.ts +13 -20
  24. package/InstalledPlugin.d.ts.map +1 -0
  25. package/LoadedConfig.d.ts +15 -22
  26. package/LoadedConfig.d.ts.map +1 -0
  27. package/MetadataConfig.d.ts +13 -20
  28. package/MetadataConfig.d.ts.map +1 -0
  29. package/NetworkConfig.d.ts +13 -20
  30. package/NetworkConfig.d.ts.map +1 -0
  31. package/Operation.d.ts +35 -41
  32. package/Operation.d.ts.map +1 -0
  33. package/Option.d.ts +14 -21
  34. package/Option.d.ts.map +1 -0
  35. package/ParsedOperation.d.ts +49 -57
  36. package/ParsedOperation.d.ts.map +1 -0
  37. package/ParsedTemplate.d.ts +35 -43
  38. package/ParsedTemplate.d.ts.map +1 -0
  39. package/PersistentState.d.ts +18 -24
  40. package/PersistentState.d.ts.map +1 -0
  41. package/PluginActionName.d.ts +6 -7
  42. package/PluginActionName.d.ts.map +1 -0
  43. package/PluginDependenciesResponse.d.ts +14 -20
  44. package/PluginDependenciesResponse.d.ts.map +1 -0
  45. package/PluginInfo.d.ts +38 -45
  46. package/PluginInfo.d.ts.map +1 -0
  47. package/PluginJsonResponse.d.ts +11 -16
  48. package/PluginJsonResponse.d.ts.map +1 -0
  49. package/PluginProxyResponse.d.ts +9 -16
  50. package/PluginProxyResponse.d.ts.map +1 -0
  51. package/PluginResponseEncoding.d.ts +11 -18
  52. package/PluginResponseEncoding.d.ts.map +1 -0
  53. package/PluginSchema.d.ts +223 -231
  54. package/PluginSchema.d.ts.map +1 -0
  55. package/PositionalArg.d.ts +13 -20
  56. package/PositionalArg.d.ts.map +1 -0
  57. package/Provisioner.d.ts +16 -23
  58. package/Provisioner.d.ts.map +1 -0
  59. package/ProvisionerID.d.ts +12 -19
  60. package/ProvisionerID.d.ts.map +1 -0
  61. package/Provisions.d.ts +12 -19
  62. package/Provisions.d.ts.map +1 -0
  63. package/PublicKeyHash.d.ts +13 -20
  64. package/PublicKeyHash.d.ts.map +1 -0
  65. package/RequestArgs.d.ts +165 -174
  66. package/RequestArgs.d.ts.map +1 -0
  67. package/SHA256.d.ts +11 -15
  68. package/SHA256.d.ts.map +1 -0
  69. package/SandboxAccountConfig.d.ts +13 -20
  70. package/SandboxAccountConfig.d.ts.map +1 -0
  71. package/SandboxConfig.d.ts +13 -20
  72. package/SandboxConfig.d.ts.map +1 -0
  73. package/SanitizedAbsPath.d.ts +12 -19
  74. package/SanitizedAbsPath.d.ts.map +1 -0
  75. package/SanitizedArgs.d.ts +76 -83
  76. package/SanitizedArgs.d.ts.map +1 -0
  77. package/SanitizedPath.d.ts +9 -15
  78. package/SanitizedPath.d.ts.map +1 -0
  79. package/ScaffoldConfig.d.ts +3 -4
  80. package/ScaffoldConfig.d.ts.map +1 -0
  81. package/Settings.d.ts +13 -20
  82. package/Settings.d.ts.map +1 -0
  83. package/SingleChar.d.ts +12 -19
  84. package/SingleChar.d.ts.map +1 -0
  85. package/TaqError.d.ts +10 -13
  86. package/TaqError.d.ts.map +1 -0
  87. package/Task.d.ts +13 -20
  88. package/Task.d.ts.map +1 -0
  89. package/Template.d.ts +55 -63
  90. package/Template.d.ts.map +1 -0
  91. package/Timestamp.d.ts +13 -20
  92. package/Timestamp.d.ts.map +1 -0
  93. package/Tz.d.ts +11 -18
  94. package/Tz.d.ts.map +1 -0
  95. package/Url.d.ts +13 -20
  96. package/Url.d.ts.map +1 -0
  97. package/Verb.d.ts +12 -19
  98. package/Verb.d.ts.map +1 -0
  99. package/VersionNumber.d.ts +9 -15
  100. package/VersionNumber.d.ts.map +1 -0
  101. package/i18n.d.ts +4 -4
  102. package/i18n.d.ts.map +1 -0
  103. package/package.json +3 -3
  104. package/taqueria-protocol-types.d.ts +37 -72
  105. package/taqueria-protocol-types.d.ts.map +1 -0
  106. package/tzkt-config.d.ts +13 -20
  107. package/tzkt-config.d.ts.map +1 -0
@@ -1,9 +1,5 @@
1
- import * as fluture from 'fluture';
2
- import { TaqError } from './TaqError.js';
3
- import * as _taqueria_protocol_Base from '@taqueria/protocol/Base';
4
1
  import { z } from 'zod';
5
-
6
- declare const rawSchema: z.ZodObject<Omit<{
2
+ export declare const rawSchema: z.ZodObject<Omit<{
7
3
  operation: z.ZodString;
8
4
  command: z.ZodString;
9
5
  description: z.ZodOptional<z.ZodString>;
@@ -147,7 +143,7 @@ declare const rawSchema: z.ZodObject<Omit<{
147
143
  yes?: boolean | undefined;
148
144
  quickstart?: string | undefined;
149
145
  pluginName?: string | undefined;
150
- config: _taqueria_protocol_Base.Flatten<{
146
+ config: import("@taqueria/protocol/Base").Flatten<{
151
147
  language?: "en" | "fr" | undefined;
152
148
  contracts?: Record<string, {
153
149
  sourceFile: string;
@@ -155,7 +151,7 @@ declare const rawSchema: z.ZodObject<Omit<{
155
151
  readonly __kind: any;
156
152
  };
157
153
  }> | undefined;
158
- network?: Record<string, string | _taqueria_protocol_Base.Flatten<{
154
+ network?: Record<string, string | import("@taqueria/protocol/Base").Flatten<{
159
155
  label: string & {
160
156
  readonly __kind: any;
161
157
  };
@@ -165,7 +161,7 @@ declare const rawSchema: z.ZodObject<Omit<{
165
161
  protocol: string & {
166
162
  readonly __kind: any;
167
163
  };
168
- faucet: _taqueria_protocol_Base.Flatten<{
164
+ faucet: import("@taqueria/protocol/Base").Flatten<{
169
165
  pkh: string & {
170
166
  readonly __kind: any;
171
167
  };
@@ -211,7 +207,7 @@ declare const rawSchema: z.ZodObject<Omit<{
211
207
  } & {
212
208
  readonly __kind: any;
213
209
  })> | undefined;
214
- environment?: Record<string, string | _taqueria_protocol_Base.Flatten<{
210
+ environment?: Record<string, string | import("@taqueria/protocol/Base").Flatten<{
215
211
  storage?: Record<string, any> | undefined;
216
212
  aliases?: Record<string, any> | undefined;
217
213
  networks: string[];
@@ -278,7 +274,6 @@ declare const rawSchema: z.ZodObject<Omit<{
278
274
  }>;
279
275
  }, ...args_1: unknown[]) => (args_0: any, ...args_1: unknown[]) => unknown>;
280
276
  }, "handler">, "strip", z.ZodTypeAny, {
281
- description?: string | undefined;
282
277
  options?: {
283
278
  boolean?: boolean | undefined;
284
279
  type?: "string" | "number" | "boolean" | undefined;
@@ -289,6 +284,7 @@ declare const rawSchema: z.ZodObject<Omit<{
289
284
  description: string;
290
285
  flag: string;
291
286
  }[] | undefined;
287
+ description?: string | undefined;
292
288
  positionals?: {
293
289
  type?: "string" | "number" | "boolean" | undefined;
294
290
  defaultValue?: string | number | boolean | undefined;
@@ -299,8 +295,8 @@ declare const rawSchema: z.ZodObject<Omit<{
299
295
  operation: string;
300
296
  command: string;
301
297
  }, {
302
- description?: string | undefined;
303
298
  options?: unknown;
299
+ description?: string | undefined;
304
300
  positionals?: {
305
301
  type?: "string" | "number" | "boolean" | undefined;
306
302
  defaultValue?: string | number | boolean | undefined;
@@ -311,12 +307,11 @@ declare const rawSchema: z.ZodObject<Omit<{
311
307
  operation: string;
312
308
  command: string;
313
309
  }>;
314
- declare const generatedSchemas: {
310
+ export declare const generatedSchemas: {
315
311
  rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
316
312
  internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
317
313
  schema: z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
318
- description?: string | undefined;
319
- options?: _taqueria_protocol_Base.Flatten<{
314
+ options?: import("@taqueria/protocol/Base").Flatten<{
320
315
  boolean?: boolean | undefined;
321
316
  type?: "string" | "number" | "boolean" | undefined;
322
317
  shortFlag?: (string & {
@@ -332,6 +327,7 @@ declare const generatedSchemas: {
332
327
  } & {
333
328
  readonly __kind: any;
334
329
  }>[] | undefined;
330
+ description?: string | undefined;
335
331
  positionals?: ({
336
332
  type?: "string" | "number" | "boolean" | undefined;
337
333
  defaultValue?: string | number | boolean | undefined;
@@ -352,11 +348,9 @@ declare const generatedSchemas: {
352
348
  } & {
353
349
  readonly __kind: any;
354
350
  }, any>;
355
- };
356
- declare const factory: {
351
+ }, factory: {
357
352
  make: (input: {
358
- description?: string | undefined;
359
- options?: _taqueria_protocol_Base.Flatten<{
353
+ options?: import("@taqueria/protocol/Base").Flatten<{
360
354
  boolean?: boolean | undefined;
361
355
  type?: "string" | "number" | "boolean" | undefined;
362
356
  shortFlag?: (string & {
@@ -372,6 +366,7 @@ declare const factory: {
372
366
  } & {
373
367
  readonly __kind: any;
374
368
  }>[] | undefined;
369
+ description?: string | undefined;
375
370
  positionals?: ({
376
371
  type?: "string" | "number" | "boolean" | undefined;
377
372
  defaultValue?: string | number | boolean | undefined;
@@ -389,9 +384,8 @@ declare const factory: {
389
384
  command: string & {
390
385
  readonly __kind: any;
391
386
  };
392
- }) => fluture.FutureInstance<TaqError, {
393
- description?: string | undefined;
394
- options?: _taqueria_protocol_Base.Flatten<{
387
+ }) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
388
+ options?: import("@taqueria/protocol/Base").Flatten<{
395
389
  boolean?: boolean | undefined;
396
390
  type?: "string" | "number" | "boolean" | undefined;
397
391
  shortFlag?: (string & {
@@ -407,6 +401,7 @@ declare const factory: {
407
401
  } & {
408
402
  readonly __kind: any;
409
403
  }>[] | undefined;
404
+ description?: string | undefined;
410
405
  positionals?: ({
411
406
  type?: "string" | "number" | "boolean" | undefined;
412
407
  defaultValue?: string | number | boolean | undefined;
@@ -427,9 +422,8 @@ declare const factory: {
427
422
  } & {
428
423
  readonly __kind: any;
429
424
  }>;
430
- of: (input: unknown) => fluture.FutureInstance<TaqError, {
431
- description?: string | undefined;
432
- options?: _taqueria_protocol_Base.Flatten<{
425
+ of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
426
+ options?: import("@taqueria/protocol/Base").Flatten<{
433
427
  boolean?: boolean | undefined;
434
428
  type?: "string" | "number" | "boolean" | undefined;
435
429
  shortFlag?: (string & {
@@ -445,6 +439,7 @@ declare const factory: {
445
439
  } & {
446
440
  readonly __kind: any;
447
441
  }>[] | undefined;
442
+ description?: string | undefined;
448
443
  positionals?: ({
449
444
  type?: "string" | "number" | "boolean" | undefined;
450
445
  defaultValue?: string | number | boolean | undefined;
@@ -466,8 +461,7 @@ declare const factory: {
466
461
  readonly __kind: any;
467
462
  }>;
468
463
  create: (input: {
469
- description?: string | undefined;
470
- options?: _taqueria_protocol_Base.Flatten<{
464
+ options?: import("@taqueria/protocol/Base").Flatten<{
471
465
  boolean?: boolean | undefined;
472
466
  type?: "string" | "number" | "boolean" | undefined;
473
467
  shortFlag?: (string & {
@@ -483,6 +477,7 @@ declare const factory: {
483
477
  } & {
484
478
  readonly __kind: any;
485
479
  }>[] | undefined;
480
+ description?: string | undefined;
486
481
  positionals?: ({
487
482
  type?: "string" | "number" | "boolean" | undefined;
488
483
  defaultValue?: string | number | boolean | undefined;
@@ -501,7 +496,6 @@ declare const factory: {
501
496
  readonly __kind: any;
502
497
  };
503
498
  } | {
504
- description?: string | undefined;
505
499
  options?: {
506
500
  boolean?: boolean | undefined;
507
501
  type?: "string" | "number" | "boolean" | undefined;
@@ -512,6 +506,7 @@ declare const factory: {
512
506
  description: string;
513
507
  flag: string;
514
508
  }[] | undefined;
509
+ description?: string | undefined;
515
510
  positionals?: {
516
511
  type?: "string" | "number" | "boolean" | undefined;
517
512
  defaultValue?: string | number | boolean | undefined;
@@ -522,8 +517,7 @@ declare const factory: {
522
517
  operation: string;
523
518
  command: string;
524
519
  }) => {
525
- description?: string | undefined;
526
- options?: _taqueria_protocol_Base.Flatten<{
520
+ options?: import("@taqueria/protocol/Base").Flatten<{
527
521
  boolean?: boolean | undefined;
528
522
  type?: "string" | "number" | "boolean" | undefined;
529
523
  shortFlag?: (string & {
@@ -539,6 +533,7 @@ declare const factory: {
539
533
  } & {
540
534
  readonly __kind: any;
541
535
  }>[] | undefined;
536
+ description?: string | undefined;
542
537
  positionals?: ({
543
538
  type?: "string" | "number" | "boolean" | undefined;
544
539
  defaultValue?: string | number | boolean | undefined;
@@ -560,8 +555,7 @@ declare const factory: {
560
555
  readonly __kind: any;
561
556
  };
562
557
  from: (input: unknown) => {
563
- description?: string | undefined;
564
- options?: _taqueria_protocol_Base.Flatten<{
558
+ options?: import("@taqueria/protocol/Base").Flatten<{
565
559
  boolean?: boolean | undefined;
566
560
  type?: "string" | "number" | "boolean" | undefined;
567
561
  shortFlag?: (string & {
@@ -577,6 +571,7 @@ declare const factory: {
577
571
  } & {
578
572
  readonly __kind: any;
579
573
  }>[] | undefined;
574
+ description?: string | undefined;
580
575
  positionals?: ({
581
576
  type?: "string" | "number" | "boolean" | undefined;
582
577
  defaultValue?: string | number | boolean | undefined;
@@ -598,11 +593,10 @@ declare const factory: {
598
593
  readonly __kind: any;
599
594
  };
600
595
  };
601
- declare type ParsedOperation = z.infer<typeof generatedSchemas.schema>;
602
- declare type t = ParsedOperation;
603
- declare const create: (input: {
604
- description?: string | undefined;
605
- options?: _taqueria_protocol_Base.Flatten<{
596
+ export declare type ParsedOperation = z.infer<typeof generatedSchemas.schema>;
597
+ export declare type t = ParsedOperation;
598
+ export declare const create: (input: {
599
+ options?: import("@taqueria/protocol/Base").Flatten<{
606
600
  boolean?: boolean | undefined;
607
601
  type?: "string" | "number" | "boolean" | undefined;
608
602
  shortFlag?: (string & {
@@ -618,6 +612,7 @@ declare const create: (input: {
618
612
  } & {
619
613
  readonly __kind: any;
620
614
  }>[] | undefined;
615
+ description?: string | undefined;
621
616
  positionals?: ({
622
617
  type?: "string" | "number" | "boolean" | undefined;
623
618
  defaultValue?: string | number | boolean | undefined;
@@ -636,7 +631,6 @@ declare const create: (input: {
636
631
  readonly __kind: any;
637
632
  };
638
633
  } | {
639
- description?: string | undefined;
640
634
  options?: {
641
635
  boolean?: boolean | undefined;
642
636
  type?: "string" | "number" | "boolean" | undefined;
@@ -647,6 +641,7 @@ declare const create: (input: {
647
641
  description: string;
648
642
  flag: string;
649
643
  }[] | undefined;
644
+ description?: string | undefined;
650
645
  positionals?: {
651
646
  type?: "string" | "number" | "boolean" | undefined;
652
647
  defaultValue?: string | number | boolean | undefined;
@@ -657,8 +652,7 @@ declare const create: (input: {
657
652
  operation: string;
658
653
  command: string;
659
654
  }) => {
660
- description?: string | undefined;
661
- options?: _taqueria_protocol_Base.Flatten<{
655
+ options?: import("@taqueria/protocol/Base").Flatten<{
662
656
  boolean?: boolean | undefined;
663
657
  type?: "string" | "number" | "boolean" | undefined;
664
658
  shortFlag?: (string & {
@@ -674,6 +668,7 @@ declare const create: (input: {
674
668
  } & {
675
669
  readonly __kind: any;
676
670
  }>[] | undefined;
671
+ description?: string | undefined;
677
672
  positionals?: ({
678
673
  type?: "string" | "number" | "boolean" | undefined;
679
674
  defaultValue?: string | number | boolean | undefined;
@@ -693,10 +688,8 @@ declare const create: (input: {
693
688
  };
694
689
  } & {
695
690
  readonly __kind: any;
696
- };
697
- declare const make: (input: {
698
- description?: string | undefined;
699
- options?: _taqueria_protocol_Base.Flatten<{
691
+ }, make: (input: {
692
+ options?: import("@taqueria/protocol/Base").Flatten<{
700
693
  boolean?: boolean | undefined;
701
694
  type?: "string" | "number" | "boolean" | undefined;
702
695
  shortFlag?: (string & {
@@ -712,6 +705,7 @@ declare const make: (input: {
712
705
  } & {
713
706
  readonly __kind: any;
714
707
  }>[] | undefined;
708
+ description?: string | undefined;
715
709
  positionals?: ({
716
710
  type?: "string" | "number" | "boolean" | undefined;
717
711
  defaultValue?: string | number | boolean | undefined;
@@ -729,9 +723,8 @@ declare const make: (input: {
729
723
  command: string & {
730
724
  readonly __kind: any;
731
725
  };
732
- }) => fluture.FutureInstance<TaqError, {
733
- description?: string | undefined;
734
- options?: _taqueria_protocol_Base.Flatten<{
726
+ }) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
727
+ options?: import("@taqueria/protocol/Base").Flatten<{
735
728
  boolean?: boolean | undefined;
736
729
  type?: "string" | "number" | "boolean" | undefined;
737
730
  shortFlag?: (string & {
@@ -747,6 +740,7 @@ declare const make: (input: {
747
740
  } & {
748
741
  readonly __kind: any;
749
742
  }>[] | undefined;
743
+ description?: string | undefined;
750
744
  positionals?: ({
751
745
  type?: "string" | "number" | "boolean" | undefined;
752
746
  defaultValue?: string | number | boolean | undefined;
@@ -766,10 +760,8 @@ declare const make: (input: {
766
760
  };
767
761
  } & {
768
762
  readonly __kind: any;
769
- }>;
770
- declare const of: (input: unknown) => fluture.FutureInstance<TaqError, {
771
- description?: string | undefined;
772
- options?: _taqueria_protocol_Base.Flatten<{
763
+ }>, of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
764
+ options?: import("@taqueria/protocol/Base").Flatten<{
773
765
  boolean?: boolean | undefined;
774
766
  type?: "string" | "number" | "boolean" | undefined;
775
767
  shortFlag?: (string & {
@@ -785,6 +777,7 @@ declare const of: (input: unknown) => fluture.FutureInstance<TaqError, {
785
777
  } & {
786
778
  readonly __kind: any;
787
779
  }>[] | undefined;
780
+ description?: string | undefined;
788
781
  positionals?: ({
789
782
  type?: "string" | "number" | "boolean" | undefined;
790
783
  defaultValue?: string | number | boolean | undefined;
@@ -805,10 +798,9 @@ declare const of: (input: unknown) => fluture.FutureInstance<TaqError, {
805
798
  } & {
806
799
  readonly __kind: any;
807
800
  }>;
808
- declare const schemas: {
801
+ export declare const schemas: {
809
802
  schema: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
810
- description?: string | undefined;
811
- options?: _taqueria_protocol_Base.Flatten<{
803
+ options?: import("@taqueria/protocol/Base").Flatten<{
812
804
  boolean?: boolean | undefined;
813
805
  type?: "string" | "number" | "boolean" | undefined;
814
806
  shortFlag?: (string & {
@@ -824,6 +816,7 @@ declare const schemas: {
824
816
  } & {
825
817
  readonly __kind: any;
826
818
  }>[] | undefined;
819
+ description?: string | undefined;
827
820
  positionals?: ({
828
821
  type?: "string" | "number" | "boolean" | undefined;
829
822
  defaultValue?: string | number | boolean | undefined;
@@ -844,8 +837,7 @@ declare const schemas: {
844
837
  } & {
845
838
  readonly __kind: any;
846
839
  }, any>, {
847
- description?: string | undefined;
848
- options?: _taqueria_protocol_Base.Flatten<{
840
+ options?: import("@taqueria/protocol/Base").Flatten<{
849
841
  boolean?: boolean | undefined;
850
842
  type?: "string" | "number" | "boolean" | undefined;
851
843
  shortFlag?: (string & {
@@ -861,6 +853,7 @@ declare const schemas: {
861
853
  } & {
862
854
  readonly __kind: any;
863
855
  }>[] | undefined;
856
+ description?: string | undefined;
864
857
  positionals?: ({
865
858
  type?: "string" | "number" | "boolean" | undefined;
866
859
  defaultValue?: string | number | boolean | undefined;
@@ -884,5 +877,4 @@ declare const schemas: {
884
877
  rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
885
878
  internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
886
879
  };
887
-
888
- export { ParsedOperation, create, factory, generatedSchemas, make, of, rawSchema, schemas, t };
880
+ //# sourceMappingURL=ParsedOperation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ParsedOperation.d.ts","sourceRoot":"","sources":["ParsedOperation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGO,CAAC;AAK9B,eAAO,MAAiB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK/C,CAAC;AAEH,oBAAY,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC;AACtE,oBAAY,CAAC,GAAG,eAAe,CAAC;AAEhC,eAAO,MAAQ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAE,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAE,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAY,CAAC;AAE5C,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGnB,CAAC"}
@@ -1,9 +1,5 @@
1
- import * as fluture from 'fluture';
2
- import { TaqError } from './TaqError.js';
3
- import * as _taqueria_protocol_Base from '@taqueria/protocol/Base';
4
1
  import { z } from 'zod';
5
-
6
- declare const rawSchema: z.ZodObject<z.extendShape<{
2
+ export declare const rawSchema: z.ZodObject<z.extendShape<{
7
3
  template: z.ZodString;
8
4
  command: z.ZodString;
9
5
  description: z.ZodString;
@@ -78,7 +74,7 @@ declare const rawSchema: z.ZodObject<z.extendShape<{
78
74
  yes?: boolean | undefined;
79
75
  quickstart?: string | undefined;
80
76
  pluginName?: string | undefined;
81
- config: _taqueria_protocol_Base.Flatten<{
77
+ config: import("@taqueria/protocol/Base").Flatten<{
82
78
  language?: "en" | "fr" | undefined;
83
79
  contracts?: Record<string, {
84
80
  sourceFile: string;
@@ -86,7 +82,7 @@ declare const rawSchema: z.ZodObject<z.extendShape<{
86
82
  readonly __kind: any;
87
83
  };
88
84
  }> | undefined;
89
- network?: Record<string, string | _taqueria_protocol_Base.Flatten<{
85
+ network?: Record<string, string | import("@taqueria/protocol/Base").Flatten<{
90
86
  label: string & {
91
87
  readonly __kind: any;
92
88
  };
@@ -96,7 +92,7 @@ declare const rawSchema: z.ZodObject<z.extendShape<{
96
92
  protocol: string & {
97
93
  readonly __kind: any;
98
94
  };
99
- faucet: _taqueria_protocol_Base.Flatten<{
95
+ faucet: import("@taqueria/protocol/Base").Flatten<{
100
96
  pkh: string & {
101
97
  readonly __kind: any;
102
98
  };
@@ -142,7 +138,7 @@ declare const rawSchema: z.ZodObject<z.extendShape<{
142
138
  } & {
143
139
  readonly __kind: any;
144
140
  })> | undefined;
145
- environment?: Record<string, string | _taqueria_protocol_Base.Flatten<{
141
+ environment?: Record<string, string | import("@taqueria/protocol/Base").Flatten<{
146
142
  storage?: Record<string, any> | undefined;
147
143
  aliases?: Record<string, any> | undefined;
148
144
  networks: string[];
@@ -203,7 +199,7 @@ declare const rawSchema: z.ZodObject<z.extendShape<{
203
199
  yes?: boolean | undefined;
204
200
  quickstart?: string | undefined;
205
201
  pluginName?: string | undefined;
206
- config: _taqueria_protocol_Base.Flatten<{
202
+ config: import("@taqueria/protocol/Base").Flatten<{
207
203
  language?: "en" | "fr" | undefined;
208
204
  contracts?: Record<string, {
209
205
  sourceFile: string;
@@ -211,7 +207,7 @@ declare const rawSchema: z.ZodObject<z.extendShape<{
211
207
  readonly __kind: any;
212
208
  };
213
209
  }> | undefined;
214
- network?: Record<string, string | _taqueria_protocol_Base.Flatten<{
210
+ network?: Record<string, string | import("@taqueria/protocol/Base").Flatten<{
215
211
  label: string & {
216
212
  readonly __kind: any;
217
213
  };
@@ -221,7 +217,7 @@ declare const rawSchema: z.ZodObject<z.extendShape<{
221
217
  protocol: string & {
222
218
  readonly __kind: any;
223
219
  };
224
- faucet: _taqueria_protocol_Base.Flatten<{
220
+ faucet: import("@taqueria/protocol/Base").Flatten<{
225
221
  pkh: string & {
226
222
  readonly __kind: any;
227
223
  };
@@ -267,7 +263,7 @@ declare const rawSchema: z.ZodObject<z.extendShape<{
267
263
  } & {
268
264
  readonly __kind: any;
269
265
  })> | undefined;
270
- environment?: Record<string, string | _taqueria_protocol_Base.Flatten<{
266
+ environment?: Record<string, string | import("@taqueria/protocol/Base").Flatten<{
271
267
  storage?: Record<string, any> | undefined;
272
268
  aliases?: Record<string, any> | undefined;
273
269
  networks: string[];
@@ -375,11 +371,11 @@ declare const rawSchema: z.ZodObject<z.extendShape<{
375
371
  command: string;
376
372
  handler: string;
377
373
  }>;
378
- declare const generatedSchemas: {
374
+ export declare const generatedSchemas: {
379
375
  rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
380
376
  internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
381
377
  schema: z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
382
- options?: _taqueria_protocol_Base.Flatten<{
378
+ options?: import("@taqueria/protocol/Base").Flatten<{
383
379
  boolean?: boolean | undefined;
384
380
  type?: "string" | "number" | "boolean" | undefined;
385
381
  shortFlag?: (string & {
@@ -421,10 +417,9 @@ declare const generatedSchemas: {
421
417
  } & {
422
418
  readonly __kind: any;
423
419
  }, any>;
424
- };
425
- declare const factory: {
420
+ }, factory: {
426
421
  make: (input: {
427
- options?: _taqueria_protocol_Base.Flatten<{
422
+ options?: import("@taqueria/protocol/Base").Flatten<{
428
423
  boolean?: boolean | undefined;
429
424
  type?: "string" | "number" | "boolean" | undefined;
430
425
  shortFlag?: (string & {
@@ -463,8 +458,8 @@ declare const factory: {
463
458
  encoding: ("none" | "json" | "application/json" | undefined) & {
464
459
  readonly __kind: any;
465
460
  };
466
- }) => fluture.FutureInstance<TaqError, {
467
- options?: _taqueria_protocol_Base.Flatten<{
461
+ }) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
462
+ options?: import("@taqueria/protocol/Base").Flatten<{
468
463
  boolean?: boolean | undefined;
469
464
  type?: "string" | "number" | "boolean" | undefined;
470
465
  shortFlag?: (string & {
@@ -506,8 +501,8 @@ declare const factory: {
506
501
  } & {
507
502
  readonly __kind: any;
508
503
  }>;
509
- of: (input: unknown) => fluture.FutureInstance<TaqError, {
510
- options?: _taqueria_protocol_Base.Flatten<{
504
+ of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
505
+ options?: import("@taqueria/protocol/Base").Flatten<{
511
506
  boolean?: boolean | undefined;
512
507
  type?: "string" | "number" | "boolean" | undefined;
513
508
  shortFlag?: (string & {
@@ -550,7 +545,7 @@ declare const factory: {
550
545
  readonly __kind: any;
551
546
  }>;
552
547
  create: (input: {
553
- options?: _taqueria_protocol_Base.Flatten<{
548
+ options?: import("@taqueria/protocol/Base").Flatten<{
554
549
  boolean?: boolean | undefined;
555
550
  type?: "string" | "number" | "boolean" | undefined;
556
551
  shortFlag?: (string & {
@@ -616,7 +611,7 @@ declare const factory: {
616
611
  readonly __kind: any;
617
612
  };
618
613
  }) => {
619
- options?: _taqueria_protocol_Base.Flatten<{
614
+ options?: import("@taqueria/protocol/Base").Flatten<{
620
615
  boolean?: boolean | undefined;
621
616
  type?: "string" | "number" | "boolean" | undefined;
622
617
  shortFlag?: (string & {
@@ -659,7 +654,7 @@ declare const factory: {
659
654
  readonly __kind: any;
660
655
  };
661
656
  from: (input: unknown) => {
662
- options?: _taqueria_protocol_Base.Flatten<{
657
+ options?: import("@taqueria/protocol/Base").Flatten<{
663
658
  boolean?: boolean | undefined;
664
659
  type?: "string" | "number" | "boolean" | undefined;
665
660
  shortFlag?: (string & {
@@ -702,10 +697,10 @@ declare const factory: {
702
697
  readonly __kind: any;
703
698
  };
704
699
  };
705
- declare type ParsedTemplate = z.infer<typeof generatedSchemas.schema>;
706
- declare type t = ParsedTemplate;
707
- declare const create: (input: {
708
- options?: _taqueria_protocol_Base.Flatten<{
700
+ export declare type ParsedTemplate = z.infer<typeof generatedSchemas.schema>;
701
+ export declare type t = ParsedTemplate;
702
+ export declare const create: (input: {
703
+ options?: import("@taqueria/protocol/Base").Flatten<{
709
704
  boolean?: boolean | undefined;
710
705
  type?: "string" | "number" | "boolean" | undefined;
711
706
  shortFlag?: (string & {
@@ -771,7 +766,7 @@ declare const create: (input: {
771
766
  readonly __kind: any;
772
767
  };
773
768
  }) => {
774
- options?: _taqueria_protocol_Base.Flatten<{
769
+ options?: import("@taqueria/protocol/Base").Flatten<{
775
770
  boolean?: boolean | undefined;
776
771
  type?: "string" | "number" | "boolean" | undefined;
777
772
  shortFlag?: (string & {
@@ -812,9 +807,8 @@ declare const create: (input: {
812
807
  };
813
808
  } & {
814
809
  readonly __kind: any;
815
- };
816
- declare const make: (input: {
817
- options?: _taqueria_protocol_Base.Flatten<{
810
+ }, make: (input: {
811
+ options?: import("@taqueria/protocol/Base").Flatten<{
818
812
  boolean?: boolean | undefined;
819
813
  type?: "string" | "number" | "boolean" | undefined;
820
814
  shortFlag?: (string & {
@@ -853,8 +847,8 @@ declare const make: (input: {
853
847
  encoding: ("none" | "json" | "application/json" | undefined) & {
854
848
  readonly __kind: any;
855
849
  };
856
- }) => fluture.FutureInstance<TaqError, {
857
- options?: _taqueria_protocol_Base.Flatten<{
850
+ }) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
851
+ options?: import("@taqueria/protocol/Base").Flatten<{
858
852
  boolean?: boolean | undefined;
859
853
  type?: "string" | "number" | "boolean" | undefined;
860
854
  shortFlag?: (string & {
@@ -895,9 +889,8 @@ declare const make: (input: {
895
889
  };
896
890
  } & {
897
891
  readonly __kind: any;
898
- }>;
899
- declare const of: (input: unknown) => fluture.FutureInstance<TaqError, {
900
- options?: _taqueria_protocol_Base.Flatten<{
892
+ }>, of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
893
+ options?: import("@taqueria/protocol/Base").Flatten<{
901
894
  boolean?: boolean | undefined;
902
895
  type?: "string" | "number" | "boolean" | undefined;
903
896
  shortFlag?: (string & {
@@ -939,9 +932,9 @@ declare const of: (input: unknown) => fluture.FutureInstance<TaqError, {
939
932
  } & {
940
933
  readonly __kind: any;
941
934
  }>;
942
- declare const schemas: {
935
+ export declare const schemas: {
943
936
  schema: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
944
- options?: _taqueria_protocol_Base.Flatten<{
937
+ options?: import("@taqueria/protocol/Base").Flatten<{
945
938
  boolean?: boolean | undefined;
946
939
  type?: "string" | "number" | "boolean" | undefined;
947
940
  shortFlag?: (string & {
@@ -983,7 +976,7 @@ declare const schemas: {
983
976
  } & {
984
977
  readonly __kind: any;
985
978
  }, any>, {
986
- options?: _taqueria_protocol_Base.Flatten<{
979
+ options?: import("@taqueria/protocol/Base").Flatten<{
987
980
  boolean?: boolean | undefined;
988
981
  type?: "string" | "number" | "boolean" | undefined;
989
982
  shortFlag?: (string & {
@@ -1028,5 +1021,4 @@ declare const schemas: {
1028
1021
  rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
1029
1022
  internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
1030
1023
  };
1031
-
1032
- export { ParsedTemplate, create, factory, generatedSchemas, make, of, rawSchema, schemas, t };
1024
+ //# sourceMappingURL=ParsedTemplate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ParsedTemplate.d.ts","sourceRoot":"","sources":["ParsedTemplate.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMM,CAAC;AAK7B,eAAO,MAAiB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK/C,CAAC;AAEH,oBAAY,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC;AACrE,oBAAY,CAAC,GAAG,cAAc,CAAC;AAE/B,eAAO,MAAQ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAE,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAE,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAY,CAAC;AAE5C,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGnB,CAAC"}