@taqueria/protocol 0.16.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (319) hide show
  1. package/Alias.d.ts +48 -0
  2. package/Alias.js +70 -0
  3. package/Alias.js.map +1 -0
  4. package/Alias.mjs +34 -0
  5. package/Alias.mjs.map +1 -0
  6. package/Base.d.ts +50 -0
  7. package/Base.js +83 -0
  8. package/Base.js.map +1 -0
  9. package/Base.mjs +57 -0
  10. package/Base.mjs.map +1 -0
  11. package/Command.d.ts +30 -0
  12. package/Command.js +61 -0
  13. package/Command.js.map +1 -0
  14. package/Command.mjs +25 -0
  15. package/Command.mjs.map +1 -0
  16. package/Config.d.ts +2062 -0
  17. package/Config.js +175 -0
  18. package/Config.js.map +1 -0
  19. package/Config.mjs +135 -0
  20. package/Config.mjs.map +1 -0
  21. package/Contract.d.ts +88 -0
  22. package/Contract.js +68 -0
  23. package/Contract.js.map +1 -0
  24. package/Contract.mjs +32 -0
  25. package/Contract.mjs.map +1 -0
  26. package/Crypto.d.ts +5 -0
  27. package/Crypto.js +35 -0
  28. package/Crypto.js.map +1 -0
  29. package/Crypto.mjs +10 -0
  30. package/Crypto.mjs.map +1 -0
  31. package/EconomicalProtocolHash.d.ts +48 -0
  32. package/EconomicalProtocolHash.js +64 -0
  33. package/EconomicalProtocolHash.js.map +1 -0
  34. package/EconomicalProtocolHash.mjs +27 -0
  35. package/EconomicalProtocolHash.mjs.map +1 -0
  36. package/Environment.d.ts +142 -0
  37. package/Environment.js +78 -0
  38. package/Environment.js.map +1 -0
  39. package/Environment.mjs +40 -0
  40. package/Environment.mjs.map +1 -0
  41. package/EphemeralState.d.ts +4561 -0
  42. package/EphemeralState.js +268 -0
  43. package/EphemeralState.js.map +1 -0
  44. package/EphemeralState.mjs +228 -0
  45. package/EphemeralState.mjs.map +1 -0
  46. package/Faucet.d.ts +210 -0
  47. package/Faucet.js +84 -0
  48. package/Faucet.js.map +1 -0
  49. package/Faucet.mjs +47 -0
  50. package/Faucet.mjs.map +1 -0
  51. package/HumanReadableIdentifier.d.ts +30 -0
  52. package/HumanReadableIdentifier.js +61 -0
  53. package/HumanReadableIdentifier.js.map +1 -0
  54. package/HumanReadableIdentifier.mjs +25 -0
  55. package/HumanReadableIdentifier.mjs.map +1 -0
  56. package/InstalledPlugin.d.ts +99 -0
  57. package/InstalledPlugin.js +67 -0
  58. package/InstalledPlugin.js.map +1 -0
  59. package/InstalledPlugin.mjs +30 -0
  60. package/InstalledPlugin.mjs.map +1 -0
  61. package/LoadedConfig.d.ts +2325 -0
  62. package/LoadedConfig.js +80 -0
  63. package/LoadedConfig.js.map +1 -0
  64. package/LoadedConfig.mjs +41 -0
  65. package/LoadedConfig.mjs.map +1 -0
  66. package/MetadataConfig.d.ts +162 -0
  67. package/MetadataConfig.js +75 -0
  68. package/MetadataConfig.js.map +1 -0
  69. package/MetadataConfig.mjs +38 -0
  70. package/MetadataConfig.mjs.map +1 -0
  71. package/NetworkConfig.d.ts +431 -0
  72. package/NetworkConfig.js +77 -0
  73. package/NetworkConfig.js.map +1 -0
  74. package/NetworkConfig.mjs +40 -0
  75. package/NetworkConfig.mjs.map +1 -0
  76. package/Operation.d.ts +1476 -0
  77. package/Operation.js +98 -0
  78. package/Operation.js.map +1 -0
  79. package/Operation.mjs +60 -0
  80. package/Operation.mjs.map +1 -0
  81. package/Option.d.ts +316 -0
  82. package/Option.js +103 -0
  83. package/Option.js.map +1 -0
  84. package/Option.mjs +65 -0
  85. package/Option.mjs.map +1 -0
  86. package/ParsedOperation.d.ts +888 -0
  87. package/ParsedOperation.js +63 -0
  88. package/ParsedOperation.js.map +1 -0
  89. package/ParsedOperation.mjs +26 -0
  90. package/ParsedOperation.mjs.map +1 -0
  91. package/ParsedTemplate.d.ts +1032 -0
  92. package/ParsedTemplate.js +71 -0
  93. package/ParsedTemplate.js.map +1 -0
  94. package/ParsedTemplate.mjs +34 -0
  95. package/ParsedTemplate.mjs.map +1 -0
  96. package/PersistentState.d.ts +581 -0
  97. package/PersistentState.js +98 -0
  98. package/PersistentState.js.map +1 -0
  99. package/PersistentState.mjs +60 -0
  100. package/PersistentState.mjs.map +1 -0
  101. package/PluginActionName.d.ts +23 -0
  102. package/PluginActionName.js +48 -0
  103. package/PluginActionName.js.map +1 -0
  104. package/PluginActionName.mjs +23 -0
  105. package/PluginActionName.mjs.map +1 -0
  106. package/PluginDependenciesResponse.d.ts +158 -0
  107. package/PluginDependenciesResponse.js +63 -0
  108. package/PluginDependenciesResponse.js.map +1 -0
  109. package/PluginDependenciesResponse.mjs +28 -0
  110. package/PluginDependenciesResponse.mjs.map +1 -0
  111. package/PluginInfo.d.ts +3425 -0
  112. package/PluginInfo.js +113 -0
  113. package/PluginInfo.js.map +1 -0
  114. package/PluginInfo.mjs +76 -0
  115. package/PluginInfo.mjs.map +1 -0
  116. package/PluginJsonResponse.d.ts +104 -0
  117. package/PluginJsonResponse.js +59 -0
  118. package/PluginJsonResponse.js.map +1 -0
  119. package/PluginJsonResponse.mjs +25 -0
  120. package/PluginJsonResponse.mjs.map +1 -0
  121. package/PluginProxyResponse.d.ts +23 -0
  122. package/PluginProxyResponse.js +61 -0
  123. package/PluginProxyResponse.js.map +1 -0
  124. package/PluginProxyResponse.mjs +25 -0
  125. package/PluginProxyResponse.mjs.map +1 -0
  126. package/PluginResponseEncoding.d.ts +39 -0
  127. package/PluginResponseEncoding.js +63 -0
  128. package/PluginResponseEncoding.js.map +1 -0
  129. package/PluginResponseEncoding.mjs +27 -0
  130. package/PluginResponseEncoding.mjs.map +1 -0
  131. package/PluginSchema.d.ts +7332 -0
  132. package/PluginSchema.js +107 -0
  133. package/PluginSchema.js.map +1 -0
  134. package/PluginSchema.mjs +70 -0
  135. package/PluginSchema.mjs.map +1 -0
  136. package/PositionalArg.d.ts +190 -0
  137. package/PositionalArg.js +78 -0
  138. package/PositionalArg.js.map +1 -0
  139. package/PositionalArg.mjs +41 -0
  140. package/PositionalArg.mjs.map +1 -0
  141. package/Provisioner.d.ts +276 -0
  142. package/Provisioner.js +86 -0
  143. package/Provisioner.js.map +1 -0
  144. package/Provisioner.mjs +48 -0
  145. package/Provisioner.mjs.map +1 -0
  146. package/ProvisionerID.d.ts +48 -0
  147. package/ProvisionerID.js +61 -0
  148. package/ProvisionerID.js.map +1 -0
  149. package/ProvisionerID.mjs +24 -0
  150. package/ProvisionerID.mjs.map +1 -0
  151. package/Provisions.d.ts +244 -0
  152. package/Provisions.js +93 -0
  153. package/Provisions.js.map +1 -0
  154. package/Provisions.mjs +57 -0
  155. package/Provisions.mjs.map +1 -0
  156. package/PublicKeyHash.d.ts +49 -0
  157. package/PublicKeyHash.js +65 -0
  158. package/PublicKeyHash.js.map +1 -0
  159. package/PublicKeyHash.mjs +28 -0
  160. package/PublicKeyHash.mjs.map +1 -0
  161. package/RequestArgs.d.ts +5557 -0
  162. package/RequestArgs.js +136 -0
  163. package/RequestArgs.js.map +1 -0
  164. package/RequestArgs.mjs +89 -0
  165. package/RequestArgs.mjs.map +1 -0
  166. package/SHA256.d.ts +33 -0
  167. package/SHA256.js +79 -0
  168. package/SHA256.js.map +1 -0
  169. package/SHA256.mjs +42 -0
  170. package/SHA256.mjs.map +1 -0
  171. package/SandboxAccountConfig.d.ts +152 -0
  172. package/SandboxAccountConfig.js +72 -0
  173. package/SandboxAccountConfig.js.map +1 -0
  174. package/SandboxAccountConfig.mjs +35 -0
  175. package/SandboxAccountConfig.mjs.map +1 -0
  176. package/SandboxConfig.d.ts +550 -0
  177. package/SandboxConfig.js +103 -0
  178. package/SandboxConfig.js.map +1 -0
  179. package/SandboxConfig.mjs +66 -0
  180. package/SandboxConfig.mjs.map +1 -0
  181. package/SanitizedAbsPath.d.ts +48 -0
  182. package/SanitizedAbsPath.js +64 -0
  183. package/SanitizedAbsPath.js.map +1 -0
  184. package/SanitizedAbsPath.mjs +27 -0
  185. package/SanitizedAbsPath.mjs.map +1 -0
  186. package/SanitizedArgs.d.ts +2907 -0
  187. package/SanitizedArgs.js +269 -0
  188. package/SanitizedArgs.js.map +1 -0
  189. package/SanitizedArgs.mjs +197 -0
  190. package/SanitizedArgs.mjs.map +1 -0
  191. package/SanitizedPath.d.ts +30 -0
  192. package/SanitizedPath.js +64 -0
  193. package/SanitizedPath.js.map +1 -0
  194. package/SanitizedPath.mjs +28 -0
  195. package/SanitizedPath.mjs.map +1 -0
  196. package/ScaffoldConfig.d.ts +6 -0
  197. package/ScaffoldConfig.js +19 -0
  198. package/ScaffoldConfig.js.map +1 -0
  199. package/ScaffoldConfig.mjs +1 -0
  200. package/ScaffoldConfig.mjs.map +1 -0
  201. package/Settings.d.ts +82 -0
  202. package/Settings.js +66 -0
  203. package/Settings.js.map +1 -0
  204. package/Settings.mjs +29 -0
  205. package/Settings.mjs.map +1 -0
  206. package/SingleChar.d.ts +48 -0
  207. package/SingleChar.js +62 -0
  208. package/SingleChar.js.map +1 -0
  209. package/SingleChar.mjs +25 -0
  210. package/SingleChar.mjs.map +1 -0
  211. package/TaqError.d.ts +24 -0
  212. package/TaqError.js +65 -0
  213. package/TaqError.js.map +1 -0
  214. package/TaqError.mjs +35 -0
  215. package/TaqError.mjs.map +1 -0
  216. package/Task.d.ts +825 -0
  217. package/Task.js +95 -0
  218. package/Task.js.map +1 -0
  219. package/Task.mjs +58 -0
  220. package/Task.mjs.map +1 -0
  221. package/Template.d.ts +1746 -0
  222. package/Template.js +117 -0
  223. package/Template.js.map +1 -0
  224. package/Template.mjs +79 -0
  225. package/Template.mjs.map +1 -0
  226. package/Timestamp.d.ts +51 -0
  227. package/Timestamp.js +65 -0
  228. package/Timestamp.js.map +1 -0
  229. package/Timestamp.mjs +27 -0
  230. package/Timestamp.mjs.map +1 -0
  231. package/Tz.d.ts +47 -0
  232. package/Tz.js +62 -0
  233. package/Tz.js.map +1 -0
  234. package/Tz.mjs +25 -0
  235. package/Tz.mjs.map +1 -0
  236. package/Url.d.ts +49 -0
  237. package/Url.js +68 -0
  238. package/Url.js.map +1 -0
  239. package/Url.mjs +30 -0
  240. package/Url.mjs.map +1 -0
  241. package/Verb.d.ts +48 -0
  242. package/Verb.js +62 -0
  243. package/Verb.js.map +1 -0
  244. package/Verb.mjs +25 -0
  245. package/Verb.mjs.map +1 -0
  246. package/VersionNumber.d.ts +30 -0
  247. package/VersionNumber.js +61 -0
  248. package/VersionNumber.js.map +1 -0
  249. package/VersionNumber.mjs +25 -0
  250. package/VersionNumber.mjs.map +1 -0
  251. package/i18n.d.ts +7 -0
  252. package/i18n.js +96 -0
  253. package/i18n.js.map +1 -0
  254. package/i18n.mjs +67 -0
  255. package/i18n.mjs.map +1 -0
  256. package/package.json +31 -3
  257. package/taqueria-protocol-types.d.ts +72 -0
  258. package/taqueria-protocol-types.js +142 -0
  259. package/taqueria-protocol-types.js.map +1 -0
  260. package/taqueria-protocol-types.mjs +76 -0
  261. package/taqueria-protocol-types.mjs.map +1 -0
  262. package/tzkt-config.d.ts +116 -0
  263. package/tzkt-config.js +65 -0
  264. package/tzkt-config.js.map +1 -0
  265. package/tzkt-config.mjs +28 -0
  266. package/tzkt-config.mjs.map +1 -0
  267. package/Alias.ts +0 -38
  268. package/Base.ts +0 -105
  269. package/Command.ts +0 -26
  270. package/Config.ts +0 -163
  271. package/Contract.ts +0 -35
  272. package/Crypto.ts +0 -3
  273. package/EconomicalProtocolHash.ts +0 -26
  274. package/Environment.ts +0 -40
  275. package/EphemeralState.ts +0 -282
  276. package/Faucet.ts +0 -46
  277. package/HumanReadableIdentifier.ts +0 -26
  278. package/InstalledPlugin.ts +0 -28
  279. package/LoadedConfig.ts +0 -45
  280. package/MetadataConfig.ts +0 -37
  281. package/NetworkConfig.ts +0 -39
  282. package/Operation.ts +0 -70
  283. package/Option.ts +0 -64
  284. package/ParsedOperation.ts +0 -33
  285. package/ParsedTemplate.ts +0 -40
  286. package/PersistentState.ts +0 -69
  287. package/PluginActionName.ts +0 -28
  288. package/PluginDependenciesResponse.ts +0 -33
  289. package/PluginInfo.ts +0 -76
  290. package/PluginJsonResponse.ts +0 -26
  291. package/PluginProxyResponse.ts +0 -24
  292. package/PluginResponseEncoding.ts +0 -27
  293. package/PluginSchema.ts +0 -81
  294. package/PositionalArg.ts +0 -41
  295. package/Provisioner.ts +0 -61
  296. package/ProvisionerID.ts +0 -25
  297. package/Provisions.ts +0 -70
  298. package/PublicKeyHash.ts +0 -28
  299. package/RequestArgs.ts +0 -97
  300. package/SHA256.ts +0 -42
  301. package/SandboxAccountConfig.ts +0 -35
  302. package/SandboxConfig.ts +0 -66
  303. package/SanitizedAbsPath.ts +0 -23
  304. package/SanitizedArgs.ts +0 -213
  305. package/SanitizedPath.ts +0 -28
  306. package/ScaffoldConfig.ts +0 -6
  307. package/Settings.ts +0 -27
  308. package/SingleChar.ts +0 -23
  309. package/TaqError.ts +0 -78
  310. package/Task.ts +0 -57
  311. package/Template.ts +0 -77
  312. package/Timestamp.ts +0 -25
  313. package/Tz.ts +0 -22
  314. package/Url.ts +0 -28
  315. package/Verb.ts +0 -23
  316. package/VersionNumber.ts +0 -25
  317. package/i18n.ts +0 -74
  318. package/taqueria-protocol-types.ts +0 -36
  319. package/tzkt-config.ts +0 -27
@@ -0,0 +1,888 @@
1
+ import * as fluture from 'fluture';
2
+ import { TaqError } from './TaqError.js';
3
+ import * as _taqueria_protocol_Base from '@taqueria/protocol/Base';
4
+ import { z } from 'zod';
5
+
6
+ declare const rawSchema: z.ZodObject<Omit<{
7
+ operation: z.ZodString;
8
+ command: z.ZodString;
9
+ description: z.ZodOptional<z.ZodString>;
10
+ positionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
11
+ placeholder: z.ZodString;
12
+ description: z.ZodString;
13
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
14
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"number">, z.ZodLiteral<"boolean">]>>;
15
+ required: z.ZodOptional<z.ZodBoolean>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ type?: "string" | "number" | "boolean" | undefined;
18
+ defaultValue?: string | number | boolean | undefined;
19
+ required?: boolean | undefined;
20
+ description: string;
21
+ placeholder: string;
22
+ }, {
23
+ type?: "string" | "number" | "boolean" | undefined;
24
+ defaultValue?: string | number | boolean | undefined;
25
+ required?: boolean | undefined;
26
+ description: string;
27
+ placeholder: string;
28
+ }>, "many">>>;
29
+ options: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodObject<{
30
+ shortFlag: z.ZodOptional<z.ZodString>;
31
+ flag: z.ZodString;
32
+ description: z.ZodString;
33
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
34
+ choices: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
35
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
36
+ boolean: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
37
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"number">, z.ZodLiteral<"boolean">]>>;
38
+ }, "strip", z.ZodTypeAny, {
39
+ boolean?: boolean | undefined;
40
+ type?: "string" | "number" | "boolean" | undefined;
41
+ shortFlag?: string | undefined;
42
+ defaultValue?: string | number | boolean | undefined;
43
+ choices?: string[] | undefined;
44
+ required?: boolean | undefined;
45
+ description: string;
46
+ flag: string;
47
+ }, {
48
+ boolean?: boolean | undefined;
49
+ type?: "string" | "number" | "boolean" | undefined;
50
+ shortFlag?: string | undefined;
51
+ defaultValue?: string | number | boolean | undefined;
52
+ choices?: string[] | undefined;
53
+ required?: boolean | undefined;
54
+ description: string;
55
+ flag: string;
56
+ }>, "many">>, {
57
+ boolean?: boolean | undefined;
58
+ type?: "string" | "number" | "boolean" | undefined;
59
+ shortFlag?: string | undefined;
60
+ defaultValue?: string | number | boolean | undefined;
61
+ choices?: string[] | undefined;
62
+ required?: boolean | undefined;
63
+ description: string;
64
+ flag: string;
65
+ }[] | undefined, unknown>;
66
+ handler: z.ZodEffects<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
67
+ operations: z.ZodRecord<z.ZodString, z.ZodObject<{
68
+ hash: z.ZodString;
69
+ time: z.ZodNumber;
70
+ output: z.ZodUnknown;
71
+ }, "strip", z.ZodTypeAny, {
72
+ output?: unknown;
73
+ hash: string;
74
+ time: number;
75
+ }, {
76
+ output?: unknown;
77
+ hash: string;
78
+ time: number;
79
+ }>>;
80
+ tasks: z.ZodRecord<z.ZodString, z.ZodObject<{
81
+ task: z.ZodType<any, z.ZodTypeDef, any>;
82
+ plugin: z.ZodString;
83
+ time: z.ZodNumber;
84
+ output: z.ZodUnknown;
85
+ }, "strip", z.ZodTypeAny, {
86
+ output?: unknown;
87
+ task?: any;
88
+ plugin: string;
89
+ time: number;
90
+ }, {
91
+ output?: unknown;
92
+ task?: any;
93
+ plugin: string;
94
+ time: number;
95
+ }>>;
96
+ }, "strip", z.ZodTypeAny, {
97
+ operations: Record<string, {
98
+ output?: unknown;
99
+ hash: string;
100
+ time: number;
101
+ }>;
102
+ tasks: Record<string, {
103
+ output?: unknown;
104
+ task?: any;
105
+ plugin: string;
106
+ time: number;
107
+ }>;
108
+ }, {
109
+ operations: Record<string, {
110
+ output?: unknown;
111
+ hash: string;
112
+ time: number;
113
+ }>;
114
+ tasks: Record<string, {
115
+ output?: unknown;
116
+ task?: any;
117
+ plugin: string;
118
+ time: number;
119
+ }>;
120
+ }>], z.ZodUnknown>, z.ZodFunction<z.ZodTuple<[z.ZodType<any, z.ZodTypeDef, any>], z.ZodUnknown>, z.ZodUnknown>>, (state: {
121
+ operations: Record<string, {
122
+ output?: unknown;
123
+ hash: string & {
124
+ readonly __kind: any;
125
+ };
126
+ time: number & {
127
+ readonly __kind: any;
128
+ };
129
+ }>;
130
+ tasks: Record<string, {
131
+ output?: unknown;
132
+ plugin: string;
133
+ time: number & {
134
+ readonly __kind: any;
135
+ };
136
+ task: string & {
137
+ readonly __kind: any;
138
+ };
139
+ }>;
140
+ } & {
141
+ readonly __kind: any;
142
+ }) => <T extends {
143
+ plugin?: string | undefined;
144
+ version?: boolean | undefined;
145
+ build?: boolean | undefined;
146
+ help?: boolean | undefined;
147
+ yes?: boolean | undefined;
148
+ quickstart?: string | undefined;
149
+ pluginName?: string | undefined;
150
+ config: _taqueria_protocol_Base.Flatten<{
151
+ language?: "en" | "fr" | undefined;
152
+ contracts?: Record<string, {
153
+ sourceFile: string;
154
+ hash: string & {
155
+ readonly __kind: any;
156
+ };
157
+ }> | undefined;
158
+ network?: Record<string, string | _taqueria_protocol_Base.Flatten<{
159
+ label: string & {
160
+ readonly __kind: any;
161
+ };
162
+ rpcUrl: string & {
163
+ readonly __kind: any;
164
+ };
165
+ protocol: string & {
166
+ readonly __kind: any;
167
+ };
168
+ faucet: _taqueria_protocol_Base.Flatten<{
169
+ pkh: string & {
170
+ readonly __kind: any;
171
+ };
172
+ mnemonic: string[];
173
+ email: string;
174
+ password: string;
175
+ amount: string;
176
+ activation_code: string;
177
+ } & {
178
+ readonly __kind: any;
179
+ }>;
180
+ } & {
181
+ readonly __kind: any;
182
+ }>> | undefined;
183
+ sandbox?: Record<string, string | ({
184
+ attributes?: Record<string, string | number | boolean> | undefined;
185
+ plugin?: (string & {
186
+ readonly __kind: any;
187
+ }) | undefined;
188
+ accounts?: Record<string, string | ({
189
+ encryptedKey: string;
190
+ publicKeyHash: string & {
191
+ readonly __kind: any;
192
+ };
193
+ secretKey: string;
194
+ } & {
195
+ readonly __kind: any;
196
+ })> | undefined;
197
+ tzkt?: {
198
+ disableAutostartWithSandbox: boolean;
199
+ postgresqlPort: number;
200
+ apiPort: number;
201
+ } | undefined;
202
+ label: string & {
203
+ readonly __kind: any;
204
+ };
205
+ rpcUrl: string & {
206
+ readonly __kind: any;
207
+ };
208
+ protocol: string & {
209
+ readonly __kind: any;
210
+ };
211
+ } & {
212
+ readonly __kind: any;
213
+ })> | undefined;
214
+ environment?: Record<string, string | _taqueria_protocol_Base.Flatten<{
215
+ storage?: Record<string, any> | undefined;
216
+ aliases?: Record<string, any> | undefined;
217
+ networks: string[];
218
+ sandboxes: string[];
219
+ } & {
220
+ readonly __kind: any;
221
+ }>> | undefined;
222
+ metadata?: ({
223
+ name?: string | undefined;
224
+ projectDescription?: string | undefined;
225
+ authors?: string[] | undefined;
226
+ license?: string | undefined;
227
+ homepage?: string | undefined;
228
+ } & {
229
+ readonly __kind: any;
230
+ }) | undefined;
231
+ hash: string & {
232
+ readonly __kind: any;
233
+ };
234
+ accounts: Record<string, string | number>;
235
+ plugins: ({
236
+ type: "npm" | "binary" | "deno";
237
+ name: string;
238
+ } & {
239
+ readonly __kind: any;
240
+ })[];
241
+ contractsDir: string;
242
+ artifactsDir: string;
243
+ projectDir: string & {
244
+ readonly __kind: any;
245
+ };
246
+ configFile: string & {
247
+ readonly __kind: any;
248
+ };
249
+ }> & {
250
+ readonly __kind: any;
251
+ };
252
+ debug: boolean;
253
+ fromVsCode: boolean;
254
+ projectDir: string & {
255
+ readonly __kind: any;
256
+ };
257
+ _: (string | number)[];
258
+ maxConcurrency: number;
259
+ disableState: boolean;
260
+ logPluginRequests: boolean;
261
+ env: string;
262
+ setBuild: string;
263
+ setVersion: string;
264
+ taqRun: "pluginInfo" | "proxy" | "checkRuntimeDependencies" | "installRuntimeDependencies" | "proxyTemplate";
265
+ } & {
266
+ readonly __kind: any;
267
+ }>(opts: T) => unknown, (args_0: {
268
+ operations: Record<string, {
269
+ output?: unknown;
270
+ hash: string;
271
+ time: number;
272
+ }>;
273
+ tasks: Record<string, {
274
+ output?: unknown;
275
+ task?: any;
276
+ plugin: string;
277
+ time: number;
278
+ }>;
279
+ }, ...args_1: unknown[]) => (args_0: any, ...args_1: unknown[]) => unknown>;
280
+ }, "handler">, "strip", z.ZodTypeAny, {
281
+ description?: string | undefined;
282
+ options?: {
283
+ boolean?: boolean | undefined;
284
+ type?: "string" | "number" | "boolean" | undefined;
285
+ shortFlag?: string | undefined;
286
+ defaultValue?: string | number | boolean | undefined;
287
+ choices?: string[] | undefined;
288
+ required?: boolean | undefined;
289
+ description: string;
290
+ flag: string;
291
+ }[] | undefined;
292
+ positionals?: {
293
+ type?: "string" | "number" | "boolean" | undefined;
294
+ defaultValue?: string | number | boolean | undefined;
295
+ required?: boolean | undefined;
296
+ description: string;
297
+ placeholder: string;
298
+ }[] | undefined;
299
+ operation: string;
300
+ command: string;
301
+ }, {
302
+ description?: string | undefined;
303
+ options?: unknown;
304
+ positionals?: {
305
+ type?: "string" | "number" | "boolean" | undefined;
306
+ defaultValue?: string | number | boolean | undefined;
307
+ required?: boolean | undefined;
308
+ description: string;
309
+ placeholder: string;
310
+ }[] | undefined;
311
+ operation: string;
312
+ command: string;
313
+ }>;
314
+ declare const generatedSchemas: {
315
+ rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
316
+ internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
317
+ schema: z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
318
+ description?: string | undefined;
319
+ options?: _taqueria_protocol_Base.Flatten<{
320
+ boolean?: boolean | undefined;
321
+ type?: "string" | "number" | "boolean" | undefined;
322
+ shortFlag?: (string & {
323
+ readonly __kind: any;
324
+ }) | undefined;
325
+ defaultValue?: string | number | boolean | undefined;
326
+ choices?: string[] | undefined;
327
+ required?: boolean | undefined;
328
+ description: string;
329
+ flag: string & {
330
+ readonly __kind: any;
331
+ };
332
+ } & {
333
+ readonly __kind: any;
334
+ }>[] | undefined;
335
+ positionals?: ({
336
+ type?: "string" | "number" | "boolean" | undefined;
337
+ defaultValue?: string | number | boolean | undefined;
338
+ required?: boolean | undefined;
339
+ description: string;
340
+ placeholder: string & {
341
+ readonly __kind: any;
342
+ };
343
+ } & {
344
+ readonly __kind: any;
345
+ })[] | undefined;
346
+ operation: string & {
347
+ readonly __kind: any;
348
+ };
349
+ command: string & {
350
+ readonly __kind: any;
351
+ };
352
+ } & {
353
+ readonly __kind: any;
354
+ }, any>;
355
+ };
356
+ declare const factory: {
357
+ make: (input: {
358
+ description?: string | undefined;
359
+ options?: _taqueria_protocol_Base.Flatten<{
360
+ boolean?: boolean | undefined;
361
+ type?: "string" | "number" | "boolean" | undefined;
362
+ shortFlag?: (string & {
363
+ readonly __kind: any;
364
+ }) | undefined;
365
+ defaultValue?: string | number | boolean | undefined;
366
+ choices?: string[] | undefined;
367
+ required?: boolean | undefined;
368
+ description: string;
369
+ flag: string & {
370
+ readonly __kind: any;
371
+ };
372
+ } & {
373
+ readonly __kind: any;
374
+ }>[] | undefined;
375
+ positionals?: ({
376
+ type?: "string" | "number" | "boolean" | undefined;
377
+ defaultValue?: string | number | boolean | undefined;
378
+ required?: boolean | undefined;
379
+ description: string;
380
+ placeholder: string & {
381
+ readonly __kind: any;
382
+ };
383
+ } & {
384
+ readonly __kind: any;
385
+ })[] | undefined;
386
+ operation: string & {
387
+ readonly __kind: any;
388
+ };
389
+ command: string & {
390
+ readonly __kind: any;
391
+ };
392
+ }) => fluture.FutureInstance<TaqError, {
393
+ description?: string | undefined;
394
+ options?: _taqueria_protocol_Base.Flatten<{
395
+ boolean?: boolean | undefined;
396
+ type?: "string" | "number" | "boolean" | undefined;
397
+ shortFlag?: (string & {
398
+ readonly __kind: any;
399
+ }) | undefined;
400
+ defaultValue?: string | number | boolean | undefined;
401
+ choices?: string[] | undefined;
402
+ required?: boolean | undefined;
403
+ description: string;
404
+ flag: string & {
405
+ readonly __kind: any;
406
+ };
407
+ } & {
408
+ readonly __kind: any;
409
+ }>[] | undefined;
410
+ positionals?: ({
411
+ type?: "string" | "number" | "boolean" | undefined;
412
+ defaultValue?: string | number | boolean | undefined;
413
+ required?: boolean | undefined;
414
+ description: string;
415
+ placeholder: string & {
416
+ readonly __kind: any;
417
+ };
418
+ } & {
419
+ readonly __kind: any;
420
+ })[] | undefined;
421
+ operation: string & {
422
+ readonly __kind: any;
423
+ };
424
+ command: string & {
425
+ readonly __kind: any;
426
+ };
427
+ } & {
428
+ readonly __kind: any;
429
+ }>;
430
+ of: (input: unknown) => fluture.FutureInstance<TaqError, {
431
+ description?: string | undefined;
432
+ options?: _taqueria_protocol_Base.Flatten<{
433
+ boolean?: boolean | undefined;
434
+ type?: "string" | "number" | "boolean" | undefined;
435
+ shortFlag?: (string & {
436
+ readonly __kind: any;
437
+ }) | undefined;
438
+ defaultValue?: string | number | boolean | undefined;
439
+ choices?: string[] | undefined;
440
+ required?: boolean | undefined;
441
+ description: string;
442
+ flag: string & {
443
+ readonly __kind: any;
444
+ };
445
+ } & {
446
+ readonly __kind: any;
447
+ }>[] | undefined;
448
+ positionals?: ({
449
+ type?: "string" | "number" | "boolean" | undefined;
450
+ defaultValue?: string | number | boolean | undefined;
451
+ required?: boolean | undefined;
452
+ description: string;
453
+ placeholder: string & {
454
+ readonly __kind: any;
455
+ };
456
+ } & {
457
+ readonly __kind: any;
458
+ })[] | undefined;
459
+ operation: string & {
460
+ readonly __kind: any;
461
+ };
462
+ command: string & {
463
+ readonly __kind: any;
464
+ };
465
+ } & {
466
+ readonly __kind: any;
467
+ }>;
468
+ create: (input: {
469
+ description?: string | undefined;
470
+ options?: _taqueria_protocol_Base.Flatten<{
471
+ boolean?: boolean | undefined;
472
+ type?: "string" | "number" | "boolean" | undefined;
473
+ shortFlag?: (string & {
474
+ readonly __kind: any;
475
+ }) | undefined;
476
+ defaultValue?: string | number | boolean | undefined;
477
+ choices?: string[] | undefined;
478
+ required?: boolean | undefined;
479
+ description: string;
480
+ flag: string & {
481
+ readonly __kind: any;
482
+ };
483
+ } & {
484
+ readonly __kind: any;
485
+ }>[] | undefined;
486
+ positionals?: ({
487
+ type?: "string" | "number" | "boolean" | undefined;
488
+ defaultValue?: string | number | boolean | undefined;
489
+ required?: boolean | undefined;
490
+ description: string;
491
+ placeholder: string & {
492
+ readonly __kind: any;
493
+ };
494
+ } & {
495
+ readonly __kind: any;
496
+ })[] | undefined;
497
+ operation: string & {
498
+ readonly __kind: any;
499
+ };
500
+ command: string & {
501
+ readonly __kind: any;
502
+ };
503
+ } | {
504
+ description?: string | undefined;
505
+ options?: {
506
+ boolean?: boolean | undefined;
507
+ type?: "string" | "number" | "boolean" | undefined;
508
+ shortFlag?: string | undefined;
509
+ defaultValue?: string | number | boolean | undefined;
510
+ choices?: string[] | undefined;
511
+ required?: boolean | undefined;
512
+ description: string;
513
+ flag: string;
514
+ }[] | undefined;
515
+ positionals?: {
516
+ type?: "string" | "number" | "boolean" | undefined;
517
+ defaultValue?: string | number | boolean | undefined;
518
+ required?: boolean | undefined;
519
+ description: string;
520
+ placeholder: string;
521
+ }[] | undefined;
522
+ operation: string;
523
+ command: string;
524
+ }) => {
525
+ description?: string | undefined;
526
+ options?: _taqueria_protocol_Base.Flatten<{
527
+ boolean?: boolean | undefined;
528
+ type?: "string" | "number" | "boolean" | undefined;
529
+ shortFlag?: (string & {
530
+ readonly __kind: any;
531
+ }) | undefined;
532
+ defaultValue?: string | number | boolean | undefined;
533
+ choices?: string[] | undefined;
534
+ required?: boolean | undefined;
535
+ description: string;
536
+ flag: string & {
537
+ readonly __kind: any;
538
+ };
539
+ } & {
540
+ readonly __kind: any;
541
+ }>[] | undefined;
542
+ positionals?: ({
543
+ type?: "string" | "number" | "boolean" | undefined;
544
+ defaultValue?: string | number | boolean | undefined;
545
+ required?: boolean | undefined;
546
+ description: string;
547
+ placeholder: string & {
548
+ readonly __kind: any;
549
+ };
550
+ } & {
551
+ readonly __kind: any;
552
+ })[] | undefined;
553
+ operation: string & {
554
+ readonly __kind: any;
555
+ };
556
+ command: string & {
557
+ readonly __kind: any;
558
+ };
559
+ } & {
560
+ readonly __kind: any;
561
+ };
562
+ from: (input: unknown) => {
563
+ description?: string | undefined;
564
+ options?: _taqueria_protocol_Base.Flatten<{
565
+ boolean?: boolean | undefined;
566
+ type?: "string" | "number" | "boolean" | undefined;
567
+ shortFlag?: (string & {
568
+ readonly __kind: any;
569
+ }) | undefined;
570
+ defaultValue?: string | number | boolean | undefined;
571
+ choices?: string[] | undefined;
572
+ required?: boolean | undefined;
573
+ description: string;
574
+ flag: string & {
575
+ readonly __kind: any;
576
+ };
577
+ } & {
578
+ readonly __kind: any;
579
+ }>[] | undefined;
580
+ positionals?: ({
581
+ type?: "string" | "number" | "boolean" | undefined;
582
+ defaultValue?: string | number | boolean | undefined;
583
+ required?: boolean | undefined;
584
+ description: string;
585
+ placeholder: string & {
586
+ readonly __kind: any;
587
+ };
588
+ } & {
589
+ readonly __kind: any;
590
+ })[] | undefined;
591
+ operation: string & {
592
+ readonly __kind: any;
593
+ };
594
+ command: string & {
595
+ readonly __kind: any;
596
+ };
597
+ } & {
598
+ readonly __kind: any;
599
+ };
600
+ };
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<{
606
+ boolean?: boolean | undefined;
607
+ type?: "string" | "number" | "boolean" | undefined;
608
+ shortFlag?: (string & {
609
+ readonly __kind: any;
610
+ }) | undefined;
611
+ defaultValue?: string | number | boolean | undefined;
612
+ choices?: string[] | undefined;
613
+ required?: boolean | undefined;
614
+ description: string;
615
+ flag: string & {
616
+ readonly __kind: any;
617
+ };
618
+ } & {
619
+ readonly __kind: any;
620
+ }>[] | undefined;
621
+ positionals?: ({
622
+ type?: "string" | "number" | "boolean" | undefined;
623
+ defaultValue?: string | number | boolean | undefined;
624
+ required?: boolean | undefined;
625
+ description: string;
626
+ placeholder: string & {
627
+ readonly __kind: any;
628
+ };
629
+ } & {
630
+ readonly __kind: any;
631
+ })[] | undefined;
632
+ operation: string & {
633
+ readonly __kind: any;
634
+ };
635
+ command: string & {
636
+ readonly __kind: any;
637
+ };
638
+ } | {
639
+ description?: string | undefined;
640
+ options?: {
641
+ boolean?: boolean | undefined;
642
+ type?: "string" | "number" | "boolean" | undefined;
643
+ shortFlag?: string | undefined;
644
+ defaultValue?: string | number | boolean | undefined;
645
+ choices?: string[] | undefined;
646
+ required?: boolean | undefined;
647
+ description: string;
648
+ flag: string;
649
+ }[] | undefined;
650
+ positionals?: {
651
+ type?: "string" | "number" | "boolean" | undefined;
652
+ defaultValue?: string | number | boolean | undefined;
653
+ required?: boolean | undefined;
654
+ description: string;
655
+ placeholder: string;
656
+ }[] | undefined;
657
+ operation: string;
658
+ command: string;
659
+ }) => {
660
+ description?: string | undefined;
661
+ options?: _taqueria_protocol_Base.Flatten<{
662
+ boolean?: boolean | undefined;
663
+ type?: "string" | "number" | "boolean" | undefined;
664
+ shortFlag?: (string & {
665
+ readonly __kind: any;
666
+ }) | undefined;
667
+ defaultValue?: string | number | boolean | undefined;
668
+ choices?: string[] | undefined;
669
+ required?: boolean | undefined;
670
+ description: string;
671
+ flag: string & {
672
+ readonly __kind: any;
673
+ };
674
+ } & {
675
+ readonly __kind: any;
676
+ }>[] | undefined;
677
+ positionals?: ({
678
+ type?: "string" | "number" | "boolean" | undefined;
679
+ defaultValue?: string | number | boolean | undefined;
680
+ required?: boolean | undefined;
681
+ description: string;
682
+ placeholder: string & {
683
+ readonly __kind: any;
684
+ };
685
+ } & {
686
+ readonly __kind: any;
687
+ })[] | undefined;
688
+ operation: string & {
689
+ readonly __kind: any;
690
+ };
691
+ command: string & {
692
+ readonly __kind: any;
693
+ };
694
+ } & {
695
+ readonly __kind: any;
696
+ };
697
+ declare const make: (input: {
698
+ description?: string | undefined;
699
+ options?: _taqueria_protocol_Base.Flatten<{
700
+ boolean?: boolean | undefined;
701
+ type?: "string" | "number" | "boolean" | undefined;
702
+ shortFlag?: (string & {
703
+ readonly __kind: any;
704
+ }) | undefined;
705
+ defaultValue?: string | number | boolean | undefined;
706
+ choices?: string[] | undefined;
707
+ required?: boolean | undefined;
708
+ description: string;
709
+ flag: string & {
710
+ readonly __kind: any;
711
+ };
712
+ } & {
713
+ readonly __kind: any;
714
+ }>[] | undefined;
715
+ positionals?: ({
716
+ type?: "string" | "number" | "boolean" | undefined;
717
+ defaultValue?: string | number | boolean | undefined;
718
+ required?: boolean | undefined;
719
+ description: string;
720
+ placeholder: string & {
721
+ readonly __kind: any;
722
+ };
723
+ } & {
724
+ readonly __kind: any;
725
+ })[] | undefined;
726
+ operation: string & {
727
+ readonly __kind: any;
728
+ };
729
+ command: string & {
730
+ readonly __kind: any;
731
+ };
732
+ }) => fluture.FutureInstance<TaqError, {
733
+ description?: string | undefined;
734
+ options?: _taqueria_protocol_Base.Flatten<{
735
+ boolean?: boolean | undefined;
736
+ type?: "string" | "number" | "boolean" | undefined;
737
+ shortFlag?: (string & {
738
+ readonly __kind: any;
739
+ }) | undefined;
740
+ defaultValue?: string | number | boolean | undefined;
741
+ choices?: string[] | undefined;
742
+ required?: boolean | undefined;
743
+ description: string;
744
+ flag: string & {
745
+ readonly __kind: any;
746
+ };
747
+ } & {
748
+ readonly __kind: any;
749
+ }>[] | undefined;
750
+ positionals?: ({
751
+ type?: "string" | "number" | "boolean" | undefined;
752
+ defaultValue?: string | number | boolean | undefined;
753
+ required?: boolean | undefined;
754
+ description: string;
755
+ placeholder: string & {
756
+ readonly __kind: any;
757
+ };
758
+ } & {
759
+ readonly __kind: any;
760
+ })[] | undefined;
761
+ operation: string & {
762
+ readonly __kind: any;
763
+ };
764
+ command: string & {
765
+ readonly __kind: any;
766
+ };
767
+ } & {
768
+ readonly __kind: any;
769
+ }>;
770
+ declare const of: (input: unknown) => fluture.FutureInstance<TaqError, {
771
+ description?: string | undefined;
772
+ options?: _taqueria_protocol_Base.Flatten<{
773
+ boolean?: boolean | undefined;
774
+ type?: "string" | "number" | "boolean" | undefined;
775
+ shortFlag?: (string & {
776
+ readonly __kind: any;
777
+ }) | undefined;
778
+ defaultValue?: string | number | boolean | undefined;
779
+ choices?: string[] | undefined;
780
+ required?: boolean | undefined;
781
+ description: string;
782
+ flag: string & {
783
+ readonly __kind: any;
784
+ };
785
+ } & {
786
+ readonly __kind: any;
787
+ }>[] | undefined;
788
+ positionals?: ({
789
+ type?: "string" | "number" | "boolean" | undefined;
790
+ defaultValue?: string | number | boolean | undefined;
791
+ required?: boolean | undefined;
792
+ description: string;
793
+ placeholder: string & {
794
+ readonly __kind: any;
795
+ };
796
+ } & {
797
+ readonly __kind: any;
798
+ })[] | undefined;
799
+ operation: string & {
800
+ readonly __kind: any;
801
+ };
802
+ command: string & {
803
+ readonly __kind: any;
804
+ };
805
+ } & {
806
+ readonly __kind: any;
807
+ }>;
808
+ declare const schemas: {
809
+ schema: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
810
+ description?: string | undefined;
811
+ options?: _taqueria_protocol_Base.Flatten<{
812
+ boolean?: boolean | undefined;
813
+ type?: "string" | "number" | "boolean" | undefined;
814
+ shortFlag?: (string & {
815
+ readonly __kind: any;
816
+ }) | undefined;
817
+ defaultValue?: string | number | boolean | undefined;
818
+ choices?: string[] | undefined;
819
+ required?: boolean | undefined;
820
+ description: string;
821
+ flag: string & {
822
+ readonly __kind: any;
823
+ };
824
+ } & {
825
+ readonly __kind: any;
826
+ }>[] | undefined;
827
+ positionals?: ({
828
+ type?: "string" | "number" | "boolean" | undefined;
829
+ defaultValue?: string | number | boolean | undefined;
830
+ required?: boolean | undefined;
831
+ description: string;
832
+ placeholder: string & {
833
+ readonly __kind: any;
834
+ };
835
+ } & {
836
+ readonly __kind: any;
837
+ })[] | undefined;
838
+ operation: string & {
839
+ readonly __kind: any;
840
+ };
841
+ command: string & {
842
+ readonly __kind: any;
843
+ };
844
+ } & {
845
+ readonly __kind: any;
846
+ }, any>, {
847
+ description?: string | undefined;
848
+ options?: _taqueria_protocol_Base.Flatten<{
849
+ boolean?: boolean | undefined;
850
+ type?: "string" | "number" | "boolean" | undefined;
851
+ shortFlag?: (string & {
852
+ readonly __kind: any;
853
+ }) | undefined;
854
+ defaultValue?: string | number | boolean | undefined;
855
+ choices?: string[] | undefined;
856
+ required?: boolean | undefined;
857
+ description: string;
858
+ flag: string & {
859
+ readonly __kind: any;
860
+ };
861
+ } & {
862
+ readonly __kind: any;
863
+ }>[] | undefined;
864
+ positionals?: ({
865
+ type?: "string" | "number" | "boolean" | undefined;
866
+ defaultValue?: string | number | boolean | undefined;
867
+ required?: boolean | undefined;
868
+ description: string;
869
+ placeholder: string & {
870
+ readonly __kind: any;
871
+ };
872
+ } & {
873
+ readonly __kind: any;
874
+ })[] | undefined;
875
+ operation: string & {
876
+ readonly __kind: any;
877
+ };
878
+ command: string & {
879
+ readonly __kind: any;
880
+ };
881
+ } & {
882
+ readonly __kind: any;
883
+ }, any>;
884
+ rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
885
+ internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
886
+ };
887
+
888
+ export { ParsedOperation, create, factory, generatedSchemas, make, of, rawSchema, schemas, t };