@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,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,EAA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,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"}