@taqueria/protocol 0.16.0 → 0.19.2

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