@taqueria/protocol 0.25.21-rc → 0.25.23-rc
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.
- package/EphemeralState.d.ts +208 -208
- package/ParsedPluginInfo.d.ts +542 -542
- package/PluginInfo.d.ts +661 -661
- package/PluginSchema.d.ts +1314 -1314
- package/SanitizedArgs.d.ts +14 -0
- package/SanitizedArgs.d.ts.map +1 -1
- package/SanitizedArgs.js +2 -1
- package/SanitizedArgs.js.map +1 -1
- package/SanitizedArgs.mjs +2 -1
- package/SanitizedArgs.mjs.map +1 -1
- package/TaqError.d.ts +1 -1
- package/TaqError.d.ts.map +1 -1
- package/TaqError.js.map +1 -1
- package/TaqError.mjs.map +1 -1
- package/i18n.js +1 -1
- package/i18n.js.map +1 -1
- package/i18n.mjs +1 -1
- package/i18n.mjs.map +1 -1
- package/out/types/Config.d.ts +318 -318
- package/out/types/ConfigAccount.d.js +19 -0
- package/out/types/ConfigAccount.d.js.map +1 -0
- package/out/types/ConfigAccount.d.mjs +1 -0
- package/out/types/ConfigAccount.d.mjs.map +1 -0
- package/out/types/ConfigAccount.d.ts +106 -0
- package/out/types/ConfigAccount.d.ts.map +1 -0
- package/out/types/ConfigAccount.js +80 -0
- package/out/types/ConfigAccount.js.map +1 -0
- package/out/types/ConfigAccount.mjs +49 -0
- package/out/types/ConfigAccount.mjs.map +1 -0
- package/out/types/ConfigEnvironmentFileV2.d.js +19 -0
- package/out/types/ConfigEnvironmentFileV2.d.js.map +1 -0
- package/out/types/ConfigEnvironmentFileV2.d.mjs +1 -0
- package/out/types/ConfigEnvironmentFileV2.d.mjs.map +1 -0
- package/out/types/ConfigEnvironmentFileV2.d.ts +153 -0
- package/out/types/ConfigEnvironmentFileV2.d.ts.map +1 -0
- package/out/types/ConfigEnvironmentFileV2.js +80 -0
- package/out/types/ConfigEnvironmentFileV2.js.map +1 -0
- package/out/types/ConfigEnvironmentFileV2.mjs +49 -0
- package/out/types/ConfigEnvironmentFileV2.mjs.map +1 -0
- package/out/types/ConfigFileV1.d.js +19 -0
- package/out/types/ConfigFileV1.d.js.map +1 -0
- package/out/types/ConfigFileV1.d.mjs +1 -0
- package/out/types/ConfigFileV1.d.mjs.map +1 -0
- package/out/types/ConfigFileV1.d.ts +1370 -0
- package/out/types/ConfigFileV1.d.ts.map +1 -0
- package/out/types/ConfigFileV1.js +80 -0
- package/out/types/ConfigFileV1.js.map +1 -0
- package/out/types/ConfigFileV1.mjs +49 -0
- package/out/types/ConfigFileV1.mjs.map +1 -0
- package/out/types/ConfigFileV2.d.js +19 -0
- package/out/types/ConfigFileV2.d.js.map +1 -0
- package/out/types/ConfigFileV2.d.mjs +1 -0
- package/out/types/ConfigFileV2.d.mjs.map +1 -0
- package/out/types/ConfigFileV2.d.ts +741 -0
- package/out/types/ConfigFileV2.d.ts.map +1 -0
- package/out/types/ConfigFileV2.js +80 -0
- package/out/types/ConfigFileV2.js.map +1 -0
- package/out/types/ConfigFileV2.mjs +49 -0
- package/out/types/ConfigFileV2.mjs.map +1 -0
- package/out/types/CurrencyAmountV2.d.js +19 -0
- package/out/types/CurrencyAmountV2.d.js.map +1 -0
- package/out/types/CurrencyAmountV2.d.mjs +1 -0
- package/out/types/CurrencyAmountV2.d.mjs.map +1 -0
- package/out/types/CurrencyAmountV2.d.ts +56 -0
- package/out/types/CurrencyAmountV2.d.ts.map +1 -0
- package/out/types/CurrencyAmountV2.js +80 -0
- package/out/types/CurrencyAmountV2.js.map +1 -0
- package/out/types/CurrencyAmountV2.mjs +49 -0
- package/out/types/CurrencyAmountV2.mjs.map +1 -0
- package/out/types/EphemeralState.d.ts +1743 -1743
- package/out/types/LoadedConfig.d.ts +318 -318
- package/out/types/Operation.d.ts +575 -575
- package/out/types/ParsedConfig.d.ts +318 -318
- package/out/types/ParsedOperation.d.ts +420 -420
- package/out/types/ParsedTemplate.d.ts +420 -420
- package/out/types/PluginInfo.d.ts +869 -869
- package/out/types/PluginSchema.d.ts +2985 -2985
- package/out/types/ProxyTaskArgs.d.ts +434 -434
- package/out/types/ProxyTemplateArgs.d.ts +434 -434
- package/out/types/RequestArgs.d.ts +434 -434
- package/out/types/Template.d.ts +575 -575
- package/out/types-strict.d.js.map +1 -1
- package/out/types-strict.d.ts +97 -9
- package/out/types-strict.d.ts.map +1 -1
- package/out/types-strict.js.map +1 -1
- package/out/types-zod.d.js.map +1 -1
- package/out/types-zod.d.ts +3119 -2557
- package/out/types-zod.d.ts.map +1 -1
- package/out/types-zod.js +62 -7
- package/out/types-zod.js.map +1 -1
- package/out/types-zod.mjs +57 -7
- package/out/types-zod.mjs.map +1 -1
- package/package.json +2 -2
- package/types-config-files.d.ts +12 -0
- package/types-config-files.d.ts.map +1 -0
- package/types-config-files.js +267 -0
- package/types-config-files.js.map +1 -0
- package/types-config-files.mjs +239 -0
- package/types-config-files.mjs.map +1 -0
- package/types.d.ts +85 -7
- package/types.d.ts.map +1 -1
- package/types.js.map +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["ConfigFileV1.ts"],"sourcesContent":["// Generated file: Do not edit \n// generated from @taqueria-protocol-types\n \nimport { TaqError, toFutureParseErr, toFutureParseUnknownErr, toParseErr, toParseUnknownErr } from '@taqueria/protocol/TaqError';\nimport { FutureInstance, resolve, reject } from 'fluture';\nimport { ZodError } from 'zod';\nimport { ConfigFileV1 } from '@taqueria/protocol/types';\nimport { ConfigFileV1 as ConfigFileV1Strict } from '@taqueria/protocol/out/types-strict';\nimport { configFileV1Schema } from '@taqueria/protocol/out/types-zod';\n\nexport type { ConfigFileV1Strict as ConfigFileV1 };\n\nexport const from = (input: unknown): ConfigFileV1Strict => {\n\ttry {\n\t\treturn configFileV1Schema.parse(input) as ConfigFileV1Strict;\n\t}\n\tcatch (previous: unknown) {\n\t\tif (previous instanceof ZodError) {\n\t\t\tconst msgs: string[] = previous.errors.reduce(\n\t\t\t\t(retval, issue) => {\n\t\t\t\t\tconst path = issue.path.join(' → ');\n\t\t\t\t\tconst msg = path + ': ' + issue.message;\n\t\t\t\t\treturn [...retval, msg];\n\t\t\t\t},\n\t\t\t\t[\"ConfigFileV1 is invalid:\"],\n\t\t\t);\n\t\t\tconst validationErr = msgs.join('\\n') + '\\n';\n\t\t\tthrow toParseErr(previous, validationErr);\n\t\t}\n\t\tthrow toParseUnknownErr(previous, \"There was a problem trying to parse a ConfigFileV1.\")\n\t}\n \n};\n\nexport const create = (input: ConfigFileV1): ConfigFileV1Strict => from(input);\n\nexport const of = (input: unknown): FutureInstance<TaqError, ConfigFileV1Strict> => {\n\ttry {\n\t\treturn resolve(from(input))\n\t}\n\tcatch (err){\n\t\treturn reject(err) as FutureInstance<TaqError, never>\n\t}\n};\n\nexport const make = (input: Omit<ConfigFileV1Strict, '__type'>): FutureInstance<TaqError, ConfigFileV1Strict> => of(input);\n\n// TEMP: for interoperation with old protocol types during transition\nexport const schemas = {\n\trawSchema: configFileV1Schema,\n\tschema: configFileV1Schema.transform(val => val as ConfigFileV1Strict),\n};\nexport const rawSchema = schemas.rawSchema;\nexport const internalSchema = configFileV1Schema;\n\nexport type t = ConfigFileV1Strict;\n "],"mappings":";;;;;;;;;;;;;;;;AAGA;;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ConfigFileV1.d.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|