@taqueria/protocol 0.18.0 → 0.19.3

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 (119) hide show
  1. package/Alias.d.ts +10 -16
  2. package/Alias.d.ts.map +1 -0
  3. package/Base.d.ts +8 -10
  4. package/Base.d.ts.map +1 -0
  5. package/Base.js +1 -1
  6. package/Base.js.map +1 -1
  7. package/Base.mjs +1 -1
  8. package/Base.mjs.map +1 -1
  9. package/Command.d.ts +9 -15
  10. package/Command.d.ts.map +1 -0
  11. package/Config.d.ts +210 -216
  12. package/Config.d.ts.map +1 -0
  13. package/Config.js +18 -21
  14. package/Config.js.map +1 -1
  15. package/Config.mjs +19 -22
  16. package/Config.mjs.map +1 -1
  17. package/Contract.d.ts +10 -16
  18. package/Contract.d.ts.map +1 -0
  19. package/Crypto.d.ts +2 -3
  20. package/Crypto.d.ts.map +1 -0
  21. package/EconomicalProtocolHash.d.ts +12 -19
  22. package/EconomicalProtocolHash.d.ts.map +1 -0
  23. package/Environment.d.ts +14 -22
  24. package/Environment.d.ts.map +1 -0
  25. package/EphemeralState.d.ts +162 -169
  26. package/EphemeralState.d.ts.map +1 -0
  27. package/Faucet.d.ts +108 -114
  28. package/Faucet.d.ts.map +1 -0
  29. package/Faucet.js +32 -20
  30. package/Faucet.js.map +1 -1
  31. package/Faucet.mjs +32 -20
  32. package/Faucet.mjs.map +1 -1
  33. package/HumanReadableIdentifier.d.ts +9 -15
  34. package/HumanReadableIdentifier.d.ts.map +1 -0
  35. package/InstalledPlugin.d.ts +13 -20
  36. package/InstalledPlugin.d.ts.map +1 -0
  37. package/LoadedConfig.d.ts +217 -223
  38. package/LoadedConfig.d.ts.map +1 -0
  39. package/MetadataConfig.d.ts +13 -20
  40. package/MetadataConfig.d.ts.map +1 -0
  41. package/NetworkConfig.d.ts +121 -127
  42. package/NetworkConfig.d.ts.map +1 -0
  43. package/Operation.d.ts +67 -73
  44. package/Operation.d.ts.map +1 -0
  45. package/Option.d.ts +14 -21
  46. package/Option.d.ts.map +1 -0
  47. package/ParsedOperation.d.ts +56 -64
  48. package/ParsedOperation.d.ts.map +1 -0
  49. package/ParsedTemplate.d.ts +49 -57
  50. package/ParsedTemplate.d.ts.map +1 -0
  51. package/PersistentState.d.ts +18 -24
  52. package/PersistentState.d.ts.map +1 -0
  53. package/PluginActionName.d.ts +6 -7
  54. package/PluginActionName.d.ts.map +1 -0
  55. package/PluginDependenciesResponse.d.ts +14 -20
  56. package/PluginDependenciesResponse.d.ts.map +1 -0
  57. package/PluginInfo.d.ts +38 -45
  58. package/PluginInfo.d.ts.map +1 -0
  59. package/PluginJsonResponse.d.ts +11 -16
  60. package/PluginJsonResponse.d.ts.map +1 -0
  61. package/PluginProxyResponse.d.ts +9 -16
  62. package/PluginProxyResponse.d.ts.map +1 -0
  63. package/PluginResponseEncoding.d.ts +11 -18
  64. package/PluginResponseEncoding.d.ts.map +1 -0
  65. package/PluginSchema.d.ts +419 -427
  66. package/PluginSchema.d.ts.map +1 -0
  67. package/PositionalArg.d.ts +13 -20
  68. package/PositionalArg.d.ts.map +1 -0
  69. package/Provisioner.d.ts +16 -23
  70. package/Provisioner.d.ts.map +1 -0
  71. package/ProvisionerID.d.ts +12 -19
  72. package/ProvisionerID.d.ts.map +1 -0
  73. package/Provisions.d.ts +12 -19
  74. package/Provisions.d.ts.map +1 -0
  75. package/PublicKeyHash.d.ts +13 -20
  76. package/PublicKeyHash.d.ts.map +1 -0
  77. package/RequestArgs.d.ts +508 -517
  78. package/RequestArgs.d.ts.map +1 -0
  79. package/SHA256.d.ts +11 -15
  80. package/SHA256.d.ts.map +1 -0
  81. package/SandboxAccountConfig.d.ts +13 -20
  82. package/SandboxAccountConfig.d.ts.map +1 -0
  83. package/SandboxConfig.d.ts +13 -20
  84. package/SandboxConfig.d.ts.map +1 -0
  85. package/SanitizedAbsPath.d.ts +12 -19
  86. package/SanitizedAbsPath.d.ts.map +1 -0
  87. package/SanitizedArgs.d.ts +76 -83
  88. package/SanitizedArgs.d.ts.map +1 -0
  89. package/SanitizedPath.d.ts +9 -15
  90. package/SanitizedPath.d.ts.map +1 -0
  91. package/ScaffoldConfig.d.ts +3 -4
  92. package/ScaffoldConfig.d.ts.map +1 -0
  93. package/Settings.d.ts +13 -20
  94. package/Settings.d.ts.map +1 -0
  95. package/SingleChar.d.ts +12 -19
  96. package/SingleChar.d.ts.map +1 -0
  97. package/TaqError.d.ts +10 -13
  98. package/TaqError.d.ts.map +1 -0
  99. package/Task.d.ts +13 -20
  100. package/Task.d.ts.map +1 -0
  101. package/Template.d.ts +97 -105
  102. package/Template.d.ts.map +1 -0
  103. package/Timestamp.d.ts +13 -20
  104. package/Timestamp.d.ts.map +1 -0
  105. package/Tz.d.ts +11 -18
  106. package/Tz.d.ts.map +1 -0
  107. package/Url.d.ts +13 -20
  108. package/Url.d.ts.map +1 -0
  109. package/Verb.d.ts +12 -19
  110. package/Verb.d.ts.map +1 -0
  111. package/VersionNumber.d.ts +9 -15
  112. package/VersionNumber.d.ts.map +1 -0
  113. package/i18n.d.ts +4 -4
  114. package/i18n.d.ts.map +1 -0
  115. package/package.json +3 -3
  116. package/taqueria-protocol-types.d.ts +37 -72
  117. package/taqueria-protocol-types.d.ts.map +1 -0
  118. package/tzkt-config.d.ts +13 -20
  119. 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<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, import("@taqueria/protocol/Base").Flatten<{
90
86
  label: string & {
91
87
  readonly __kind: any;
92
88
  };
@@ -96,22 +92,22 @@ 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<{
96
+ email?: string | undefined;
97
+ password?: string | undefined;
98
+ amount?: string | undefined;
99
+ activation_code?: string | undefined;
100
+ mnemonic: string[];
100
101
  pkh: string & {
101
102
  readonly __kind: any;
102
103
  };
103
- mnemonic: string[];
104
- email: string;
105
- password: string;
106
- amount: string;
107
- activation_code: string;
108
104
  } & {
109
105
  readonly __kind: any;
110
106
  }>;
111
107
  } & {
112
108
  readonly __kind: any;
113
109
  }>> | undefined;
114
- sandbox?: Record<string, string | ({
110
+ sandbox?: Record<string, {
115
111
  attributes?: Record<string, string | number | boolean> | undefined;
116
112
  plugin?: (string & {
117
113
  readonly __kind: any;
@@ -141,8 +137,8 @@ declare const rawSchema: z.ZodObject<z.extendShape<{
141
137
  };
142
138
  } & {
143
139
  readonly __kind: any;
144
- })> | undefined;
145
- environment?: Record<string, string | _taqueria_protocol_Base.Flatten<{
140
+ }> | undefined;
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, import("@taqueria/protocol/Base").Flatten<{
215
211
  label: string & {
216
212
  readonly __kind: any;
217
213
  };
@@ -221,22 +217,22 @@ 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<{
221
+ email?: string | undefined;
222
+ password?: string | undefined;
223
+ amount?: string | undefined;
224
+ activation_code?: string | undefined;
225
+ mnemonic: string[];
225
226
  pkh: string & {
226
227
  readonly __kind: any;
227
228
  };
228
- mnemonic: string[];
229
- email: string;
230
- password: string;
231
- amount: string;
232
- activation_code: string;
233
229
  } & {
234
230
  readonly __kind: any;
235
231
  }>;
236
232
  } & {
237
233
  readonly __kind: any;
238
234
  }>> | undefined;
239
- sandbox?: Record<string, string | ({
235
+ sandbox?: Record<string, {
240
236
  attributes?: Record<string, string | number | boolean> | undefined;
241
237
  plugin?: (string & {
242
238
  readonly __kind: any;
@@ -266,8 +262,8 @@ declare const rawSchema: z.ZodObject<z.extendShape<{
266
262
  };
267
263
  } & {
268
264
  readonly __kind: any;
269
- })> | undefined;
270
- environment?: Record<string, string | _taqueria_protocol_Base.Flatten<{
265
+ }> | undefined;
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"}
@@ -1,7 +1,4 @@
1
- import * as fluture from 'fluture';
2
- import { TaqError } from './TaqError.js';
3
1
  import { z } from 'zod';
4
-
5
2
  declare const internalOpSchema: z.ZodObject<{
6
3
  hash: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
7
4
  readonly __kind: any;
@@ -55,9 +52,9 @@ declare const internalTaskSchema: z.ZodObject<{
55
52
  task?: any;
56
53
  plugin: string;
57
54
  }>;
58
- declare type PersistedTask = z.infer<typeof internalTaskSchema>;
59
- declare type PersistedOperation = z.infer<typeof internalOpSchema>;
60
- declare const rawSchema: z.ZodObject<{
55
+ export declare type PersistedTask = z.infer<typeof internalTaskSchema>;
56
+ export declare type PersistedOperation = z.infer<typeof internalOpSchema>;
57
+ export declare const rawSchema: z.ZodObject<{
61
58
  operations: z.ZodRecord<z.ZodString, z.ZodObject<{
62
59
  hash: z.ZodString;
63
60
  time: z.ZodNumber;
@@ -112,7 +109,7 @@ declare const rawSchema: z.ZodObject<{
112
109
  time: number;
113
110
  }>;
114
111
  }>;
115
- declare const internalSchema: z.ZodEffects<z.ZodObject<{
112
+ export declare const internalSchema: z.ZodEffects<z.ZodObject<{
116
113
  operations: z.ZodRecord<z.ZodString, z.ZodObject<{
117
114
  hash: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
118
115
  readonly __kind: any;
@@ -231,7 +228,7 @@ declare const internalSchema: z.ZodEffects<z.ZodObject<{
231
228
  plugin: string;
232
229
  }>;
233
230
  }>;
234
- declare const generatedSchemas: {
231
+ export declare const generatedSchemas: {
235
232
  rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
236
233
  internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
237
234
  schema: z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
@@ -257,8 +254,7 @@ declare const generatedSchemas: {
257
254
  } & {
258
255
  readonly __kind: any;
259
256
  }, any>;
260
- };
261
- declare const factory: {
257
+ }, factory: {
262
258
  make: (input: {
263
259
  operations: Record<string, {
264
260
  output?: unknown;
@@ -279,7 +275,7 @@ declare const factory: {
279
275
  readonly __kind: any;
280
276
  };
281
277
  }>;
282
- }) => fluture.FutureInstance<TaqError, {
278
+ }) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
283
279
  operations: Record<string, {
284
280
  output?: unknown;
285
281
  hash: string & {
@@ -302,7 +298,7 @@ declare const factory: {
302
298
  } & {
303
299
  readonly __kind: any;
304
300
  }>;
305
- of: (input: unknown) => fluture.FutureInstance<TaqError, {
301
+ of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
306
302
  operations: Record<string, {
307
303
  output?: unknown;
308
304
  hash: string & {
@@ -404,10 +400,10 @@ declare const factory: {
404
400
  readonly __kind: any;
405
401
  };
406
402
  };
407
- declare type PersistentState = z.infer<typeof generatedSchemas.schema>;
408
- declare type t = PersistentState;
409
- declare type State = PersistentState;
410
- declare const create: (input: {
403
+ export declare type PersistentState = z.infer<typeof generatedSchemas.schema>;
404
+ export declare type t = PersistentState;
405
+ export declare type State = PersistentState;
406
+ export declare const create: (input: {
411
407
  operations: Record<string, {
412
408
  output?: unknown;
413
409
  hash: string;
@@ -461,8 +457,7 @@ declare const create: (input: {
461
457
  }>;
462
458
  } & {
463
459
  readonly __kind: any;
464
- };
465
- declare const of: (input: unknown) => fluture.FutureInstance<TaqError, {
460
+ }, of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
466
461
  operations: Record<string, {
467
462
  output?: unknown;
468
463
  hash: string & {
@@ -484,8 +479,7 @@ declare const of: (input: unknown) => fluture.FutureInstance<TaqError, {
484
479
  }>;
485
480
  } & {
486
481
  readonly __kind: any;
487
- }>;
488
- declare const make: (input: {
482
+ }>, make: (input: {
489
483
  operations: Record<string, {
490
484
  output?: unknown;
491
485
  hash: string & {
@@ -505,7 +499,7 @@ declare const make: (input: {
505
499
  readonly __kind: any;
506
500
  };
507
501
  }>;
508
- }) => fluture.FutureInstance<TaqError, {
502
+ }) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
509
503
  operations: Record<string, {
510
504
  output?: unknown;
511
505
  hash: string & {
@@ -528,7 +522,7 @@ declare const make: (input: {
528
522
  } & {
529
523
  readonly __kind: any;
530
524
  }>;
531
- declare const schemas: {
525
+ export declare const schemas: {
532
526
  schema: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
533
527
  operations: Record<string, {
534
528
  output?: unknown;
@@ -577,5 +571,5 @@ declare const schemas: {
577
571
  rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
578
572
  internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
579
573
  };
580
-
581
- export { PersistedOperation, PersistedTask, PersistentState, State, create, factory, generatedSchemas, internalSchema, make, of, rawSchema, schemas, t };
574
+ export {};
575
+ //# sourceMappingURL=PersistentState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PersistentState.d.ts","sourceRoot":"","sources":["PersistentState.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;EAIpB,CAAC;AAEH,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKtB,CAAC;AAEH,oBAAY,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE/D,oBAAY,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAElE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGpB,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMxB,CAAC;AAMJ,eAAO,MAAiB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;GAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI/C,CAAC;AAEH,oBAAY,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC;AACtE,oBAAY,CAAC,GAAG,eAAe,CAAC;AAChC,oBAAY,KAAK,GAAG,eAAe,CAAC;AAEpC,eAAO,MAAQ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAE,EAAE;;;;;;;;;;;;;;;;;;;;;;IAAE,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAY,CAAC;AAE5C,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGnB,CAAC"}
@@ -1,8 +1,7 @@
1
1
  import { z } from 'zod';
2
-
3
2
  declare const rawSchema: z.ZodUnion<[z.ZodLiteral<"checkRuntimeDependencies">, z.ZodLiteral<"installRuntimeDependencies">, z.ZodLiteral<"proxy">, z.ZodLiteral<"proxyTemplate">, z.ZodLiteral<"pluginInfo">]>;
4
- declare type PluginActionName = z.infer<typeof rawSchema>;
5
- declare type t = PluginActionName;
3
+ export declare type PluginActionName = z.infer<typeof rawSchema>;
4
+ export declare type t = PluginActionName;
6
5
  declare const pluginActionNotSupportedSchema: z.ZodObject<{
7
6
  status: z.ZodLiteral<"notSupported">;
8
7
  msg: z.ZodString;
@@ -13,11 +12,11 @@ declare const pluginActionNotSupportedSchema: z.ZodObject<{
13
12
  status: "notSupported";
14
13
  msg: string;
15
14
  }>;
16
- declare type PluginActionNotSupportedResponse = z.infer<typeof pluginActionNotSupportedSchema>;
17
- declare const schemas: {
15
+ export declare type PluginActionNotSupportedResponse = z.infer<typeof pluginActionNotSupportedSchema>;
16
+ export declare const schemas: {
18
17
  schema: z.ZodUnion<[z.ZodLiteral<"checkRuntimeDependencies">, z.ZodLiteral<"installRuntimeDependencies">, z.ZodLiteral<"proxy">, z.ZodLiteral<"proxyTemplate">, z.ZodLiteral<"pluginInfo">]>;
19
18
  internalSchema: z.ZodUnion<[z.ZodLiteral<"checkRuntimeDependencies">, z.ZodLiteral<"installRuntimeDependencies">, z.ZodLiteral<"proxy">, z.ZodLiteral<"proxyTemplate">, z.ZodLiteral<"pluginInfo">]>;
20
19
  rawSchema: z.ZodUnion<[z.ZodLiteral<"checkRuntimeDependencies">, z.ZodLiteral<"installRuntimeDependencies">, z.ZodLiteral<"proxy">, z.ZodLiteral<"proxyTemplate">, z.ZodLiteral<"pluginInfo">]>;
21
20
  };
22
-
23
- export { PluginActionName, PluginActionNotSupportedResponse, schemas, t };
21
+ export {};
22
+ //# sourceMappingURL=PluginActionName.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PluginActionName.d.ts","sourceRoot":"","sources":["PluginActionName.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,QAAA,MAAM,SAAS,sLAMb,CAAC;AAIH,oBAAY,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AACzD,oBAAY,CAAC,GAAG,gBAAgB,CAAC;AAEjC,QAAA,MAAM,8BAA8B;;;;;;;;;EAGlC,CAAC;AAEH,oBAAY,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAE9F,eAAO,MAAM,OAAO;;;;CAInB,CAAC"}
@@ -1,8 +1,5 @@
1
- import * as fluture from 'fluture';
2
- import { TaqError } from './TaqError.js';
3
1
  import { z } from 'zod';
4
-
5
- declare const schemas: {
2
+ export declare const schemas: {
6
3
  rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
7
4
  internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
8
5
  schema: z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
@@ -13,14 +10,13 @@ declare const schemas: {
13
10
  } & {
14
11
  readonly __kind: any;
15
12
  }, any>;
16
- };
17
- declare const factory: {
13
+ }, factory: {
18
14
  make: (input: {
19
15
  path: string;
20
16
  name: string;
21
17
  version: string;
22
18
  kind: "required" | "optional";
23
- }) => fluture.FutureInstance<TaqError, {
19
+ }) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
24
20
  path: string;
25
21
  name: string;
26
22
  version: string;
@@ -28,7 +24,7 @@ declare const factory: {
28
24
  } & {
29
25
  readonly __kind: any;
30
26
  }>;
31
- of: (input: unknown) => fluture.FutureInstance<TaqError, {
27
+ of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
32
28
  path: string;
33
29
  name: string;
34
30
  version: string;
@@ -58,7 +54,7 @@ declare const factory: {
58
54
  readonly __kind: any;
59
55
  };
60
56
  };
61
- declare type RuntimeDependency = z.infer<typeof schemas.schema>;
57
+ export declare type RuntimeDependency = z.infer<typeof schemas.schema>;
62
58
  declare const runtimeDependencyReport: z.ZodObject<z.extendShape<{
63
59
  name: z.ZodString;
64
60
  path: z.ZodString;
@@ -79,7 +75,7 @@ declare const runtimeDependencyReport: z.ZodObject<z.extendShape<{
79
75
  kind: "required" | "optional";
80
76
  met: boolean;
81
77
  }>;
82
- declare type RuntimeDependencyReport = z.infer<typeof runtimeDependencyReport>;
78
+ export declare type RuntimeDependencyReport = z.infer<typeof runtimeDependencyReport>;
83
79
  declare const dependenciesResponseSchema: z.ZodObject<{
84
80
  report: z.ZodArray<z.ZodObject<z.extendShape<{
85
81
  name: z.ZodString;
@@ -118,30 +114,28 @@ declare const dependenciesResponseSchema: z.ZodObject<{
118
114
  met: boolean;
119
115
  }[];
120
116
  }>;
121
- declare type PluginDependenciesResponse = z.infer<typeof dependenciesResponseSchema>;
122
- declare type t = PluginDependenciesResponse;
123
- declare const of: (input: unknown) => fluture.FutureInstance<TaqError, {
117
+ export declare type PluginDependenciesResponse = z.infer<typeof dependenciesResponseSchema>;
118
+ export declare type t = PluginDependenciesResponse;
119
+ export declare const of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
124
120
  path: string;
125
121
  name: string;
126
122
  version: string;
127
123
  kind: "required" | "optional";
128
124
  } & {
129
125
  readonly __kind: any;
130
- }>;
131
- declare const make: (input: {
126
+ }>, make: (input: {
132
127
  path: string;
133
128
  name: string;
134
129
  version: string;
135
130
  kind: "required" | "optional";
136
- }) => fluture.FutureInstance<TaqError, {
131
+ }) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
137
132
  path: string;
138
133
  name: string;
139
134
  version: string;
140
135
  kind: "required" | "optional";
141
136
  } & {
142
137
  readonly __kind: any;
143
- }>;
144
- declare const create: (input: {
138
+ }>, create: (input: {
145
139
  path: string;
146
140
  name: string;
147
141
  version: string;
@@ -154,5 +148,5 @@ declare const create: (input: {
154
148
  } & {
155
149
  readonly __kind: any;
156
150
  };
157
-
158
- export { PluginDependenciesResponse, RuntimeDependency, RuntimeDependencyReport, create, factory, make, of, schemas, t };
151
+ export {};
152
+ //# sourceMappingURL=PluginDependenciesResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PluginDependenciesResponse.d.ts","sourceRoot":"","sources":["PluginDependenciesResponse.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,eAAO,MAAQ,OAAO;;;;;;;;;;;GAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK7B,CAAC;AAEH,oBAAY,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC;AAE/D,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;EAAoD,CAAC;AAElF,oBAAY,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE9E,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE9B,CAAC;AAEH,oBAAY,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AACpF,oBAAY,CAAC,GAAG,0BAA0B,CAAC;AAE3C,eAAO,MAAQ,EAAE;;;;;;;IAAE,IAAI;;;;;;;;;;;;IAAE,MAAM;;;;;;;;;;;;CAAY,CAAC"}