@taqueria/protocol 0.27.2-alpha → 0.27.2-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/Base.js +3 -7
- package/Base.js.map +1 -1
- package/ConfigEnvironmentFileV2.d.ts +2 -0
- package/ConfigEnvironmentFileV2.d.ts.map +1 -0
- package/ConfigEnvironmentFileV2.js +21 -0
- package/ConfigEnvironmentFileV2.js.map +1 -0
- package/ConfigFileV2.d.ts +2 -0
- package/ConfigFileV2.d.ts.map +1 -0
- package/ConfigFileV2.js +21 -0
- package/ConfigFileV2.js.map +1 -0
- package/EphemeralState.d.ts +308 -304
- package/EphemeralState.d.ts.map +1 -1
- package/EphemeralState.js +4 -14
- package/EphemeralState.js.map +1 -1
- package/ParsedPluginInfo.d.ts +774 -764
- package/ParsedPluginInfo.d.ts.map +1 -1
- package/ParsedPluginInfo.js +2 -12
- package/ParsedPluginInfo.js.map +1 -1
- package/PersistentState.js +0 -11
- package/PersistentState.js.map +1 -1
- package/PluginInfo.d.ts +954 -942
- package/PluginInfo.d.ts.map +1 -1
- package/PluginInfo.js +6 -16
- package/PluginInfo.js.map +1 -1
- package/PluginSchema.d.ts +1855 -1835
- package/PluginSchema.d.ts.map +1 -1
- package/PluginSchema.js +4 -14
- package/PluginSchema.js.map +1 -1
- package/SHA256.js +0 -11
- package/SanitizedAbsPath.js +0 -10
- package/SanitizedArgs.d.ts +75 -445
- package/SanitizedArgs.d.ts.map +1 -1
- package/SanitizedArgs.js +22 -89
- package/SanitizedArgs.js.map +1 -1
- package/TaqError.d.ts +1 -1
- package/TaqError.d.ts.map +1 -1
- package/TaqError.js +0 -9
- package/TaqError.js.map +1 -1
- package/Template.js +0 -4
- package/helpers.js +0 -4
- package/i18n.d.ts.map +1 -1
- package/i18n.js +3 -10
- package/i18n.js.map +1 -1
- package/index.d.ts +4 -3
- package/index.d.ts.map +1 -1
- package/index.js +5 -58
- package/index.js.map +1 -1
- package/out/types/Alias.js +0 -10
- package/out/types/BuildNumber.js +0 -10
- package/out/types/Command.js +0 -10
- package/out/types/Config.d.ts +476 -468
- package/out/types/Config.d.ts.map +1 -1
- package/out/types/Config.js +0 -10
- package/out/types/ConfigAccount.d.js +19 -0
- package/out/types/ConfigAccount.d.js.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 +70 -0
- package/out/types/ConfigAccount.js.map +1 -0
- package/out/types/ConfigArtifactsDir.js +0 -10
- package/out/types/ConfigContractsDir.js +0 -10
- package/out/types/ConfigEnvironmentFileV2.d.js +19 -0
- package/out/types/ConfigEnvironmentFileV2.d.js.map +1 -0
- package/out/types/ConfigEnvironmentFileV2.d.ts +166 -0
- package/out/types/ConfigEnvironmentFileV2.d.ts.map +1 -0
- package/out/types/ConfigEnvironmentFileV2.js +70 -0
- package/out/types/ConfigEnvironmentFileV2.js.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.ts +1370 -0
- package/out/types/ConfigFileV1.d.ts.map +1 -0
- package/out/types/ConfigFileV1.js +70 -0
- package/out/types/ConfigFileV1.js.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.ts +762 -0
- package/out/types/ConfigFileV2.d.ts.map +1 -0
- package/out/types/ConfigFileV2.js +70 -0
- package/out/types/ConfigFileV2.js.map +1 -0
- package/out/types/Contract.js +0 -10
- package/out/types/CurrencyAmountV2.d.js +19 -0
- package/out/types/CurrencyAmountV2.d.js.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 +70 -0
- package/out/types/CurrencyAmountV2.js.map +1 -0
- package/out/types/EconomicalProtocolHash.js +0 -10
- package/out/types/Environment.js +0 -10
- package/out/types/EphemeralState.d.ts +2525 -2493
- package/out/types/EphemeralState.d.ts.map +1 -1
- package/out/types/EphemeralState.js +0 -10
- package/out/types/Faucet.js +0 -10
- package/out/types/HumanReadableIdentifier.js +0 -10
- package/out/types/InstalledPlugin.js +0 -10
- package/out/types/LoadedConfig.d.ts +476 -468
- package/out/types/LoadedConfig.d.ts.map +1 -1
- package/out/types/LoadedConfig.js +0 -10
- package/out/types/MetadataConfig.js +0 -10
- package/out/types/NetworkAccountConfig.d.ts +52 -39
- package/out/types/NetworkAccountConfig.d.ts.map +1 -1
- package/out/types/NetworkAccountConfig.js +0 -10
- package/out/types/NetworkConfig.d.ts +84 -76
- package/out/types/NetworkConfig.d.ts.map +1 -1
- package/out/types/NetworkConfig.js +0 -10
- package/out/types/NonEmptyString.js +0 -10
- package/out/types/Operation.d.ts +808 -800
- package/out/types/Operation.d.ts.map +1 -1
- package/out/types/Operation.js +0 -10
- package/out/types/Option.js +0 -10
- package/out/types/ParsedConfig.d.ts +531 -523
- package/out/types/ParsedConfig.d.ts.map +1 -1
- package/out/types/ParsedConfig.js +0 -10
- package/out/types/ParsedOperation.d.ts +619 -611
- package/out/types/ParsedOperation.d.ts.map +1 -1
- package/out/types/ParsedOperation.js +0 -10
- package/out/types/ParsedTemplate.d.ts +619 -611
- package/out/types/ParsedTemplate.d.ts.map +1 -1
- package/out/types/ParsedTemplate.js +0 -10
- package/out/types/PersistedOperation.js +0 -10
- package/out/types/PersistedTask.js +0 -10
- package/out/types/PersistentState.js +0 -10
- package/out/types/PluginActionName.js +0 -10
- package/out/types/PluginDependenciesResponse.js +0 -10
- package/out/types/PluginInfo.d.ts +1267 -1251
- package/out/types/PluginInfo.d.ts.map +1 -1
- package/out/types/PluginInfo.js +0 -10
- package/out/types/PluginJsonResponse.js +0 -10
- package/out/types/PluginProxyResponse.js +0 -10
- package/out/types/PluginResponseEncoding.js +0 -10
- package/out/types/PluginSchema.d.ts +4363 -4323
- package/out/types/PluginSchema.d.ts.map +1 -1
- package/out/types/PluginSchema.js +0 -10
- package/out/types/PositionalArg.js +0 -10
- package/out/types/Provisioner.js +0 -10
- package/out/types/ProvisionerID.js +0 -10
- package/out/types/Provisions.js +0 -10
- package/out/types/ProxyTaskArgs.d.ts +639 -631
- package/out/types/ProxyTaskArgs.d.ts.map +1 -1
- package/out/types/ProxyTaskArgs.js +0 -10
- package/out/types/ProxyTemplateArgs.d.ts +639 -631
- package/out/types/ProxyTemplateArgs.d.ts.map +1 -1
- package/out/types/ProxyTemplateArgs.js +0 -10
- package/out/types/PublicKeyHash.js +0 -10
- package/out/types/RequestArgs.d.ts +639 -631
- package/out/types/RequestArgs.d.ts.map +1 -1
- package/out/types/RequestArgs.js +0 -10
- package/out/types/RuntimeDependency.js +0 -10
- package/out/types/RuntimeDependencyReport.js +0 -10
- package/out/types/SHA256.js +0 -10
- package/out/types/SandboxAccountConfig.js +0 -10
- package/out/types/SandboxAccounts.d.js +19 -0
- package/out/types/SandboxAccounts.d.js.map +1 -0
- package/out/types/SandboxAccounts.d.ts +43 -0
- package/out/types/SandboxAccounts.d.ts.map +1 -0
- package/out/types/SandboxAccounts.js +70 -0
- package/out/types/SandboxAccounts.js.map +1 -0
- package/out/types/SandboxConfig.d.ts +26 -26
- package/out/types/SandboxConfig.js +0 -10
- package/out/types/SanitizedAbsPath.js +0 -10
- package/out/types/SanitizedArgs.js +0 -10
- package/out/types/SanitizedPath.js +0 -10
- package/out/types/ScaffoldConfig.js +0 -10
- package/out/types/Settings.d.ts +13 -13
- package/out/types/Settings.js +0 -10
- package/out/types/SingleChar.js +0 -10
- package/out/types/Task.js +0 -10
- package/out/types/Template.d.ts +808 -800
- package/out/types/Template.d.ts.map +1 -1
- package/out/types/Template.js +0 -10
- package/out/types/Timestamp.js +0 -10
- package/out/types/Tz.js +0 -10
- package/out/types/TzKtConfig.js +0 -10
- package/out/types/Url.js +0 -10
- package/out/types/Verb.js +0 -10
- package/out/types/VersionNumber.js +0 -10
- package/out/types-strict.d.js.map +1 -1
- package/out/types-strict.d.ts +109 -16
- 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 +4228 -3604
- package/out/types-zod.d.ts.map +1 -1
- package/out/types-zod.js +72 -78
- package/out/types-zod.js.map +1 -1
- package/package.json +6 -27
- package/taqueria-protocol-types.js +0 -39
- package/tsup.config.d.ts +4 -0
- package/tsup.config.d.ts.map +1 -0
- package/types-config-files.d.ts +21 -0
- package/types-config-files.d.ts.map +1 -0
- package/types-config-files.js +343 -0
- package/types-config-files.js.map +1 -0
- package/types.d.ts +94 -14
- package/types.d.ts.map +1 -1
- package/types.js.map +1 -1
- package/tzkt-config.js +0 -10
- package/Alias.mjs +0 -3
- package/Alias.mjs.map +0 -1
- package/Base.mjs +0 -57
- package/Base.mjs.map +0 -1
- package/Command.mjs +0 -3
- package/Command.mjs.map +0 -1
- package/Config.mjs +0 -3
- package/Config.mjs.map +0 -1
- package/ConfigArtifactsDir.mjs +0 -3
- package/ConfigArtifactsDir.mjs.map +0 -1
- package/ConfigContractsDir.mjs +0 -3
- package/ConfigContractsDir.mjs.map +0 -1
- package/Contract.mjs +0 -3
- package/Contract.mjs.map +0 -1
- package/Crypto.mjs +0 -1
- package/Crypto.mjs.map +0 -1
- package/EconomicalProtocolHash.mjs +0 -3
- package/EconomicalProtocolHash.mjs.map +0 -1
- package/Environment.mjs +0 -3
- package/Environment.mjs.map +0 -1
- package/EphemeralState.mjs +0 -238
- package/EphemeralState.mjs.map +0 -1
- package/Faucet.mjs +0 -3
- package/Faucet.mjs.map +0 -1
- package/HumanReadableIdentifier.mjs +0 -3
- package/HumanReadableIdentifier.mjs.map +0 -1
- package/InstalledPlugin.mjs +0 -3
- package/InstalledPlugin.mjs.map +0 -1
- package/LoadedConfig.mjs +0 -3
- package/LoadedConfig.mjs.map +0 -1
- package/MetadataConfig.mjs +0 -3
- package/MetadataConfig.mjs.map +0 -1
- package/NetworkAccountConfig.mjs +0 -3
- package/NetworkAccountConfig.mjs.map +0 -1
- package/NetworkConfig.mjs +0 -3
- package/NetworkConfig.mjs.map +0 -1
- package/NonEmptyString.mjs +0 -3
- package/NonEmptyString.mjs.map +0 -1
- package/Operation.mjs +0 -3
- package/Operation.mjs.map +0 -1
- package/Option.mjs +0 -3
- package/Option.mjs.map +0 -1
- package/ParsedOperation.mjs +0 -3
- package/ParsedOperation.mjs.map +0 -1
- package/ParsedPluginInfo.mjs +0 -44
- package/ParsedPluginInfo.mjs.map +0 -1
- package/ParsedTemplate.mjs +0 -3
- package/ParsedTemplate.mjs.map +0 -1
- package/PersistentState.mjs +0 -60
- package/PersistentState.mjs.map +0 -1
- package/PluginActionName.mjs +0 -3
- package/PluginActionName.mjs.map +0 -1
- package/PluginDependenciesResponse.mjs +0 -3
- package/PluginDependenciesResponse.mjs.map +0 -1
- package/PluginInfo.mjs +0 -76
- package/PluginInfo.mjs.map +0 -1
- package/PluginJsonResponse.mjs +0 -3
- package/PluginJsonResponse.mjs.map +0 -1
- package/PluginProxyResponse.mjs +0 -3
- package/PluginProxyResponse.mjs.map +0 -1
- package/PluginResponseEncoding.mjs +0 -3
- package/PluginResponseEncoding.mjs.map +0 -1
- package/PluginSchema.mjs +0 -59
- package/PluginSchema.mjs.map +0 -1
- package/PositionalArg.mjs +0 -3
- package/PositionalArg.mjs.map +0 -1
- package/Provisioner.mjs +0 -3
- package/Provisioner.mjs.map +0 -1
- package/ProvisionerID.mjs +0 -3
- package/ProvisionerID.mjs.map +0 -1
- package/Provisions.mjs +0 -3
- package/Provisions.mjs.map +0 -1
- package/ProxyTaskArgs.mjs +0 -3
- package/ProxyTaskArgs.mjs.map +0 -1
- package/ProxyTemplateArgs.mjs +0 -3
- package/ProxyTemplateArgs.mjs.map +0 -1
- package/PublicKeyHash.mjs +0 -3
- package/PublicKeyHash.mjs.map +0 -1
- package/RequestArgs.mjs +0 -3
- package/RequestArgs.mjs.map +0 -1
- package/SHA256.mjs +0 -59
- package/SHA256.mjs.map +0 -1
- package/SandboxAccountConfig.mjs +0 -3
- package/SandboxAccountConfig.mjs.map +0 -1
- package/SandboxConfig.mjs +0 -3
- package/SandboxConfig.mjs.map +0 -1
- package/SanitizedAbsPath.mjs +0 -27
- package/SanitizedAbsPath.mjs.map +0 -1
- package/SanitizedArgs.mjs +0 -198
- package/SanitizedArgs.mjs.map +0 -1
- package/SanitizedPath.mjs +0 -3
- package/SanitizedPath.mjs.map +0 -1
- package/ScaffoldConfig.mjs +0 -3
- package/ScaffoldConfig.mjs.map +0 -1
- package/Settings.mjs +0 -3
- package/Settings.mjs.map +0 -1
- package/SingleChar.mjs +0 -3
- package/SingleChar.mjs.map +0 -1
- package/TaqError.mjs +0 -35
- package/TaqError.mjs.map +0 -1
- package/Task.mjs +0 -3
- package/Task.mjs.map +0 -1
- package/Template.mjs +0 -10
- package/Template.mjs.map +0 -1
- package/Timestamp.mjs +0 -3
- package/Timestamp.mjs.map +0 -1
- package/Tz.mjs +0 -3
- package/Tz.mjs.map +0 -1
- package/Url.mjs +0 -3
- package/Url.mjs.map +0 -1
- package/Verb.mjs +0 -3
- package/Verb.mjs.map +0 -1
- package/VersionNumber.mjs +0 -3
- package/VersionNumber.mjs.map +0 -1
- package/helpers.mjs +0 -28
- package/helpers.mjs.map +0 -1
- package/i18n.mjs +0 -67
- package/i18n.mjs.map +0 -1
- package/index.mjs +0 -108
- package/index.mjs.map +0 -1
- package/out/types/Alias.d.mjs +0 -1
- package/out/types/Alias.d.mjs.map +0 -1
- package/out/types/Alias.mjs +0 -49
- package/out/types/Alias.mjs.map +0 -1
- package/out/types/BuildNumber.d.mjs +0 -1
- package/out/types/BuildNumber.d.mjs.map +0 -1
- package/out/types/BuildNumber.mjs +0 -49
- package/out/types/BuildNumber.mjs.map +0 -1
- package/out/types/Command.d.mjs +0 -1
- package/out/types/Command.d.mjs.map +0 -1
- package/out/types/Command.mjs +0 -49
- package/out/types/Command.mjs.map +0 -1
- package/out/types/Config.d.mjs +0 -1
- package/out/types/Config.d.mjs.map +0 -1
- package/out/types/Config.mjs +0 -49
- package/out/types/Config.mjs.map +0 -1
- package/out/types/ConfigArtifactsDir.d.mjs +0 -1
- package/out/types/ConfigArtifactsDir.d.mjs.map +0 -1
- package/out/types/ConfigArtifactsDir.mjs +0 -49
- package/out/types/ConfigArtifactsDir.mjs.map +0 -1
- package/out/types/ConfigContractsDir.d.mjs +0 -1
- package/out/types/ConfigContractsDir.d.mjs.map +0 -1
- package/out/types/ConfigContractsDir.mjs +0 -49
- package/out/types/ConfigContractsDir.mjs.map +0 -1
- package/out/types/Contract.d.mjs +0 -1
- package/out/types/Contract.d.mjs.map +0 -1
- package/out/types/Contract.mjs +0 -49
- package/out/types/Contract.mjs.map +0 -1
- package/out/types/EconomicalProtocolHash.d.mjs +0 -1
- package/out/types/EconomicalProtocolHash.d.mjs.map +0 -1
- package/out/types/EconomicalProtocolHash.mjs +0 -49
- package/out/types/EconomicalProtocolHash.mjs.map +0 -1
- package/out/types/Environment.d.mjs +0 -1
- package/out/types/Environment.d.mjs.map +0 -1
- package/out/types/Environment.mjs +0 -49
- package/out/types/Environment.mjs.map +0 -1
- package/out/types/EphemeralState.d.mjs +0 -1
- package/out/types/EphemeralState.d.mjs.map +0 -1
- package/out/types/EphemeralState.mjs +0 -49
- package/out/types/EphemeralState.mjs.map +0 -1
- package/out/types/Faucet.d.mjs +0 -1
- package/out/types/Faucet.d.mjs.map +0 -1
- package/out/types/Faucet.mjs +0 -49
- package/out/types/Faucet.mjs.map +0 -1
- package/out/types/HumanReadableIdentifier.d.mjs +0 -1
- package/out/types/HumanReadableIdentifier.d.mjs.map +0 -1
- package/out/types/HumanReadableIdentifier.mjs +0 -49
- package/out/types/HumanReadableIdentifier.mjs.map +0 -1
- package/out/types/InstalledPlugin.d.mjs +0 -1
- package/out/types/InstalledPlugin.d.mjs.map +0 -1
- package/out/types/InstalledPlugin.mjs +0 -49
- package/out/types/InstalledPlugin.mjs.map +0 -1
- package/out/types/LoadedConfig.d.mjs +0 -1
- package/out/types/LoadedConfig.d.mjs.map +0 -1
- package/out/types/LoadedConfig.mjs +0 -49
- package/out/types/LoadedConfig.mjs.map +0 -1
- package/out/types/MetadataConfig.d.mjs +0 -1
- package/out/types/MetadataConfig.d.mjs.map +0 -1
- package/out/types/MetadataConfig.mjs +0 -49
- package/out/types/MetadataConfig.mjs.map +0 -1
- package/out/types/NetworkAccountConfig.d.mjs +0 -1
- package/out/types/NetworkAccountConfig.d.mjs.map +0 -1
- package/out/types/NetworkAccountConfig.mjs +0 -49
- package/out/types/NetworkAccountConfig.mjs.map +0 -1
- package/out/types/NetworkConfig.d.mjs +0 -1
- package/out/types/NetworkConfig.d.mjs.map +0 -1
- package/out/types/NetworkConfig.mjs +0 -49
- package/out/types/NetworkConfig.mjs.map +0 -1
- package/out/types/NonEmptyString.d.mjs +0 -1
- package/out/types/NonEmptyString.d.mjs.map +0 -1
- package/out/types/NonEmptyString.mjs +0 -49
- package/out/types/NonEmptyString.mjs.map +0 -1
- package/out/types/Operation.d.mjs +0 -1
- package/out/types/Operation.d.mjs.map +0 -1
- package/out/types/Operation.mjs +0 -49
- package/out/types/Operation.mjs.map +0 -1
- package/out/types/Option.d.mjs +0 -1
- package/out/types/Option.d.mjs.map +0 -1
- package/out/types/Option.mjs +0 -49
- package/out/types/Option.mjs.map +0 -1
- package/out/types/ParsedConfig.d.mjs +0 -1
- package/out/types/ParsedConfig.d.mjs.map +0 -1
- package/out/types/ParsedConfig.mjs +0 -49
- package/out/types/ParsedConfig.mjs.map +0 -1
- package/out/types/ParsedOperation.d.mjs +0 -1
- package/out/types/ParsedOperation.d.mjs.map +0 -1
- package/out/types/ParsedOperation.mjs +0 -49
- package/out/types/ParsedOperation.mjs.map +0 -1
- package/out/types/ParsedTemplate.d.mjs +0 -1
- package/out/types/ParsedTemplate.d.mjs.map +0 -1
- package/out/types/ParsedTemplate.mjs +0 -49
- package/out/types/ParsedTemplate.mjs.map +0 -1
- package/out/types/PersistedOperation.d.mjs +0 -1
- package/out/types/PersistedOperation.d.mjs.map +0 -1
- package/out/types/PersistedOperation.mjs +0 -49
- package/out/types/PersistedOperation.mjs.map +0 -1
- package/out/types/PersistedTask.d.mjs +0 -1
- package/out/types/PersistedTask.d.mjs.map +0 -1
- package/out/types/PersistedTask.mjs +0 -49
- package/out/types/PersistedTask.mjs.map +0 -1
- package/out/types/PersistentState.d.mjs +0 -1
- package/out/types/PersistentState.d.mjs.map +0 -1
- package/out/types/PersistentState.mjs +0 -49
- package/out/types/PersistentState.mjs.map +0 -1
- package/out/types/PluginActionName.d.mjs +0 -1
- package/out/types/PluginActionName.d.mjs.map +0 -1
- package/out/types/PluginActionName.mjs +0 -49
- package/out/types/PluginActionName.mjs.map +0 -1
- package/out/types/PluginDependenciesResponse.d.mjs +0 -1
- package/out/types/PluginDependenciesResponse.d.mjs.map +0 -1
- package/out/types/PluginDependenciesResponse.mjs +0 -49
- package/out/types/PluginDependenciesResponse.mjs.map +0 -1
- package/out/types/PluginInfo.d.mjs +0 -1
- package/out/types/PluginInfo.d.mjs.map +0 -1
- package/out/types/PluginInfo.mjs +0 -49
- package/out/types/PluginInfo.mjs.map +0 -1
- package/out/types/PluginJsonResponse.d.mjs +0 -1
- package/out/types/PluginJsonResponse.d.mjs.map +0 -1
- package/out/types/PluginJsonResponse.mjs +0 -49
- package/out/types/PluginJsonResponse.mjs.map +0 -1
- package/out/types/PluginProxyResponse.d.mjs +0 -1
- package/out/types/PluginProxyResponse.d.mjs.map +0 -1
- package/out/types/PluginProxyResponse.mjs +0 -49
- package/out/types/PluginProxyResponse.mjs.map +0 -1
- package/out/types/PluginResponseEncoding.d.mjs +0 -1
- package/out/types/PluginResponseEncoding.d.mjs.map +0 -1
- package/out/types/PluginResponseEncoding.mjs +0 -49
- package/out/types/PluginResponseEncoding.mjs.map +0 -1
- package/out/types/PluginSchema.d.mjs +0 -1
- package/out/types/PluginSchema.d.mjs.map +0 -1
- package/out/types/PluginSchema.mjs +0 -49
- package/out/types/PluginSchema.mjs.map +0 -1
- package/out/types/PositionalArg.d.mjs +0 -1
- package/out/types/PositionalArg.d.mjs.map +0 -1
- package/out/types/PositionalArg.mjs +0 -49
- package/out/types/PositionalArg.mjs.map +0 -1
- package/out/types/Provisioner.d.mjs +0 -1
- package/out/types/Provisioner.d.mjs.map +0 -1
- package/out/types/Provisioner.mjs +0 -49
- package/out/types/Provisioner.mjs.map +0 -1
- package/out/types/ProvisionerID.d.mjs +0 -1
- package/out/types/ProvisionerID.d.mjs.map +0 -1
- package/out/types/ProvisionerID.mjs +0 -49
- package/out/types/ProvisionerID.mjs.map +0 -1
- package/out/types/Provisions.d.mjs +0 -1
- package/out/types/Provisions.d.mjs.map +0 -1
- package/out/types/Provisions.mjs +0 -49
- package/out/types/Provisions.mjs.map +0 -1
- package/out/types/ProxyTaskArgs.d.mjs +0 -1
- package/out/types/ProxyTaskArgs.d.mjs.map +0 -1
- package/out/types/ProxyTaskArgs.mjs +0 -49
- package/out/types/ProxyTaskArgs.mjs.map +0 -1
- package/out/types/ProxyTemplateArgs.d.mjs +0 -1
- package/out/types/ProxyTemplateArgs.d.mjs.map +0 -1
- package/out/types/ProxyTemplateArgs.mjs +0 -49
- package/out/types/ProxyTemplateArgs.mjs.map +0 -1
- package/out/types/PublicKeyHash.d.mjs +0 -1
- package/out/types/PublicKeyHash.d.mjs.map +0 -1
- package/out/types/PublicKeyHash.mjs +0 -49
- package/out/types/PublicKeyHash.mjs.map +0 -1
- package/out/types/RequestArgs.d.mjs +0 -1
- package/out/types/RequestArgs.d.mjs.map +0 -1
- package/out/types/RequestArgs.mjs +0 -49
- package/out/types/RequestArgs.mjs.map +0 -1
- package/out/types/RuntimeDependency.d.mjs +0 -1
- package/out/types/RuntimeDependency.d.mjs.map +0 -1
- package/out/types/RuntimeDependency.mjs +0 -49
- package/out/types/RuntimeDependency.mjs.map +0 -1
- package/out/types/RuntimeDependencyReport.d.mjs +0 -1
- package/out/types/RuntimeDependencyReport.d.mjs.map +0 -1
- package/out/types/RuntimeDependencyReport.mjs +0 -49
- package/out/types/RuntimeDependencyReport.mjs.map +0 -1
- package/out/types/SHA256.d.mjs +0 -1
- package/out/types/SHA256.d.mjs.map +0 -1
- package/out/types/SHA256.mjs +0 -49
- package/out/types/SHA256.mjs.map +0 -1
- package/out/types/SandboxAccountConfig.d.mjs +0 -1
- package/out/types/SandboxAccountConfig.d.mjs.map +0 -1
- package/out/types/SandboxAccountConfig.mjs +0 -49
- package/out/types/SandboxAccountConfig.mjs.map +0 -1
- package/out/types/SandboxConfig.d.mjs +0 -1
- package/out/types/SandboxConfig.d.mjs.map +0 -1
- package/out/types/SandboxConfig.mjs +0 -49
- package/out/types/SandboxConfig.mjs.map +0 -1
- package/out/types/SanitizedAbsPath.d.mjs +0 -1
- package/out/types/SanitizedAbsPath.d.mjs.map +0 -1
- package/out/types/SanitizedAbsPath.mjs +0 -49
- package/out/types/SanitizedAbsPath.mjs.map +0 -1
- package/out/types/SanitizedArgs.d.mjs +0 -1
- package/out/types/SanitizedArgs.d.mjs.map +0 -1
- package/out/types/SanitizedArgs.mjs +0 -49
- package/out/types/SanitizedArgs.mjs.map +0 -1
- package/out/types/SanitizedPath.d.mjs +0 -1
- package/out/types/SanitizedPath.d.mjs.map +0 -1
- package/out/types/SanitizedPath.mjs +0 -49
- package/out/types/SanitizedPath.mjs.map +0 -1
- package/out/types/ScaffoldConfig.d.mjs +0 -1
- package/out/types/ScaffoldConfig.d.mjs.map +0 -1
- package/out/types/ScaffoldConfig.mjs +0 -49
- package/out/types/ScaffoldConfig.mjs.map +0 -1
- package/out/types/Settings.d.mjs +0 -1
- package/out/types/Settings.d.mjs.map +0 -1
- package/out/types/Settings.mjs +0 -49
- package/out/types/Settings.mjs.map +0 -1
- package/out/types/SingleChar.d.mjs +0 -1
- package/out/types/SingleChar.d.mjs.map +0 -1
- package/out/types/SingleChar.mjs +0 -49
- package/out/types/SingleChar.mjs.map +0 -1
- package/out/types/Task.d.mjs +0 -1
- package/out/types/Task.d.mjs.map +0 -1
- package/out/types/Task.mjs +0 -49
- package/out/types/Task.mjs.map +0 -1
- package/out/types/Template.d.mjs +0 -1
- package/out/types/Template.d.mjs.map +0 -1
- package/out/types/Template.mjs +0 -49
- package/out/types/Template.mjs.map +0 -1
- package/out/types/Timestamp.d.mjs +0 -1
- package/out/types/Timestamp.d.mjs.map +0 -1
- package/out/types/Timestamp.mjs +0 -49
- package/out/types/Timestamp.mjs.map +0 -1
- package/out/types/Tz.d.mjs +0 -1
- package/out/types/Tz.d.mjs.map +0 -1
- package/out/types/Tz.mjs +0 -49
- package/out/types/Tz.mjs.map +0 -1
- package/out/types/TzKtConfig.d.mjs +0 -1
- package/out/types/TzKtConfig.d.mjs.map +0 -1
- package/out/types/TzKtConfig.mjs +0 -49
- package/out/types/TzKtConfig.mjs.map +0 -1
- package/out/types/Url.d.mjs +0 -1
- package/out/types/Url.d.mjs.map +0 -1
- package/out/types/Url.mjs +0 -49
- package/out/types/Url.mjs.map +0 -1
- package/out/types/Verb.d.mjs +0 -1
- package/out/types/Verb.d.mjs.map +0 -1
- package/out/types/Verb.mjs +0 -49
- package/out/types/Verb.mjs.map +0 -1
- package/out/types/VersionNumber.d.mjs +0 -1
- package/out/types/VersionNumber.d.mjs.map +0 -1
- package/out/types/VersionNumber.mjs +0 -49
- package/out/types/VersionNumber.mjs.map +0 -1
- package/out/types-strict.d.mjs +0 -1
- package/out/types-strict.d.mjs.map +0 -1
- package/out/types-strict.mjs +0 -1
- package/out/types-strict.mjs.map +0 -1
- package/out/types-zod.d.mjs +0 -1
- package/out/types-zod.d.mjs.map +0 -1
- package/out/types-zod.mjs +0 -366
- package/out/types-zod.mjs.map +0 -1
- package/taqueria-protocol-types.mjs +0 -76
- package/taqueria-protocol-types.mjs.map +0 -1
- package/types.mjs +0 -1
- package/types.mjs.map +0 -1
- package/tzkt-config.mjs +0 -28
- package/tzkt-config.mjs.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["SanitizedArgs.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 { SanitizedArgs } from '@taqueria/protocol/types';\nimport { SanitizedArgs as SanitizedArgsStrict } from '@taqueria/protocol/out/types-strict';\nimport { sanitizedArgsSchema } from '@taqueria/protocol/out/types-zod';\n\nexport type { SanitizedArgsStrict as SanitizedArgs };\n\nexport const from = (input: unknown): SanitizedArgsStrict => {\n\ttry {\n\t\treturn sanitizedArgsSchema.parse(input) as SanitizedArgsStrict;\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[\"SanitizedArgs 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 SanitizedArgs.\")\n\t}\n \n};\n\nexport const create = (input: SanitizedArgs): SanitizedArgsStrict => from(input);\n\nexport const of = (input: unknown): FutureInstance<TaqError, SanitizedArgsStrict> => {\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<SanitizedArgsStrict, '__type'>): FutureInstance<TaqError, SanitizedArgsStrict> => of(input);\n\n// TEMP: for interoperation with old protocol types during transition\nexport const schemas = {\n\trawSchema: sanitizedArgsSchema,\n\tschema: sanitizedArgsSchema.transform(val => val as SanitizedArgsStrict),\n};\nexport const rawSchema = schemas.rawSchema;\nexport const internalSchema = sanitizedArgsSchema;\n\nexport type t = SanitizedArgsStrict;\n "],"mappings":";AAGA,SAA8D,YAAY,yBAAyB;AACnG,SAAyB,SAAS,cAAc;AAChD,SAAS,gBAAgB;AAGzB,SAAS,2BAA2B;AAI7B,IAAM,OAAO,CAAC,UAAwC;AAC5D,MAAI;AACH,WAAO,oBAAoB,MAAM,KAAK;AAAA,EACvC,SACO,UAAP;AACC,QAAI,oBAAoB,UAAU;AACjC,YAAM,OAAiB,SAAS,OAAO;AAAA,QACtC,CAAC,QAAQ,UAAU;AAClB,gBAAM,OAAO,MAAM,KAAK,KAAK,UAAK;AAClC,gBAAM,MAAM,OAAO,OAAO,MAAM;AAChC,iBAAO,CAAC,GAAG,QAAQ,GAAG;AAAA,QACvB;AAAA,QACA,CAAC,2BAA2B;AAAA,MAC7B;AACA,YAAM,gBAAgB,KAAK,KAAK,IAAI,IAAI;AACxC,YAAM,WAAW,UAAU,aAAa;AAAA,IACzC;AACA,UAAM,kBAAkB,UAAU,sDAAsD;AAAA,EACzF;AAED;AAEO,IAAM,SAAS,CAAC,UAA8C,KAAK,KAAK;AAExE,IAAM,KAAK,CAAC,UAAkE;AACpF,MAAI;AACH,WAAO,QAAQ,KAAK,KAAK,CAAC;AAAA,EAC3B,SACO,KAAP;AACC,WAAO,OAAO,GAAG;AAAA,EAClB;AACD;AAEO,IAAM,OAAO,CAAC,UAA8F,GAAG,KAAK;AAGpH,IAAM,UAAU;AAAA,EACtB,WAAW;AAAA,EACX,QAAQ,oBAAoB,UAAU,SAAO,GAA0B;AACxE;AACO,IAAM,YAAY,QAAQ;AAC1B,IAAM,iBAAiB;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=SanitizedPath.d.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// out/types/SanitizedPath.ts
|
|
2
|
-
import { toParseErr, toParseUnknownErr } from "@taqueria/protocol/TaqError";
|
|
3
|
-
import { resolve, reject } from "fluture";
|
|
4
|
-
import { ZodError } from "zod";
|
|
5
|
-
import { sanitizedPathSchema } from "@taqueria/protocol/out/types-zod";
|
|
6
|
-
var from = (input) => {
|
|
7
|
-
try {
|
|
8
|
-
return sanitizedPathSchema.parse(input);
|
|
9
|
-
} catch (previous) {
|
|
10
|
-
if (previous instanceof ZodError) {
|
|
11
|
-
const msgs = previous.errors.reduce(
|
|
12
|
-
(retval, issue) => {
|
|
13
|
-
const path = issue.path.join(" \u2192 ");
|
|
14
|
-
const msg = path + ": " + issue.message;
|
|
15
|
-
return [...retval, msg];
|
|
16
|
-
},
|
|
17
|
-
["SanitizedPath is invalid:"]
|
|
18
|
-
);
|
|
19
|
-
const validationErr = msgs.join("\n") + "\n";
|
|
20
|
-
throw toParseErr(previous, validationErr);
|
|
21
|
-
}
|
|
22
|
-
throw toParseUnknownErr(previous, "There was a problem trying to parse a SanitizedPath.");
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
var create = (input) => from(input);
|
|
26
|
-
var of = (input) => {
|
|
27
|
-
try {
|
|
28
|
-
return resolve(from(input));
|
|
29
|
-
} catch (err) {
|
|
30
|
-
return reject(err);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
var make = (input) => of(input);
|
|
34
|
-
var schemas = {
|
|
35
|
-
rawSchema: sanitizedPathSchema,
|
|
36
|
-
schema: sanitizedPathSchema.transform((val) => val)
|
|
37
|
-
};
|
|
38
|
-
var rawSchema = schemas.rawSchema;
|
|
39
|
-
var internalSchema = sanitizedPathSchema;
|
|
40
|
-
export {
|
|
41
|
-
create,
|
|
42
|
-
from,
|
|
43
|
-
internalSchema,
|
|
44
|
-
make,
|
|
45
|
-
of,
|
|
46
|
-
rawSchema,
|
|
47
|
-
schemas
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=SanitizedPath.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["SanitizedPath.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 { SanitizedPath } from '@taqueria/protocol/types';\nimport { SanitizedPath as SanitizedPathStrict } from '@taqueria/protocol/out/types-strict';\nimport { sanitizedPathSchema } from '@taqueria/protocol/out/types-zod';\n\nexport type { SanitizedPathStrict as SanitizedPath };\n\nexport const from = (input: unknown): SanitizedPathStrict => {\n\ttry {\n\t\treturn sanitizedPathSchema.parse(input) as SanitizedPathStrict;\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[\"SanitizedPath 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 SanitizedPath.\")\n\t}\n \n};\n\nexport const create = (input: SanitizedPath): SanitizedPathStrict => from(input);\n\nexport const of = (input: unknown): FutureInstance<TaqError, SanitizedPathStrict> => {\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<SanitizedPathStrict, '__type'>): FutureInstance<TaqError, SanitizedPathStrict> => of(input);\n\n// TEMP: for interoperation with old protocol types during transition\nexport const schemas = {\n\trawSchema: sanitizedPathSchema,\n\tschema: sanitizedPathSchema.transform(val => val as SanitizedPathStrict),\n};\nexport const rawSchema = schemas.rawSchema;\nexport const internalSchema = sanitizedPathSchema;\n\nexport type t = SanitizedPathStrict;\n "],"mappings":";AAGA,SAA8D,YAAY,yBAAyB;AACnG,SAAyB,SAAS,cAAc;AAChD,SAAS,gBAAgB;AAGzB,SAAS,2BAA2B;AAI7B,IAAM,OAAO,CAAC,UAAwC;AAC5D,MAAI;AACH,WAAO,oBAAoB,MAAM,KAAK;AAAA,EACvC,SACO,UAAP;AACC,QAAI,oBAAoB,UAAU;AACjC,YAAM,OAAiB,SAAS,OAAO;AAAA,QACtC,CAAC,QAAQ,UAAU;AAClB,gBAAM,OAAO,MAAM,KAAK,KAAK,UAAK;AAClC,gBAAM,MAAM,OAAO,OAAO,MAAM;AAChC,iBAAO,CAAC,GAAG,QAAQ,GAAG;AAAA,QACvB;AAAA,QACA,CAAC,2BAA2B;AAAA,MAC7B;AACA,YAAM,gBAAgB,KAAK,KAAK,IAAI,IAAI;AACxC,YAAM,WAAW,UAAU,aAAa;AAAA,IACzC;AACA,UAAM,kBAAkB,UAAU,sDAAsD;AAAA,EACzF;AAED;AAEO,IAAM,SAAS,CAAC,UAA8C,KAAK,KAAK;AAExE,IAAM,KAAK,CAAC,UAAkE;AACpF,MAAI;AACH,WAAO,QAAQ,KAAK,KAAK,CAAC;AAAA,EAC3B,SACO,KAAP;AACC,WAAO,OAAO,GAAG;AAAA,EAClB;AACD;AAEO,IAAM,OAAO,CAAC,UAA8F,GAAG,KAAK;AAGpH,IAAM,UAAU;AAAA,EACtB,WAAW;AAAA,EACX,QAAQ,oBAAoB,UAAU,SAAO,GAA0B;AACxE;AACO,IAAM,YAAY,QAAQ;AAC1B,IAAM,iBAAiB;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=ScaffoldConfig.d.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// out/types/ScaffoldConfig.ts
|
|
2
|
-
import { toParseErr, toParseUnknownErr } from "@taqueria/protocol/TaqError";
|
|
3
|
-
import { resolve, reject } from "fluture";
|
|
4
|
-
import { ZodError } from "zod";
|
|
5
|
-
import { scaffoldConfigSchema } from "@taqueria/protocol/out/types-zod";
|
|
6
|
-
var from = (input) => {
|
|
7
|
-
try {
|
|
8
|
-
return scaffoldConfigSchema.parse(input);
|
|
9
|
-
} catch (previous) {
|
|
10
|
-
if (previous instanceof ZodError) {
|
|
11
|
-
const msgs = previous.errors.reduce(
|
|
12
|
-
(retval, issue) => {
|
|
13
|
-
const path = issue.path.join(" \u2192 ");
|
|
14
|
-
const msg = path + ": " + issue.message;
|
|
15
|
-
return [...retval, msg];
|
|
16
|
-
},
|
|
17
|
-
["ScaffoldConfig is invalid:"]
|
|
18
|
-
);
|
|
19
|
-
const validationErr = msgs.join("\n") + "\n";
|
|
20
|
-
throw toParseErr(previous, validationErr);
|
|
21
|
-
}
|
|
22
|
-
throw toParseUnknownErr(previous, "There was a problem trying to parse a ScaffoldConfig.");
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
var create = (input) => from(input);
|
|
26
|
-
var of = (input) => {
|
|
27
|
-
try {
|
|
28
|
-
return resolve(from(input));
|
|
29
|
-
} catch (err) {
|
|
30
|
-
return reject(err);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
var make = (input) => of(input);
|
|
34
|
-
var schemas = {
|
|
35
|
-
rawSchema: scaffoldConfigSchema,
|
|
36
|
-
schema: scaffoldConfigSchema.transform((val) => val)
|
|
37
|
-
};
|
|
38
|
-
var rawSchema = schemas.rawSchema;
|
|
39
|
-
var internalSchema = scaffoldConfigSchema;
|
|
40
|
-
export {
|
|
41
|
-
create,
|
|
42
|
-
from,
|
|
43
|
-
internalSchema,
|
|
44
|
-
make,
|
|
45
|
-
of,
|
|
46
|
-
rawSchema,
|
|
47
|
-
schemas
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=ScaffoldConfig.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["ScaffoldConfig.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 { ScaffoldConfig } from '@taqueria/protocol/types';\nimport { ScaffoldConfig as ScaffoldConfigStrict } from '@taqueria/protocol/out/types-strict';\nimport { scaffoldConfigSchema } from '@taqueria/protocol/out/types-zod';\n\nexport type { ScaffoldConfigStrict as ScaffoldConfig };\n\nexport const from = (input: unknown): ScaffoldConfigStrict => {\n\ttry {\n\t\treturn scaffoldConfigSchema.parse(input) as ScaffoldConfigStrict;\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[\"ScaffoldConfig 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 ScaffoldConfig.\")\n\t}\n \n};\n\nexport const create = (input: ScaffoldConfig): ScaffoldConfigStrict => from(input);\n\nexport const of = (input: unknown): FutureInstance<TaqError, ScaffoldConfigStrict> => {\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<ScaffoldConfigStrict, '__type'>): FutureInstance<TaqError, ScaffoldConfigStrict> => of(input);\n\n// TEMP: for interoperation with old protocol types during transition\nexport const schemas = {\n\trawSchema: scaffoldConfigSchema,\n\tschema: scaffoldConfigSchema.transform(val => val as ScaffoldConfigStrict),\n};\nexport const rawSchema = schemas.rawSchema;\nexport const internalSchema = scaffoldConfigSchema;\n\nexport type t = ScaffoldConfigStrict;\n "],"mappings":";AAGA,SAA8D,YAAY,yBAAyB;AACnG,SAAyB,SAAS,cAAc;AAChD,SAAS,gBAAgB;AAGzB,SAAS,4BAA4B;AAI9B,IAAM,OAAO,CAAC,UAAyC;AAC7D,MAAI;AACH,WAAO,qBAAqB,MAAM,KAAK;AAAA,EACxC,SACO,UAAP;AACC,QAAI,oBAAoB,UAAU;AACjC,YAAM,OAAiB,SAAS,OAAO;AAAA,QACtC,CAAC,QAAQ,UAAU;AAClB,gBAAM,OAAO,MAAM,KAAK,KAAK,UAAK;AAClC,gBAAM,MAAM,OAAO,OAAO,MAAM;AAChC,iBAAO,CAAC,GAAG,QAAQ,GAAG;AAAA,QACvB;AAAA,QACA,CAAC,4BAA4B;AAAA,MAC9B;AACA,YAAM,gBAAgB,KAAK,KAAK,IAAI,IAAI;AACxC,YAAM,WAAW,UAAU,aAAa;AAAA,IACzC;AACA,UAAM,kBAAkB,UAAU,uDAAuD;AAAA,EAC1F;AAED;AAEO,IAAM,SAAS,CAAC,UAAgD,KAAK,KAAK;AAE1E,IAAM,KAAK,CAAC,UAAmE;AACrF,MAAI;AACH,WAAO,QAAQ,KAAK,KAAK,CAAC;AAAA,EAC3B,SACO,KAAP;AACC,WAAO,OAAO,GAAG;AAAA,EAClB;AACD;AAEO,IAAM,OAAO,CAAC,UAAgG,GAAG,KAAK;AAGtH,IAAM,UAAU;AAAA,EACtB,WAAW;AAAA,EACX,QAAQ,qBAAqB,UAAU,SAAO,GAA2B;AAC1E;AACO,IAAM,YAAY,QAAQ;AAC1B,IAAM,iBAAiB;","names":[]}
|
package/out/types/Settings.d.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=Settings.d.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/out/types/Settings.mjs
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// out/types/Settings.ts
|
|
2
|
-
import { toParseErr, toParseUnknownErr } from "@taqueria/protocol/TaqError";
|
|
3
|
-
import { resolve, reject } from "fluture";
|
|
4
|
-
import { ZodError } from "zod";
|
|
5
|
-
import { settingsSchema } from "@taqueria/protocol/out/types-zod";
|
|
6
|
-
var from = (input) => {
|
|
7
|
-
try {
|
|
8
|
-
return settingsSchema.parse(input);
|
|
9
|
-
} catch (previous) {
|
|
10
|
-
if (previous instanceof ZodError) {
|
|
11
|
-
const msgs = previous.errors.reduce(
|
|
12
|
-
(retval, issue) => {
|
|
13
|
-
const path = issue.path.join(" \u2192 ");
|
|
14
|
-
const msg = path + ": " + issue.message;
|
|
15
|
-
return [...retval, msg];
|
|
16
|
-
},
|
|
17
|
-
["Settings is invalid:"]
|
|
18
|
-
);
|
|
19
|
-
const validationErr = msgs.join("\n") + "\n";
|
|
20
|
-
throw toParseErr(previous, validationErr);
|
|
21
|
-
}
|
|
22
|
-
throw toParseUnknownErr(previous, "There was a problem trying to parse a Settings.");
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
var create = (input) => from(input);
|
|
26
|
-
var of = (input) => {
|
|
27
|
-
try {
|
|
28
|
-
return resolve(from(input));
|
|
29
|
-
} catch (err) {
|
|
30
|
-
return reject(err);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
var make = (input) => of(input);
|
|
34
|
-
var schemas = {
|
|
35
|
-
rawSchema: settingsSchema,
|
|
36
|
-
schema: settingsSchema.transform((val) => val)
|
|
37
|
-
};
|
|
38
|
-
var rawSchema = schemas.rawSchema;
|
|
39
|
-
var internalSchema = settingsSchema;
|
|
40
|
-
export {
|
|
41
|
-
create,
|
|
42
|
-
from,
|
|
43
|
-
internalSchema,
|
|
44
|
-
make,
|
|
45
|
-
of,
|
|
46
|
-
rawSchema,
|
|
47
|
-
schemas
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=Settings.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["Settings.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 { Settings } from '@taqueria/protocol/types';\nimport { Settings as SettingsStrict } from '@taqueria/protocol/out/types-strict';\nimport { settingsSchema } from '@taqueria/protocol/out/types-zod';\n\nexport type { SettingsStrict as Settings };\n\nexport const from = (input: unknown): SettingsStrict => {\n\ttry {\n\t\treturn settingsSchema.parse(input) as SettingsStrict;\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[\"Settings 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 Settings.\")\n\t}\n \n};\n\nexport const create = (input: Settings): SettingsStrict => from(input);\n\nexport const of = (input: unknown): FutureInstance<TaqError, SettingsStrict> => {\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<SettingsStrict, '__type'>): FutureInstance<TaqError, SettingsStrict> => of(input);\n\n// TEMP: for interoperation with old protocol types during transition\nexport const schemas = {\n\trawSchema: settingsSchema,\n\tschema: settingsSchema.transform(val => val as SettingsStrict),\n};\nexport const rawSchema = schemas.rawSchema;\nexport const internalSchema = settingsSchema;\n\nexport type t = SettingsStrict;\n "],"mappings":";AAGA,SAA8D,YAAY,yBAAyB;AACnG,SAAyB,SAAS,cAAc;AAChD,SAAS,gBAAgB;AAGzB,SAAS,sBAAsB;AAIxB,IAAM,OAAO,CAAC,UAAmC;AACvD,MAAI;AACH,WAAO,eAAe,MAAM,KAAK;AAAA,EAClC,SACO,UAAP;AACC,QAAI,oBAAoB,UAAU;AACjC,YAAM,OAAiB,SAAS,OAAO;AAAA,QACtC,CAAC,QAAQ,UAAU;AAClB,gBAAM,OAAO,MAAM,KAAK,KAAK,UAAK;AAClC,gBAAM,MAAM,OAAO,OAAO,MAAM;AAChC,iBAAO,CAAC,GAAG,QAAQ,GAAG;AAAA,QACvB;AAAA,QACA,CAAC,sBAAsB;AAAA,MACxB;AACA,YAAM,gBAAgB,KAAK,KAAK,IAAI,IAAI;AACxC,YAAM,WAAW,UAAU,aAAa;AAAA,IACzC;AACA,UAAM,kBAAkB,UAAU,iDAAiD;AAAA,EACpF;AAED;AAEO,IAAM,SAAS,CAAC,UAAoC,KAAK,KAAK;AAE9D,IAAM,KAAK,CAAC,UAA6D;AAC/E,MAAI;AACH,WAAO,QAAQ,KAAK,KAAK,CAAC;AAAA,EAC3B,SACO,KAAP;AACC,WAAO,OAAO,GAAG;AAAA,EAClB;AACD;AAEO,IAAM,OAAO,CAAC,UAAoF,GAAG,KAAK;AAG1G,IAAM,UAAU;AAAA,EACtB,WAAW;AAAA,EACX,QAAQ,eAAe,UAAU,SAAO,GAAqB;AAC9D;AACO,IAAM,YAAY,QAAQ;AAC1B,IAAM,iBAAiB;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=SingleChar.d.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/out/types/SingleChar.mjs
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// out/types/SingleChar.ts
|
|
2
|
-
import { toParseErr, toParseUnknownErr } from "@taqueria/protocol/TaqError";
|
|
3
|
-
import { resolve, reject } from "fluture";
|
|
4
|
-
import { ZodError } from "zod";
|
|
5
|
-
import { singleCharSchema } from "@taqueria/protocol/out/types-zod";
|
|
6
|
-
var from = (input) => {
|
|
7
|
-
try {
|
|
8
|
-
return singleCharSchema.parse(input);
|
|
9
|
-
} catch (previous) {
|
|
10
|
-
if (previous instanceof ZodError) {
|
|
11
|
-
const msgs = previous.errors.reduce(
|
|
12
|
-
(retval, issue) => {
|
|
13
|
-
const path = issue.path.join(" \u2192 ");
|
|
14
|
-
const msg = path + ": " + issue.message;
|
|
15
|
-
return [...retval, msg];
|
|
16
|
-
},
|
|
17
|
-
["SingleChar is invalid:"]
|
|
18
|
-
);
|
|
19
|
-
const validationErr = msgs.join("\n") + "\n";
|
|
20
|
-
throw toParseErr(previous, validationErr);
|
|
21
|
-
}
|
|
22
|
-
throw toParseUnknownErr(previous, "There was a problem trying to parse a SingleChar.");
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
var create = (input) => from(input);
|
|
26
|
-
var of = (input) => {
|
|
27
|
-
try {
|
|
28
|
-
return resolve(from(input));
|
|
29
|
-
} catch (err) {
|
|
30
|
-
return reject(err);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
var make = (input) => of(input);
|
|
34
|
-
var schemas = {
|
|
35
|
-
rawSchema: singleCharSchema,
|
|
36
|
-
schema: singleCharSchema.transform((val) => val)
|
|
37
|
-
};
|
|
38
|
-
var rawSchema = schemas.rawSchema;
|
|
39
|
-
var internalSchema = singleCharSchema;
|
|
40
|
-
export {
|
|
41
|
-
create,
|
|
42
|
-
from,
|
|
43
|
-
internalSchema,
|
|
44
|
-
make,
|
|
45
|
-
of,
|
|
46
|
-
rawSchema,
|
|
47
|
-
schemas
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=SingleChar.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["SingleChar.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 { SingleChar } from '@taqueria/protocol/types';\nimport { SingleChar as SingleCharStrict } from '@taqueria/protocol/out/types-strict';\nimport { singleCharSchema } from '@taqueria/protocol/out/types-zod';\n\nexport type { SingleCharStrict as SingleChar };\n\nexport const from = (input: unknown): SingleCharStrict => {\n\ttry {\n\t\treturn singleCharSchema.parse(input) as SingleCharStrict;\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[\"SingleChar 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 SingleChar.\")\n\t}\n \n};\n\nexport const create = (input: SingleChar): SingleCharStrict => from(input);\n\nexport const of = (input: unknown): FutureInstance<TaqError, SingleCharStrict> => {\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<SingleCharStrict, '__type'>): FutureInstance<TaqError, SingleCharStrict> => of(input);\n\n// TEMP: for interoperation with old protocol types during transition\nexport const schemas = {\n\trawSchema: singleCharSchema,\n\tschema: singleCharSchema.transform(val => val as SingleCharStrict),\n};\nexport const rawSchema = schemas.rawSchema;\nexport const internalSchema = singleCharSchema;\n\nexport type t = SingleCharStrict;\n "],"mappings":";AAGA,SAA8D,YAAY,yBAAyB;AACnG,SAAyB,SAAS,cAAc;AAChD,SAAS,gBAAgB;AAGzB,SAAS,wBAAwB;AAI1B,IAAM,OAAO,CAAC,UAAqC;AACzD,MAAI;AACH,WAAO,iBAAiB,MAAM,KAAK;AAAA,EACpC,SACO,UAAP;AACC,QAAI,oBAAoB,UAAU;AACjC,YAAM,OAAiB,SAAS,OAAO;AAAA,QACtC,CAAC,QAAQ,UAAU;AAClB,gBAAM,OAAO,MAAM,KAAK,KAAK,UAAK;AAClC,gBAAM,MAAM,OAAO,OAAO,MAAM;AAChC,iBAAO,CAAC,GAAG,QAAQ,GAAG;AAAA,QACvB;AAAA,QACA,CAAC,wBAAwB;AAAA,MAC1B;AACA,YAAM,gBAAgB,KAAK,KAAK,IAAI,IAAI;AACxC,YAAM,WAAW,UAAU,aAAa;AAAA,IACzC;AACA,UAAM,kBAAkB,UAAU,mDAAmD;AAAA,EACtF;AAED;AAEO,IAAM,SAAS,CAAC,UAAwC,KAAK,KAAK;AAElE,IAAM,KAAK,CAAC,UAA+D;AACjF,MAAI;AACH,WAAO,QAAQ,KAAK,KAAK,CAAC;AAAA,EAC3B,SACO,KAAP;AACC,WAAO,OAAO,GAAG;AAAA,EAClB;AACD;AAEO,IAAM,OAAO,CAAC,UAAwF,GAAG,KAAK;AAG9G,IAAM,UAAU;AAAA,EACtB,WAAW;AAAA,EACX,QAAQ,iBAAiB,UAAU,SAAO,GAAuB;AAClE;AACO,IAAM,YAAY,QAAQ;AAC1B,IAAM,iBAAiB;","names":[]}
|
package/out/types/Task.d.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=Task.d.mjs.map
|
package/out/types/Task.d.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/out/types/Task.mjs
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// out/types/Task.ts
|
|
2
|
-
import { toParseErr, toParseUnknownErr } from "@taqueria/protocol/TaqError";
|
|
3
|
-
import { resolve, reject } from "fluture";
|
|
4
|
-
import { ZodError } from "zod";
|
|
5
|
-
import { taskSchema } from "@taqueria/protocol/out/types-zod";
|
|
6
|
-
var from = (input) => {
|
|
7
|
-
try {
|
|
8
|
-
return taskSchema.parse(input);
|
|
9
|
-
} catch (previous) {
|
|
10
|
-
if (previous instanceof ZodError) {
|
|
11
|
-
const msgs = previous.errors.reduce(
|
|
12
|
-
(retval, issue) => {
|
|
13
|
-
const path = issue.path.join(" \u2192 ");
|
|
14
|
-
const msg = path + ": " + issue.message;
|
|
15
|
-
return [...retval, msg];
|
|
16
|
-
},
|
|
17
|
-
["Task is invalid:"]
|
|
18
|
-
);
|
|
19
|
-
const validationErr = msgs.join("\n") + "\n";
|
|
20
|
-
throw toParseErr(previous, validationErr);
|
|
21
|
-
}
|
|
22
|
-
throw toParseUnknownErr(previous, "There was a problem trying to parse a Task.");
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
var create = (input) => from(input);
|
|
26
|
-
var of = (input) => {
|
|
27
|
-
try {
|
|
28
|
-
return resolve(from(input));
|
|
29
|
-
} catch (err) {
|
|
30
|
-
return reject(err);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
var make = (input) => of(input);
|
|
34
|
-
var schemas = {
|
|
35
|
-
rawSchema: taskSchema,
|
|
36
|
-
schema: taskSchema.transform((val) => val)
|
|
37
|
-
};
|
|
38
|
-
var rawSchema = schemas.rawSchema;
|
|
39
|
-
var internalSchema = taskSchema;
|
|
40
|
-
export {
|
|
41
|
-
create,
|
|
42
|
-
from,
|
|
43
|
-
internalSchema,
|
|
44
|
-
make,
|
|
45
|
-
of,
|
|
46
|
-
rawSchema,
|
|
47
|
-
schemas
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=Task.mjs.map
|
package/out/types/Task.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["Task.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 { Task } from '@taqueria/protocol/types';\nimport { Task as TaskStrict } from '@taqueria/protocol/out/types-strict';\nimport { taskSchema } from '@taqueria/protocol/out/types-zod';\n\nexport type { TaskStrict as Task };\n\nexport const from = (input: unknown): TaskStrict => {\n\ttry {\n\t\treturn taskSchema.parse(input) as TaskStrict;\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[\"Task 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 Task.\")\n\t}\n \n};\n\nexport const create = (input: Task): TaskStrict => from(input);\n\nexport const of = (input: unknown): FutureInstance<TaqError, TaskStrict> => {\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<TaskStrict, '__type'>): FutureInstance<TaqError, TaskStrict> => of(input);\n\n// TEMP: for interoperation with old protocol types during transition\nexport const schemas = {\n\trawSchema: taskSchema,\n\tschema: taskSchema.transform(val => val as TaskStrict),\n};\nexport const rawSchema = schemas.rawSchema;\nexport const internalSchema = taskSchema;\n\nexport type t = TaskStrict;\n "],"mappings":";AAGA,SAA8D,YAAY,yBAAyB;AACnG,SAAyB,SAAS,cAAc;AAChD,SAAS,gBAAgB;AAGzB,SAAS,kBAAkB;AAIpB,IAAM,OAAO,CAAC,UAA+B;AACnD,MAAI;AACH,WAAO,WAAW,MAAM,KAAK;AAAA,EAC9B,SACO,UAAP;AACC,QAAI,oBAAoB,UAAU;AACjC,YAAM,OAAiB,SAAS,OAAO;AAAA,QACtC,CAAC,QAAQ,UAAU;AAClB,gBAAM,OAAO,MAAM,KAAK,KAAK,UAAK;AAClC,gBAAM,MAAM,OAAO,OAAO,MAAM;AAChC,iBAAO,CAAC,GAAG,QAAQ,GAAG;AAAA,QACvB;AAAA,QACA,CAAC,kBAAkB;AAAA,MACpB;AACA,YAAM,gBAAgB,KAAK,KAAK,IAAI,IAAI;AACxC,YAAM,WAAW,UAAU,aAAa;AAAA,IACzC;AACA,UAAM,kBAAkB,UAAU,6CAA6C;AAAA,EAChF;AAED;AAEO,IAAM,SAAS,CAAC,UAA4B,KAAK,KAAK;AAEtD,IAAM,KAAK,CAAC,UAAyD;AAC3E,MAAI;AACH,WAAO,QAAQ,KAAK,KAAK,CAAC;AAAA,EAC3B,SACO,KAAP;AACC,WAAO,OAAO,GAAG;AAAA,EAClB;AACD;AAEO,IAAM,OAAO,CAAC,UAA4E,GAAG,KAAK;AAGlG,IAAM,UAAU;AAAA,EACtB,WAAW;AAAA,EACX,QAAQ,WAAW,UAAU,SAAO,GAAiB;AACtD;AACO,IAAM,YAAY,QAAQ;AAC1B,IAAM,iBAAiB;","names":[]}
|
package/out/types/Template.d.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=Template.d.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/out/types/Template.mjs
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// out/types/Template.ts
|
|
2
|
-
import { toParseErr, toParseUnknownErr } from "@taqueria/protocol/TaqError";
|
|
3
|
-
import { resolve, reject } from "fluture";
|
|
4
|
-
import { ZodError } from "zod";
|
|
5
|
-
import { templateSchema } from "@taqueria/protocol/out/types-zod";
|
|
6
|
-
var from = (input) => {
|
|
7
|
-
try {
|
|
8
|
-
return templateSchema.parse(input);
|
|
9
|
-
} catch (previous) {
|
|
10
|
-
if (previous instanceof ZodError) {
|
|
11
|
-
const msgs = previous.errors.reduce(
|
|
12
|
-
(retval, issue) => {
|
|
13
|
-
const path = issue.path.join(" \u2192 ");
|
|
14
|
-
const msg = path + ": " + issue.message;
|
|
15
|
-
return [...retval, msg];
|
|
16
|
-
},
|
|
17
|
-
["Template is invalid:"]
|
|
18
|
-
);
|
|
19
|
-
const validationErr = msgs.join("\n") + "\n";
|
|
20
|
-
throw toParseErr(previous, validationErr);
|
|
21
|
-
}
|
|
22
|
-
throw toParseUnknownErr(previous, "There was a problem trying to parse a Template.");
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
var create = (input) => from(input);
|
|
26
|
-
var of = (input) => {
|
|
27
|
-
try {
|
|
28
|
-
return resolve(from(input));
|
|
29
|
-
} catch (err) {
|
|
30
|
-
return reject(err);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
var make = (input) => of(input);
|
|
34
|
-
var schemas = {
|
|
35
|
-
rawSchema: templateSchema,
|
|
36
|
-
schema: templateSchema.transform((val) => val)
|
|
37
|
-
};
|
|
38
|
-
var rawSchema = schemas.rawSchema;
|
|
39
|
-
var internalSchema = templateSchema;
|
|
40
|
-
export {
|
|
41
|
-
create,
|
|
42
|
-
from,
|
|
43
|
-
internalSchema,
|
|
44
|
-
make,
|
|
45
|
-
of,
|
|
46
|
-
rawSchema,
|
|
47
|
-
schemas
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=Template.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["Template.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 { Template } from '@taqueria/protocol/types';\nimport { Template as TemplateStrict } from '@taqueria/protocol/out/types-strict';\nimport { templateSchema } from '@taqueria/protocol/out/types-zod';\n\nexport type { TemplateStrict as Template };\n\nexport const from = (input: unknown): TemplateStrict => {\n\ttry {\n\t\treturn templateSchema.parse(input) as TemplateStrict;\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[\"Template 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 Template.\")\n\t}\n \n};\n\nexport const create = (input: Template): TemplateStrict => from(input);\n\nexport const of = (input: unknown): FutureInstance<TaqError, TemplateStrict> => {\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<TemplateStrict, '__type'>): FutureInstance<TaqError, TemplateStrict> => of(input);\n\n// TEMP: for interoperation with old protocol types during transition\nexport const schemas = {\n\trawSchema: templateSchema,\n\tschema: templateSchema.transform(val => val as TemplateStrict),\n};\nexport const rawSchema = schemas.rawSchema;\nexport const internalSchema = templateSchema;\n\nexport type t = TemplateStrict;\n "],"mappings":";AAGA,SAA8D,YAAY,yBAAyB;AACnG,SAAyB,SAAS,cAAc;AAChD,SAAS,gBAAgB;AAGzB,SAAS,sBAAsB;AAIxB,IAAM,OAAO,CAAC,UAAmC;AACvD,MAAI;AACH,WAAO,eAAe,MAAM,KAAK;AAAA,EAClC,SACO,UAAP;AACC,QAAI,oBAAoB,UAAU;AACjC,YAAM,OAAiB,SAAS,OAAO;AAAA,QACtC,CAAC,QAAQ,UAAU;AAClB,gBAAM,OAAO,MAAM,KAAK,KAAK,UAAK;AAClC,gBAAM,MAAM,OAAO,OAAO,MAAM;AAChC,iBAAO,CAAC,GAAG,QAAQ,GAAG;AAAA,QACvB;AAAA,QACA,CAAC,sBAAsB;AAAA,MACxB;AACA,YAAM,gBAAgB,KAAK,KAAK,IAAI,IAAI;AACxC,YAAM,WAAW,UAAU,aAAa;AAAA,IACzC;AACA,UAAM,kBAAkB,UAAU,iDAAiD;AAAA,EACpF;AAED;AAEO,IAAM,SAAS,CAAC,UAAoC,KAAK,KAAK;AAE9D,IAAM,KAAK,CAAC,UAA6D;AAC/E,MAAI;AACH,WAAO,QAAQ,KAAK,KAAK,CAAC;AAAA,EAC3B,SACO,KAAP;AACC,WAAO,OAAO,GAAG;AAAA,EAClB;AACD;AAEO,IAAM,OAAO,CAAC,UAAoF,GAAG,KAAK;AAG1G,IAAM,UAAU;AAAA,EACtB,WAAW;AAAA,EACX,QAAQ,eAAe,UAAU,SAAO,GAAqB;AAC9D;AACO,IAAM,YAAY,QAAQ;AAC1B,IAAM,iBAAiB;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=Timestamp.d.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/out/types/Timestamp.mjs
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// out/types/Timestamp.ts
|
|
2
|
-
import { toParseErr, toParseUnknownErr } from "@taqueria/protocol/TaqError";
|
|
3
|
-
import { resolve, reject } from "fluture";
|
|
4
|
-
import { ZodError } from "zod";
|
|
5
|
-
import { timestampSchema } from "@taqueria/protocol/out/types-zod";
|
|
6
|
-
var from = (input) => {
|
|
7
|
-
try {
|
|
8
|
-
return timestampSchema.parse(input);
|
|
9
|
-
} catch (previous) {
|
|
10
|
-
if (previous instanceof ZodError) {
|
|
11
|
-
const msgs = previous.errors.reduce(
|
|
12
|
-
(retval, issue) => {
|
|
13
|
-
const path = issue.path.join(" \u2192 ");
|
|
14
|
-
const msg = path + ": " + issue.message;
|
|
15
|
-
return [...retval, msg];
|
|
16
|
-
},
|
|
17
|
-
["Timestamp is invalid:"]
|
|
18
|
-
);
|
|
19
|
-
const validationErr = msgs.join("\n") + "\n";
|
|
20
|
-
throw toParseErr(previous, validationErr);
|
|
21
|
-
}
|
|
22
|
-
throw toParseUnknownErr(previous, "There was a problem trying to parse a Timestamp.");
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
var create = (input) => from(input);
|
|
26
|
-
var of = (input) => {
|
|
27
|
-
try {
|
|
28
|
-
return resolve(from(input));
|
|
29
|
-
} catch (err) {
|
|
30
|
-
return reject(err);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
var make = (input) => of(input);
|
|
34
|
-
var schemas = {
|
|
35
|
-
rawSchema: timestampSchema,
|
|
36
|
-
schema: timestampSchema.transform((val) => val)
|
|
37
|
-
};
|
|
38
|
-
var rawSchema = schemas.rawSchema;
|
|
39
|
-
var internalSchema = timestampSchema;
|
|
40
|
-
export {
|
|
41
|
-
create,
|
|
42
|
-
from,
|
|
43
|
-
internalSchema,
|
|
44
|
-
make,
|
|
45
|
-
of,
|
|
46
|
-
rawSchema,
|
|
47
|
-
schemas
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=Timestamp.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["Timestamp.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 { Timestamp } from '@taqueria/protocol/types';\nimport { Timestamp as TimestampStrict } from '@taqueria/protocol/out/types-strict';\nimport { timestampSchema } from '@taqueria/protocol/out/types-zod';\n\nexport type { TimestampStrict as Timestamp };\n\nexport const from = (input: unknown): TimestampStrict => {\n\ttry {\n\t\treturn timestampSchema.parse(input) as TimestampStrict;\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[\"Timestamp 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 Timestamp.\")\n\t}\n \n};\n\nexport const create = (input: Timestamp): TimestampStrict => from(input);\n\nexport const of = (input: unknown): FutureInstance<TaqError, TimestampStrict> => {\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<TimestampStrict, '__type'>): FutureInstance<TaqError, TimestampStrict> => of(input);\n\n// TEMP: for interoperation with old protocol types during transition\nexport const schemas = {\n\trawSchema: timestampSchema,\n\tschema: timestampSchema.transform(val => val as TimestampStrict),\n};\nexport const rawSchema = schemas.rawSchema;\nexport const internalSchema = timestampSchema;\n\nexport type t = TimestampStrict;\n "],"mappings":";AAGA,SAA8D,YAAY,yBAAyB;AACnG,SAAyB,SAAS,cAAc;AAChD,SAAS,gBAAgB;AAGzB,SAAS,uBAAuB;AAIzB,IAAM,OAAO,CAAC,UAAoC;AACxD,MAAI;AACH,WAAO,gBAAgB,MAAM,KAAK;AAAA,EACnC,SACO,UAAP;AACC,QAAI,oBAAoB,UAAU;AACjC,YAAM,OAAiB,SAAS,OAAO;AAAA,QACtC,CAAC,QAAQ,UAAU;AAClB,gBAAM,OAAO,MAAM,KAAK,KAAK,UAAK;AAClC,gBAAM,MAAM,OAAO,OAAO,MAAM;AAChC,iBAAO,CAAC,GAAG,QAAQ,GAAG;AAAA,QACvB;AAAA,QACA,CAAC,uBAAuB;AAAA,MACzB;AACA,YAAM,gBAAgB,KAAK,KAAK,IAAI,IAAI;AACxC,YAAM,WAAW,UAAU,aAAa;AAAA,IACzC;AACA,UAAM,kBAAkB,UAAU,kDAAkD;AAAA,EACrF;AAED;AAEO,IAAM,SAAS,CAAC,UAAsC,KAAK,KAAK;AAEhE,IAAM,KAAK,CAAC,UAA8D;AAChF,MAAI;AACH,WAAO,QAAQ,KAAK,KAAK,CAAC;AAAA,EAC3B,SACO,KAAP;AACC,WAAO,OAAO,GAAG;AAAA,EAClB;AACD;AAEO,IAAM,OAAO,CAAC,UAAsF,GAAG,KAAK;AAG5G,IAAM,UAAU;AAAA,EACtB,WAAW;AAAA,EACX,QAAQ,gBAAgB,UAAU,SAAO,GAAsB;AAChE;AACO,IAAM,YAAY,QAAQ;AAC1B,IAAM,iBAAiB;","names":[]}
|
package/out/types/Tz.d.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=Tz.d.mjs.map
|
package/out/types/Tz.d.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/out/types/Tz.mjs
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// out/types/Tz.ts
|
|
2
|
-
import { toParseErr, toParseUnknownErr } from "@taqueria/protocol/TaqError";
|
|
3
|
-
import { resolve, reject } from "fluture";
|
|
4
|
-
import { ZodError } from "zod";
|
|
5
|
-
import { tzSchema } from "@taqueria/protocol/out/types-zod";
|
|
6
|
-
var from = (input) => {
|
|
7
|
-
try {
|
|
8
|
-
return tzSchema.parse(input);
|
|
9
|
-
} catch (previous) {
|
|
10
|
-
if (previous instanceof ZodError) {
|
|
11
|
-
const msgs = previous.errors.reduce(
|
|
12
|
-
(retval, issue) => {
|
|
13
|
-
const path = issue.path.join(" \u2192 ");
|
|
14
|
-
const msg = path + ": " + issue.message;
|
|
15
|
-
return [...retval, msg];
|
|
16
|
-
},
|
|
17
|
-
["Tz is invalid:"]
|
|
18
|
-
);
|
|
19
|
-
const validationErr = msgs.join("\n") + "\n";
|
|
20
|
-
throw toParseErr(previous, validationErr);
|
|
21
|
-
}
|
|
22
|
-
throw toParseUnknownErr(previous, "There was a problem trying to parse a Tz.");
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
var create = (input) => from(input);
|
|
26
|
-
var of = (input) => {
|
|
27
|
-
try {
|
|
28
|
-
return resolve(from(input));
|
|
29
|
-
} catch (err) {
|
|
30
|
-
return reject(err);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
var make = (input) => of(input);
|
|
34
|
-
var schemas = {
|
|
35
|
-
rawSchema: tzSchema,
|
|
36
|
-
schema: tzSchema.transform((val) => val)
|
|
37
|
-
};
|
|
38
|
-
var rawSchema = schemas.rawSchema;
|
|
39
|
-
var internalSchema = tzSchema;
|
|
40
|
-
export {
|
|
41
|
-
create,
|
|
42
|
-
from,
|
|
43
|
-
internalSchema,
|
|
44
|
-
make,
|
|
45
|
-
of,
|
|
46
|
-
rawSchema,
|
|
47
|
-
schemas
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=Tz.mjs.map
|
package/out/types/Tz.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["Tz.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 { Tz } from '@taqueria/protocol/types';\nimport { Tz as TzStrict } from '@taqueria/protocol/out/types-strict';\nimport { tzSchema } from '@taqueria/protocol/out/types-zod';\n\nexport type { TzStrict as Tz };\n\nexport const from = (input: unknown): TzStrict => {\n\ttry {\n\t\treturn tzSchema.parse(input) as TzStrict;\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[\"Tz 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 Tz.\")\n\t}\n \n};\n\nexport const create = (input: Tz): TzStrict => from(input);\n\nexport const of = (input: unknown): FutureInstance<TaqError, TzStrict> => {\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<TzStrict, '__type'>): FutureInstance<TaqError, TzStrict> => of(input);\n\n// TEMP: for interoperation with old protocol types during transition\nexport const schemas = {\n\trawSchema: tzSchema,\n\tschema: tzSchema.transform(val => val as TzStrict),\n};\nexport const rawSchema = schemas.rawSchema;\nexport const internalSchema = tzSchema;\n\nexport type t = TzStrict;\n "],"mappings":";AAGA,SAA8D,YAAY,yBAAyB;AACnG,SAAyB,SAAS,cAAc;AAChD,SAAS,gBAAgB;AAGzB,SAAS,gBAAgB;AAIlB,IAAM,OAAO,CAAC,UAA6B;AACjD,MAAI;AACH,WAAO,SAAS,MAAM,KAAK;AAAA,EAC5B,SACO,UAAP;AACC,QAAI,oBAAoB,UAAU;AACjC,YAAM,OAAiB,SAAS,OAAO;AAAA,QACtC,CAAC,QAAQ,UAAU;AAClB,gBAAM,OAAO,MAAM,KAAK,KAAK,UAAK;AAClC,gBAAM,MAAM,OAAO,OAAO,MAAM;AAChC,iBAAO,CAAC,GAAG,QAAQ,GAAG;AAAA,QACvB;AAAA,QACA,CAAC,gBAAgB;AAAA,MAClB;AACA,YAAM,gBAAgB,KAAK,KAAK,IAAI,IAAI;AACxC,YAAM,WAAW,UAAU,aAAa;AAAA,IACzC;AACA,UAAM,kBAAkB,UAAU,2CAA2C;AAAA,EAC9E;AAED;AAEO,IAAM,SAAS,CAAC,UAAwB,KAAK,KAAK;AAElD,IAAM,KAAK,CAAC,UAAuD;AACzE,MAAI;AACH,WAAO,QAAQ,KAAK,KAAK,CAAC;AAAA,EAC3B,SACO,KAAP;AACC,WAAO,OAAO,GAAG;AAAA,EAClB;AACD;AAEO,IAAM,OAAO,CAAC,UAAwE,GAAG,KAAK;AAG9F,IAAM,UAAU;AAAA,EACtB,WAAW;AAAA,EACX,QAAQ,SAAS,UAAU,SAAO,GAAe;AAClD;AACO,IAAM,YAAY,QAAQ;AAC1B,IAAM,iBAAiB;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=TzKtConfig.d.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/out/types/TzKtConfig.mjs
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// out/types/TzKtConfig.ts
|
|
2
|
-
import { toParseErr, toParseUnknownErr } from "@taqueria/protocol/TaqError";
|
|
3
|
-
import { resolve, reject } from "fluture";
|
|
4
|
-
import { ZodError } from "zod";
|
|
5
|
-
import { tzKtConfigSchema } from "@taqueria/protocol/out/types-zod";
|
|
6
|
-
var from = (input) => {
|
|
7
|
-
try {
|
|
8
|
-
return tzKtConfigSchema.parse(input);
|
|
9
|
-
} catch (previous) {
|
|
10
|
-
if (previous instanceof ZodError) {
|
|
11
|
-
const msgs = previous.errors.reduce(
|
|
12
|
-
(retval, issue) => {
|
|
13
|
-
const path = issue.path.join(" \u2192 ");
|
|
14
|
-
const msg = path + ": " + issue.message;
|
|
15
|
-
return [...retval, msg];
|
|
16
|
-
},
|
|
17
|
-
["TzKtConfig is invalid:"]
|
|
18
|
-
);
|
|
19
|
-
const validationErr = msgs.join("\n") + "\n";
|
|
20
|
-
throw toParseErr(previous, validationErr);
|
|
21
|
-
}
|
|
22
|
-
throw toParseUnknownErr(previous, "There was a problem trying to parse a TzKtConfig.");
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
var create = (input) => from(input);
|
|
26
|
-
var of = (input) => {
|
|
27
|
-
try {
|
|
28
|
-
return resolve(from(input));
|
|
29
|
-
} catch (err) {
|
|
30
|
-
return reject(err);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
var make = (input) => of(input);
|
|
34
|
-
var schemas = {
|
|
35
|
-
rawSchema: tzKtConfigSchema,
|
|
36
|
-
schema: tzKtConfigSchema.transform((val) => val)
|
|
37
|
-
};
|
|
38
|
-
var rawSchema = schemas.rawSchema;
|
|
39
|
-
var internalSchema = tzKtConfigSchema;
|
|
40
|
-
export {
|
|
41
|
-
create,
|
|
42
|
-
from,
|
|
43
|
-
internalSchema,
|
|
44
|
-
make,
|
|
45
|
-
of,
|
|
46
|
-
rawSchema,
|
|
47
|
-
schemas
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=TzKtConfig.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["TzKtConfig.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 { TzKtConfig } from '@taqueria/protocol/types';\nimport { TzKtConfig as TzKtConfigStrict } from '@taqueria/protocol/out/types-strict';\nimport { tzKtConfigSchema } from '@taqueria/protocol/out/types-zod';\n\nexport type { TzKtConfigStrict as TzKtConfig };\n\nexport const from = (input: unknown): TzKtConfigStrict => {\n\ttry {\n\t\treturn tzKtConfigSchema.parse(input) as TzKtConfigStrict;\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[\"TzKtConfig 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 TzKtConfig.\")\n\t}\n \n};\n\nexport const create = (input: TzKtConfig): TzKtConfigStrict => from(input);\n\nexport const of = (input: unknown): FutureInstance<TaqError, TzKtConfigStrict> => {\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<TzKtConfigStrict, '__type'>): FutureInstance<TaqError, TzKtConfigStrict> => of(input);\n\n// TEMP: for interoperation with old protocol types during transition\nexport const schemas = {\n\trawSchema: tzKtConfigSchema,\n\tschema: tzKtConfigSchema.transform(val => val as TzKtConfigStrict),\n};\nexport const rawSchema = schemas.rawSchema;\nexport const internalSchema = tzKtConfigSchema;\n\nexport type t = TzKtConfigStrict;\n "],"mappings":";AAGA,SAA8D,YAAY,yBAAyB;AACnG,SAAyB,SAAS,cAAc;AAChD,SAAS,gBAAgB;AAGzB,SAAS,wBAAwB;AAI1B,IAAM,OAAO,CAAC,UAAqC;AACzD,MAAI;AACH,WAAO,iBAAiB,MAAM,KAAK;AAAA,EACpC,SACO,UAAP;AACC,QAAI,oBAAoB,UAAU;AACjC,YAAM,OAAiB,SAAS,OAAO;AAAA,QACtC,CAAC,QAAQ,UAAU;AAClB,gBAAM,OAAO,MAAM,KAAK,KAAK,UAAK;AAClC,gBAAM,MAAM,OAAO,OAAO,MAAM;AAChC,iBAAO,CAAC,GAAG,QAAQ,GAAG;AAAA,QACvB;AAAA,QACA,CAAC,wBAAwB;AAAA,MAC1B;AACA,YAAM,gBAAgB,KAAK,KAAK,IAAI,IAAI;AACxC,YAAM,WAAW,UAAU,aAAa;AAAA,IACzC;AACA,UAAM,kBAAkB,UAAU,mDAAmD;AAAA,EACtF;AAED;AAEO,IAAM,SAAS,CAAC,UAAwC,KAAK,KAAK;AAElE,IAAM,KAAK,CAAC,UAA+D;AACjF,MAAI;AACH,WAAO,QAAQ,KAAK,KAAK,CAAC;AAAA,EAC3B,SACO,KAAP;AACC,WAAO,OAAO,GAAG;AAAA,EAClB;AACD;AAEO,IAAM,OAAO,CAAC,UAAwF,GAAG,KAAK;AAG9G,IAAM,UAAU;AAAA,EACtB,WAAW;AAAA,EACX,QAAQ,iBAAiB,UAAU,SAAO,GAAuB;AAClE;AACO,IAAM,YAAY,QAAQ;AAC1B,IAAM,iBAAiB;","names":[]}
|
package/out/types/Url.d.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=Url.d.mjs.map
|
package/out/types/Url.d.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|