JSPM

@taqueria/protocol

0.25.22-rc
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1888
  • Score
    100M100P100Q87744F
  • License Apache-2.0

A TypeScript package which contains types that are to be shared between @taqueria/node-sdk and @taqueria/taqueria.

Package Exports

  • @taqueria/protocol
  • @taqueria/protocol/Alias
  • @taqueria/protocol/Alias.js
  • @taqueria/protocol/Base
  • @taqueria/protocol/Base.js
  • @taqueria/protocol/Command
  • @taqueria/protocol/Command.js
  • @taqueria/protocol/Config
  • @taqueria/protocol/Config.js
  • @taqueria/protocol/ConfigArtifactsDir
  • @taqueria/protocol/ConfigArtifactsDir.js
  • @taqueria/protocol/ConfigContractsDir
  • @taqueria/protocol/ConfigContractsDir.js
  • @taqueria/protocol/Contract
  • @taqueria/protocol/Contract.js
  • @taqueria/protocol/Crypto
  • @taqueria/protocol/Crypto.js
  • @taqueria/protocol/EconomicalProtocolHash
  • @taqueria/protocol/EconomicalProtocolHash.js
  • @taqueria/protocol/Environment
  • @taqueria/protocol/Environment.js
  • @taqueria/protocol/EphemeralState
  • @taqueria/protocol/EphemeralState.js
  • @taqueria/protocol/Faucet
  • @taqueria/protocol/Faucet.js
  • @taqueria/protocol/HumanReadableIdentifier
  • @taqueria/protocol/HumanReadableIdentifier.js
  • @taqueria/protocol/InstalledPlugin
  • @taqueria/protocol/InstalledPlugin.js
  • @taqueria/protocol/LoadedConfig
  • @taqueria/protocol/LoadedConfig.js
  • @taqueria/protocol/MetadataConfig
  • @taqueria/protocol/MetadataConfig.js
  • @taqueria/protocol/NetworkAccountConfig
  • @taqueria/protocol/NetworkAccountConfig.js
  • @taqueria/protocol/NetworkConfig
  • @taqueria/protocol/NetworkConfig.js
  • @taqueria/protocol/NonEmptyString
  • @taqueria/protocol/NonEmptyString.js
  • @taqueria/protocol/Operation
  • @taqueria/protocol/Operation.js
  • @taqueria/protocol/Option
  • @taqueria/protocol/Option.js
  • @taqueria/protocol/ParsedOperation
  • @taqueria/protocol/ParsedOperation.js
  • @taqueria/protocol/ParsedPluginInfo
  • @taqueria/protocol/ParsedPluginInfo.js
  • @taqueria/protocol/ParsedTemplate
  • @taqueria/protocol/ParsedTemplate.js
  • @taqueria/protocol/PersistentState
  • @taqueria/protocol/PersistentState.js
  • @taqueria/protocol/PluginActionName
  • @taqueria/protocol/PluginActionName.js
  • @taqueria/protocol/PluginDependenciesResponse
  • @taqueria/protocol/PluginDependenciesResponse.js
  • @taqueria/protocol/PluginInfo
  • @taqueria/protocol/PluginInfo.js
  • @taqueria/protocol/PluginJsonResponse
  • @taqueria/protocol/PluginJsonResponse.js
  • @taqueria/protocol/PluginProxyResponse
  • @taqueria/protocol/PluginProxyResponse.js
  • @taqueria/protocol/PluginResponseEncoding
  • @taqueria/protocol/PluginResponseEncoding.js
  • @taqueria/protocol/PluginSchema
  • @taqueria/protocol/PluginSchema.js
  • @taqueria/protocol/PositionalArg
  • @taqueria/protocol/PositionalArg.js
  • @taqueria/protocol/Provisioner
  • @taqueria/protocol/Provisioner.js
  • @taqueria/protocol/ProvisionerID
  • @taqueria/protocol/ProvisionerID.js
  • @taqueria/protocol/Provisions
  • @taqueria/protocol/Provisions.js
  • @taqueria/protocol/ProxyTaskArgs
  • @taqueria/protocol/ProxyTaskArgs.js
  • @taqueria/protocol/ProxyTemplateArgs
  • @taqueria/protocol/ProxyTemplateArgs.js
  • @taqueria/protocol/PublicKeyHash
  • @taqueria/protocol/PublicKeyHash.js
  • @taqueria/protocol/RequestArgs
  • @taqueria/protocol/RequestArgs.js
  • @taqueria/protocol/SHA256
  • @taqueria/protocol/SHA256.js
  • @taqueria/protocol/SandboxAccountConfig
  • @taqueria/protocol/SandboxAccountConfig.js
  • @taqueria/protocol/SandboxConfig
  • @taqueria/protocol/SandboxConfig.js
  • @taqueria/protocol/SanitizedAbsPath
  • @taqueria/protocol/SanitizedAbsPath.js
  • @taqueria/protocol/SanitizedArgs
  • @taqueria/protocol/SanitizedArgs.js
  • @taqueria/protocol/SanitizedPath
  • @taqueria/protocol/SanitizedPath.js
  • @taqueria/protocol/ScaffoldConfig
  • @taqueria/protocol/ScaffoldConfig.js
  • @taqueria/protocol/Settings
  • @taqueria/protocol/Settings.js
  • @taqueria/protocol/SingleChar
  • @taqueria/protocol/SingleChar.js
  • @taqueria/protocol/TaqError
  • @taqueria/protocol/TaqError.js
  • @taqueria/protocol/Task
  • @taqueria/protocol/Task.js
  • @taqueria/protocol/Template
  • @taqueria/protocol/Template.js
  • @taqueria/protocol/Timestamp
  • @taqueria/protocol/Timestamp.js
  • @taqueria/protocol/Tz
  • @taqueria/protocol/Tz.js
  • @taqueria/protocol/Url
  • @taqueria/protocol/Url.js
  • @taqueria/protocol/Verb
  • @taqueria/protocol/Verb.js
  • @taqueria/protocol/VersionNumber
  • @taqueria/protocol/VersionNumber.js
  • @taqueria/protocol/helpers
  • @taqueria/protocol/helpers.js
  • @taqueria/protocol/i18n
  • @taqueria/protocol/i18n.js
  • @taqueria/protocol/index
  • @taqueria/protocol/index.js
  • @taqueria/protocol/out/examples/Alias
  • @taqueria/protocol/out/examples/Base
  • @taqueria/protocol/out/examples/Command
  • @taqueria/protocol/out/examples/Config
  • @taqueria/protocol/out/examples/ConfigArtifactsDir
  • @taqueria/protocol/out/examples/ConfigContractsDir
  • @taqueria/protocol/out/examples/Contract
  • @taqueria/protocol/out/examples/Crypto
  • @taqueria/protocol/out/examples/EconomicalProtocolHash
  • @taqueria/protocol/out/examples/Environment
  • @taqueria/protocol/out/examples/EphemeralState
  • @taqueria/protocol/out/examples/Faucet
  • @taqueria/protocol/out/examples/HumanReadableIdentifier
  • @taqueria/protocol/out/examples/InstalledPlugin
  • @taqueria/protocol/out/examples/LoadedConfig
  • @taqueria/protocol/out/examples/MetadataConfig
  • @taqueria/protocol/out/examples/NetworkAccountConfig
  • @taqueria/protocol/out/examples/NetworkConfig
  • @taqueria/protocol/out/examples/NonEmptyString
  • @taqueria/protocol/out/examples/Operation
  • @taqueria/protocol/out/examples/Option
  • @taqueria/protocol/out/examples/ParsedOperation
  • @taqueria/protocol/out/examples/ParsedPluginInfo
  • @taqueria/protocol/out/examples/ParsedTemplate
  • @taqueria/protocol/out/examples/PersistentState
  • @taqueria/protocol/out/examples/PluginActionName
  • @taqueria/protocol/out/examples/PluginDependenciesResponse
  • @taqueria/protocol/out/examples/PluginInfo
  • @taqueria/protocol/out/examples/PluginJsonResponse
  • @taqueria/protocol/out/examples/PluginProxyResponse
  • @taqueria/protocol/out/examples/PluginResponseEncoding
  • @taqueria/protocol/out/examples/PluginSchema
  • @taqueria/protocol/out/examples/PositionalArg
  • @taqueria/protocol/out/examples/Provisioner
  • @taqueria/protocol/out/examples/ProvisionerID
  • @taqueria/protocol/out/examples/Provisions
  • @taqueria/protocol/out/examples/ProxyTaskArgs
  • @taqueria/protocol/out/examples/ProxyTemplateArgs
  • @taqueria/protocol/out/examples/PublicKeyHash
  • @taqueria/protocol/out/examples/RequestArgs
  • @taqueria/protocol/out/examples/SHA256
  • @taqueria/protocol/out/examples/SandboxAccountConfig
  • @taqueria/protocol/out/examples/SandboxConfig
  • @taqueria/protocol/out/examples/SanitizedAbsPath
  • @taqueria/protocol/out/examples/SanitizedArgs
  • @taqueria/protocol/out/examples/SanitizedPath
  • @taqueria/protocol/out/examples/ScaffoldConfig
  • @taqueria/protocol/out/examples/Settings
  • @taqueria/protocol/out/examples/SingleChar
  • @taqueria/protocol/out/examples/TaqError
  • @taqueria/protocol/out/examples/Task
  • @taqueria/protocol/out/examples/Template
  • @taqueria/protocol/out/examples/Timestamp
  • @taqueria/protocol/out/examples/Tz
  • @taqueria/protocol/out/examples/Url
  • @taqueria/protocol/out/examples/Verb
  • @taqueria/protocol/out/examples/VersionNumber
  • @taqueria/protocol/out/examples/helpers
  • @taqueria/protocol/out/examples/i18n
  • @taqueria/protocol/out/examples/index
  • @taqueria/protocol/out/examples/out/types-strict
  • @taqueria/protocol/out/examples/out/types-strict.d
  • @taqueria/protocol/out/examples/out/types-zod
  • @taqueria/protocol/out/examples/out/types-zod.d
  • @taqueria/protocol/out/examples/out/types/Alias
  • @taqueria/protocol/out/examples/out/types/Alias.d
  • @taqueria/protocol/out/examples/out/types/BuildNumber
  • @taqueria/protocol/out/examples/out/types/BuildNumber.d
  • @taqueria/protocol/out/examples/out/types/Command
  • @taqueria/protocol/out/examples/out/types/Command.d
  • @taqueria/protocol/out/examples/out/types/Config
  • @taqueria/protocol/out/examples/out/types/Config.d
  • @taqueria/protocol/out/examples/out/types/ConfigAccount
  • @taqueria/protocol/out/examples/out/types/ConfigAccount.d
  • @taqueria/protocol/out/examples/out/types/ConfigArtifactsDir
  • @taqueria/protocol/out/examples/out/types/ConfigArtifactsDir.d
  • @taqueria/protocol/out/examples/out/types/ConfigContractsDir
  • @taqueria/protocol/out/examples/out/types/ConfigContractsDir.d
  • @taqueria/protocol/out/examples/out/types/ConfigEnvironmentFileV2
  • @taqueria/protocol/out/examples/out/types/ConfigEnvironmentFileV2.d
  • @taqueria/protocol/out/examples/out/types/ConfigFileV1
  • @taqueria/protocol/out/examples/out/types/ConfigFileV1.d
  • @taqueria/protocol/out/examples/out/types/ConfigFileV2
  • @taqueria/protocol/out/examples/out/types/ConfigFileV2.d
  • @taqueria/protocol/out/examples/out/types/Contract
  • @taqueria/protocol/out/examples/out/types/Contract.d
  • @taqueria/protocol/out/examples/out/types/CurrencyAmountV2
  • @taqueria/protocol/out/examples/out/types/CurrencyAmountV2.d
  • @taqueria/protocol/out/examples/out/types/EconomicalProtocolHash
  • @taqueria/protocol/out/examples/out/types/EconomicalProtocolHash.d
  • @taqueria/protocol/out/examples/out/types/Environment
  • @taqueria/protocol/out/examples/out/types/Environment.d
  • @taqueria/protocol/out/examples/out/types/EphemeralState
  • @taqueria/protocol/out/examples/out/types/EphemeralState.d
  • @taqueria/protocol/out/examples/out/types/Faucet
  • @taqueria/protocol/out/examples/out/types/Faucet.d
  • @taqueria/protocol/out/examples/out/types/HumanReadableIdentifier
  • @taqueria/protocol/out/examples/out/types/HumanReadableIdentifier.d
  • @taqueria/protocol/out/examples/out/types/InstalledPlugin
  • @taqueria/protocol/out/examples/out/types/InstalledPlugin.d
  • @taqueria/protocol/out/examples/out/types/LoadedConfig
  • @taqueria/protocol/out/examples/out/types/LoadedConfig.d
  • @taqueria/protocol/out/examples/out/types/MetadataConfig
  • @taqueria/protocol/out/examples/out/types/MetadataConfig.d
  • @taqueria/protocol/out/examples/out/types/NetworkAccountConfig
  • @taqueria/protocol/out/examples/out/types/NetworkAccountConfig.d
  • @taqueria/protocol/out/examples/out/types/NetworkConfig
  • @taqueria/protocol/out/examples/out/types/NetworkConfig.d
  • @taqueria/protocol/out/examples/out/types/NonEmptyString
  • @taqueria/protocol/out/examples/out/types/NonEmptyString.d
  • @taqueria/protocol/out/examples/out/types/Operation
  • @taqueria/protocol/out/examples/out/types/Operation.d
  • @taqueria/protocol/out/examples/out/types/Option
  • @taqueria/protocol/out/examples/out/types/Option.d
  • @taqueria/protocol/out/examples/out/types/ParsedConfig
  • @taqueria/protocol/out/examples/out/types/ParsedConfig.d
  • @taqueria/protocol/out/examples/out/types/ParsedOperation
  • @taqueria/protocol/out/examples/out/types/ParsedOperation.d
  • @taqueria/protocol/out/examples/out/types/ParsedTemplate
  • @taqueria/protocol/out/examples/out/types/ParsedTemplate.d
  • @taqueria/protocol/out/examples/out/types/PersistedOperation
  • @taqueria/protocol/out/examples/out/types/PersistedOperation.d
  • @taqueria/protocol/out/examples/out/types/PersistedTask
  • @taqueria/protocol/out/examples/out/types/PersistedTask.d
  • @taqueria/protocol/out/examples/out/types/PersistentState
  • @taqueria/protocol/out/examples/out/types/PersistentState.d
  • @taqueria/protocol/out/examples/out/types/PluginActionName
  • @taqueria/protocol/out/examples/out/types/PluginActionName.d
  • @taqueria/protocol/out/examples/out/types/PluginDependenciesResponse
  • @taqueria/protocol/out/examples/out/types/PluginDependenciesResponse.d
  • @taqueria/protocol/out/examples/out/types/PluginInfo
  • @taqueria/protocol/out/examples/out/types/PluginInfo.d
  • @taqueria/protocol/out/examples/out/types/PluginJsonResponse
  • @taqueria/protocol/out/examples/out/types/PluginJsonResponse.d
  • @taqueria/protocol/out/examples/out/types/PluginProxyResponse
  • @taqueria/protocol/out/examples/out/types/PluginProxyResponse.d
  • @taqueria/protocol/out/examples/out/types/PluginResponseEncoding
  • @taqueria/protocol/out/examples/out/types/PluginResponseEncoding.d
  • @taqueria/protocol/out/examples/out/types/PluginSchema
  • @taqueria/protocol/out/examples/out/types/PluginSchema.d
  • @taqueria/protocol/out/examples/out/types/PositionalArg
  • @taqueria/protocol/out/examples/out/types/PositionalArg.d
  • @taqueria/protocol/out/examples/out/types/Provisioner
  • @taqueria/protocol/out/examples/out/types/Provisioner.d
  • @taqueria/protocol/out/examples/out/types/ProvisionerID
  • @taqueria/protocol/out/examples/out/types/ProvisionerID.d
  • @taqueria/protocol/out/examples/out/types/Provisions
  • @taqueria/protocol/out/examples/out/types/Provisions.d
  • @taqueria/protocol/out/examples/out/types/ProxyTaskArgs
  • @taqueria/protocol/out/examples/out/types/ProxyTaskArgs.d
  • @taqueria/protocol/out/examples/out/types/ProxyTemplateArgs
  • @taqueria/protocol/out/examples/out/types/ProxyTemplateArgs.d
  • @taqueria/protocol/out/examples/out/types/PublicKeyHash
  • @taqueria/protocol/out/examples/out/types/PublicKeyHash.d
  • @taqueria/protocol/out/examples/out/types/RequestArgs
  • @taqueria/protocol/out/examples/out/types/RequestArgs.d
  • @taqueria/protocol/out/examples/out/types/RuntimeDependency
  • @taqueria/protocol/out/examples/out/types/RuntimeDependency.d
  • @taqueria/protocol/out/examples/out/types/RuntimeDependencyReport
  • @taqueria/protocol/out/examples/out/types/RuntimeDependencyReport.d
  • @taqueria/protocol/out/examples/out/types/SHA256
  • @taqueria/protocol/out/examples/out/types/SHA256.d
  • @taqueria/protocol/out/examples/out/types/SandboxAccountConfig
  • @taqueria/protocol/out/examples/out/types/SandboxAccountConfig.d
  • @taqueria/protocol/out/examples/out/types/SandboxConfig
  • @taqueria/protocol/out/examples/out/types/SandboxConfig.d
  • @taqueria/protocol/out/examples/out/types/SanitizedAbsPath
  • @taqueria/protocol/out/examples/out/types/SanitizedAbsPath.d
  • @taqueria/protocol/out/examples/out/types/SanitizedArgs
  • @taqueria/protocol/out/examples/out/types/SanitizedArgs.d
  • @taqueria/protocol/out/examples/out/types/SanitizedPath
  • @taqueria/protocol/out/examples/out/types/SanitizedPath.d
  • @taqueria/protocol/out/examples/out/types/ScaffoldConfig
  • @taqueria/protocol/out/examples/out/types/ScaffoldConfig.d
  • @taqueria/protocol/out/examples/out/types/Settings
  • @taqueria/protocol/out/examples/out/types/Settings.d
  • @taqueria/protocol/out/examples/out/types/SingleChar
  • @taqueria/protocol/out/examples/out/types/SingleChar.d
  • @taqueria/protocol/out/examples/out/types/Task
  • @taqueria/protocol/out/examples/out/types/Task.d
  • @taqueria/protocol/out/examples/out/types/Template
  • @taqueria/protocol/out/examples/out/types/Template.d
  • @taqueria/protocol/out/examples/out/types/Timestamp
  • @taqueria/protocol/out/examples/out/types/Timestamp.d
  • @taqueria/protocol/out/examples/out/types/Tz
  • @taqueria/protocol/out/examples/out/types/Tz.d
  • @taqueria/protocol/out/examples/out/types/TzKtConfig
  • @taqueria/protocol/out/examples/out/types/TzKtConfig.d
  • @taqueria/protocol/out/examples/out/types/Url
  • @taqueria/protocol/out/examples/out/types/Url.d
  • @taqueria/protocol/out/examples/out/types/Verb
  • @taqueria/protocol/out/examples/out/types/Verb.d
  • @taqueria/protocol/out/examples/out/types/VersionNumber
  • @taqueria/protocol/out/examples/out/types/VersionNumber.d
  • @taqueria/protocol/out/examples/taqueria-protocol-types
  • @taqueria/protocol/out/examples/types
  • @taqueria/protocol/out/examples/types-config-files
  • @taqueria/protocol/out/examples/tzkt-config
  • @taqueria/protocol/out/types-strict
  • @taqueria/protocol/out/types-strict.d
  • @taqueria/protocol/out/types-strict.d.js
  • @taqueria/protocol/out/types-strict.js
  • @taqueria/protocol/out/types-zod
  • @taqueria/protocol/out/types-zod.d
  • @taqueria/protocol/out/types-zod.d.js
  • @taqueria/protocol/out/types-zod.js
  • @taqueria/protocol/out/types/Alias
  • @taqueria/protocol/out/types/Alias.d
  • @taqueria/protocol/out/types/Alias.d.js
  • @taqueria/protocol/out/types/Alias.js
  • @taqueria/protocol/out/types/BuildNumber
  • @taqueria/protocol/out/types/BuildNumber.d
  • @taqueria/protocol/out/types/BuildNumber.d.js
  • @taqueria/protocol/out/types/BuildNumber.js
  • @taqueria/protocol/out/types/Command
  • @taqueria/protocol/out/types/Command.d
  • @taqueria/protocol/out/types/Command.d.js
  • @taqueria/protocol/out/types/Command.js
  • @taqueria/protocol/out/types/Config
  • @taqueria/protocol/out/types/Config.d
  • @taqueria/protocol/out/types/Config.d.js
  • @taqueria/protocol/out/types/Config.js
  • @taqueria/protocol/out/types/ConfigAccount
  • @taqueria/protocol/out/types/ConfigAccount.d
  • @taqueria/protocol/out/types/ConfigAccount.d.js
  • @taqueria/protocol/out/types/ConfigAccount.js
  • @taqueria/protocol/out/types/ConfigArtifactsDir
  • @taqueria/protocol/out/types/ConfigArtifactsDir.d
  • @taqueria/protocol/out/types/ConfigArtifactsDir.d.js
  • @taqueria/protocol/out/types/ConfigArtifactsDir.js
  • @taqueria/protocol/out/types/ConfigContractsDir
  • @taqueria/protocol/out/types/ConfigContractsDir.d
  • @taqueria/protocol/out/types/ConfigContractsDir.d.js
  • @taqueria/protocol/out/types/ConfigContractsDir.js
  • @taqueria/protocol/out/types/ConfigEnvironmentFileV2
  • @taqueria/protocol/out/types/ConfigEnvironmentFileV2.d
  • @taqueria/protocol/out/types/ConfigEnvironmentFileV2.d.js
  • @taqueria/protocol/out/types/ConfigEnvironmentFileV2.js
  • @taqueria/protocol/out/types/ConfigFileV1
  • @taqueria/protocol/out/types/ConfigFileV1.d
  • @taqueria/protocol/out/types/ConfigFileV1.d.js
  • @taqueria/protocol/out/types/ConfigFileV1.js
  • @taqueria/protocol/out/types/ConfigFileV2
  • @taqueria/protocol/out/types/ConfigFileV2.d
  • @taqueria/protocol/out/types/ConfigFileV2.d.js
  • @taqueria/protocol/out/types/ConfigFileV2.js
  • @taqueria/protocol/out/types/Contract
  • @taqueria/protocol/out/types/Contract.d
  • @taqueria/protocol/out/types/Contract.d.js
  • @taqueria/protocol/out/types/Contract.js
  • @taqueria/protocol/out/types/CurrencyAmountV2
  • @taqueria/protocol/out/types/CurrencyAmountV2.d
  • @taqueria/protocol/out/types/CurrencyAmountV2.d.js
  • @taqueria/protocol/out/types/CurrencyAmountV2.js
  • @taqueria/protocol/out/types/EconomicalProtocolHash
  • @taqueria/protocol/out/types/EconomicalProtocolHash.d
  • @taqueria/protocol/out/types/EconomicalProtocolHash.d.js
  • @taqueria/protocol/out/types/EconomicalProtocolHash.js
  • @taqueria/protocol/out/types/Environment
  • @taqueria/protocol/out/types/Environment.d
  • @taqueria/protocol/out/types/Environment.d.js
  • @taqueria/protocol/out/types/Environment.js
  • @taqueria/protocol/out/types/EphemeralState
  • @taqueria/protocol/out/types/EphemeralState.d
  • @taqueria/protocol/out/types/EphemeralState.d.js
  • @taqueria/protocol/out/types/EphemeralState.js
  • @taqueria/protocol/out/types/Faucet
  • @taqueria/protocol/out/types/Faucet.d
  • @taqueria/protocol/out/types/Faucet.d.js
  • @taqueria/protocol/out/types/Faucet.js
  • @taqueria/protocol/out/types/HumanReadableIdentifier
  • @taqueria/protocol/out/types/HumanReadableIdentifier.d
  • @taqueria/protocol/out/types/HumanReadableIdentifier.d.js
  • @taqueria/protocol/out/types/HumanReadableIdentifier.js
  • @taqueria/protocol/out/types/InstalledPlugin
  • @taqueria/protocol/out/types/InstalledPlugin.d
  • @taqueria/protocol/out/types/InstalledPlugin.d.js
  • @taqueria/protocol/out/types/InstalledPlugin.js
  • @taqueria/protocol/out/types/LoadedConfig
  • @taqueria/protocol/out/types/LoadedConfig.d
  • @taqueria/protocol/out/types/LoadedConfig.d.js
  • @taqueria/protocol/out/types/LoadedConfig.js
  • @taqueria/protocol/out/types/MetadataConfig
  • @taqueria/protocol/out/types/MetadataConfig.d
  • @taqueria/protocol/out/types/MetadataConfig.d.js
  • @taqueria/protocol/out/types/MetadataConfig.js
  • @taqueria/protocol/out/types/NetworkAccountConfig
  • @taqueria/protocol/out/types/NetworkAccountConfig.d
  • @taqueria/protocol/out/types/NetworkAccountConfig.d.js
  • @taqueria/protocol/out/types/NetworkAccountConfig.js
  • @taqueria/protocol/out/types/NetworkConfig
  • @taqueria/protocol/out/types/NetworkConfig.d
  • @taqueria/protocol/out/types/NetworkConfig.d.js
  • @taqueria/protocol/out/types/NetworkConfig.js
  • @taqueria/protocol/out/types/NonEmptyString
  • @taqueria/protocol/out/types/NonEmptyString.d
  • @taqueria/protocol/out/types/NonEmptyString.d.js
  • @taqueria/protocol/out/types/NonEmptyString.js
  • @taqueria/protocol/out/types/Operation
  • @taqueria/protocol/out/types/Operation.d
  • @taqueria/protocol/out/types/Operation.d.js
  • @taqueria/protocol/out/types/Operation.js
  • @taqueria/protocol/out/types/Option
  • @taqueria/protocol/out/types/Option.d
  • @taqueria/protocol/out/types/Option.d.js
  • @taqueria/protocol/out/types/Option.js
  • @taqueria/protocol/out/types/ParsedConfig
  • @taqueria/protocol/out/types/ParsedConfig.d
  • @taqueria/protocol/out/types/ParsedConfig.d.js
  • @taqueria/protocol/out/types/ParsedConfig.js
  • @taqueria/protocol/out/types/ParsedOperation
  • @taqueria/protocol/out/types/ParsedOperation.d
  • @taqueria/protocol/out/types/ParsedOperation.d.js
  • @taqueria/protocol/out/types/ParsedOperation.js
  • @taqueria/protocol/out/types/ParsedTemplate
  • @taqueria/protocol/out/types/ParsedTemplate.d
  • @taqueria/protocol/out/types/ParsedTemplate.d.js
  • @taqueria/protocol/out/types/ParsedTemplate.js
  • @taqueria/protocol/out/types/PersistedOperation
  • @taqueria/protocol/out/types/PersistedOperation.d
  • @taqueria/protocol/out/types/PersistedOperation.d.js
  • @taqueria/protocol/out/types/PersistedOperation.js
  • @taqueria/protocol/out/types/PersistedTask
  • @taqueria/protocol/out/types/PersistedTask.d
  • @taqueria/protocol/out/types/PersistedTask.d.js
  • @taqueria/protocol/out/types/PersistedTask.js
  • @taqueria/protocol/out/types/PersistentState
  • @taqueria/protocol/out/types/PersistentState.d
  • @taqueria/protocol/out/types/PersistentState.d.js
  • @taqueria/protocol/out/types/PersistentState.js
  • @taqueria/protocol/out/types/PluginActionName
  • @taqueria/protocol/out/types/PluginActionName.d
  • @taqueria/protocol/out/types/PluginActionName.d.js
  • @taqueria/protocol/out/types/PluginActionName.js
  • @taqueria/protocol/out/types/PluginDependenciesResponse
  • @taqueria/protocol/out/types/PluginDependenciesResponse.d
  • @taqueria/protocol/out/types/PluginDependenciesResponse.d.js
  • @taqueria/protocol/out/types/PluginDependenciesResponse.js
  • @taqueria/protocol/out/types/PluginInfo
  • @taqueria/protocol/out/types/PluginInfo.d
  • @taqueria/protocol/out/types/PluginInfo.d.js
  • @taqueria/protocol/out/types/PluginInfo.js
  • @taqueria/protocol/out/types/PluginJsonResponse
  • @taqueria/protocol/out/types/PluginJsonResponse.d
  • @taqueria/protocol/out/types/PluginJsonResponse.d.js
  • @taqueria/protocol/out/types/PluginJsonResponse.js
  • @taqueria/protocol/out/types/PluginProxyResponse
  • @taqueria/protocol/out/types/PluginProxyResponse.d
  • @taqueria/protocol/out/types/PluginProxyResponse.d.js
  • @taqueria/protocol/out/types/PluginProxyResponse.js
  • @taqueria/protocol/out/types/PluginResponseEncoding
  • @taqueria/protocol/out/types/PluginResponseEncoding.d
  • @taqueria/protocol/out/types/PluginResponseEncoding.d.js
  • @taqueria/protocol/out/types/PluginResponseEncoding.js
  • @taqueria/protocol/out/types/PluginSchema
  • @taqueria/protocol/out/types/PluginSchema.d
  • @taqueria/protocol/out/types/PluginSchema.d.js
  • @taqueria/protocol/out/types/PluginSchema.js
  • @taqueria/protocol/out/types/PositionalArg
  • @taqueria/protocol/out/types/PositionalArg.d
  • @taqueria/protocol/out/types/PositionalArg.d.js
  • @taqueria/protocol/out/types/PositionalArg.js
  • @taqueria/protocol/out/types/Provisioner
  • @taqueria/protocol/out/types/Provisioner.d
  • @taqueria/protocol/out/types/Provisioner.d.js
  • @taqueria/protocol/out/types/Provisioner.js
  • @taqueria/protocol/out/types/ProvisionerID
  • @taqueria/protocol/out/types/ProvisionerID.d
  • @taqueria/protocol/out/types/ProvisionerID.d.js
  • @taqueria/protocol/out/types/ProvisionerID.js
  • @taqueria/protocol/out/types/Provisions
  • @taqueria/protocol/out/types/Provisions.d
  • @taqueria/protocol/out/types/Provisions.d.js
  • @taqueria/protocol/out/types/Provisions.js
  • @taqueria/protocol/out/types/ProxyTaskArgs
  • @taqueria/protocol/out/types/ProxyTaskArgs.d
  • @taqueria/protocol/out/types/ProxyTaskArgs.d.js
  • @taqueria/protocol/out/types/ProxyTaskArgs.js
  • @taqueria/protocol/out/types/ProxyTemplateArgs
  • @taqueria/protocol/out/types/ProxyTemplateArgs.d
  • @taqueria/protocol/out/types/ProxyTemplateArgs.d.js
  • @taqueria/protocol/out/types/ProxyTemplateArgs.js
  • @taqueria/protocol/out/types/PublicKeyHash
  • @taqueria/protocol/out/types/PublicKeyHash.d
  • @taqueria/protocol/out/types/PublicKeyHash.d.js
  • @taqueria/protocol/out/types/PublicKeyHash.js
  • @taqueria/protocol/out/types/RequestArgs
  • @taqueria/protocol/out/types/RequestArgs.d
  • @taqueria/protocol/out/types/RequestArgs.d.js
  • @taqueria/protocol/out/types/RequestArgs.js
  • @taqueria/protocol/out/types/RuntimeDependency
  • @taqueria/protocol/out/types/RuntimeDependency.d
  • @taqueria/protocol/out/types/RuntimeDependency.d.js
  • @taqueria/protocol/out/types/RuntimeDependency.js
  • @taqueria/protocol/out/types/RuntimeDependencyReport
  • @taqueria/protocol/out/types/RuntimeDependencyReport.d
  • @taqueria/protocol/out/types/RuntimeDependencyReport.d.js
  • @taqueria/protocol/out/types/RuntimeDependencyReport.js
  • @taqueria/protocol/out/types/SHA256
  • @taqueria/protocol/out/types/SHA256.d
  • @taqueria/protocol/out/types/SHA256.d.js
  • @taqueria/protocol/out/types/SHA256.js
  • @taqueria/protocol/out/types/SandboxAccountConfig
  • @taqueria/protocol/out/types/SandboxAccountConfig.d
  • @taqueria/protocol/out/types/SandboxAccountConfig.d.js
  • @taqueria/protocol/out/types/SandboxAccountConfig.js
  • @taqueria/protocol/out/types/SandboxConfig
  • @taqueria/protocol/out/types/SandboxConfig.d
  • @taqueria/protocol/out/types/SandboxConfig.d.js
  • @taqueria/protocol/out/types/SandboxConfig.js
  • @taqueria/protocol/out/types/SanitizedAbsPath
  • @taqueria/protocol/out/types/SanitizedAbsPath.d
  • @taqueria/protocol/out/types/SanitizedAbsPath.d.js
  • @taqueria/protocol/out/types/SanitizedAbsPath.js
  • @taqueria/protocol/out/types/SanitizedArgs
  • @taqueria/protocol/out/types/SanitizedArgs.d
  • @taqueria/protocol/out/types/SanitizedArgs.d.js
  • @taqueria/protocol/out/types/SanitizedArgs.js
  • @taqueria/protocol/out/types/SanitizedPath
  • @taqueria/protocol/out/types/SanitizedPath.d
  • @taqueria/protocol/out/types/SanitizedPath.d.js
  • @taqueria/protocol/out/types/SanitizedPath.js
  • @taqueria/protocol/out/types/ScaffoldConfig
  • @taqueria/protocol/out/types/ScaffoldConfig.d
  • @taqueria/protocol/out/types/ScaffoldConfig.d.js
  • @taqueria/protocol/out/types/ScaffoldConfig.js
  • @taqueria/protocol/out/types/Settings
  • @taqueria/protocol/out/types/Settings.d
  • @taqueria/protocol/out/types/Settings.d.js
  • @taqueria/protocol/out/types/Settings.js
  • @taqueria/protocol/out/types/SingleChar
  • @taqueria/protocol/out/types/SingleChar.d
  • @taqueria/protocol/out/types/SingleChar.d.js
  • @taqueria/protocol/out/types/SingleChar.js
  • @taqueria/protocol/out/types/Task
  • @taqueria/protocol/out/types/Task.d
  • @taqueria/protocol/out/types/Task.d.js
  • @taqueria/protocol/out/types/Task.js
  • @taqueria/protocol/out/types/Template
  • @taqueria/protocol/out/types/Template.d
  • @taqueria/protocol/out/types/Template.d.js
  • @taqueria/protocol/out/types/Template.js
  • @taqueria/protocol/out/types/Timestamp
  • @taqueria/protocol/out/types/Timestamp.d
  • @taqueria/protocol/out/types/Timestamp.d.js
  • @taqueria/protocol/out/types/Timestamp.js
  • @taqueria/protocol/out/types/Tz
  • @taqueria/protocol/out/types/Tz.d
  • @taqueria/protocol/out/types/Tz.d.js
  • @taqueria/protocol/out/types/Tz.js
  • @taqueria/protocol/out/types/TzKtConfig
  • @taqueria/protocol/out/types/TzKtConfig.d
  • @taqueria/protocol/out/types/TzKtConfig.d.js
  • @taqueria/protocol/out/types/TzKtConfig.js
  • @taqueria/protocol/out/types/Url
  • @taqueria/protocol/out/types/Url.d
  • @taqueria/protocol/out/types/Url.d.js
  • @taqueria/protocol/out/types/Url.js
  • @taqueria/protocol/out/types/Verb
  • @taqueria/protocol/out/types/Verb.d
  • @taqueria/protocol/out/types/Verb.d.js
  • @taqueria/protocol/out/types/Verb.js
  • @taqueria/protocol/out/types/VersionNumber
  • @taqueria/protocol/out/types/VersionNumber.d
  • @taqueria/protocol/out/types/VersionNumber.d.js
  • @taqueria/protocol/out/types/VersionNumber.js
  • @taqueria/protocol/taqueria-protocol-types
  • @taqueria/protocol/taqueria-protocol-types.js
  • @taqueria/protocol/types
  • @taqueria/protocol/types-config-files
  • @taqueria/protocol/types-config-files.js
  • @taqueria/protocol/types.js
  • @taqueria/protocol/tzkt-config
  • @taqueria/protocol/tzkt-config.js

Readme

Taqueria Protocol

This package provides TypeScript "types" to both the Taqueria CLI and the Taqueria Node SDK.

This package is consumable in Node and Deno, and therefore care must be taken to assure that any changes made to the types do not depend solely on a Node or Deno API.

Zod Types and Schemas

Each type is validated using either of the following Zod schemas:

Raw Schema

A schema that parses and validates input using built-in data types.

Internal Schema

A schema that extends the rawSchema but parses data into custom-defined concrete types.

Schema

A schema which extends the internalSchema, and casts the data into its custom-defined concrete type

Example:

Let's say that we're trying to parse a Person, expecting a JSON object as input. For simplicity, lets say that define a Person with the following shape:

Person: {
    firstName: Name.t,
    lastName: Name.t
}

Both fields are of type Name.t.

Name.t would have a rawSchema that parses input as a string, with a minimum length of 2, and match against a regex to ensure that the string begins with an uppercase letter, and that only alphabetical characters, hyphens, and spaces are allowed. The rawSchema is essentially parsing the input into a built-in type, a string in this case, and validating that the string represents the data expected.

The internalSchema of the Name.t type would be the same as the rawSchema in this place, as the rawSchema is parsing the input into a scalar value and simple type, rather than a complex type, such as an object.

The schema of the Name.t type would take the value as output from the internalSchema, which would be a validated string in this case, and cast it to a Name.t.


The rawSchema of a Person.t would parse the input as an object, with two required fields, and would validate those fields using the rawSchema provided by the Name.t type:

// rawSchema for Person.t
export const rawSchema = z.object({
    firstName: Name.rawSchema,
    lastName: Name.rawSchema
})

The internalSchema extends the rawSchema by parsing the two fields into their proper concrete types:

// internalSchema for Person.t
export const internalSchema = z.object({
    firstName: Name.schema,
    lastName: Name.schema
})

Recall that the _schema_ returns a value casted to its appropriate concrete type. Thus, the internalSchema above can be inferred as a Zod Schema with two Name.t fields.

Finally, the schema will cast the object to its own concerete type, Person.t:

// schema for Person.t
export const schema = internalSchema.transform(val => val as Person.t)

Factory methods

Each type module has the following methods which map input to a parsed value of it's associated type:

  • make() - accepts a value as input that can be inferred to a type represented by the internalSchema. Returns a Future<TaqError, T>. Should be used internally by the CLI
  • create() - accepts a value as input with an unknown shape. Throws on failure. Should be used by plugin authors, not internally in the CLI.
  • of() - accepts a value as input with an unknown shape. Returns a Future<TaqError, T>. Typically used by the CLI when parsing input from files such as config.json.

Tips

Zod schemas expose a default() method. This doesn't work well when the optional() method is used as well. As such, please use the transform() method to set default values.

E.g.

Instead of this: z.string().default('contracts').optional()

Use this: z.string().optional().transform(val => val ?? 'contracts')