@taqueria/protocol 0.14.4 → 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 (318) 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 -63
  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
package/Operation.d.ts ADDED
@@ -0,0 +1,1476 @@
1
+ import * as fluture from 'fluture';
2
+ import { TaqError } from './TaqError.js';
3
+ import { Flatten } from '@taqueria/protocol/Base';
4
+ import * as PersistentState from '@taqueria/protocol/PersistentState';
5
+ import * as RequestArgs from '@taqueria/protocol/RequestArgs';
6
+ import { z } from 'zod';
7
+
8
+ declare type Handler = (state: PersistentState.t) => <T extends RequestArgs.t>(opts: T) => unknown;
9
+ declare const rawSchema: z.ZodObject<{
10
+ operation: z.ZodString;
11
+ command: z.ZodString;
12
+ description: z.ZodOptional<z.ZodString>;
13
+ positionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
14
+ placeholder: z.ZodString;
15
+ description: z.ZodString;
16
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
17
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"number">, z.ZodLiteral<"boolean">]>>;
18
+ required: z.ZodOptional<z.ZodBoolean>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ type?: "string" | "number" | "boolean" | undefined;
21
+ defaultValue?: string | number | boolean | undefined;
22
+ required?: boolean | undefined;
23
+ description: string;
24
+ placeholder: string;
25
+ }, {
26
+ type?: "string" | "number" | "boolean" | undefined;
27
+ defaultValue?: string | number | boolean | undefined;
28
+ required?: boolean | undefined;
29
+ description: string;
30
+ placeholder: string;
31
+ }>, "many">>>;
32
+ options: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodObject<{
33
+ shortFlag: z.ZodOptional<z.ZodString>;
34
+ flag: z.ZodString;
35
+ description: z.ZodString;
36
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
37
+ choices: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
38
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
39
+ boolean: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
40
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"number">, z.ZodLiteral<"boolean">]>>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ boolean?: boolean | undefined;
43
+ type?: "string" | "number" | "boolean" | undefined;
44
+ shortFlag?: string | undefined;
45
+ defaultValue?: string | number | boolean | undefined;
46
+ choices?: string[] | undefined;
47
+ required?: boolean | undefined;
48
+ description: string;
49
+ flag: string;
50
+ }, {
51
+ boolean?: boolean | undefined;
52
+ type?: "string" | "number" | "boolean" | undefined;
53
+ shortFlag?: string | undefined;
54
+ defaultValue?: string | number | boolean | undefined;
55
+ choices?: string[] | undefined;
56
+ required?: boolean | undefined;
57
+ description: string;
58
+ flag: string;
59
+ }>, "many">>, {
60
+ boolean?: boolean | undefined;
61
+ type?: "string" | "number" | "boolean" | undefined;
62
+ shortFlag?: string | undefined;
63
+ defaultValue?: string | number | boolean | undefined;
64
+ choices?: string[] | undefined;
65
+ required?: boolean | undefined;
66
+ description: string;
67
+ flag: string;
68
+ }[] | undefined, unknown>;
69
+ handler: z.ZodEffects<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
70
+ operations: z.ZodRecord<z.ZodString, z.ZodObject<{
71
+ hash: z.ZodString;
72
+ time: z.ZodNumber;
73
+ output: z.ZodUnknown;
74
+ }, "strip", z.ZodTypeAny, {
75
+ output?: unknown;
76
+ hash: string;
77
+ time: number;
78
+ }, {
79
+ output?: unknown;
80
+ hash: string;
81
+ time: number;
82
+ }>>;
83
+ tasks: z.ZodRecord<z.ZodString, z.ZodObject<{
84
+ task: z.ZodType<any, z.ZodTypeDef, any>;
85
+ plugin: z.ZodString;
86
+ time: z.ZodNumber;
87
+ output: z.ZodUnknown;
88
+ }, "strip", z.ZodTypeAny, {
89
+ output?: unknown;
90
+ task?: any;
91
+ plugin: string;
92
+ time: number;
93
+ }, {
94
+ output?: unknown;
95
+ task?: any;
96
+ plugin: string;
97
+ time: number;
98
+ }>>;
99
+ }, "strip", z.ZodTypeAny, {
100
+ operations: Record<string, {
101
+ output?: unknown;
102
+ hash: string;
103
+ time: number;
104
+ }>;
105
+ tasks: Record<string, {
106
+ output?: unknown;
107
+ task?: any;
108
+ plugin: string;
109
+ time: number;
110
+ }>;
111
+ }, {
112
+ operations: Record<string, {
113
+ output?: unknown;
114
+ hash: string;
115
+ time: number;
116
+ }>;
117
+ tasks: Record<string, {
118
+ output?: unknown;
119
+ task?: any;
120
+ plugin: string;
121
+ time: number;
122
+ }>;
123
+ }>], z.ZodUnknown>, z.ZodFunction<z.ZodTuple<[z.ZodType<any, z.ZodTypeDef, any>], z.ZodUnknown>, z.ZodUnknown>>, Handler, (args_0: {
124
+ operations: Record<string, {
125
+ output?: unknown;
126
+ hash: string;
127
+ time: number;
128
+ }>;
129
+ tasks: Record<string, {
130
+ output?: unknown;
131
+ task?: any;
132
+ plugin: string;
133
+ time: number;
134
+ }>;
135
+ }, ...args_1: unknown[]) => (args_0: any, ...args_1: unknown[]) => unknown>;
136
+ }, "strip", z.ZodTypeAny, {
137
+ description?: string | undefined;
138
+ options?: {
139
+ boolean?: boolean | undefined;
140
+ type?: "string" | "number" | "boolean" | undefined;
141
+ shortFlag?: string | undefined;
142
+ defaultValue?: string | number | boolean | undefined;
143
+ choices?: string[] | undefined;
144
+ required?: boolean | undefined;
145
+ description: string;
146
+ flag: string;
147
+ }[] | undefined;
148
+ positionals?: {
149
+ type?: "string" | "number" | "boolean" | undefined;
150
+ defaultValue?: string | number | boolean | undefined;
151
+ required?: boolean | undefined;
152
+ description: string;
153
+ placeholder: string;
154
+ }[] | undefined;
155
+ operation: string;
156
+ command: string;
157
+ handler: Handler;
158
+ }, {
159
+ description?: string | undefined;
160
+ options?: unknown;
161
+ positionals?: {
162
+ type?: "string" | "number" | "boolean" | undefined;
163
+ defaultValue?: string | number | boolean | undefined;
164
+ required?: boolean | undefined;
165
+ description: string;
166
+ placeholder: string;
167
+ }[] | undefined;
168
+ operation: string;
169
+ command: string;
170
+ handler: (args_0: {
171
+ operations: Record<string, {
172
+ output?: unknown;
173
+ hash: string;
174
+ time: number;
175
+ }>;
176
+ tasks: Record<string, {
177
+ output?: unknown;
178
+ task?: any;
179
+ plugin: string;
180
+ time: number;
181
+ }>;
182
+ }, ...args_1: unknown[]) => (args_0: any, ...args_1: unknown[]) => unknown;
183
+ }>;
184
+ declare const internalSchema: z.ZodObject<{
185
+ operation: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
186
+ readonly __kind: any;
187
+ }, any>, string & {
188
+ readonly __kind: any;
189
+ }, any>;
190
+ command: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
191
+ readonly __kind: any;
192
+ }, any>, string & {
193
+ readonly __kind: any;
194
+ }, any>;
195
+ description: z.ZodOptional<z.ZodString>;
196
+ positionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
197
+ type?: "string" | "number" | "boolean" | undefined;
198
+ defaultValue?: string | number | boolean | undefined;
199
+ required?: boolean | undefined;
200
+ description: string;
201
+ placeholder: string & {
202
+ readonly __kind: any;
203
+ };
204
+ } & {
205
+ readonly __kind: any;
206
+ }, any>, {
207
+ type?: "string" | "number" | "boolean" | undefined;
208
+ defaultValue?: string | number | boolean | undefined;
209
+ required?: boolean | undefined;
210
+ description: string;
211
+ placeholder: string & {
212
+ readonly __kind: any;
213
+ };
214
+ } & {
215
+ readonly __kind: any;
216
+ }, any>, "many">>>;
217
+ options: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
218
+ boolean?: boolean | undefined;
219
+ type?: "string" | "number" | "boolean" | undefined;
220
+ shortFlag?: (string & {
221
+ readonly __kind: any;
222
+ }) | undefined;
223
+ defaultValue?: string | number | boolean | undefined;
224
+ choices?: string[] | undefined;
225
+ required?: boolean | undefined;
226
+ description: string;
227
+ flag: string & {
228
+ readonly __kind: any;
229
+ };
230
+ } & {
231
+ readonly __kind: any;
232
+ }, any>, Flatten<{
233
+ boolean?: boolean | undefined;
234
+ type?: "string" | "number" | "boolean" | undefined;
235
+ shortFlag?: (string & {
236
+ readonly __kind: any;
237
+ }) | undefined;
238
+ defaultValue?: string | number | boolean | undefined;
239
+ choices?: string[] | undefined;
240
+ required?: boolean | undefined;
241
+ description: string;
242
+ flag: string & {
243
+ readonly __kind: any;
244
+ };
245
+ } & {
246
+ readonly __kind: any;
247
+ }>, any>, "many">>, Flatten<{
248
+ boolean?: boolean | undefined;
249
+ type?: "string" | "number" | "boolean" | undefined;
250
+ shortFlag?: (string & {
251
+ readonly __kind: any;
252
+ }) | undefined;
253
+ defaultValue?: string | number | boolean | undefined;
254
+ choices?: string[] | undefined;
255
+ required?: boolean | undefined;
256
+ description: string;
257
+ flag: string & {
258
+ readonly __kind: any;
259
+ };
260
+ } & {
261
+ readonly __kind: any;
262
+ }>[] | undefined, unknown>;
263
+ handler: z.ZodEffects<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
264
+ operations: z.ZodRecord<z.ZodString, z.ZodObject<{
265
+ hash: z.ZodString;
266
+ time: z.ZodNumber;
267
+ output: z.ZodUnknown;
268
+ }, "strip", z.ZodTypeAny, {
269
+ output?: unknown;
270
+ hash: string;
271
+ time: number;
272
+ }, {
273
+ output?: unknown;
274
+ hash: string;
275
+ time: number;
276
+ }>>;
277
+ tasks: z.ZodRecord<z.ZodString, z.ZodObject<{
278
+ task: z.ZodType<any, z.ZodTypeDef, any>;
279
+ plugin: z.ZodString;
280
+ time: z.ZodNumber;
281
+ output: z.ZodUnknown;
282
+ }, "strip", z.ZodTypeAny, {
283
+ output?: unknown;
284
+ task?: any;
285
+ plugin: string;
286
+ time: number;
287
+ }, {
288
+ output?: unknown;
289
+ task?: any;
290
+ plugin: string;
291
+ time: number;
292
+ }>>;
293
+ }, "strip", z.ZodTypeAny, {
294
+ operations: Record<string, {
295
+ output?: unknown;
296
+ hash: string;
297
+ time: number;
298
+ }>;
299
+ tasks: Record<string, {
300
+ output?: unknown;
301
+ task?: any;
302
+ plugin: string;
303
+ time: number;
304
+ }>;
305
+ }, {
306
+ operations: Record<string, {
307
+ output?: unknown;
308
+ hash: string;
309
+ time: number;
310
+ }>;
311
+ tasks: Record<string, {
312
+ output?: unknown;
313
+ task?: any;
314
+ plugin: string;
315
+ time: number;
316
+ }>;
317
+ }>], z.ZodUnknown>, z.ZodFunction<z.ZodTuple<[z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
318
+ plugin?: string | undefined;
319
+ version?: boolean | undefined;
320
+ build?: boolean | undefined;
321
+ help?: boolean | undefined;
322
+ yes?: boolean | undefined;
323
+ quickstart?: string | undefined;
324
+ pluginName?: string | undefined;
325
+ config: Flatten<{
326
+ language?: "en" | "fr" | undefined;
327
+ contracts?: Record<string, {
328
+ sourceFile: string;
329
+ hash: string & {
330
+ readonly __kind: any;
331
+ };
332
+ }> | undefined;
333
+ network?: Record<string, string | Flatten<{
334
+ label: string & {
335
+ readonly __kind: any;
336
+ };
337
+ rpcUrl: string & {
338
+ readonly __kind: any;
339
+ };
340
+ protocol: string & {
341
+ readonly __kind: any;
342
+ };
343
+ faucet: Flatten<{
344
+ pkh: string & {
345
+ readonly __kind: any;
346
+ };
347
+ mnemonic: string[];
348
+ email: string;
349
+ password: string;
350
+ amount: string;
351
+ activation_code: string;
352
+ } & {
353
+ readonly __kind: any;
354
+ }>;
355
+ } & {
356
+ readonly __kind: any;
357
+ }>> | undefined;
358
+ sandbox?: Record<string, string | ({
359
+ attributes?: Record<string, string | number | boolean> | undefined;
360
+ plugin?: (string & {
361
+ readonly __kind: any;
362
+ }) | undefined;
363
+ accounts?: Record<string, string | ({
364
+ encryptedKey: string;
365
+ publicKeyHash: string & {
366
+ readonly __kind: any;
367
+ };
368
+ secretKey: string;
369
+ } & {
370
+ readonly __kind: any;
371
+ })> | undefined;
372
+ tzkt?: {
373
+ disableAutostartWithSandbox: boolean;
374
+ postgresqlPort: number;
375
+ apiPort: number;
376
+ } | undefined;
377
+ label: string & {
378
+ readonly __kind: any;
379
+ };
380
+ rpcUrl: string & {
381
+ readonly __kind: any;
382
+ };
383
+ protocol: string & {
384
+ readonly __kind: any;
385
+ };
386
+ } & {
387
+ readonly __kind: any;
388
+ })> | undefined;
389
+ environment?: Record<string, string | Flatten<{
390
+ storage?: Record<string, any> | undefined;
391
+ aliases?: Record<string, any> | undefined;
392
+ networks: string[];
393
+ sandboxes: string[];
394
+ } & {
395
+ readonly __kind: any;
396
+ }>> | undefined;
397
+ metadata?: ({
398
+ name?: string | undefined;
399
+ projectDescription?: string | undefined;
400
+ authors?: string[] | undefined;
401
+ license?: string | undefined;
402
+ homepage?: string | undefined;
403
+ } & {
404
+ readonly __kind: any;
405
+ }) | undefined;
406
+ hash: string & {
407
+ readonly __kind: any;
408
+ };
409
+ accounts: Record<string, string | number>;
410
+ plugins: ({
411
+ type: "npm" | "binary" | "deno";
412
+ name: string;
413
+ } & {
414
+ readonly __kind: any;
415
+ })[];
416
+ contractsDir: string;
417
+ artifactsDir: string;
418
+ projectDir: string & {
419
+ readonly __kind: any;
420
+ };
421
+ configFile: string & {
422
+ readonly __kind: any;
423
+ };
424
+ }> & {
425
+ readonly __kind: any;
426
+ };
427
+ debug: boolean;
428
+ fromVsCode: boolean;
429
+ projectDir: string & {
430
+ readonly __kind: any;
431
+ };
432
+ _: (string | number)[];
433
+ maxConcurrency: number;
434
+ disableState: boolean;
435
+ logPluginRequests: boolean;
436
+ env: string;
437
+ setBuild: string;
438
+ setVersion: string;
439
+ taqRun: "pluginInfo" | "proxy" | "checkRuntimeDependencies" | "installRuntimeDependencies" | "proxyTemplate";
440
+ } & {
441
+ readonly __kind: any;
442
+ }, any>, {
443
+ plugin?: string | undefined;
444
+ version?: boolean | undefined;
445
+ build?: boolean | undefined;
446
+ help?: boolean | undefined;
447
+ yes?: boolean | undefined;
448
+ quickstart?: string | undefined;
449
+ pluginName?: string | undefined;
450
+ config: Flatten<{
451
+ language?: "en" | "fr" | undefined;
452
+ contracts?: Record<string, {
453
+ sourceFile: string;
454
+ hash: string & {
455
+ readonly __kind: any;
456
+ };
457
+ }> | undefined;
458
+ network?: Record<string, string | Flatten<{
459
+ label: string & {
460
+ readonly __kind: any;
461
+ };
462
+ rpcUrl: string & {
463
+ readonly __kind: any;
464
+ };
465
+ protocol: string & {
466
+ readonly __kind: any;
467
+ };
468
+ faucet: Flatten<{
469
+ pkh: string & {
470
+ readonly __kind: any;
471
+ };
472
+ mnemonic: string[];
473
+ email: string;
474
+ password: string;
475
+ amount: string;
476
+ activation_code: string;
477
+ } & {
478
+ readonly __kind: any;
479
+ }>;
480
+ } & {
481
+ readonly __kind: any;
482
+ }>> | undefined;
483
+ sandbox?: Record<string, string | ({
484
+ attributes?: Record<string, string | number | boolean> | undefined;
485
+ plugin?: (string & {
486
+ readonly __kind: any;
487
+ }) | undefined;
488
+ accounts?: Record<string, string | ({
489
+ encryptedKey: string;
490
+ publicKeyHash: string & {
491
+ readonly __kind: any;
492
+ };
493
+ secretKey: string;
494
+ } & {
495
+ readonly __kind: any;
496
+ })> | undefined;
497
+ tzkt?: {
498
+ disableAutostartWithSandbox: boolean;
499
+ postgresqlPort: number;
500
+ apiPort: number;
501
+ } | undefined;
502
+ label: string & {
503
+ readonly __kind: any;
504
+ };
505
+ rpcUrl: string & {
506
+ readonly __kind: any;
507
+ };
508
+ protocol: string & {
509
+ readonly __kind: any;
510
+ };
511
+ } & {
512
+ readonly __kind: any;
513
+ })> | undefined;
514
+ environment?: Record<string, string | Flatten<{
515
+ storage?: Record<string, any> | undefined;
516
+ aliases?: Record<string, any> | undefined;
517
+ networks: string[];
518
+ sandboxes: string[];
519
+ } & {
520
+ readonly __kind: any;
521
+ }>> | undefined;
522
+ metadata?: ({
523
+ name?: string | undefined;
524
+ projectDescription?: string | undefined;
525
+ authors?: string[] | undefined;
526
+ license?: string | undefined;
527
+ homepage?: string | undefined;
528
+ } & {
529
+ readonly __kind: any;
530
+ }) | undefined;
531
+ hash: string & {
532
+ readonly __kind: any;
533
+ };
534
+ accounts: Record<string, string | number>;
535
+ plugins: ({
536
+ type: "npm" | "binary" | "deno";
537
+ name: string;
538
+ } & {
539
+ readonly __kind: any;
540
+ })[];
541
+ contractsDir: string;
542
+ artifactsDir: string;
543
+ projectDir: string & {
544
+ readonly __kind: any;
545
+ };
546
+ configFile: string & {
547
+ readonly __kind: any;
548
+ };
549
+ }> & {
550
+ readonly __kind: any;
551
+ };
552
+ debug: boolean;
553
+ fromVsCode: boolean;
554
+ projectDir: string & {
555
+ readonly __kind: any;
556
+ };
557
+ _: (string | number)[];
558
+ maxConcurrency: number;
559
+ disableState: boolean;
560
+ logPluginRequests: boolean;
561
+ env: string;
562
+ setBuild: string;
563
+ setVersion: string;
564
+ taqRun: "pluginInfo" | "proxy" | "checkRuntimeDependencies" | "installRuntimeDependencies" | "proxyTemplate";
565
+ } & {
566
+ readonly __kind: any;
567
+ }, any>], z.ZodUnknown>, z.ZodUnknown>>, Handler, (args_0: {
568
+ operations: Record<string, {
569
+ output?: unknown;
570
+ hash: string;
571
+ time: number;
572
+ }>;
573
+ tasks: Record<string, {
574
+ output?: unknown;
575
+ task?: any;
576
+ plugin: string;
577
+ time: number;
578
+ }>;
579
+ }, ...args_1: unknown[]) => (args_0: {
580
+ plugin?: string | undefined;
581
+ version?: boolean | undefined;
582
+ build?: boolean | undefined;
583
+ help?: boolean | undefined;
584
+ yes?: boolean | undefined;
585
+ quickstart?: string | undefined;
586
+ pluginName?: string | undefined;
587
+ config: Flatten<{
588
+ language?: "en" | "fr" | undefined;
589
+ contracts?: Record<string, {
590
+ sourceFile: string;
591
+ hash: string & {
592
+ readonly __kind: any;
593
+ };
594
+ }> | undefined;
595
+ network?: Record<string, string | Flatten<{
596
+ label: string & {
597
+ readonly __kind: any;
598
+ };
599
+ rpcUrl: string & {
600
+ readonly __kind: any;
601
+ };
602
+ protocol: string & {
603
+ readonly __kind: any;
604
+ };
605
+ faucet: Flatten<{
606
+ pkh: string & {
607
+ readonly __kind: any;
608
+ };
609
+ mnemonic: string[];
610
+ email: string;
611
+ password: string;
612
+ amount: string;
613
+ activation_code: string;
614
+ } & {
615
+ readonly __kind: any;
616
+ }>;
617
+ } & {
618
+ readonly __kind: any;
619
+ }>> | undefined;
620
+ sandbox?: Record<string, string | ({
621
+ attributes?: Record<string, string | number | boolean> | undefined;
622
+ plugin?: (string & {
623
+ readonly __kind: any;
624
+ }) | undefined;
625
+ accounts?: Record<string, string | ({
626
+ encryptedKey: string;
627
+ publicKeyHash: string & {
628
+ readonly __kind: any;
629
+ };
630
+ secretKey: string;
631
+ } & {
632
+ readonly __kind: any;
633
+ })> | undefined;
634
+ tzkt?: {
635
+ disableAutostartWithSandbox: boolean;
636
+ postgresqlPort: number;
637
+ apiPort: number;
638
+ } | undefined;
639
+ label: string & {
640
+ readonly __kind: any;
641
+ };
642
+ rpcUrl: string & {
643
+ readonly __kind: any;
644
+ };
645
+ protocol: string & {
646
+ readonly __kind: any;
647
+ };
648
+ } & {
649
+ readonly __kind: any;
650
+ })> | undefined;
651
+ environment?: Record<string, string | Flatten<{
652
+ storage?: Record<string, any> | undefined;
653
+ aliases?: Record<string, any> | undefined;
654
+ networks: string[];
655
+ sandboxes: string[];
656
+ } & {
657
+ readonly __kind: any;
658
+ }>> | undefined;
659
+ metadata?: ({
660
+ name?: string | undefined;
661
+ projectDescription?: string | undefined;
662
+ authors?: string[] | undefined;
663
+ license?: string | undefined;
664
+ homepage?: string | undefined;
665
+ } & {
666
+ readonly __kind: any;
667
+ }) | undefined;
668
+ hash: string & {
669
+ readonly __kind: any;
670
+ };
671
+ accounts: Record<string, string | number>;
672
+ plugins: ({
673
+ type: "npm" | "binary" | "deno";
674
+ name: string;
675
+ } & {
676
+ readonly __kind: any;
677
+ })[];
678
+ contractsDir: string;
679
+ artifactsDir: string;
680
+ projectDir: string & {
681
+ readonly __kind: any;
682
+ };
683
+ configFile: string & {
684
+ readonly __kind: any;
685
+ };
686
+ }> & {
687
+ readonly __kind: any;
688
+ };
689
+ debug: boolean;
690
+ fromVsCode: boolean;
691
+ projectDir: string & {
692
+ readonly __kind: any;
693
+ };
694
+ _: (string | number)[];
695
+ maxConcurrency: number;
696
+ disableState: boolean;
697
+ logPluginRequests: boolean;
698
+ env: string;
699
+ setBuild: string;
700
+ setVersion: string;
701
+ taqRun: "pluginInfo" | "proxy" | "checkRuntimeDependencies" | "installRuntimeDependencies" | "proxyTemplate";
702
+ } & {
703
+ readonly __kind: any;
704
+ }, ...args_1: unknown[]) => unknown>;
705
+ }, "strip", z.ZodTypeAny, {
706
+ description?: string | undefined;
707
+ options?: Flatten<{
708
+ boolean?: boolean | undefined;
709
+ type?: "string" | "number" | "boolean" | undefined;
710
+ shortFlag?: (string & {
711
+ readonly __kind: any;
712
+ }) | undefined;
713
+ defaultValue?: string | number | boolean | undefined;
714
+ choices?: string[] | undefined;
715
+ required?: boolean | undefined;
716
+ description: string;
717
+ flag: string & {
718
+ readonly __kind: any;
719
+ };
720
+ } & {
721
+ readonly __kind: any;
722
+ }>[] | undefined;
723
+ positionals?: ({
724
+ type?: "string" | "number" | "boolean" | undefined;
725
+ defaultValue?: string | number | boolean | undefined;
726
+ required?: boolean | undefined;
727
+ description: string;
728
+ placeholder: string & {
729
+ readonly __kind: any;
730
+ };
731
+ } & {
732
+ readonly __kind: any;
733
+ })[] | undefined;
734
+ operation: string & {
735
+ readonly __kind: any;
736
+ };
737
+ command: string & {
738
+ readonly __kind: any;
739
+ };
740
+ handler: Handler;
741
+ }, {
742
+ description?: string | undefined;
743
+ options?: unknown;
744
+ operation?: any;
745
+ command?: any;
746
+ positionals?: any[] | undefined;
747
+ handler: (args_0: {
748
+ operations: Record<string, {
749
+ output?: unknown;
750
+ hash: string;
751
+ time: number;
752
+ }>;
753
+ tasks: Record<string, {
754
+ output?: unknown;
755
+ task?: any;
756
+ plugin: string;
757
+ time: number;
758
+ }>;
759
+ }, ...args_1: unknown[]) => (args_0: {
760
+ plugin?: string | undefined;
761
+ version?: boolean | undefined;
762
+ build?: boolean | undefined;
763
+ help?: boolean | undefined;
764
+ yes?: boolean | undefined;
765
+ quickstart?: string | undefined;
766
+ pluginName?: string | undefined;
767
+ config: Flatten<{
768
+ language?: "en" | "fr" | undefined;
769
+ contracts?: Record<string, {
770
+ sourceFile: string;
771
+ hash: string & {
772
+ readonly __kind: any;
773
+ };
774
+ }> | undefined;
775
+ network?: Record<string, string | Flatten<{
776
+ label: string & {
777
+ readonly __kind: any;
778
+ };
779
+ rpcUrl: string & {
780
+ readonly __kind: any;
781
+ };
782
+ protocol: string & {
783
+ readonly __kind: any;
784
+ };
785
+ faucet: Flatten<{
786
+ pkh: string & {
787
+ readonly __kind: any;
788
+ };
789
+ mnemonic: string[];
790
+ email: string;
791
+ password: string;
792
+ amount: string;
793
+ activation_code: string;
794
+ } & {
795
+ readonly __kind: any;
796
+ }>;
797
+ } & {
798
+ readonly __kind: any;
799
+ }>> | undefined;
800
+ sandbox?: Record<string, string | ({
801
+ attributes?: Record<string, string | number | boolean> | undefined;
802
+ plugin?: (string & {
803
+ readonly __kind: any;
804
+ }) | undefined;
805
+ accounts?: Record<string, string | ({
806
+ encryptedKey: string;
807
+ publicKeyHash: string & {
808
+ readonly __kind: any;
809
+ };
810
+ secretKey: string;
811
+ } & {
812
+ readonly __kind: any;
813
+ })> | undefined;
814
+ tzkt?: {
815
+ disableAutostartWithSandbox: boolean;
816
+ postgresqlPort: number;
817
+ apiPort: number;
818
+ } | undefined;
819
+ label: string & {
820
+ readonly __kind: any;
821
+ };
822
+ rpcUrl: string & {
823
+ readonly __kind: any;
824
+ };
825
+ protocol: string & {
826
+ readonly __kind: any;
827
+ };
828
+ } & {
829
+ readonly __kind: any;
830
+ })> | undefined;
831
+ environment?: Record<string, string | Flatten<{
832
+ storage?: Record<string, any> | undefined;
833
+ aliases?: Record<string, any> | undefined;
834
+ networks: string[];
835
+ sandboxes: string[];
836
+ } & {
837
+ readonly __kind: any;
838
+ }>> | undefined;
839
+ metadata?: ({
840
+ name?: string | undefined;
841
+ projectDescription?: string | undefined;
842
+ authors?: string[] | undefined;
843
+ license?: string | undefined;
844
+ homepage?: string | undefined;
845
+ } & {
846
+ readonly __kind: any;
847
+ }) | undefined;
848
+ hash: string & {
849
+ readonly __kind: any;
850
+ };
851
+ accounts: Record<string, string | number>;
852
+ plugins: ({
853
+ type: "npm" | "binary" | "deno";
854
+ name: string;
855
+ } & {
856
+ readonly __kind: any;
857
+ })[];
858
+ contractsDir: string;
859
+ artifactsDir: string;
860
+ projectDir: string & {
861
+ readonly __kind: any;
862
+ };
863
+ configFile: string & {
864
+ readonly __kind: any;
865
+ };
866
+ }> & {
867
+ readonly __kind: any;
868
+ };
869
+ debug: boolean;
870
+ fromVsCode: boolean;
871
+ projectDir: string & {
872
+ readonly __kind: any;
873
+ };
874
+ _: (string | number)[];
875
+ maxConcurrency: number;
876
+ disableState: boolean;
877
+ logPluginRequests: boolean;
878
+ env: string;
879
+ setBuild: string;
880
+ setVersion: string;
881
+ taqRun: "pluginInfo" | "proxy" | "checkRuntimeDependencies" | "installRuntimeDependencies" | "proxyTemplate";
882
+ } & {
883
+ readonly __kind: any;
884
+ }, ...args_1: unknown[]) => unknown;
885
+ }>;
886
+ declare const generatedSchemas: {
887
+ rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
888
+ internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
889
+ schema: z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, Flatten<{
890
+ description?: string | undefined;
891
+ options?: Flatten<{
892
+ boolean?: boolean | undefined;
893
+ type?: "string" | "number" | "boolean" | undefined;
894
+ shortFlag?: (string & {
895
+ readonly __kind: any;
896
+ }) | undefined;
897
+ defaultValue?: string | number | boolean | undefined;
898
+ choices?: string[] | undefined;
899
+ required?: boolean | undefined;
900
+ description: string;
901
+ flag: string & {
902
+ readonly __kind: any;
903
+ };
904
+ } & {
905
+ readonly __kind: any;
906
+ }>[] | undefined;
907
+ positionals?: ({
908
+ type?: "string" | "number" | "boolean" | undefined;
909
+ defaultValue?: string | number | boolean | undefined;
910
+ required?: boolean | undefined;
911
+ description: string;
912
+ placeholder: string & {
913
+ readonly __kind: any;
914
+ };
915
+ } & {
916
+ readonly __kind: any;
917
+ })[] | undefined;
918
+ operation: string & {
919
+ readonly __kind: any;
920
+ };
921
+ command: string & {
922
+ readonly __kind: any;
923
+ };
924
+ handler: Handler;
925
+ }> & {
926
+ readonly __kind: any;
927
+ }, any>;
928
+ };
929
+ declare const factory: {
930
+ make: (input: Flatten<{
931
+ description?: string | undefined;
932
+ options?: Flatten<{
933
+ boolean?: boolean | undefined;
934
+ type?: "string" | "number" | "boolean" | undefined;
935
+ shortFlag?: (string & {
936
+ readonly __kind: any;
937
+ }) | undefined;
938
+ defaultValue?: string | number | boolean | undefined;
939
+ choices?: string[] | undefined;
940
+ required?: boolean | undefined;
941
+ description: string;
942
+ flag: string & {
943
+ readonly __kind: any;
944
+ };
945
+ } & {
946
+ readonly __kind: any;
947
+ }>[] | undefined;
948
+ positionals?: ({
949
+ type?: "string" | "number" | "boolean" | undefined;
950
+ defaultValue?: string | number | boolean | undefined;
951
+ required?: boolean | undefined;
952
+ description: string;
953
+ placeholder: string & {
954
+ readonly __kind: any;
955
+ };
956
+ } & {
957
+ readonly __kind: any;
958
+ })[] | undefined;
959
+ operation: string & {
960
+ readonly __kind: any;
961
+ };
962
+ command: string & {
963
+ readonly __kind: any;
964
+ };
965
+ handler: Handler;
966
+ }>) => fluture.FutureInstance<TaqError, Flatten<{
967
+ description?: string | undefined;
968
+ options?: Flatten<{
969
+ boolean?: boolean | undefined;
970
+ type?: "string" | "number" | "boolean" | undefined;
971
+ shortFlag?: (string & {
972
+ readonly __kind: any;
973
+ }) | undefined;
974
+ defaultValue?: string | number | boolean | undefined;
975
+ choices?: string[] | undefined;
976
+ required?: boolean | undefined;
977
+ description: string;
978
+ flag: string & {
979
+ readonly __kind: any;
980
+ };
981
+ } & {
982
+ readonly __kind: any;
983
+ }>[] | undefined;
984
+ positionals?: ({
985
+ type?: "string" | "number" | "boolean" | undefined;
986
+ defaultValue?: string | number | boolean | undefined;
987
+ required?: boolean | undefined;
988
+ description: string;
989
+ placeholder: string & {
990
+ readonly __kind: any;
991
+ };
992
+ } & {
993
+ readonly __kind: any;
994
+ })[] | undefined;
995
+ operation: string & {
996
+ readonly __kind: any;
997
+ };
998
+ command: string & {
999
+ readonly __kind: any;
1000
+ };
1001
+ handler: Handler;
1002
+ }> & {
1003
+ readonly __kind: any;
1004
+ }>;
1005
+ of: (input: unknown) => fluture.FutureInstance<TaqError, Flatten<{
1006
+ description?: string | undefined;
1007
+ options?: Flatten<{
1008
+ boolean?: boolean | undefined;
1009
+ type?: "string" | "number" | "boolean" | undefined;
1010
+ shortFlag?: (string & {
1011
+ readonly __kind: any;
1012
+ }) | undefined;
1013
+ defaultValue?: string | number | boolean | undefined;
1014
+ choices?: string[] | undefined;
1015
+ required?: boolean | undefined;
1016
+ description: string;
1017
+ flag: string & {
1018
+ readonly __kind: any;
1019
+ };
1020
+ } & {
1021
+ readonly __kind: any;
1022
+ }>[] | undefined;
1023
+ positionals?: ({
1024
+ type?: "string" | "number" | "boolean" | undefined;
1025
+ defaultValue?: string | number | boolean | undefined;
1026
+ required?: boolean | undefined;
1027
+ description: string;
1028
+ placeholder: string & {
1029
+ readonly __kind: any;
1030
+ };
1031
+ } & {
1032
+ readonly __kind: any;
1033
+ })[] | undefined;
1034
+ operation: string & {
1035
+ readonly __kind: any;
1036
+ };
1037
+ command: string & {
1038
+ readonly __kind: any;
1039
+ };
1040
+ handler: Handler;
1041
+ }> & {
1042
+ readonly __kind: any;
1043
+ }>;
1044
+ create: (input: {
1045
+ description?: string | undefined;
1046
+ options?: {
1047
+ boolean?: boolean | undefined;
1048
+ type?: "string" | "number" | "boolean" | undefined;
1049
+ shortFlag?: string | undefined;
1050
+ defaultValue?: string | number | boolean | undefined;
1051
+ choices?: string[] | undefined;
1052
+ required?: boolean | undefined;
1053
+ description: string;
1054
+ flag: string;
1055
+ }[] | undefined;
1056
+ positionals?: {
1057
+ type?: "string" | "number" | "boolean" | undefined;
1058
+ defaultValue?: string | number | boolean | undefined;
1059
+ required?: boolean | undefined;
1060
+ description: string;
1061
+ placeholder: string;
1062
+ }[] | undefined;
1063
+ operation: string;
1064
+ command: string;
1065
+ handler: Handler;
1066
+ } | Flatten<{
1067
+ description?: string | undefined;
1068
+ options?: Flatten<{
1069
+ boolean?: boolean | undefined;
1070
+ type?: "string" | "number" | "boolean" | undefined;
1071
+ shortFlag?: (string & {
1072
+ readonly __kind: any;
1073
+ }) | undefined;
1074
+ defaultValue?: string | number | boolean | undefined;
1075
+ choices?: string[] | undefined;
1076
+ required?: boolean | undefined;
1077
+ description: string;
1078
+ flag: string & {
1079
+ readonly __kind: any;
1080
+ };
1081
+ } & {
1082
+ readonly __kind: any;
1083
+ }>[] | undefined;
1084
+ positionals?: ({
1085
+ type?: "string" | "number" | "boolean" | undefined;
1086
+ defaultValue?: string | number | boolean | undefined;
1087
+ required?: boolean | undefined;
1088
+ description: string;
1089
+ placeholder: string & {
1090
+ readonly __kind: any;
1091
+ };
1092
+ } & {
1093
+ readonly __kind: any;
1094
+ })[] | undefined;
1095
+ operation: string & {
1096
+ readonly __kind: any;
1097
+ };
1098
+ command: string & {
1099
+ readonly __kind: any;
1100
+ };
1101
+ handler: Handler;
1102
+ }>) => Flatten<{
1103
+ description?: string | undefined;
1104
+ options?: Flatten<{
1105
+ boolean?: boolean | undefined;
1106
+ type?: "string" | "number" | "boolean" | undefined;
1107
+ shortFlag?: (string & {
1108
+ readonly __kind: any;
1109
+ }) | undefined;
1110
+ defaultValue?: string | number | boolean | undefined;
1111
+ choices?: string[] | undefined;
1112
+ required?: boolean | undefined;
1113
+ description: string;
1114
+ flag: string & {
1115
+ readonly __kind: any;
1116
+ };
1117
+ } & {
1118
+ readonly __kind: any;
1119
+ }>[] | undefined;
1120
+ positionals?: ({
1121
+ type?: "string" | "number" | "boolean" | undefined;
1122
+ defaultValue?: string | number | boolean | undefined;
1123
+ required?: boolean | undefined;
1124
+ description: string;
1125
+ placeholder: string & {
1126
+ readonly __kind: any;
1127
+ };
1128
+ } & {
1129
+ readonly __kind: any;
1130
+ })[] | undefined;
1131
+ operation: string & {
1132
+ readonly __kind: any;
1133
+ };
1134
+ command: string & {
1135
+ readonly __kind: any;
1136
+ };
1137
+ handler: Handler;
1138
+ }> & {
1139
+ readonly __kind: any;
1140
+ };
1141
+ from: (input: unknown) => Flatten<{
1142
+ description?: string | undefined;
1143
+ options?: Flatten<{
1144
+ boolean?: boolean | undefined;
1145
+ type?: "string" | "number" | "boolean" | undefined;
1146
+ shortFlag?: (string & {
1147
+ readonly __kind: any;
1148
+ }) | undefined;
1149
+ defaultValue?: string | number | boolean | undefined;
1150
+ choices?: string[] | undefined;
1151
+ required?: boolean | undefined;
1152
+ description: string;
1153
+ flag: string & {
1154
+ readonly __kind: any;
1155
+ };
1156
+ } & {
1157
+ readonly __kind: any;
1158
+ }>[] | undefined;
1159
+ positionals?: ({
1160
+ type?: "string" | "number" | "boolean" | undefined;
1161
+ defaultValue?: string | number | boolean | undefined;
1162
+ required?: boolean | undefined;
1163
+ description: string;
1164
+ placeholder: string & {
1165
+ readonly __kind: any;
1166
+ };
1167
+ } & {
1168
+ readonly __kind: any;
1169
+ })[] | undefined;
1170
+ operation: string & {
1171
+ readonly __kind: any;
1172
+ };
1173
+ command: string & {
1174
+ readonly __kind: any;
1175
+ };
1176
+ handler: Handler;
1177
+ }> & {
1178
+ readonly __kind: any;
1179
+ };
1180
+ };
1181
+ declare type Operation = Flatten<z.infer<typeof generatedSchemas.schema>>;
1182
+ declare type t = Operation;
1183
+ declare const make: (input: Flatten<{
1184
+ description?: string | undefined;
1185
+ options?: Flatten<{
1186
+ boolean?: boolean | undefined;
1187
+ type?: "string" | "number" | "boolean" | undefined;
1188
+ shortFlag?: (string & {
1189
+ readonly __kind: any;
1190
+ }) | undefined;
1191
+ defaultValue?: string | number | boolean | undefined;
1192
+ choices?: string[] | undefined;
1193
+ required?: boolean | undefined;
1194
+ description: string;
1195
+ flag: string & {
1196
+ readonly __kind: any;
1197
+ };
1198
+ } & {
1199
+ readonly __kind: any;
1200
+ }>[] | undefined;
1201
+ positionals?: ({
1202
+ type?: "string" | "number" | "boolean" | undefined;
1203
+ defaultValue?: string | number | boolean | undefined;
1204
+ required?: boolean | undefined;
1205
+ description: string;
1206
+ placeholder: string & {
1207
+ readonly __kind: any;
1208
+ };
1209
+ } & {
1210
+ readonly __kind: any;
1211
+ })[] | undefined;
1212
+ operation: string & {
1213
+ readonly __kind: any;
1214
+ };
1215
+ command: string & {
1216
+ readonly __kind: any;
1217
+ };
1218
+ handler: Handler;
1219
+ }>) => fluture.FutureInstance<TaqError, Flatten<{
1220
+ description?: string | undefined;
1221
+ options?: Flatten<{
1222
+ boolean?: boolean | undefined;
1223
+ type?: "string" | "number" | "boolean" | undefined;
1224
+ shortFlag?: (string & {
1225
+ readonly __kind: any;
1226
+ }) | undefined;
1227
+ defaultValue?: string | number | boolean | undefined;
1228
+ choices?: string[] | undefined;
1229
+ required?: boolean | undefined;
1230
+ description: string;
1231
+ flag: string & {
1232
+ readonly __kind: any;
1233
+ };
1234
+ } & {
1235
+ readonly __kind: any;
1236
+ }>[] | undefined;
1237
+ positionals?: ({
1238
+ type?: "string" | "number" | "boolean" | undefined;
1239
+ defaultValue?: string | number | boolean | undefined;
1240
+ required?: boolean | undefined;
1241
+ description: string;
1242
+ placeholder: string & {
1243
+ readonly __kind: any;
1244
+ };
1245
+ } & {
1246
+ readonly __kind: any;
1247
+ })[] | undefined;
1248
+ operation: string & {
1249
+ readonly __kind: any;
1250
+ };
1251
+ command: string & {
1252
+ readonly __kind: any;
1253
+ };
1254
+ handler: Handler;
1255
+ }> & {
1256
+ readonly __kind: any;
1257
+ }>;
1258
+ declare const of: (input: unknown) => fluture.FutureInstance<TaqError, Flatten<{
1259
+ description?: string | undefined;
1260
+ options?: Flatten<{
1261
+ boolean?: boolean | undefined;
1262
+ type?: "string" | "number" | "boolean" | undefined;
1263
+ shortFlag?: (string & {
1264
+ readonly __kind: any;
1265
+ }) | undefined;
1266
+ defaultValue?: string | number | boolean | undefined;
1267
+ choices?: string[] | undefined;
1268
+ required?: boolean | undefined;
1269
+ description: string;
1270
+ flag: string & {
1271
+ readonly __kind: any;
1272
+ };
1273
+ } & {
1274
+ readonly __kind: any;
1275
+ }>[] | undefined;
1276
+ positionals?: ({
1277
+ type?: "string" | "number" | "boolean" | undefined;
1278
+ defaultValue?: string | number | boolean | undefined;
1279
+ required?: boolean | undefined;
1280
+ description: string;
1281
+ placeholder: string & {
1282
+ readonly __kind: any;
1283
+ };
1284
+ } & {
1285
+ readonly __kind: any;
1286
+ })[] | undefined;
1287
+ operation: string & {
1288
+ readonly __kind: any;
1289
+ };
1290
+ command: string & {
1291
+ readonly __kind: any;
1292
+ };
1293
+ handler: Handler;
1294
+ }> & {
1295
+ readonly __kind: any;
1296
+ }>;
1297
+ declare const create: (input: {
1298
+ description?: string | undefined;
1299
+ options?: {
1300
+ boolean?: boolean | undefined;
1301
+ type?: "string" | "number" | "boolean" | undefined;
1302
+ shortFlag?: string | undefined;
1303
+ defaultValue?: string | number | boolean | undefined;
1304
+ choices?: string[] | undefined;
1305
+ required?: boolean | undefined;
1306
+ description: string;
1307
+ flag: string;
1308
+ }[] | undefined;
1309
+ positionals?: {
1310
+ type?: "string" | "number" | "boolean" | undefined;
1311
+ defaultValue?: string | number | boolean | undefined;
1312
+ required?: boolean | undefined;
1313
+ description: string;
1314
+ placeholder: string;
1315
+ }[] | undefined;
1316
+ operation: string;
1317
+ command: string;
1318
+ handler: Handler;
1319
+ } | Flatten<{
1320
+ description?: string | undefined;
1321
+ options?: Flatten<{
1322
+ boolean?: boolean | undefined;
1323
+ type?: "string" | "number" | "boolean" | undefined;
1324
+ shortFlag?: (string & {
1325
+ readonly __kind: any;
1326
+ }) | undefined;
1327
+ defaultValue?: string | number | boolean | undefined;
1328
+ choices?: string[] | undefined;
1329
+ required?: boolean | undefined;
1330
+ description: string;
1331
+ flag: string & {
1332
+ readonly __kind: any;
1333
+ };
1334
+ } & {
1335
+ readonly __kind: any;
1336
+ }>[] | undefined;
1337
+ positionals?: ({
1338
+ type?: "string" | "number" | "boolean" | undefined;
1339
+ defaultValue?: string | number | boolean | undefined;
1340
+ required?: boolean | undefined;
1341
+ description: string;
1342
+ placeholder: string & {
1343
+ readonly __kind: any;
1344
+ };
1345
+ } & {
1346
+ readonly __kind: any;
1347
+ })[] | undefined;
1348
+ operation: string & {
1349
+ readonly __kind: any;
1350
+ };
1351
+ command: string & {
1352
+ readonly __kind: any;
1353
+ };
1354
+ handler: Handler;
1355
+ }>) => Flatten<{
1356
+ description?: string | undefined;
1357
+ options?: Flatten<{
1358
+ boolean?: boolean | undefined;
1359
+ type?: "string" | "number" | "boolean" | undefined;
1360
+ shortFlag?: (string & {
1361
+ readonly __kind: any;
1362
+ }) | undefined;
1363
+ defaultValue?: string | number | boolean | undefined;
1364
+ choices?: string[] | undefined;
1365
+ required?: boolean | undefined;
1366
+ description: string;
1367
+ flag: string & {
1368
+ readonly __kind: any;
1369
+ };
1370
+ } & {
1371
+ readonly __kind: any;
1372
+ }>[] | undefined;
1373
+ positionals?: ({
1374
+ type?: "string" | "number" | "boolean" | undefined;
1375
+ defaultValue?: string | number | boolean | undefined;
1376
+ required?: boolean | undefined;
1377
+ description: string;
1378
+ placeholder: string & {
1379
+ readonly __kind: any;
1380
+ };
1381
+ } & {
1382
+ readonly __kind: any;
1383
+ })[] | undefined;
1384
+ operation: string & {
1385
+ readonly __kind: any;
1386
+ };
1387
+ command: string & {
1388
+ readonly __kind: any;
1389
+ };
1390
+ handler: Handler;
1391
+ }> & {
1392
+ readonly __kind: any;
1393
+ };
1394
+ declare const schemas: {
1395
+ schema: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, Flatten<{
1396
+ description?: string | undefined;
1397
+ options?: Flatten<{
1398
+ boolean?: boolean | undefined;
1399
+ type?: "string" | "number" | "boolean" | undefined;
1400
+ shortFlag?: (string & {
1401
+ readonly __kind: any;
1402
+ }) | undefined;
1403
+ defaultValue?: string | number | boolean | undefined;
1404
+ choices?: string[] | undefined;
1405
+ required?: boolean | undefined;
1406
+ description: string;
1407
+ flag: string & {
1408
+ readonly __kind: any;
1409
+ };
1410
+ } & {
1411
+ readonly __kind: any;
1412
+ }>[] | undefined;
1413
+ positionals?: ({
1414
+ type?: "string" | "number" | "boolean" | undefined;
1415
+ defaultValue?: string | number | boolean | undefined;
1416
+ required?: boolean | undefined;
1417
+ description: string;
1418
+ placeholder: string & {
1419
+ readonly __kind: any;
1420
+ };
1421
+ } & {
1422
+ readonly __kind: any;
1423
+ })[] | undefined;
1424
+ operation: string & {
1425
+ readonly __kind: any;
1426
+ };
1427
+ command: string & {
1428
+ readonly __kind: any;
1429
+ };
1430
+ handler: Handler;
1431
+ }> & {
1432
+ readonly __kind: any;
1433
+ }, any>, Flatten<Flatten<{
1434
+ description?: string | undefined;
1435
+ options?: Flatten<{
1436
+ boolean?: boolean | undefined;
1437
+ type?: "string" | "number" | "boolean" | undefined;
1438
+ shortFlag?: (string & {
1439
+ readonly __kind: any;
1440
+ }) | undefined;
1441
+ defaultValue?: string | number | boolean | undefined;
1442
+ choices?: string[] | undefined;
1443
+ required?: boolean | undefined;
1444
+ description: string;
1445
+ flag: string & {
1446
+ readonly __kind: any;
1447
+ };
1448
+ } & {
1449
+ readonly __kind: any;
1450
+ }>[] | undefined;
1451
+ positionals?: ({
1452
+ type?: "string" | "number" | "boolean" | undefined;
1453
+ defaultValue?: string | number | boolean | undefined;
1454
+ required?: boolean | undefined;
1455
+ description: string;
1456
+ placeholder: string & {
1457
+ readonly __kind: any;
1458
+ };
1459
+ } & {
1460
+ readonly __kind: any;
1461
+ })[] | undefined;
1462
+ operation: string & {
1463
+ readonly __kind: any;
1464
+ };
1465
+ command: string & {
1466
+ readonly __kind: any;
1467
+ };
1468
+ handler: Handler;
1469
+ }> & {
1470
+ readonly __kind: any;
1471
+ }>, any>;
1472
+ rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
1473
+ internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
1474
+ };
1475
+
1476
+ export { Operation, create, factory, generatedSchemas, internalSchema, make, of, rawSchema, schemas, t };