@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.
Files changed (102) hide show
  1. package/EphemeralState.d.ts +208 -208
  2. package/ParsedPluginInfo.d.ts +542 -542
  3. package/PluginInfo.d.ts +661 -661
  4. package/PluginSchema.d.ts +1314 -1314
  5. package/SanitizedArgs.d.ts +14 -0
  6. package/SanitizedArgs.d.ts.map +1 -1
  7. package/SanitizedArgs.js +2 -1
  8. package/SanitizedArgs.js.map +1 -1
  9. package/SanitizedArgs.mjs +2 -1
  10. package/SanitizedArgs.mjs.map +1 -1
  11. package/TaqError.d.ts +1 -1
  12. package/TaqError.d.ts.map +1 -1
  13. package/TaqError.js.map +1 -1
  14. package/TaqError.mjs.map +1 -1
  15. package/i18n.js +1 -1
  16. package/i18n.js.map +1 -1
  17. package/i18n.mjs +1 -1
  18. package/i18n.mjs.map +1 -1
  19. package/out/types/Config.d.ts +318 -318
  20. package/out/types/ConfigAccount.d.js +19 -0
  21. package/out/types/ConfigAccount.d.js.map +1 -0
  22. package/out/types/ConfigAccount.d.mjs +1 -0
  23. package/out/types/ConfigAccount.d.mjs.map +1 -0
  24. package/out/types/ConfigAccount.d.ts +106 -0
  25. package/out/types/ConfigAccount.d.ts.map +1 -0
  26. package/out/types/ConfigAccount.js +80 -0
  27. package/out/types/ConfigAccount.js.map +1 -0
  28. package/out/types/ConfigAccount.mjs +49 -0
  29. package/out/types/ConfigAccount.mjs.map +1 -0
  30. package/out/types/ConfigEnvironmentFileV2.d.js +19 -0
  31. package/out/types/ConfigEnvironmentFileV2.d.js.map +1 -0
  32. package/out/types/ConfigEnvironmentFileV2.d.mjs +1 -0
  33. package/out/types/ConfigEnvironmentFileV2.d.mjs.map +1 -0
  34. package/out/types/ConfigEnvironmentFileV2.d.ts +153 -0
  35. package/out/types/ConfigEnvironmentFileV2.d.ts.map +1 -0
  36. package/out/types/ConfigEnvironmentFileV2.js +80 -0
  37. package/out/types/ConfigEnvironmentFileV2.js.map +1 -0
  38. package/out/types/ConfigEnvironmentFileV2.mjs +49 -0
  39. package/out/types/ConfigEnvironmentFileV2.mjs.map +1 -0
  40. package/out/types/ConfigFileV1.d.js +19 -0
  41. package/out/types/ConfigFileV1.d.js.map +1 -0
  42. package/out/types/ConfigFileV1.d.mjs +1 -0
  43. package/out/types/ConfigFileV1.d.mjs.map +1 -0
  44. package/out/types/ConfigFileV1.d.ts +1370 -0
  45. package/out/types/ConfigFileV1.d.ts.map +1 -0
  46. package/out/types/ConfigFileV1.js +80 -0
  47. package/out/types/ConfigFileV1.js.map +1 -0
  48. package/out/types/ConfigFileV1.mjs +49 -0
  49. package/out/types/ConfigFileV1.mjs.map +1 -0
  50. package/out/types/ConfigFileV2.d.js +19 -0
  51. package/out/types/ConfigFileV2.d.js.map +1 -0
  52. package/out/types/ConfigFileV2.d.mjs +1 -0
  53. package/out/types/ConfigFileV2.d.mjs.map +1 -0
  54. package/out/types/ConfigFileV2.d.ts +741 -0
  55. package/out/types/ConfigFileV2.d.ts.map +1 -0
  56. package/out/types/ConfigFileV2.js +80 -0
  57. package/out/types/ConfigFileV2.js.map +1 -0
  58. package/out/types/ConfigFileV2.mjs +49 -0
  59. package/out/types/ConfigFileV2.mjs.map +1 -0
  60. package/out/types/CurrencyAmountV2.d.js +19 -0
  61. package/out/types/CurrencyAmountV2.d.js.map +1 -0
  62. package/out/types/CurrencyAmountV2.d.mjs +1 -0
  63. package/out/types/CurrencyAmountV2.d.mjs.map +1 -0
  64. package/out/types/CurrencyAmountV2.d.ts +56 -0
  65. package/out/types/CurrencyAmountV2.d.ts.map +1 -0
  66. package/out/types/CurrencyAmountV2.js +80 -0
  67. package/out/types/CurrencyAmountV2.js.map +1 -0
  68. package/out/types/CurrencyAmountV2.mjs +49 -0
  69. package/out/types/CurrencyAmountV2.mjs.map +1 -0
  70. package/out/types/EphemeralState.d.ts +1743 -1743
  71. package/out/types/LoadedConfig.d.ts +318 -318
  72. package/out/types/Operation.d.ts +575 -575
  73. package/out/types/ParsedConfig.d.ts +318 -318
  74. package/out/types/ParsedOperation.d.ts +420 -420
  75. package/out/types/ParsedTemplate.d.ts +420 -420
  76. package/out/types/PluginInfo.d.ts +869 -869
  77. package/out/types/PluginSchema.d.ts +2985 -2985
  78. package/out/types/ProxyTaskArgs.d.ts +434 -434
  79. package/out/types/ProxyTemplateArgs.d.ts +434 -434
  80. package/out/types/RequestArgs.d.ts +434 -434
  81. package/out/types/Template.d.ts +575 -575
  82. package/out/types-strict.d.js.map +1 -1
  83. package/out/types-strict.d.ts +97 -9
  84. package/out/types-strict.d.ts.map +1 -1
  85. package/out/types-strict.js.map +1 -1
  86. package/out/types-zod.d.js.map +1 -1
  87. package/out/types-zod.d.ts +3119 -2557
  88. package/out/types-zod.d.ts.map +1 -1
  89. package/out/types-zod.js +62 -7
  90. package/out/types-zod.js.map +1 -1
  91. package/out/types-zod.mjs +57 -7
  92. package/out/types-zod.mjs.map +1 -1
  93. package/package.json +2 -2
  94. package/types-config-files.d.ts +12 -0
  95. package/types-config-files.d.ts.map +1 -0
  96. package/types-config-files.js +267 -0
  97. package/types-config-files.js.map +1 -0
  98. package/types-config-files.mjs +239 -0
  99. package/types-config-files.mjs.map +1 -0
  100. package/types.d.ts +85 -7
  101. package/types.d.ts.map +1 -1
  102. 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":[]}