@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":["EphemeralState.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 { EphemeralState } from '@taqueria/protocol/types';\nimport { EphemeralState as EphemeralStateStrict } from '@taqueria/protocol/out/types-strict';\nimport { ephemeralStateSchema } from '@taqueria/protocol/out/types-zod';\n\nexport type { EphemeralStateStrict as EphemeralState };\n\nexport const from = (input: unknown): EphemeralStateStrict => {\n\ttry {\n\t\treturn ephemeralStateSchema.parse(input) as EphemeralStateStrict;\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[\"EphemeralState 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 EphemeralState.\")\n\t}\n \n};\n\nexport const create = (input: EphemeralState): EphemeralStateStrict => from(input);\n\nexport const of = (input: unknown): FutureInstance<TaqError, EphemeralStateStrict> => {\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<EphemeralStateStrict, '__type'>): FutureInstance<TaqError, EphemeralStateStrict> => of(input);\n\n// TEMP: for interoperation with old protocol types during transition\nexport const schemas = {\n\trawSchema: ephemeralStateSchema,\n\tschema: ephemeralStateSchema.transform(val => val as EphemeralStateStrict),\n};\nexport const rawSchema = schemas.rawSchema;\nexport const internalSchema = ephemeralStateSchema;\n\nexport type t = EphemeralStateStrict;\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/Faucet.d.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=Faucet.d.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/out/types/Faucet.mjs
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// out/types/Faucet.ts
|
|
2
|
-
import { toParseErr, toParseUnknownErr } from "@taqueria/protocol/TaqError";
|
|
3
|
-
import { resolve, reject } from "fluture";
|
|
4
|
-
import { ZodError } from "zod";
|
|
5
|
-
import { faucetSchema } from "@taqueria/protocol/out/types-zod";
|
|
6
|
-
var from = (input) => {
|
|
7
|
-
try {
|
|
8
|
-
return faucetSchema.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
|
-
["Faucet 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 Faucet.");
|
|
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: faucetSchema,
|
|
36
|
-
schema: faucetSchema.transform((val) => val)
|
|
37
|
-
};
|
|
38
|
-
var rawSchema = schemas.rawSchema;
|
|
39
|
-
var internalSchema = faucetSchema;
|
|
40
|
-
export {
|
|
41
|
-
create,
|
|
42
|
-
from,
|
|
43
|
-
internalSchema,
|
|
44
|
-
make,
|
|
45
|
-
of,
|
|
46
|
-
rawSchema,
|
|
47
|
-
schemas
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=Faucet.mjs.map
|
package/out/types/Faucet.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["Faucet.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 { Faucet } from '@taqueria/protocol/types';\nimport { Faucet as FaucetStrict } from '@taqueria/protocol/out/types-strict';\nimport { faucetSchema } from '@taqueria/protocol/out/types-zod';\n\nexport type { FaucetStrict as Faucet };\n\nexport const from = (input: unknown): FaucetStrict => {\n\ttry {\n\t\treturn faucetSchema.parse(input) as FaucetStrict;\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[\"Faucet 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 Faucet.\")\n\t}\n \n};\n\nexport const create = (input: Faucet): FaucetStrict => from(input);\n\nexport const of = (input: unknown): FutureInstance<TaqError, FaucetStrict> => {\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<FaucetStrict, '__type'>): FutureInstance<TaqError, FaucetStrict> => of(input);\n\n// TEMP: for interoperation with old protocol types during transition\nexport const schemas = {\n\trawSchema: faucetSchema,\n\tschema: faucetSchema.transform(val => val as FaucetStrict),\n};\nexport const rawSchema = schemas.rawSchema;\nexport const internalSchema = faucetSchema;\n\nexport type t = FaucetStrict;\n "],"mappings":";AAGA,SAA8D,YAAY,yBAAyB;AACnG,SAAyB,SAAS,cAAc;AAChD,SAAS,gBAAgB;AAGzB,SAAS,oBAAoB;AAItB,IAAM,OAAO,CAAC,UAAiC;AACrD,MAAI;AACH,WAAO,aAAa,MAAM,KAAK;AAAA,EAChC,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,oBAAoB;AAAA,MACtB;AACA,YAAM,gBAAgB,KAAK,KAAK,IAAI,IAAI;AACxC,YAAM,WAAW,UAAU,aAAa;AAAA,IACzC;AACA,UAAM,kBAAkB,UAAU,+CAA+C;AAAA,EAClF;AAED;AAEO,IAAM,SAAS,CAAC,UAAgC,KAAK,KAAK;AAE1D,IAAM,KAAK,CAAC,UAA2D;AAC7E,MAAI;AACH,WAAO,QAAQ,KAAK,KAAK,CAAC;AAAA,EAC3B,SACO,KAAP;AACC,WAAO,OAAO,GAAG;AAAA,EAClB;AACD;AAEO,IAAM,OAAO,CAAC,UAAgF,GAAG,KAAK;AAGtG,IAAM,UAAU;AAAA,EACtB,WAAW;AAAA,EACX,QAAQ,aAAa,UAAU,SAAO,GAAmB;AAC1D;AACO,IAAM,YAAY,QAAQ;AAC1B,IAAM,iBAAiB;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=HumanReadableIdentifier.d.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// out/types/HumanReadableIdentifier.ts
|
|
2
|
-
import { toParseErr, toParseUnknownErr } from "@taqueria/protocol/TaqError";
|
|
3
|
-
import { resolve, reject } from "fluture";
|
|
4
|
-
import { ZodError } from "zod";
|
|
5
|
-
import { humanReadableIdentifierSchema } from "@taqueria/protocol/out/types-zod";
|
|
6
|
-
var from = (input) => {
|
|
7
|
-
try {
|
|
8
|
-
return humanReadableIdentifierSchema.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
|
-
["HumanReadableIdentifier 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 HumanReadableIdentifier.");
|
|
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: humanReadableIdentifierSchema,
|
|
36
|
-
schema: humanReadableIdentifierSchema.transform((val) => val)
|
|
37
|
-
};
|
|
38
|
-
var rawSchema = schemas.rawSchema;
|
|
39
|
-
var internalSchema = humanReadableIdentifierSchema;
|
|
40
|
-
export {
|
|
41
|
-
create,
|
|
42
|
-
from,
|
|
43
|
-
internalSchema,
|
|
44
|
-
make,
|
|
45
|
-
of,
|
|
46
|
-
rawSchema,
|
|
47
|
-
schemas
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=HumanReadableIdentifier.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["HumanReadableIdentifier.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 { HumanReadableIdentifier } from '@taqueria/protocol/types';\nimport { HumanReadableIdentifier as HumanReadableIdentifierStrict } from '@taqueria/protocol/out/types-strict';\nimport { humanReadableIdentifierSchema } from '@taqueria/protocol/out/types-zod';\n\nexport type { HumanReadableIdentifierStrict as HumanReadableIdentifier };\n\nexport const from = (input: unknown): HumanReadableIdentifierStrict => {\n\ttry {\n\t\treturn humanReadableIdentifierSchema.parse(input) as HumanReadableIdentifierStrict;\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[\"HumanReadableIdentifier 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 HumanReadableIdentifier.\")\n\t}\n \n};\n\nexport const create = (input: HumanReadableIdentifier): HumanReadableIdentifierStrict => from(input);\n\nexport const of = (input: unknown): FutureInstance<TaqError, HumanReadableIdentifierStrict> => {\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<HumanReadableIdentifierStrict, '__type'>): FutureInstance<TaqError, HumanReadableIdentifierStrict> => of(input);\n\n// TEMP: for interoperation with old protocol types during transition\nexport const schemas = {\n\trawSchema: humanReadableIdentifierSchema,\n\tschema: humanReadableIdentifierSchema.transform(val => val as HumanReadableIdentifierStrict),\n};\nexport const rawSchema = schemas.rawSchema;\nexport const internalSchema = humanReadableIdentifierSchema;\n\nexport type t = HumanReadableIdentifierStrict;\n "],"mappings":";AAGA,SAA8D,YAAY,yBAAyB;AACnG,SAAyB,SAAS,cAAc;AAChD,SAAS,gBAAgB;AAGzB,SAAS,qCAAqC;AAIvC,IAAM,OAAO,CAAC,UAAkD;AACtE,MAAI;AACH,WAAO,8BAA8B,MAAM,KAAK;AAAA,EACjD,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,qCAAqC;AAAA,MACvC;AACA,YAAM,gBAAgB,KAAK,KAAK,IAAI,IAAI;AACxC,YAAM,WAAW,UAAU,aAAa;AAAA,IACzC;AACA,UAAM,kBAAkB,UAAU,gEAAgE;AAAA,EACnG;AAED;AAEO,IAAM,SAAS,CAAC,UAAkE,KAAK,KAAK;AAE5F,IAAM,KAAK,CAAC,UAA4E;AAC9F,MAAI;AACH,WAAO,QAAQ,KAAK,KAAK,CAAC;AAAA,EAC3B,SACO,KAAP;AACC,WAAO,OAAO,GAAG;AAAA,EAClB;AACD;AAEO,IAAM,OAAO,CAAC,UAAkH,GAAG,KAAK;AAGxI,IAAM,UAAU;AAAA,EACtB,WAAW;AAAA,EACX,QAAQ,8BAA8B,UAAU,SAAO,GAAoC;AAC5F;AACO,IAAM,YAAY,QAAQ;AAC1B,IAAM,iBAAiB;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=InstalledPlugin.d.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// out/types/InstalledPlugin.ts
|
|
2
|
-
import { toParseErr, toParseUnknownErr } from "@taqueria/protocol/TaqError";
|
|
3
|
-
import { resolve, reject } from "fluture";
|
|
4
|
-
import { ZodError } from "zod";
|
|
5
|
-
import { installedPluginSchema } from "@taqueria/protocol/out/types-zod";
|
|
6
|
-
var from = (input) => {
|
|
7
|
-
try {
|
|
8
|
-
return installedPluginSchema.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
|
-
["InstalledPlugin 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 InstalledPlugin.");
|
|
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: installedPluginSchema,
|
|
36
|
-
schema: installedPluginSchema.transform((val) => val)
|
|
37
|
-
};
|
|
38
|
-
var rawSchema = schemas.rawSchema;
|
|
39
|
-
var internalSchema = installedPluginSchema;
|
|
40
|
-
export {
|
|
41
|
-
create,
|
|
42
|
-
from,
|
|
43
|
-
internalSchema,
|
|
44
|
-
make,
|
|
45
|
-
of,
|
|
46
|
-
rawSchema,
|
|
47
|
-
schemas
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=InstalledPlugin.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["InstalledPlugin.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 { InstalledPlugin } from '@taqueria/protocol/types';\nimport { InstalledPlugin as InstalledPluginStrict } from '@taqueria/protocol/out/types-strict';\nimport { installedPluginSchema } from '@taqueria/protocol/out/types-zod';\n\nexport type { InstalledPluginStrict as InstalledPlugin };\n\nexport const from = (input: unknown): InstalledPluginStrict => {\n\ttry {\n\t\treturn installedPluginSchema.parse(input) as InstalledPluginStrict;\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[\"InstalledPlugin 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 InstalledPlugin.\")\n\t}\n \n};\n\nexport const create = (input: InstalledPlugin): InstalledPluginStrict => from(input);\n\nexport const of = (input: unknown): FutureInstance<TaqError, InstalledPluginStrict> => {\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<InstalledPluginStrict, '__type'>): FutureInstance<TaqError, InstalledPluginStrict> => of(input);\n\n// TEMP: for interoperation with old protocol types during transition\nexport const schemas = {\n\trawSchema: installedPluginSchema,\n\tschema: installedPluginSchema.transform(val => val as InstalledPluginStrict),\n};\nexport const rawSchema = schemas.rawSchema;\nexport const internalSchema = installedPluginSchema;\n\nexport type t = InstalledPluginStrict;\n "],"mappings":";AAGA,SAA8D,YAAY,yBAAyB;AACnG,SAAyB,SAAS,cAAc;AAChD,SAAS,gBAAgB;AAGzB,SAAS,6BAA6B;AAI/B,IAAM,OAAO,CAAC,UAA0C;AAC9D,MAAI;AACH,WAAO,sBAAsB,MAAM,KAAK;AAAA,EACzC,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,6BAA6B;AAAA,MAC/B;AACA,YAAM,gBAAgB,KAAK,KAAK,IAAI,IAAI;AACxC,YAAM,WAAW,UAAU,aAAa;AAAA,IACzC;AACA,UAAM,kBAAkB,UAAU,wDAAwD;AAAA,EAC3F;AAED;AAEO,IAAM,SAAS,CAAC,UAAkD,KAAK,KAAK;AAE5E,IAAM,KAAK,CAAC,UAAoE;AACtF,MAAI;AACH,WAAO,QAAQ,KAAK,KAAK,CAAC;AAAA,EAC3B,SACO,KAAP;AACC,WAAO,OAAO,GAAG;AAAA,EAClB;AACD;AAEO,IAAM,OAAO,CAAC,UAAkG,GAAG,KAAK;AAGxH,IAAM,UAAU;AAAA,EACtB,WAAW;AAAA,EACX,QAAQ,sBAAsB,UAAU,SAAO,GAA4B;AAC5E;AACO,IAAM,YAAY,QAAQ;AAC1B,IAAM,iBAAiB;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=LoadedConfig.d.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// out/types/LoadedConfig.ts
|
|
2
|
-
import { toParseErr, toParseUnknownErr } from "@taqueria/protocol/TaqError";
|
|
3
|
-
import { resolve, reject } from "fluture";
|
|
4
|
-
import { ZodError } from "zod";
|
|
5
|
-
import { loadedConfigSchema } from "@taqueria/protocol/out/types-zod";
|
|
6
|
-
var from = (input) => {
|
|
7
|
-
try {
|
|
8
|
-
return loadedConfigSchema.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
|
-
["Your .taq/config.json 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 LoadedConfig.");
|
|
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: loadedConfigSchema,
|
|
36
|
-
schema: loadedConfigSchema.transform((val) => val)
|
|
37
|
-
};
|
|
38
|
-
var rawSchema = schemas.rawSchema;
|
|
39
|
-
var internalSchema = loadedConfigSchema;
|
|
40
|
-
export {
|
|
41
|
-
create,
|
|
42
|
-
from,
|
|
43
|
-
internalSchema,
|
|
44
|
-
make,
|
|
45
|
-
of,
|
|
46
|
-
rawSchema,
|
|
47
|
-
schemas
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=LoadedConfig.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["LoadedConfig.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 { LoadedConfig } from '@taqueria/protocol/types';\nimport { LoadedConfig as LoadedConfigStrict } from '@taqueria/protocol/out/types-strict';\nimport { loadedConfigSchema } from '@taqueria/protocol/out/types-zod';\n\nexport type { LoadedConfigStrict as LoadedConfig };\n\nexport const from = (input: unknown): LoadedConfigStrict => {\n\ttry {\n\t\treturn loadedConfigSchema.parse(input) as LoadedConfigStrict;\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[\"Your .taq/config.json 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 LoadedConfig.\")\n\t}\n \n};\n\nexport const create = (input: LoadedConfig): LoadedConfigStrict => from(input);\n\nexport const of = (input: unknown): FutureInstance<TaqError, LoadedConfigStrict> => {\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<LoadedConfigStrict, '__type'>): FutureInstance<TaqError, LoadedConfigStrict> => of(input);\n\n// TEMP: for interoperation with old protocol types during transition\nexport const schemas = {\n\trawSchema: loadedConfigSchema,\n\tschema: loadedConfigSchema.transform(val => val as LoadedConfigStrict),\n};\nexport const rawSchema = schemas.rawSchema;\nexport const internalSchema = loadedConfigSchema;\n\nexport type t = LoadedConfigStrict;\n "],"mappings":";AAGA,SAA8D,YAAY,yBAAyB;AACnG,SAAyB,SAAS,cAAc;AAChD,SAAS,gBAAgB;AAGzB,SAAS,0BAA0B;AAI5B,IAAM,OAAO,CAAC,UAAuC;AAC3D,MAAI;AACH,WAAO,mBAAmB,MAAM,KAAK;AAAA,EACtC,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,mCAAmC;AAAA,MACrC;AACA,YAAM,gBAAgB,KAAK,KAAK,IAAI,IAAI;AACxC,YAAM,WAAW,UAAU,aAAa;AAAA,IACzC;AACA,UAAM,kBAAkB,UAAU,qDAAqD;AAAA,EACxF;AAED;AAEO,IAAM,SAAS,CAAC,UAA4C,KAAK,KAAK;AAEtE,IAAM,KAAK,CAAC,UAAiE;AACnF,MAAI;AACH,WAAO,QAAQ,KAAK,KAAK,CAAC;AAAA,EAC3B,SACO,KAAP;AACC,WAAO,OAAO,GAAG;AAAA,EAClB;AACD;AAEO,IAAM,OAAO,CAAC,UAA4F,GAAG,KAAK;AAGlH,IAAM,UAAU;AAAA,EACtB,WAAW;AAAA,EACX,QAAQ,mBAAmB,UAAU,SAAO,GAAyB;AACtE;AACO,IAAM,YAAY,QAAQ;AAC1B,IAAM,iBAAiB;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=MetadataConfig.d.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// out/types/MetadataConfig.ts
|
|
2
|
-
import { toParseErr, toParseUnknownErr } from "@taqueria/protocol/TaqError";
|
|
3
|
-
import { resolve, reject } from "fluture";
|
|
4
|
-
import { ZodError } from "zod";
|
|
5
|
-
import { metadataConfigSchema } from "@taqueria/protocol/out/types-zod";
|
|
6
|
-
var from = (input) => {
|
|
7
|
-
try {
|
|
8
|
-
return metadataConfigSchema.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
|
-
["MetadataConfig 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 MetadataConfig.");
|
|
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: metadataConfigSchema,
|
|
36
|
-
schema: metadataConfigSchema.transform((val) => val)
|
|
37
|
-
};
|
|
38
|
-
var rawSchema = schemas.rawSchema;
|
|
39
|
-
var internalSchema = metadataConfigSchema;
|
|
40
|
-
export {
|
|
41
|
-
create,
|
|
42
|
-
from,
|
|
43
|
-
internalSchema,
|
|
44
|
-
make,
|
|
45
|
-
of,
|
|
46
|
-
rawSchema,
|
|
47
|
-
schemas
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=MetadataConfig.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["MetadataConfig.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 { MetadataConfig } from '@taqueria/protocol/types';\nimport { MetadataConfig as MetadataConfigStrict } from '@taqueria/protocol/out/types-strict';\nimport { metadataConfigSchema } from '@taqueria/protocol/out/types-zod';\n\nexport type { MetadataConfigStrict as MetadataConfig };\n\nexport const from = (input: unknown): MetadataConfigStrict => {\n\ttry {\n\t\treturn metadataConfigSchema.parse(input) as MetadataConfigStrict;\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[\"MetadataConfig 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 MetadataConfig.\")\n\t}\n \n};\n\nexport const create = (input: MetadataConfig): MetadataConfigStrict => from(input);\n\nexport const of = (input: unknown): FutureInstance<TaqError, MetadataConfigStrict> => {\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<MetadataConfigStrict, '__type'>): FutureInstance<TaqError, MetadataConfigStrict> => of(input);\n\n// TEMP: for interoperation with old protocol types during transition\nexport const schemas = {\n\trawSchema: metadataConfigSchema,\n\tschema: metadataConfigSchema.transform(val => val as MetadataConfigStrict),\n};\nexport const rawSchema = schemas.rawSchema;\nexport const internalSchema = metadataConfigSchema;\n\nexport type t = MetadataConfigStrict;\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":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=NetworkAccountConfig.d.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// out/types/NetworkAccountConfig.ts
|
|
2
|
-
import { toParseErr, toParseUnknownErr } from "@taqueria/protocol/TaqError";
|
|
3
|
-
import { resolve, reject } from "fluture";
|
|
4
|
-
import { ZodError } from "zod";
|
|
5
|
-
import { networkAccountConfigSchema } from "@taqueria/protocol/out/types-zod";
|
|
6
|
-
var from = (input) => {
|
|
7
|
-
try {
|
|
8
|
-
return networkAccountConfigSchema.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
|
-
["NetworkAccountConfig 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 NetworkAccountConfig.");
|
|
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: networkAccountConfigSchema,
|
|
36
|
-
schema: networkAccountConfigSchema.transform((val) => val)
|
|
37
|
-
};
|
|
38
|
-
var rawSchema = schemas.rawSchema;
|
|
39
|
-
var internalSchema = networkAccountConfigSchema;
|
|
40
|
-
export {
|
|
41
|
-
create,
|
|
42
|
-
from,
|
|
43
|
-
internalSchema,
|
|
44
|
-
make,
|
|
45
|
-
of,
|
|
46
|
-
rawSchema,
|
|
47
|
-
schemas
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=NetworkAccountConfig.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["NetworkAccountConfig.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 { NetworkAccountConfig } from '@taqueria/protocol/types';\nimport { NetworkAccountConfig as NetworkAccountConfigStrict } from '@taqueria/protocol/out/types-strict';\nimport { networkAccountConfigSchema } from '@taqueria/protocol/out/types-zod';\n\nexport type { NetworkAccountConfigStrict as NetworkAccountConfig };\n\nexport const from = (input: unknown): NetworkAccountConfigStrict => {\n\ttry {\n\t\treturn networkAccountConfigSchema.parse(input) as NetworkAccountConfigStrict;\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[\"NetworkAccountConfig 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 NetworkAccountConfig.\")\n\t}\n \n};\n\nexport const create = (input: NetworkAccountConfig): NetworkAccountConfigStrict => from(input);\n\nexport const of = (input: unknown): FutureInstance<TaqError, NetworkAccountConfigStrict> => {\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<NetworkAccountConfigStrict, '__type'>): FutureInstance<TaqError, NetworkAccountConfigStrict> => of(input);\n\n// TEMP: for interoperation with old protocol types during transition\nexport const schemas = {\n\trawSchema: networkAccountConfigSchema,\n\tschema: networkAccountConfigSchema.transform(val => val as NetworkAccountConfigStrict),\n};\nexport const rawSchema = schemas.rawSchema;\nexport const internalSchema = networkAccountConfigSchema;\n\nexport type t = NetworkAccountConfigStrict;\n "],"mappings":";AAGA,SAA8D,YAAY,yBAAyB;AACnG,SAAyB,SAAS,cAAc;AAChD,SAAS,gBAAgB;AAGzB,SAAS,kCAAkC;AAIpC,IAAM,OAAO,CAAC,UAA+C;AACnE,MAAI;AACH,WAAO,2BAA2B,MAAM,KAAK;AAAA,EAC9C,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,kCAAkC;AAAA,MACpC;AACA,YAAM,gBAAgB,KAAK,KAAK,IAAI,IAAI;AACxC,YAAM,WAAW,UAAU,aAAa;AAAA,IACzC;AACA,UAAM,kBAAkB,UAAU,6DAA6D;AAAA,EAChG;AAED;AAEO,IAAM,SAAS,CAAC,UAA4D,KAAK,KAAK;AAEtF,IAAM,KAAK,CAAC,UAAyE;AAC3F,MAAI;AACH,WAAO,QAAQ,KAAK,KAAK,CAAC;AAAA,EAC3B,SACO,KAAP;AACC,WAAO,OAAO,GAAG;AAAA,EAClB;AACD;AAEO,IAAM,OAAO,CAAC,UAA4G,GAAG,KAAK;AAGlI,IAAM,UAAU;AAAA,EACtB,WAAW;AAAA,EACX,QAAQ,2BAA2B,UAAU,SAAO,GAAiC;AACtF;AACO,IAAM,YAAY,QAAQ;AAC1B,IAAM,iBAAiB;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=NetworkConfig.d.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// out/types/NetworkConfig.ts
|
|
2
|
-
import { toParseErr, toParseUnknownErr } from "@taqueria/protocol/TaqError";
|
|
3
|
-
import { resolve, reject } from "fluture";
|
|
4
|
-
import { ZodError } from "zod";
|
|
5
|
-
import { networkConfigSchema } from "@taqueria/protocol/out/types-zod";
|
|
6
|
-
var from = (input) => {
|
|
7
|
-
try {
|
|
8
|
-
return networkConfigSchema.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
|
-
["NetworkConfig 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 NetworkConfig.");
|
|
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: networkConfigSchema,
|
|
36
|
-
schema: networkConfigSchema.transform((val) => val)
|
|
37
|
-
};
|
|
38
|
-
var rawSchema = schemas.rawSchema;
|
|
39
|
-
var internalSchema = networkConfigSchema;
|
|
40
|
-
export {
|
|
41
|
-
create,
|
|
42
|
-
from,
|
|
43
|
-
internalSchema,
|
|
44
|
-
make,
|
|
45
|
-
of,
|
|
46
|
-
rawSchema,
|
|
47
|
-
schemas
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=NetworkConfig.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["NetworkConfig.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 { NetworkConfig } from '@taqueria/protocol/types';\nimport { NetworkConfig as NetworkConfigStrict } from '@taqueria/protocol/out/types-strict';\nimport { networkConfigSchema } from '@taqueria/protocol/out/types-zod';\n\nexport type { NetworkConfigStrict as NetworkConfig };\n\nexport const from = (input: unknown): NetworkConfigStrict => {\n\ttry {\n\t\treturn networkConfigSchema.parse(input) as NetworkConfigStrict;\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[\"NetworkConfig 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 NetworkConfig.\")\n\t}\n \n};\n\nexport const create = (input: NetworkConfig): NetworkConfigStrict => from(input);\n\nexport const of = (input: unknown): FutureInstance<TaqError, NetworkConfigStrict> => {\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<NetworkConfigStrict, '__type'>): FutureInstance<TaqError, NetworkConfigStrict> => of(input);\n\n// TEMP: for interoperation with old protocol types during transition\nexport const schemas = {\n\trawSchema: networkConfigSchema,\n\tschema: networkConfigSchema.transform(val => val as NetworkConfigStrict),\n};\nexport const rawSchema = schemas.rawSchema;\nexport const internalSchema = networkConfigSchema;\n\nexport type t = NetworkConfigStrict;\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=NonEmptyString.d.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// out/types/NonEmptyString.ts
|
|
2
|
-
import { toParseErr, toParseUnknownErr } from "@taqueria/protocol/TaqError";
|
|
3
|
-
import { resolve, reject } from "fluture";
|
|
4
|
-
import { ZodError } from "zod";
|
|
5
|
-
import { nonEmptyStringSchema } from "@taqueria/protocol/out/types-zod";
|
|
6
|
-
var from = (input) => {
|
|
7
|
-
try {
|
|
8
|
-
return nonEmptyStringSchema.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
|
-
["NonEmptyString 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 NonEmptyString.");
|
|
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: nonEmptyStringSchema,
|
|
36
|
-
schema: nonEmptyStringSchema.transform((val) => val)
|
|
37
|
-
};
|
|
38
|
-
var rawSchema = schemas.rawSchema;
|
|
39
|
-
var internalSchema = nonEmptyStringSchema;
|
|
40
|
-
export {
|
|
41
|
-
create,
|
|
42
|
-
from,
|
|
43
|
-
internalSchema,
|
|
44
|
-
make,
|
|
45
|
-
of,
|
|
46
|
-
rawSchema,
|
|
47
|
-
schemas
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=NonEmptyString.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["NonEmptyString.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 { NonEmptyString } from '@taqueria/protocol/types';\nimport { NonEmptyString as NonEmptyStringStrict } from '@taqueria/protocol/out/types-strict';\nimport { nonEmptyStringSchema } from '@taqueria/protocol/out/types-zod';\n\nexport type { NonEmptyStringStrict as NonEmptyString };\n\nexport const from = (input: unknown): NonEmptyStringStrict => {\n\ttry {\n\t\treturn nonEmptyStringSchema.parse(input) as NonEmptyStringStrict;\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[\"NonEmptyString 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 NonEmptyString.\")\n\t}\n \n};\n\nexport const create = (input: NonEmptyString): NonEmptyStringStrict => from(input);\n\nexport const of = (input: unknown): FutureInstance<TaqError, NonEmptyStringStrict> => {\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<NonEmptyStringStrict, '__type'>): FutureInstance<TaqError, NonEmptyStringStrict> => of(input);\n\n// TEMP: for interoperation with old protocol types during transition\nexport const schemas = {\n\trawSchema: nonEmptyStringSchema,\n\tschema: nonEmptyStringSchema.transform(val => val as NonEmptyStringStrict),\n};\nexport const rawSchema = schemas.rawSchema;\nexport const internalSchema = nonEmptyStringSchema;\n\nexport type t = NonEmptyStringStrict;\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":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=Operation.d.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/out/types/Operation.mjs
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// out/types/Operation.ts
|
|
2
|
-
import { toParseErr, toParseUnknownErr } from "@taqueria/protocol/TaqError";
|
|
3
|
-
import { resolve, reject } from "fluture";
|
|
4
|
-
import { ZodError } from "zod";
|
|
5
|
-
import { operationSchema } from "@taqueria/protocol/out/types-zod";
|
|
6
|
-
var from = (input) => {
|
|
7
|
-
try {
|
|
8
|
-
return operationSchema.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
|
-
["Operation 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 Operation.");
|
|
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: operationSchema,
|
|
36
|
-
schema: operationSchema.transform((val) => val)
|
|
37
|
-
};
|
|
38
|
-
var rawSchema = schemas.rawSchema;
|
|
39
|
-
var internalSchema = operationSchema;
|
|
40
|
-
export {
|
|
41
|
-
create,
|
|
42
|
-
from,
|
|
43
|
-
internalSchema,
|
|
44
|
-
make,
|
|
45
|
-
of,
|
|
46
|
-
rawSchema,
|
|
47
|
-
schemas
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=Operation.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["Operation.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 { Operation } from '@taqueria/protocol/types';\nimport { Operation as OperationStrict } from '@taqueria/protocol/out/types-strict';\nimport { operationSchema } from '@taqueria/protocol/out/types-zod';\n\nexport type { OperationStrict as Operation };\n\nexport const from = (input: unknown): OperationStrict => {\n\ttry {\n\t\treturn operationSchema.parse(input) as OperationStrict;\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[\"Operation 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 Operation.\")\n\t}\n \n};\n\nexport const create = (input: Operation): OperationStrict => from(input);\n\nexport const of = (input: unknown): FutureInstance<TaqError, OperationStrict> => {\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<OperationStrict, '__type'>): FutureInstance<TaqError, OperationStrict> => of(input);\n\n// TEMP: for interoperation with old protocol types during transition\nexport const schemas = {\n\trawSchema: operationSchema,\n\tschema: operationSchema.transform(val => val as OperationStrict),\n};\nexport const rawSchema = schemas.rawSchema;\nexport const internalSchema = operationSchema;\n\nexport type t = OperationStrict;\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/Option.d.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=Option.d.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|