@taqueria/protocol 0.25.16-rc → 0.25.17-rc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/EphemeralState.d.ts +100 -96
  2. package/EphemeralState.d.ts.map +1 -1
  3. package/ParsedPluginInfo.d.ts +250 -240
  4. package/ParsedPluginInfo.d.ts.map +1 -1
  5. package/PluginInfo.d.ts +300 -288
  6. package/PluginInfo.d.ts.map +1 -1
  7. package/PluginSchema.d.ts +578 -558
  8. package/PluginSchema.d.ts.map +1 -1
  9. package/SanitizedArgs.d.ts +66 -0
  10. package/SanitizedArgs.d.ts.map +1 -1
  11. package/SanitizedArgs.js +5 -0
  12. package/SanitizedArgs.js.map +1 -1
  13. package/SanitizedArgs.mjs +4 -0
  14. package/SanitizedArgs.mjs.map +1 -1
  15. package/TaqError.d.ts +1 -1
  16. package/TaqError.d.ts.map +1 -1
  17. package/TaqError.js.map +1 -1
  18. package/TaqError.mjs.map +1 -1
  19. package/i18n.d.ts.map +1 -1
  20. package/i18n.js +1 -0
  21. package/i18n.js.map +1 -1
  22. package/i18n.mjs +1 -0
  23. package/i18n.mjs.map +1 -1
  24. package/out/types/Config.d.ts +158 -150
  25. package/out/types/Config.d.ts.map +1 -1
  26. package/out/types/EphemeralState.d.ts +800 -768
  27. package/out/types/EphemeralState.d.ts.map +1 -1
  28. package/out/types/LoadedConfig.d.ts +158 -150
  29. package/out/types/LoadedConfig.d.ts.map +1 -1
  30. package/out/types/NetworkAccountConfig.d.ts +52 -39
  31. package/out/types/NetworkAccountConfig.d.ts.map +1 -1
  32. package/out/types/NetworkConfig.d.ts +84 -76
  33. package/out/types/NetworkConfig.d.ts.map +1 -1
  34. package/out/types/Operation.d.ts +254 -246
  35. package/out/types/Operation.d.ts.map +1 -1
  36. package/out/types/ParsedConfig.d.ts +182 -174
  37. package/out/types/ParsedConfig.d.ts.map +1 -1
  38. package/out/types/ParsedOperation.d.ts +200 -192
  39. package/out/types/ParsedOperation.d.ts.map +1 -1
  40. package/out/types/ParsedTemplate.d.ts +200 -192
  41. package/out/types/ParsedTemplate.d.ts.map +1 -1
  42. package/out/types/PluginInfo.d.ts +400 -384
  43. package/out/types/PluginInfo.d.ts.map +1 -1
  44. package/out/types/PluginSchema.d.ts +1366 -1326
  45. package/out/types/PluginSchema.d.ts.map +1 -1
  46. package/out/types/ProxyTaskArgs.d.ts +206 -198
  47. package/out/types/ProxyTaskArgs.d.ts.map +1 -1
  48. package/out/types/ProxyTemplateArgs.d.ts +206 -198
  49. package/out/types/ProxyTemplateArgs.d.ts.map +1 -1
  50. package/out/types/RequestArgs.d.ts +206 -198
  51. package/out/types/RequestArgs.d.ts.map +1 -1
  52. package/out/types/SandboxConfig.d.ts +26 -26
  53. package/out/types/Template.d.ts +254 -246
  54. package/out/types/Template.d.ts.map +1 -1
  55. package/out/types-strict.d.js.map +1 -1
  56. package/out/types-strict.d.ts +6 -6
  57. package/out/types-strict.d.ts.map +1 -1
  58. package/out/types-strict.js.map +1 -1
  59. package/out/types-zod.d.js.map +1 -1
  60. package/out/types-zod.d.ts +1166 -1119
  61. package/out/types-zod.d.ts.map +1 -1
  62. package/out/types-zod.js +7 -7
  63. package/out/types-zod.js.map +1 -1
  64. package/out/types-zod.mjs +7 -7
  65. package/out/types-zod.mjs.map +1 -1
  66. package/package.json +2 -1
  67. package/types.d.ts +6 -6
  68. package/types.d.ts.map +1 -1
  69. package/types.js.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Template.d.ts","sourceRoot":"","sources":["Template.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAA4E,MAAM,6BAA6B,CAAC;AACjI,OAAO,EAAE,cAAc,EAAmB,MAAM,SAAS,CAAC;AAE1D,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAGjF,YAAY,EAAE,cA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAiB,CAAC;AAE7C,MAAM,MAAM,CAAC,GAAG,cAAc,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["types-strict.ts"],"sourcesContent":["// Generated file: Do not edit \n// generated from @taqueria-protocol-types\n \n// ---- Simple Types & Type Fragments ----\n\n/** @minLength 1 */\nexport type NonEmptyString = { __type: NonEmptyString } & string;\n\n/** @pattern ^[A-Za-z]$ */\nexport type SingleChar = { __type: SingleChar } & SingleCharRaw;\ntype SingleCharRaw = NonEmptyString;\n\n/** @pattern ^[A-Za-z\\-\\ ]+ */\nexport type Verb = { __type: Verb } & VerbRaw;\ntype VerbRaw = NonEmptyString;\n\nexport type Alias = { __type: Alias } & AliasRaw;\ntype AliasRaw = (Verb | SingleChar);\n\n/** @pattern ^[A-Za-z]+[A-Za-z0-9-_ ]*$ */\nexport type HumanReadableIdentifier = { __type: HumanReadableIdentifier } & HumanReadableIdentifierRaw;\ntype HumanReadableIdentifierRaw = NonEmptyString;\n\nexport type SanitizedAbsPath = { __type: SanitizedAbsPath } & SanitizedAbsPathRaw;\ntype SanitizedAbsPathRaw = NonEmptyString;\n\nexport type SanitizedPath = { __type: SanitizedPath } & SanitizedPathRaw;\ntype SanitizedPathRaw = NonEmptyString;\n\nexport type Settings = { __type: Settings } & {\n\tconsent: 'opt_in' | 'opt_out';\n};\n\n/**\n * @minimum 1651846877\n * @integer\n */\nexport type Timestamp = { __type: Timestamp } & number;\n\n/**\n * @minLength 1\n * @pattern ^\\d([\\d_]+\\d)?$ */\nexport type Tz = { __type: Tz } & TzRaw;\ntype TzRaw = NonEmptyString;\n\n/**\n * @minLength 1\n * @pattern ^\\d+\\.\\d+(\\.\\d+)*$ */\nexport type VersionNumber = { __type: VersionNumber } & VersionNumberRaw;\ntype VersionNumberRaw = NonEmptyString;\n\n/** @format url */\nexport type Url = { __type: Url } & UrlRaw;\ntype UrlRaw = NonEmptyString;\n\n// ---- Plugin Definition Types ----\n\n/** interpreted using yargs @pattern ^([A-Za-z-_ ]+ ?)((\\[.+\\] ?)|(\\<.+\\>) ?)*$ */\nexport type Command = { __type: Command } & CommandRaw;\ntype CommandRaw = NonEmptyString;\n\nexport type Option = { __type: Option } & {\n\tshortFlag?: SingleChar;\n\tflag: Verb;\n\tdescription: NonEmptyString;\n\tdefaultValue?: string | number | boolean;\n\ttype?: 'string' | 'number' | 'boolean';\n\trequired?: boolean;\n\tboolean?: boolean;\n\tchoices?: NonEmptyString[];\n};\n\nexport type PositionalArg = { __type: PositionalArg } & {\n\tplaceholder: HumanReadableIdentifier;\n\tdescription: NonEmptyString;\n\tdefaultValue?: string | number | boolean;\n\ttype?: 'string' | 'number' | 'boolean';\n\trequired?: boolean;\n};\n\nexport type InstalledPlugin = { __type: InstalledPlugin } & {\n\ttype: 'npm' | 'binary' | 'deno';\n\tname: NonEmptyString;\n};\n\nexport type Operation = { __type: Operation } & {\n\toperation: Verb;\n\tcommand: Command;\n\tdescription?: NonEmptyString;\n\tpositionals?: PositionalArg[];\n\toptions?: Option[];\n\thandler?: (args: PersistentState) => (args: RequestArgs) => void;\n};\n\nexport type ParsedOperation = { __type: ParsedOperation } & ParsedOperationRaw;\ntype ParsedOperationRaw = Omit<Operation, 'handler'>;\n\nexport type Template = { __type: Template } & {\n\ttemplate: Verb;\n\tcommand: Command;\n\tdescription: NonEmptyString;\n\thidden?: boolean;\n\toptions?: Option[];\n\tpositionals?: PositionalArg[];\n\thandler: TemplateHandler;\n\tencoding?: PluginResponseEncoding;\n};\n\ntype TemplateHandler =\n\t| NonEmptyString // TODO: should this be Verb?\n\t| ((args: RequestArgs) =>\n\t\t| PluginJsonResponse\n\t\t| Promise<PluginJsonResponse>)\n\t| Promise<void>;\n\nexport type ParsedTemplate = { __type: ParsedTemplate } & ParsedTemplateRaw;\ntype ParsedTemplateRaw = Omit<Template, 'handler'> & {\n\thandler: string;\n};\n\ntype PluginSchemaBase = {\n\tname: NonEmptyString;\n\tversion: VersionNumber;\n\tschema: VersionNumber;\n\talias: Alias;\n\ttasks?: Task[];\n};\n\nexport type PluginInfo = { __type: PluginInfo } & PluginInfoRaw;\ntype PluginInfoRaw = PluginSchemaBase & {\n\toperations?: ParsedOperation[];\n\ttemplates?: ParsedTemplate[];\n};\n\nexport type PluginSchema = { __type: PluginSchema } & PluginSchemaRaw;\ntype PluginSchemaRaw = PluginSchemaBase & {\n\toperations?: Operation[];\n\ttemplates?: Template[];\n\tproxy?: (args: RequestArgs) => Promise<PluginProxyResponse>;\n\tcheckRuntimeDependencies?: (args: RequestArgs) => Promise<PluginDependenciesResponse>;\n\tinstallRuntimeDependencies?: (args: RequestArgs) => Promise<PluginDependenciesResponse>;\n};\n\nexport type Task = { __type: Task } & {\n\ttask: Verb;\n\tcommand: Command;\n\taliases?: Alias[];\n\t/** @minLength 3 */\n\tdescription?: NonEmptyString;\n\texample?: NonEmptyString;\n\thidden?: boolean;\n\tencoding?: PluginResponseEncoding;\n\thandler: 'proxy' | NonEmptyString;\n\toptions?: Option[];\n\tpositionals?: PositionalArg[];\n};\n\n// ---- Process Interop ----\n\nexport type RuntimeDependency = { __type: RuntimeDependency } & {\n\tname: HumanReadableIdentifier;\n\tpath: string;\n\tversion: string;\n\tkind: 'required' | 'optional';\n};\n\nexport type RuntimeDependencyReport = { __type: RuntimeDependencyReport } & RuntimeDependencyReportRaw;\ntype RuntimeDependencyReportRaw = RuntimeDependency & {\n\tmet: boolean;\n};\n\nexport type PluginDependenciesResponse = { __type: PluginDependenciesResponse } & {\n\treport: RuntimeDependencyReport[];\n};\n\nexport type PluginJsonResponse = { __type: PluginJsonResponse } & {\n\tdata?: unknown;\n\n\t/** @default none */\n\trender: 'none' | 'table' | 'string';\n} | void;\n\nexport type PluginProxyResponse = { __type: PluginProxyResponse } & PluginProxyResponseRaw;\ntype PluginProxyResponseRaw = void | PluginJsonResponse;\n\n/** @default none */\nexport type PluginResponseEncoding = { __type: PluginResponseEncoding } & PluginResponseEncodingRaw;\ntype PluginResponseEncodingRaw = 'none' | 'json' | 'application/json';\n\n/**\n * @min 100\n */\nexport type BuildNumber = { __type: BuildNumber } & number;\n\nexport type SanitizedArgs = { __type: SanitizedArgs } & {\n\t_: string[];\n\tprojectDir: SanitizedPath;\n\tmaxConcurrency: number;\n\tdebug: boolean;\n\tdisableState: boolean;\n\tlogPluginRequests: boolean;\n\tfromVsCode: boolean;\n\tversion: boolean;\n\tbuild: boolean;\n\thelp: boolean;\n\tyes: boolean;\n\tplugin?: NonEmptyString;\n\tenv: NonEmptyString;\n\tquickstart: NonEmptyString;\n\tsetBuild: NonEmptyString | BuildNumber;\n\tsetVersion: NonEmptyString;\n};\n\nexport type PluginActionName = { __type: PluginActionName } & PluginActionNameRaw;\ntype PluginActionNameRaw =\n\t| 'proxy'\n\t| 'pluginInfo'\n\t| 'checkRuntimeDependencies'\n\t| 'installRuntimeDependencies'\n\t| 'proxyTemplate';\n\nexport type RequestArgs = { __type: RequestArgs } & RequestArgsRaw;\ntype RequestArgsRaw = Omit<SanitizedArgs, 'quickstart'> & {\n\ttaqRun: PluginActionName;\n\t// TODO: JSON.parse if string\n\tconfig: LoadedConfig;\n};\n\nexport type ProxyTaskArgs = { __type: ProxyTaskArgs } & ProxyTaskArgsRaw;\ntype ProxyTaskArgsRaw = RequestArgs & {\n\ttask: NonEmptyString;\n};\n\nexport type ProxyTemplateArgs = { __type: ProxyTemplateArgs } & ProxyTemplateArgsRaw;\ntype ProxyTemplateArgsRaw = RequestArgs & {\n\ttemplate: NonEmptyString;\n};\n\n// ---- Hash Types ----\n\n/** @min 1 */\nexport type EconomicalProtocolHash = { __type: EconomicalProtocolHash } & string;\n\n/** @pattern ^tz\\d[A-Za-z0-9]{33}$ */\nexport type PublicKeyHash = { __type: PublicKeyHash } & string;\n\n/** @pattern ^[A-Fa-f0-9]{64}$ */\nexport type SHA256 = { __type: SHA256 } & string;\n\n// ---- Contract Objects ----\n\nexport type Contract = { __type: Contract } & {\n\tsourceFile: NonEmptyString;\n\thash: SHA256;\n};\n\nexport type Faucet = { __type: Faucet } & {\n\tpkh: PublicKeyHash;\n\tmnemonic: string[];\n\t/** @format email */\n\temail: string;\n\tpassword: string;\n\t/** @pattern ^\\d+$ */\n\tamount: string;\n\tactivation_code: string;\n};\n\n// ---- External ----\n\n/** Port number for postgresql container\n * @default 5432\n */\ntype TzKtConfigPostgresqlPort = number;\n\n/** Port number for TzKt API\n * @default 5000\n */\ntype TzKtConfigApiPort = number;\n\nexport type TzKtConfig = { __type: TzKtConfig } & {\n\t/** Do not start TzKt when sandbox starts */\n\tdisableAutostartWithSandbox?: boolean;\n\tpostgresqlPort?: TzKtConfigPostgresqlPort;\n\tapiPort?: TzKtConfigApiPort;\n};\n\n// ---- Project Files ----\n\nexport type Environment = { __type: Environment } & {\n\tnetworks: NonEmptyString[];\n\tsandboxes: NonEmptyString[];\n\tstorage?: Record<string, NonEmptyString>;\n\taliases?: Record<string, Record<string, NonEmptyString>>;\n};\n\nexport type EphemeralState = { __type: EphemeralState } & {\n\tbuild: string;\n\tconfigHash: string;\n\n\t// Note: these were changed from a union(either type) to intersection(both types): i.e. InstalledPlugin | Task is not correct\n\n\t/** Task/Plugin Mapping */\n\ttasks: Record<string, InstalledPlugin & Task>;\n\t/** Operation/Plugin Mapping */\n\toperations: Record<string, InstalledPlugin & ParsedOperation>;\n\t/** Templates/Plugin Mapping */\n\ttemplates: Record<string, InstalledPlugin & ParsedTemplate>;\n\n\tplugins: PluginInfo[];\n};\n\nexport type PersistentState = { __type: PersistentState } & {\n\toperations: Record<string, PersistedOperation>;\n\ttasks: Record<string, PersistedTask>;\n};\n\nexport type PersistedTask = { __type: PersistedTask } & {\n\ttask: Verb;\n\tplugin: NonEmptyString;\n\ttime: Timestamp;\n\toutput?: unknown;\n};\n\nexport type PersistedOperation = { __type: PersistedOperation } & {\n\thash: SHA256;\n\ttime: Timestamp;\n\toutput?: unknown;\n};\n\n/**\n * @minLength 1\n * @pattern ^[A-Za-z0-9]+[A-Za-z0-9-_]+\\.[A-Za-z0-9]+[A-Za-z0-9-_]+\\.[A-Za-z0-9]+[A-Za-z0-9-_]+$\n */\nexport type ProvisionerID = { __type: ProvisionerID } & string;\n\nexport type Provisioner = { __type: Provisioner } & {\n\tid: ProvisionerID;\n\tplugin: NonEmptyString;\n\toperation: NonEmptyString | 'custom';\n\tcommand?: string;\n\tlabel?: string;\n\tdepends_on?: ProvisionerID[];\n};\n\nexport type Provisions = { __type: Provisions } & ProvisionsRaw;\ntype ProvisionsRaw = Provisioner[];\n\n// ---- Project Files: Config ----\n\n/** @minLength 1 Default environment must reference the name of an existing environment.*/\ntype EnvironmentName = NonEmptyString;\n\n/** @default en */\ntype HumanLanguage = 'en' | 'fr';\n\n/**\n * @default contracts\n * @minLength 1\n */\nexport type ConfigContractsDir = { __type: ConfigContractsDir } & string;\n\n/**\n * @default artifacts\n * @minLength 1\n */\nexport type ConfigArtifactsDir = { __type: ConfigArtifactsDir } & string;\n\nexport type Config = { __type: Config } & {\n\tlanguage?: HumanLanguage;\n\tplugins?: InstalledPlugin[];\n\tcontractsDir?: ConfigContractsDir;\n\tartifactsDir?: ConfigArtifactsDir;\n\tnetwork?: Record<string, NetworkConfig>;\n\tsandbox?: Record<string, SandboxConfig>;\n\n\t// TODO: This causes a type conflict and is not supported\n\t// accounts?: {\n\t// \tdefault: EnvironmentName;\n\t// } & Record<string, Environment>;\n\tenvironment: Record<string, Environment | EnvironmentName>;\n\taccounts?: Record<string, Tz>;\n\tcontracts?: Record<string, Contract>;\n\tmetadata?: MetadataConfig;\n};\n\n// TODO: sandbox breaks ts-to-zod\nexport type LoadedConfig = { __type: LoadedConfig } & LoadedConfigRaw;\ntype LoadedConfigRaw = Config & {\n\tprojectDir: SanitizedAbsPath;\n\tconfigFile: SanitizedAbsPath;\n\thash: SHA256;\n};\n\nexport type MetadataConfig = { __type: MetadataConfig } & {\n\tname?: string;\n\tprojectDescription?: string;\n\tauthors?: string[];\n\tlicense?: string;\n\thomepage?: string;\n};\n\nexport type NetworkConfig = { __type: NetworkConfig } & {\n\tlabel: HumanReadableIdentifier;\n\trpcUrl: Url;\n\tprotocol: EconomicalProtocolHash;\n\taccounts?: Record<string, NetworkAccountConfig>;\n\tfaucet?: Faucet;\n};\n\nexport type NetworkAccountConfig = { __type: NetworkAccountConfig } & {\n\tpublicKey: NonEmptyString;\n\tpublicKeyHash: PublicKeyHash;\n\tprivateKey: NonEmptyString; /** TODO: Should this be secretKey: @see {SandboxAccountConfig} */\n};\n\nexport type SandboxAccountConfig = { __type: SandboxAccountConfig } & {\n\tencryptedKey: NonEmptyString;\n\tpublicKeyHash: PublicKeyHash;\n\tsecretKey: NonEmptyString;\n};\n\nexport type SandboxConfig = { __type: SandboxConfig } & {\n\tlabel: NonEmptyString;\n\trpcUrl: Url;\n\tprotocol: EconomicalProtocolHash;\n\tattributes?: string | number | boolean;\n\tplugin?: Verb;\n\n\t// TODO: This causes a type conflict and is not supported\n\t// accounts?: {\n\t// \tdefault: NonEmptyString;\n\t// } & Record<string, SandboxAccountConfig>;\n\taccounts?: Record<string, SandboxAccountConfig | NonEmptyString>;\n\n\ttzkt?: TzKtConfig;\n};\n\nexport type ScaffoldConfig = { __type: ScaffoldConfig } & {\n\tpostInit?: string;\n};\n\nexport type ParsedConfig = { __type: ParsedConfig } & ParsedConfigRaw;\ntype ParsedConfigRaw = Omit<Config, 'sandbox'> & {\n\tsandbox: Record<string, SandboxConfig | NonEmptyString>;\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAKA;;","names":[]}
1
+ {"version":3,"sources":["types-strict.ts"],"sourcesContent":["// Generated file: Do not edit \n// generated from @taqueria-protocol-types\n \n// ---- Simple Types & Type Fragments ----\n\n/** @minLength 1 */\nexport type NonEmptyString = { __type: NonEmptyString } & string;\n\n/** @pattern ^[A-Za-z]$ */\nexport type SingleChar = { __type: SingleChar } & SingleCharRaw;\ntype SingleCharRaw = NonEmptyString;\n\n/** @pattern ^[A-Za-z\\-\\ ]+ */\nexport type Verb = { __type: Verb } & VerbRaw;\ntype VerbRaw = NonEmptyString;\n\nexport type Alias = { __type: Alias } & AliasRaw;\ntype AliasRaw = (Verb | SingleChar);\n\n/** @pattern ^[A-Za-z]+[A-Za-z0-9-_ ]*$ */\nexport type HumanReadableIdentifier = { __type: HumanReadableIdentifier } & HumanReadableIdentifierRaw;\ntype HumanReadableIdentifierRaw = NonEmptyString;\n\nexport type SanitizedAbsPath = { __type: SanitizedAbsPath } & SanitizedAbsPathRaw;\ntype SanitizedAbsPathRaw = NonEmptyString;\n\nexport type SanitizedPath = { __type: SanitizedPath } & SanitizedPathRaw;\ntype SanitizedPathRaw = NonEmptyString;\n\nexport type Settings = { __type: Settings } & {\n\tconsent: 'opt_in' | 'opt_out';\n};\n\n/**\n * @minimum 1651846877\n * @integer\n */\nexport type Timestamp = { __type: Timestamp } & number;\n\n/**\n * @minLength 1\n * @pattern ^\\d([\\d_]+\\d)?$ */\nexport type Tz = { __type: Tz } & TzRaw;\ntype TzRaw = NonEmptyString;\n\n/**\n * @minLength 1\n * @pattern ^\\d+\\.\\d+(\\.\\d+)*$ */\nexport type VersionNumber = { __type: VersionNumber } & VersionNumberRaw;\ntype VersionNumberRaw = NonEmptyString;\n\n/** @format url */\nexport type Url = { __type: Url } & UrlRaw;\ntype UrlRaw = NonEmptyString;\n\n// ---- Plugin Definition Types ----\n\n/** interpreted using yargs @pattern ^([A-Za-z-_ ]+ ?)((\\[.+\\] ?)|(\\<.+\\>) ?)*$ */\nexport type Command = { __type: Command } & CommandRaw;\ntype CommandRaw = NonEmptyString;\n\nexport type Option = { __type: Option } & {\n\tshortFlag?: SingleChar;\n\tflag: Verb;\n\tdescription: NonEmptyString;\n\tdefaultValue?: string | number | boolean;\n\ttype?: 'string' | 'number' | 'boolean';\n\trequired?: boolean;\n\tboolean?: boolean;\n\tchoices?: NonEmptyString[];\n};\n\nexport type PositionalArg = { __type: PositionalArg } & {\n\tplaceholder: HumanReadableIdentifier;\n\tdescription: NonEmptyString;\n\tdefaultValue?: string | number | boolean;\n\ttype?: 'string' | 'number' | 'boolean';\n\trequired?: boolean;\n};\n\nexport type InstalledPlugin = { __type: InstalledPlugin } & {\n\ttype: 'npm' | 'binary' | 'deno';\n\tname: NonEmptyString;\n};\n\nexport type Operation = { __type: Operation } & {\n\toperation: Verb;\n\tcommand: Command;\n\tdescription?: NonEmptyString;\n\tpositionals?: PositionalArg[];\n\toptions?: Option[];\n\thandler?: (args: PersistentState) => (args: RequestArgs) => void;\n};\n\nexport type ParsedOperation = { __type: ParsedOperation } & ParsedOperationRaw;\ntype ParsedOperationRaw = Omit<Operation, 'handler'>;\n\nexport type Template = { __type: Template } & {\n\ttemplate: Verb;\n\tcommand: Command;\n\tdescription: NonEmptyString;\n\thidden?: boolean;\n\toptions?: Option[];\n\tpositionals?: PositionalArg[];\n\thandler: TemplateHandler;\n\tencoding?: PluginResponseEncoding;\n};\n\ntype TemplateHandler =\n\t| NonEmptyString // TODO: should this be Verb?\n\t| ((args: RequestArgs) =>\n\t\t| PluginJsonResponse\n\t\t| Promise<PluginJsonResponse>)\n\t| Promise<void>;\n\nexport type ParsedTemplate = { __type: ParsedTemplate } & ParsedTemplateRaw;\ntype ParsedTemplateRaw = Omit<Template, 'handler'> & {\n\thandler: string;\n};\n\ntype PluginSchemaBase = {\n\tname: NonEmptyString;\n\tversion: VersionNumber;\n\tschema: VersionNumber;\n\talias: Alias;\n\ttasks?: Task[];\n};\n\nexport type PluginInfo = { __type: PluginInfo } & PluginInfoRaw;\ntype PluginInfoRaw = PluginSchemaBase & {\n\toperations?: ParsedOperation[];\n\ttemplates?: ParsedTemplate[];\n};\n\nexport type PluginSchema = { __type: PluginSchema } & PluginSchemaRaw;\ntype PluginSchemaRaw = PluginSchemaBase & {\n\toperations?: Operation[];\n\ttemplates?: Template[];\n\tproxy?: (args: RequestArgs) => Promise<PluginProxyResponse>;\n\tcheckRuntimeDependencies?: (args: RequestArgs) => Promise<PluginDependenciesResponse>;\n\tinstallRuntimeDependencies?: (args: RequestArgs) => Promise<PluginDependenciesResponse>;\n};\n\nexport type Task = { __type: Task } & {\n\ttask: Verb;\n\tcommand: Command;\n\taliases?: Alias[];\n\t/** @minLength 3 */\n\tdescription?: NonEmptyString;\n\texample?: NonEmptyString;\n\thidden?: boolean;\n\tencoding?: PluginResponseEncoding;\n\thandler: 'proxy' | NonEmptyString;\n\toptions?: Option[];\n\tpositionals?: PositionalArg[];\n};\n\n// ---- Process Interop ----\n\nexport type RuntimeDependency = { __type: RuntimeDependency } & {\n\tname: HumanReadableIdentifier;\n\tpath: string;\n\tversion: string;\n\tkind: 'required' | 'optional';\n};\n\nexport type RuntimeDependencyReport = { __type: RuntimeDependencyReport } & RuntimeDependencyReportRaw;\ntype RuntimeDependencyReportRaw = RuntimeDependency & {\n\tmet: boolean;\n};\n\nexport type PluginDependenciesResponse = { __type: PluginDependenciesResponse } & {\n\treport: RuntimeDependencyReport[];\n};\n\nexport type PluginJsonResponse = { __type: PluginJsonResponse } & {\n\tdata?: unknown;\n\n\t/** @default none */\n\trender: 'none' | 'table' | 'string';\n} | void;\n\nexport type PluginProxyResponse = { __type: PluginProxyResponse } & PluginProxyResponseRaw;\ntype PluginProxyResponseRaw = void | PluginJsonResponse;\n\n/** @default none */\nexport type PluginResponseEncoding = { __type: PluginResponseEncoding } & PluginResponseEncodingRaw;\ntype PluginResponseEncodingRaw = 'none' | 'json' | 'application/json';\n\n/**\n * @min 100\n */\nexport type BuildNumber = { __type: BuildNumber } & number;\n\nexport type SanitizedArgs = { __type: SanitizedArgs } & {\n\t_: string[];\n\tprojectDir: SanitizedPath;\n\tmaxConcurrency: number;\n\tdebug: boolean;\n\tdisableState: boolean;\n\tlogPluginRequests: boolean;\n\tfromVsCode: boolean;\n\tversion: boolean;\n\tbuild: boolean;\n\thelp: boolean;\n\tyes: boolean;\n\tplugin?: NonEmptyString;\n\tenv: NonEmptyString;\n\tquickstart: NonEmptyString;\n\tsetBuild: NonEmptyString | BuildNumber;\n\tsetVersion: NonEmptyString;\n};\n\nexport type PluginActionName = { __type: PluginActionName } & PluginActionNameRaw;\ntype PluginActionNameRaw =\n\t| 'proxy'\n\t| 'pluginInfo'\n\t| 'checkRuntimeDependencies'\n\t| 'installRuntimeDependencies'\n\t| 'proxyTemplate';\n\nexport type RequestArgs = { __type: RequestArgs } & RequestArgsRaw;\ntype RequestArgsRaw = Omit<SanitizedArgs, 'quickstart'> & {\n\ttaqRun: PluginActionName;\n\t// TODO: JSON.parse if string\n\tconfig: LoadedConfig;\n};\n\nexport type ProxyTaskArgs = { __type: ProxyTaskArgs } & ProxyTaskArgsRaw;\ntype ProxyTaskArgsRaw = RequestArgs & {\n\ttask: NonEmptyString;\n};\n\nexport type ProxyTemplateArgs = { __type: ProxyTemplateArgs } & ProxyTemplateArgsRaw;\ntype ProxyTemplateArgsRaw = RequestArgs & {\n\ttemplate: NonEmptyString;\n};\n\n// ---- Hash Types ----\n\n/** @min 1 */\nexport type EconomicalProtocolHash = { __type: EconomicalProtocolHash } & string;\n\n/** @pattern ^tz\\d[A-Za-z0-9]{33}$ */\nexport type PublicKeyHash = { __type: PublicKeyHash } & string;\n\n/** @pattern ^[A-Fa-f0-9]{64}$ */\nexport type SHA256 = { __type: SHA256 } & string;\n\n// ---- Contract Objects ----\n\nexport type Contract = { __type: Contract } & {\n\tsourceFile: NonEmptyString;\n\thash: SHA256;\n};\n\nexport type Faucet = { __type: Faucet } & {\n\tpkh: PublicKeyHash;\n\tmnemonic: string[];\n\t/** @format email */\n\temail: string;\n\tpassword: string;\n\t/** @pattern ^\\d+$ */\n\tamount: string;\n\tactivation_code: string;\n};\n\n// ---- External ----\n\n/** Port number for postgresql container\n * @default 5432\n */\ntype TzKtConfigPostgresqlPort = number;\n\n/** Port number for TzKt API\n * @default 5000\n */\ntype TzKtConfigApiPort = number;\n\nexport type TzKtConfig = { __type: TzKtConfig } & {\n\t/** Do not start TzKt when sandbox starts */\n\tdisableAutostartWithSandbox?: boolean;\n\tpostgresqlPort?: TzKtConfigPostgresqlPort;\n\tapiPort?: TzKtConfigApiPort;\n};\n\n// ---- Project Files ----\n\nexport type Environment = { __type: Environment } & {\n\tnetworks: NonEmptyString[];\n\tsandboxes: NonEmptyString[];\n\tstorage?: Record<string, NonEmptyString>;\n\taliases?: Record<string, Record<string, NonEmptyString>>;\n};\n\nexport type EphemeralState = { __type: EphemeralState } & {\n\tbuild: string;\n\tconfigHash: string;\n\n\t// Note: these were changed from a union(either type) to intersection(both types): i.e. InstalledPlugin | Task is not correct\n\n\t/** Task/Plugin Mapping */\n\ttasks: Record<string, InstalledPlugin & Task>;\n\t/** Operation/Plugin Mapping */\n\toperations: Record<string, InstalledPlugin & ParsedOperation>;\n\t/** Templates/Plugin Mapping */\n\ttemplates: Record<string, InstalledPlugin & ParsedTemplate>;\n\n\tplugins: PluginInfo[];\n};\n\nexport type PersistentState = { __type: PersistentState } & {\n\toperations: Record<string, PersistedOperation>;\n\ttasks: Record<string, PersistedTask>;\n};\n\nexport type PersistedTask = { __type: PersistedTask } & {\n\ttask: Verb;\n\tplugin: NonEmptyString;\n\ttime: Timestamp;\n\toutput?: unknown;\n};\n\nexport type PersistedOperation = { __type: PersistedOperation } & {\n\thash: SHA256;\n\ttime: Timestamp;\n\toutput?: unknown;\n};\n\n/**\n * @minLength 1\n * @pattern ^[A-Za-z0-9]+[A-Za-z0-9-_]+\\.[A-Za-z0-9]+[A-Za-z0-9-_]+\\.[A-Za-z0-9]+[A-Za-z0-9-_]+$\n */\nexport type ProvisionerID = { __type: ProvisionerID } & string;\n\nexport type Provisioner = { __type: Provisioner } & {\n\tid: ProvisionerID;\n\tplugin: NonEmptyString;\n\toperation: NonEmptyString | 'custom';\n\tcommand?: string;\n\tlabel?: string;\n\tdepends_on?: ProvisionerID[];\n};\n\nexport type Provisions = { __type: Provisions } & ProvisionsRaw;\ntype ProvisionsRaw = Provisioner[];\n\n// ---- Project Files: Config ----\n\n/** @minLength 1 Default environment must reference the name of an existing environment.*/\ntype EnvironmentName = NonEmptyString;\n\n/** @default en */\ntype HumanLanguage = 'en' | 'fr';\n\n/**\n * @default contracts\n * @minLength 1\n */\nexport type ConfigContractsDir = { __type: ConfigContractsDir } & string;\n\n/**\n * @default artifacts\n * @minLength 1\n */\nexport type ConfigArtifactsDir = { __type: ConfigArtifactsDir } & string;\n\nexport type Config = { __type: Config } & {\n\tlanguage?: HumanLanguage;\n\tplugins?: InstalledPlugin[];\n\tcontractsDir?: ConfigContractsDir;\n\tartifactsDir?: ConfigArtifactsDir;\n\tnetwork?: Record<string, NetworkConfig>;\n\tsandbox?: Record<string, SandboxConfig>;\n\n\t// TODO: This causes a type conflict and is not supported\n\t// accounts?: {\n\t// \tdefault: EnvironmentName;\n\t// } & Record<string, Environment>;\n\tenvironment: Record<string, Environment | EnvironmentName>;\n\taccounts?: Record<string, Tz>;\n\tcontracts?: Record<string, Contract>;\n\tmetadata?: MetadataConfig;\n};\n\n// TODO: sandbox breaks ts-to-zod\nexport type LoadedConfig = { __type: LoadedConfig } & LoadedConfigRaw;\ntype LoadedConfigRaw = Config & {\n\tprojectDir: SanitizedAbsPath;\n\tconfigFile: SanitizedAbsPath;\n\thash: SHA256;\n};\n\nexport type MetadataConfig = { __type: MetadataConfig } & {\n\tname?: string;\n\tprojectDescription?: string;\n\tauthors?: string[];\n\tlicense?: string;\n\thomepage?: string;\n};\n\nexport type NetworkConfig = { __type: NetworkConfig } & {\n\tlabel: HumanReadableIdentifier;\n\trpcUrl: Url;\n\taccounts?: Record<string, NetworkAccountConfig>;\n\tfaucet?: Faucet;\n};\n\nexport type NetworkAccountConfig = { __type: NetworkAccountConfig } & {\n\tpublicKey?: NonEmptyString;\n\tpublicKeyHash?: PublicKeyHash;\n\tprivateKey?: NonEmptyString; /** TODO: Should this be secretKey: @see {SandboxAccountConfig} */\n\tmnemonic?: NonEmptyString;\n};\n\nexport type SandboxAccountConfig = { __type: SandboxAccountConfig } & {\n\tencryptedKey: NonEmptyString;\n\tpublicKeyHash: PublicKeyHash;\n\tsecretKey: NonEmptyString;\n};\n\nexport type SandboxConfig = { __type: SandboxConfig } & {\n\tlabel: NonEmptyString;\n\trpcUrl: Url;\n\tprotocol?: EconomicalProtocolHash;\n\tplugin?: Verb;\n\n\t// TODO: This causes a type conflict and is not supported\n\t// accounts?: {\n\t// \tdefault: NonEmptyString;\n\t// } & Record<string, SandboxAccountConfig>;\n\taccounts?: Record<string, SandboxAccountConfig | NonEmptyString>;\n\n\ttzkt?: TzKtConfig;\n\tannotations?: Record<string, unknown>;\n};\n\nexport type ScaffoldConfig = { __type: ScaffoldConfig } & {\n\tpostInit?: string;\n};\n\nexport type ParsedConfig = { __type: ParsedConfig } & ParsedConfigRaw;\ntype ParsedConfigRaw = Omit<Config, 'sandbox'> & {\n\tsandbox: Record<string, SandboxConfig | NonEmptyString>;\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAKA;;","names":[]}
@@ -411,16 +411,16 @@ export type NetworkConfig = {
411
411
  } & {
412
412
  label: HumanReadableIdentifier;
413
413
  rpcUrl: Url;
414
- protocol: EconomicalProtocolHash;
415
414
  accounts?: Record<string, NetworkAccountConfig>;
416
415
  faucet?: Faucet;
417
416
  };
418
417
  export type NetworkAccountConfig = {
419
418
  __type: NetworkAccountConfig;
420
419
  } & {
421
- publicKey: NonEmptyString;
422
- publicKeyHash: PublicKeyHash;
423
- privateKey: NonEmptyString; /** TODO: Should this be secretKey: @see {SandboxAccountConfig} */
420
+ publicKey?: NonEmptyString;
421
+ publicKeyHash?: PublicKeyHash;
422
+ privateKey?: NonEmptyString; /** TODO: Should this be secretKey: @see {SandboxAccountConfig} */
423
+ mnemonic?: NonEmptyString;
424
424
  };
425
425
  export type SandboxAccountConfig = {
426
426
  __type: SandboxAccountConfig;
@@ -434,11 +434,11 @@ export type SandboxConfig = {
434
434
  } & {
435
435
  label: NonEmptyString;
436
436
  rpcUrl: Url;
437
- protocol: EconomicalProtocolHash;
438
- attributes?: string | number | boolean;
437
+ protocol?: EconomicalProtocolHash;
439
438
  plugin?: Verb;
440
439
  accounts?: Record<string, SandboxAccountConfig | NonEmptyString>;
441
440
  tzkt?: TzKtConfig;
441
+ annotations?: Record<string, unknown>;
442
442
  };
443
443
  export type ScaffoldConfig = {
444
444
  __type: ScaffoldConfig;
@@ -1 +1 @@
1
- {"version":3,"file":"types-strict.d.ts","sourceRoot":"","sources":["types-strict.ts"],"names":[],"mappings":"AAKA,mBAAmB;AACnB,MAAM,MAAM,cAAc,GAAG;IAAE,MAAM,EAAE,cAAc,CAAA;CAAE,GAAG,MAAM,CAAC;AAEjE,0BAA0B;AAC1B,MAAM,MAAM,UAAU,GAAG;IAAE,MAAM,EAAE,UAAU,CAAA;CAAE,GAAG,aAAa,CAAC;AAChE,KAAK,aAAa,GAAG,cAAc,CAAC;AAEpC,8BAA8B;AAC9B,MAAM,MAAM,IAAI,GAAG;IAAE,MAAM,EAAE,IAAI,CAAA;CAAE,GAAG,OAAO,CAAC;AAC9C,KAAK,OAA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Ac,CAAC,CAAC,kEAAkE;IAC/F,QAAQ,CAAC,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IAAE,MAAM,EAAE,oBAAoB,CAAA;CAAE,GAAG;IACrE,YAAY,EAAE,cAAc,CAAC;IAC7B,aAAa,EAAE,aAAa,CAAC;IAC7B,SAAS,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAAE,MAAM,EAAE,aAAa,CAAA;CAAE,GAAG;IACvD,KAAK,EAAE,cAAc,CAAC;IACtB,MAAM,EAAE,GAAG,CAAC;IACZ,QAAQ,CAAC,EAAE,sBAAsB,CAAC;IAClC,MAAM,CAAC,EAAE,IAAI,CAAC;IAMd,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,GAAG,cAAc,CAAC,CAAC;IAEjE,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAAE,MAAM,EAAE,cAAc,CAAA;CAAE,GAAG;IACzD,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,GAAG,eAAe,CAAC;AACtE,KAAK,eAAe,GAAG,IAAI,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG;IAChD,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,GAAG,cAAc,CAAC,CAAC;CACxD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["types-strict.ts"],"sourcesContent":["// Generated file: Do not edit \n// generated from @taqueria-protocol-types\n \n// ---- Simple Types & Type Fragments ----\n\n/** @minLength 1 */\nexport type NonEmptyString = { __type: NonEmptyString } & string;\n\n/** @pattern ^[A-Za-z]$ */\nexport type SingleChar = { __type: SingleChar } & SingleCharRaw;\ntype SingleCharRaw = NonEmptyString;\n\n/** @pattern ^[A-Za-z\\-\\ ]+ */\nexport type Verb = { __type: Verb } & VerbRaw;\ntype VerbRaw = NonEmptyString;\n\nexport type Alias = { __type: Alias } & AliasRaw;\ntype AliasRaw = (Verb | SingleChar);\n\n/** @pattern ^[A-Za-z]+[A-Za-z0-9-_ ]*$ */\nexport type HumanReadableIdentifier = { __type: HumanReadableIdentifier } & HumanReadableIdentifierRaw;\ntype HumanReadableIdentifierRaw = NonEmptyString;\n\nexport type SanitizedAbsPath = { __type: SanitizedAbsPath } & SanitizedAbsPathRaw;\ntype SanitizedAbsPathRaw = NonEmptyString;\n\nexport type SanitizedPath = { __type: SanitizedPath } & SanitizedPathRaw;\ntype SanitizedPathRaw = NonEmptyString;\n\nexport type Settings = { __type: Settings } & {\n\tconsent: 'opt_in' | 'opt_out';\n};\n\n/**\n * @minimum 1651846877\n * @integer\n */\nexport type Timestamp = { __type: Timestamp } & number;\n\n/**\n * @minLength 1\n * @pattern ^\\d([\\d_]+\\d)?$ */\nexport type Tz = { __type: Tz } & TzRaw;\ntype TzRaw = NonEmptyString;\n\n/**\n * @minLength 1\n * @pattern ^\\d+\\.\\d+(\\.\\d+)*$ */\nexport type VersionNumber = { __type: VersionNumber } & VersionNumberRaw;\ntype VersionNumberRaw = NonEmptyString;\n\n/** @format url */\nexport type Url = { __type: Url } & UrlRaw;\ntype UrlRaw = NonEmptyString;\n\n// ---- Plugin Definition Types ----\n\n/** interpreted using yargs @pattern ^([A-Za-z-_ ]+ ?)((\\[.+\\] ?)|(\\<.+\\>) ?)*$ */\nexport type Command = { __type: Command } & CommandRaw;\ntype CommandRaw = NonEmptyString;\n\nexport type Option = { __type: Option } & {\n\tshortFlag?: SingleChar;\n\tflag: Verb;\n\tdescription: NonEmptyString;\n\tdefaultValue?: string | number | boolean;\n\ttype?: 'string' | 'number' | 'boolean';\n\trequired?: boolean;\n\tboolean?: boolean;\n\tchoices?: NonEmptyString[];\n};\n\nexport type PositionalArg = { __type: PositionalArg } & {\n\tplaceholder: HumanReadableIdentifier;\n\tdescription: NonEmptyString;\n\tdefaultValue?: string | number | boolean;\n\ttype?: 'string' | 'number' | 'boolean';\n\trequired?: boolean;\n};\n\nexport type InstalledPlugin = { __type: InstalledPlugin } & {\n\ttype: 'npm' | 'binary' | 'deno';\n\tname: NonEmptyString;\n};\n\nexport type Operation = { __type: Operation } & {\n\toperation: Verb;\n\tcommand: Command;\n\tdescription?: NonEmptyString;\n\tpositionals?: PositionalArg[];\n\toptions?: Option[];\n\thandler?: (args: PersistentState) => (args: RequestArgs) => void;\n};\n\nexport type ParsedOperation = { __type: ParsedOperation } & ParsedOperationRaw;\ntype ParsedOperationRaw = Omit<Operation, 'handler'>;\n\nexport type Template = { __type: Template } & {\n\ttemplate: Verb;\n\tcommand: Command;\n\tdescription: NonEmptyString;\n\thidden?: boolean;\n\toptions?: Option[];\n\tpositionals?: PositionalArg[];\n\thandler: TemplateHandler;\n\tencoding?: PluginResponseEncoding;\n};\n\ntype TemplateHandler =\n\t| NonEmptyString // TODO: should this be Verb?\n\t| ((args: RequestArgs) =>\n\t\t| PluginJsonResponse\n\t\t| Promise<PluginJsonResponse>)\n\t| Promise<void>;\n\nexport type ParsedTemplate = { __type: ParsedTemplate } & ParsedTemplateRaw;\ntype ParsedTemplateRaw = Omit<Template, 'handler'> & {\n\thandler: string;\n};\n\ntype PluginSchemaBase = {\n\tname: NonEmptyString;\n\tversion: VersionNumber;\n\tschema: VersionNumber;\n\talias: Alias;\n\ttasks?: Task[];\n};\n\nexport type PluginInfo = { __type: PluginInfo } & PluginInfoRaw;\ntype PluginInfoRaw = PluginSchemaBase & {\n\toperations?: ParsedOperation[];\n\ttemplates?: ParsedTemplate[];\n};\n\nexport type PluginSchema = { __type: PluginSchema } & PluginSchemaRaw;\ntype PluginSchemaRaw = PluginSchemaBase & {\n\toperations?: Operation[];\n\ttemplates?: Template[];\n\tproxy?: (args: RequestArgs) => Promise<PluginProxyResponse>;\n\tcheckRuntimeDependencies?: (args: RequestArgs) => Promise<PluginDependenciesResponse>;\n\tinstallRuntimeDependencies?: (args: RequestArgs) => Promise<PluginDependenciesResponse>;\n};\n\nexport type Task = { __type: Task } & {\n\ttask: Verb;\n\tcommand: Command;\n\taliases?: Alias[];\n\t/** @minLength 3 */\n\tdescription?: NonEmptyString;\n\texample?: NonEmptyString;\n\thidden?: boolean;\n\tencoding?: PluginResponseEncoding;\n\thandler: 'proxy' | NonEmptyString;\n\toptions?: Option[];\n\tpositionals?: PositionalArg[];\n};\n\n// ---- Process Interop ----\n\nexport type RuntimeDependency = { __type: RuntimeDependency } & {\n\tname: HumanReadableIdentifier;\n\tpath: string;\n\tversion: string;\n\tkind: 'required' | 'optional';\n};\n\nexport type RuntimeDependencyReport = { __type: RuntimeDependencyReport } & RuntimeDependencyReportRaw;\ntype RuntimeDependencyReportRaw = RuntimeDependency & {\n\tmet: boolean;\n};\n\nexport type PluginDependenciesResponse = { __type: PluginDependenciesResponse } & {\n\treport: RuntimeDependencyReport[];\n};\n\nexport type PluginJsonResponse = { __type: PluginJsonResponse } & {\n\tdata?: unknown;\n\n\t/** @default none */\n\trender: 'none' | 'table' | 'string';\n} | void;\n\nexport type PluginProxyResponse = { __type: PluginProxyResponse } & PluginProxyResponseRaw;\ntype PluginProxyResponseRaw = void | PluginJsonResponse;\n\n/** @default none */\nexport type PluginResponseEncoding = { __type: PluginResponseEncoding } & PluginResponseEncodingRaw;\ntype PluginResponseEncodingRaw = 'none' | 'json' | 'application/json';\n\n/**\n * @min 100\n */\nexport type BuildNumber = { __type: BuildNumber } & number;\n\nexport type SanitizedArgs = { __type: SanitizedArgs } & {\n\t_: string[];\n\tprojectDir: SanitizedPath;\n\tmaxConcurrency: number;\n\tdebug: boolean;\n\tdisableState: boolean;\n\tlogPluginRequests: boolean;\n\tfromVsCode: boolean;\n\tversion: boolean;\n\tbuild: boolean;\n\thelp: boolean;\n\tyes: boolean;\n\tplugin?: NonEmptyString;\n\tenv: NonEmptyString;\n\tquickstart: NonEmptyString;\n\tsetBuild: NonEmptyString | BuildNumber;\n\tsetVersion: NonEmptyString;\n};\n\nexport type PluginActionName = { __type: PluginActionName } & PluginActionNameRaw;\ntype PluginActionNameRaw =\n\t| 'proxy'\n\t| 'pluginInfo'\n\t| 'checkRuntimeDependencies'\n\t| 'installRuntimeDependencies'\n\t| 'proxyTemplate';\n\nexport type RequestArgs = { __type: RequestArgs } & RequestArgsRaw;\ntype RequestArgsRaw = Omit<SanitizedArgs, 'quickstart'> & {\n\ttaqRun: PluginActionName;\n\t// TODO: JSON.parse if string\n\tconfig: LoadedConfig;\n};\n\nexport type ProxyTaskArgs = { __type: ProxyTaskArgs } & ProxyTaskArgsRaw;\ntype ProxyTaskArgsRaw = RequestArgs & {\n\ttask: NonEmptyString;\n};\n\nexport type ProxyTemplateArgs = { __type: ProxyTemplateArgs } & ProxyTemplateArgsRaw;\ntype ProxyTemplateArgsRaw = RequestArgs & {\n\ttemplate: NonEmptyString;\n};\n\n// ---- Hash Types ----\n\n/** @min 1 */\nexport type EconomicalProtocolHash = { __type: EconomicalProtocolHash } & string;\n\n/** @pattern ^tz\\d[A-Za-z0-9]{33}$ */\nexport type PublicKeyHash = { __type: PublicKeyHash } & string;\n\n/** @pattern ^[A-Fa-f0-9]{64}$ */\nexport type SHA256 = { __type: SHA256 } & string;\n\n// ---- Contract Objects ----\n\nexport type Contract = { __type: Contract } & {\n\tsourceFile: NonEmptyString;\n\thash: SHA256;\n};\n\nexport type Faucet = { __type: Faucet } & {\n\tpkh: PublicKeyHash;\n\tmnemonic: string[];\n\t/** @format email */\n\temail: string;\n\tpassword: string;\n\t/** @pattern ^\\d+$ */\n\tamount: string;\n\tactivation_code: string;\n};\n\n// ---- External ----\n\n/** Port number for postgresql container\n * @default 5432\n */\ntype TzKtConfigPostgresqlPort = number;\n\n/** Port number for TzKt API\n * @default 5000\n */\ntype TzKtConfigApiPort = number;\n\nexport type TzKtConfig = { __type: TzKtConfig } & {\n\t/** Do not start TzKt when sandbox starts */\n\tdisableAutostartWithSandbox?: boolean;\n\tpostgresqlPort?: TzKtConfigPostgresqlPort;\n\tapiPort?: TzKtConfigApiPort;\n};\n\n// ---- Project Files ----\n\nexport type Environment = { __type: Environment } & {\n\tnetworks: NonEmptyString[];\n\tsandboxes: NonEmptyString[];\n\tstorage?: Record<string, NonEmptyString>;\n\taliases?: Record<string, Record<string, NonEmptyString>>;\n};\n\nexport type EphemeralState = { __type: EphemeralState } & {\n\tbuild: string;\n\tconfigHash: string;\n\n\t// Note: these were changed from a union(either type) to intersection(both types): i.e. InstalledPlugin | Task is not correct\n\n\t/** Task/Plugin Mapping */\n\ttasks: Record<string, InstalledPlugin & Task>;\n\t/** Operation/Plugin Mapping */\n\toperations: Record<string, InstalledPlugin & ParsedOperation>;\n\t/** Templates/Plugin Mapping */\n\ttemplates: Record<string, InstalledPlugin & ParsedTemplate>;\n\n\tplugins: PluginInfo[];\n};\n\nexport type PersistentState = { __type: PersistentState } & {\n\toperations: Record<string, PersistedOperation>;\n\ttasks: Record<string, PersistedTask>;\n};\n\nexport type PersistedTask = { __type: PersistedTask } & {\n\ttask: Verb;\n\tplugin: NonEmptyString;\n\ttime: Timestamp;\n\toutput?: unknown;\n};\n\nexport type PersistedOperation = { __type: PersistedOperation } & {\n\thash: SHA256;\n\ttime: Timestamp;\n\toutput?: unknown;\n};\n\n/**\n * @minLength 1\n * @pattern ^[A-Za-z0-9]+[A-Za-z0-9-_]+\\.[A-Za-z0-9]+[A-Za-z0-9-_]+\\.[A-Za-z0-9]+[A-Za-z0-9-_]+$\n */\nexport type ProvisionerID = { __type: ProvisionerID } & string;\n\nexport type Provisioner = { __type: Provisioner } & {\n\tid: ProvisionerID;\n\tplugin: NonEmptyString;\n\toperation: NonEmptyString | 'custom';\n\tcommand?: string;\n\tlabel?: string;\n\tdepends_on?: ProvisionerID[];\n};\n\nexport type Provisions = { __type: Provisions } & ProvisionsRaw;\ntype ProvisionsRaw = Provisioner[];\n\n// ---- Project Files: Config ----\n\n/** @minLength 1 Default environment must reference the name of an existing environment.*/\ntype EnvironmentName = NonEmptyString;\n\n/** @default en */\ntype HumanLanguage = 'en' | 'fr';\n\n/**\n * @default contracts\n * @minLength 1\n */\nexport type ConfigContractsDir = { __type: ConfigContractsDir } & string;\n\n/**\n * @default artifacts\n * @minLength 1\n */\nexport type ConfigArtifactsDir = { __type: ConfigArtifactsDir } & string;\n\nexport type Config = { __type: Config } & {\n\tlanguage?: HumanLanguage;\n\tplugins?: InstalledPlugin[];\n\tcontractsDir?: ConfigContractsDir;\n\tartifactsDir?: ConfigArtifactsDir;\n\tnetwork?: Record<string, NetworkConfig>;\n\tsandbox?: Record<string, SandboxConfig>;\n\n\t// TODO: This causes a type conflict and is not supported\n\t// accounts?: {\n\t// \tdefault: EnvironmentName;\n\t// } & Record<string, Environment>;\n\tenvironment: Record<string, Environment | EnvironmentName>;\n\taccounts?: Record<string, Tz>;\n\tcontracts?: Record<string, Contract>;\n\tmetadata?: MetadataConfig;\n};\n\n// TODO: sandbox breaks ts-to-zod\nexport type LoadedConfig = { __type: LoadedConfig } & LoadedConfigRaw;\ntype LoadedConfigRaw = Config & {\n\tprojectDir: SanitizedAbsPath;\n\tconfigFile: SanitizedAbsPath;\n\thash: SHA256;\n};\n\nexport type MetadataConfig = { __type: MetadataConfig } & {\n\tname?: string;\n\tprojectDescription?: string;\n\tauthors?: string[];\n\tlicense?: string;\n\thomepage?: string;\n};\n\nexport type NetworkConfig = { __type: NetworkConfig } & {\n\tlabel: HumanReadableIdentifier;\n\trpcUrl: Url;\n\tprotocol: EconomicalProtocolHash;\n\taccounts?: Record<string, NetworkAccountConfig>;\n\tfaucet?: Faucet;\n};\n\nexport type NetworkAccountConfig = { __type: NetworkAccountConfig } & {\n\tpublicKey: NonEmptyString;\n\tpublicKeyHash: PublicKeyHash;\n\tprivateKey: NonEmptyString; /** TODO: Should this be secretKey: @see {SandboxAccountConfig} */\n};\n\nexport type SandboxAccountConfig = { __type: SandboxAccountConfig } & {\n\tencryptedKey: NonEmptyString;\n\tpublicKeyHash: PublicKeyHash;\n\tsecretKey: NonEmptyString;\n};\n\nexport type SandboxConfig = { __type: SandboxConfig } & {\n\tlabel: NonEmptyString;\n\trpcUrl: Url;\n\tprotocol: EconomicalProtocolHash;\n\tattributes?: string | number | boolean;\n\tplugin?: Verb;\n\n\t// TODO: This causes a type conflict and is not supported\n\t// accounts?: {\n\t// \tdefault: NonEmptyString;\n\t// } & Record<string, SandboxAccountConfig>;\n\taccounts?: Record<string, SandboxAccountConfig | NonEmptyString>;\n\n\ttzkt?: TzKtConfig;\n};\n\nexport type ScaffoldConfig = { __type: ScaffoldConfig } & {\n\tpostInit?: string;\n};\n\nexport type ParsedConfig = { __type: ParsedConfig } & ParsedConfigRaw;\ntype ParsedConfigRaw = Omit<Config, 'sandbox'> & {\n\tsandbox: Record<string, SandboxConfig | NonEmptyString>;\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["types-strict.ts"],"sourcesContent":["// Generated file: Do not edit \n// generated from @taqueria-protocol-types\n \n// ---- Simple Types & Type Fragments ----\n\n/** @minLength 1 */\nexport type NonEmptyString = { __type: NonEmptyString } & string;\n\n/** @pattern ^[A-Za-z]$ */\nexport type SingleChar = { __type: SingleChar } & SingleCharRaw;\ntype SingleCharRaw = NonEmptyString;\n\n/** @pattern ^[A-Za-z\\-\\ ]+ */\nexport type Verb = { __type: Verb } & VerbRaw;\ntype VerbRaw = NonEmptyString;\n\nexport type Alias = { __type: Alias } & AliasRaw;\ntype AliasRaw = (Verb | SingleChar);\n\n/** @pattern ^[A-Za-z]+[A-Za-z0-9-_ ]*$ */\nexport type HumanReadableIdentifier = { __type: HumanReadableIdentifier } & HumanReadableIdentifierRaw;\ntype HumanReadableIdentifierRaw = NonEmptyString;\n\nexport type SanitizedAbsPath = { __type: SanitizedAbsPath } & SanitizedAbsPathRaw;\ntype SanitizedAbsPathRaw = NonEmptyString;\n\nexport type SanitizedPath = { __type: SanitizedPath } & SanitizedPathRaw;\ntype SanitizedPathRaw = NonEmptyString;\n\nexport type Settings = { __type: Settings } & {\n\tconsent: 'opt_in' | 'opt_out';\n};\n\n/**\n * @minimum 1651846877\n * @integer\n */\nexport type Timestamp = { __type: Timestamp } & number;\n\n/**\n * @minLength 1\n * @pattern ^\\d([\\d_]+\\d)?$ */\nexport type Tz = { __type: Tz } & TzRaw;\ntype TzRaw = NonEmptyString;\n\n/**\n * @minLength 1\n * @pattern ^\\d+\\.\\d+(\\.\\d+)*$ */\nexport type VersionNumber = { __type: VersionNumber } & VersionNumberRaw;\ntype VersionNumberRaw = NonEmptyString;\n\n/** @format url */\nexport type Url = { __type: Url } & UrlRaw;\ntype UrlRaw = NonEmptyString;\n\n// ---- Plugin Definition Types ----\n\n/** interpreted using yargs @pattern ^([A-Za-z-_ ]+ ?)((\\[.+\\] ?)|(\\<.+\\>) ?)*$ */\nexport type Command = { __type: Command } & CommandRaw;\ntype CommandRaw = NonEmptyString;\n\nexport type Option = { __type: Option } & {\n\tshortFlag?: SingleChar;\n\tflag: Verb;\n\tdescription: NonEmptyString;\n\tdefaultValue?: string | number | boolean;\n\ttype?: 'string' | 'number' | 'boolean';\n\trequired?: boolean;\n\tboolean?: boolean;\n\tchoices?: NonEmptyString[];\n};\n\nexport type PositionalArg = { __type: PositionalArg } & {\n\tplaceholder: HumanReadableIdentifier;\n\tdescription: NonEmptyString;\n\tdefaultValue?: string | number | boolean;\n\ttype?: 'string' | 'number' | 'boolean';\n\trequired?: boolean;\n};\n\nexport type InstalledPlugin = { __type: InstalledPlugin } & {\n\ttype: 'npm' | 'binary' | 'deno';\n\tname: NonEmptyString;\n};\n\nexport type Operation = { __type: Operation } & {\n\toperation: Verb;\n\tcommand: Command;\n\tdescription?: NonEmptyString;\n\tpositionals?: PositionalArg[];\n\toptions?: Option[];\n\thandler?: (args: PersistentState) => (args: RequestArgs) => void;\n};\n\nexport type ParsedOperation = { __type: ParsedOperation } & ParsedOperationRaw;\ntype ParsedOperationRaw = Omit<Operation, 'handler'>;\n\nexport type Template = { __type: Template } & {\n\ttemplate: Verb;\n\tcommand: Command;\n\tdescription: NonEmptyString;\n\thidden?: boolean;\n\toptions?: Option[];\n\tpositionals?: PositionalArg[];\n\thandler: TemplateHandler;\n\tencoding?: PluginResponseEncoding;\n};\n\ntype TemplateHandler =\n\t| NonEmptyString // TODO: should this be Verb?\n\t| ((args: RequestArgs) =>\n\t\t| PluginJsonResponse\n\t\t| Promise<PluginJsonResponse>)\n\t| Promise<void>;\n\nexport type ParsedTemplate = { __type: ParsedTemplate } & ParsedTemplateRaw;\ntype ParsedTemplateRaw = Omit<Template, 'handler'> & {\n\thandler: string;\n};\n\ntype PluginSchemaBase = {\n\tname: NonEmptyString;\n\tversion: VersionNumber;\n\tschema: VersionNumber;\n\talias: Alias;\n\ttasks?: Task[];\n};\n\nexport type PluginInfo = { __type: PluginInfo } & PluginInfoRaw;\ntype PluginInfoRaw = PluginSchemaBase & {\n\toperations?: ParsedOperation[];\n\ttemplates?: ParsedTemplate[];\n};\n\nexport type PluginSchema = { __type: PluginSchema } & PluginSchemaRaw;\ntype PluginSchemaRaw = PluginSchemaBase & {\n\toperations?: Operation[];\n\ttemplates?: Template[];\n\tproxy?: (args: RequestArgs) => Promise<PluginProxyResponse>;\n\tcheckRuntimeDependencies?: (args: RequestArgs) => Promise<PluginDependenciesResponse>;\n\tinstallRuntimeDependencies?: (args: RequestArgs) => Promise<PluginDependenciesResponse>;\n};\n\nexport type Task = { __type: Task } & {\n\ttask: Verb;\n\tcommand: Command;\n\taliases?: Alias[];\n\t/** @minLength 3 */\n\tdescription?: NonEmptyString;\n\texample?: NonEmptyString;\n\thidden?: boolean;\n\tencoding?: PluginResponseEncoding;\n\thandler: 'proxy' | NonEmptyString;\n\toptions?: Option[];\n\tpositionals?: PositionalArg[];\n};\n\n// ---- Process Interop ----\n\nexport type RuntimeDependency = { __type: RuntimeDependency } & {\n\tname: HumanReadableIdentifier;\n\tpath: string;\n\tversion: string;\n\tkind: 'required' | 'optional';\n};\n\nexport type RuntimeDependencyReport = { __type: RuntimeDependencyReport } & RuntimeDependencyReportRaw;\ntype RuntimeDependencyReportRaw = RuntimeDependency & {\n\tmet: boolean;\n};\n\nexport type PluginDependenciesResponse = { __type: PluginDependenciesResponse } & {\n\treport: RuntimeDependencyReport[];\n};\n\nexport type PluginJsonResponse = { __type: PluginJsonResponse } & {\n\tdata?: unknown;\n\n\t/** @default none */\n\trender: 'none' | 'table' | 'string';\n} | void;\n\nexport type PluginProxyResponse = { __type: PluginProxyResponse } & PluginProxyResponseRaw;\ntype PluginProxyResponseRaw = void | PluginJsonResponse;\n\n/** @default none */\nexport type PluginResponseEncoding = { __type: PluginResponseEncoding } & PluginResponseEncodingRaw;\ntype PluginResponseEncodingRaw = 'none' | 'json' | 'application/json';\n\n/**\n * @min 100\n */\nexport type BuildNumber = { __type: BuildNumber } & number;\n\nexport type SanitizedArgs = { __type: SanitizedArgs } & {\n\t_: string[];\n\tprojectDir: SanitizedPath;\n\tmaxConcurrency: number;\n\tdebug: boolean;\n\tdisableState: boolean;\n\tlogPluginRequests: boolean;\n\tfromVsCode: boolean;\n\tversion: boolean;\n\tbuild: boolean;\n\thelp: boolean;\n\tyes: boolean;\n\tplugin?: NonEmptyString;\n\tenv: NonEmptyString;\n\tquickstart: NonEmptyString;\n\tsetBuild: NonEmptyString | BuildNumber;\n\tsetVersion: NonEmptyString;\n};\n\nexport type PluginActionName = { __type: PluginActionName } & PluginActionNameRaw;\ntype PluginActionNameRaw =\n\t| 'proxy'\n\t| 'pluginInfo'\n\t| 'checkRuntimeDependencies'\n\t| 'installRuntimeDependencies'\n\t| 'proxyTemplate';\n\nexport type RequestArgs = { __type: RequestArgs } & RequestArgsRaw;\ntype RequestArgsRaw = Omit<SanitizedArgs, 'quickstart'> & {\n\ttaqRun: PluginActionName;\n\t// TODO: JSON.parse if string\n\tconfig: LoadedConfig;\n};\n\nexport type ProxyTaskArgs = { __type: ProxyTaskArgs } & ProxyTaskArgsRaw;\ntype ProxyTaskArgsRaw = RequestArgs & {\n\ttask: NonEmptyString;\n};\n\nexport type ProxyTemplateArgs = { __type: ProxyTemplateArgs } & ProxyTemplateArgsRaw;\ntype ProxyTemplateArgsRaw = RequestArgs & {\n\ttemplate: NonEmptyString;\n};\n\n// ---- Hash Types ----\n\n/** @min 1 */\nexport type EconomicalProtocolHash = { __type: EconomicalProtocolHash } & string;\n\n/** @pattern ^tz\\d[A-Za-z0-9]{33}$ */\nexport type PublicKeyHash = { __type: PublicKeyHash } & string;\n\n/** @pattern ^[A-Fa-f0-9]{64}$ */\nexport type SHA256 = { __type: SHA256 } & string;\n\n// ---- Contract Objects ----\n\nexport type Contract = { __type: Contract } & {\n\tsourceFile: NonEmptyString;\n\thash: SHA256;\n};\n\nexport type Faucet = { __type: Faucet } & {\n\tpkh: PublicKeyHash;\n\tmnemonic: string[];\n\t/** @format email */\n\temail: string;\n\tpassword: string;\n\t/** @pattern ^\\d+$ */\n\tamount: string;\n\tactivation_code: string;\n};\n\n// ---- External ----\n\n/** Port number for postgresql container\n * @default 5432\n */\ntype TzKtConfigPostgresqlPort = number;\n\n/** Port number for TzKt API\n * @default 5000\n */\ntype TzKtConfigApiPort = number;\n\nexport type TzKtConfig = { __type: TzKtConfig } & {\n\t/** Do not start TzKt when sandbox starts */\n\tdisableAutostartWithSandbox?: boolean;\n\tpostgresqlPort?: TzKtConfigPostgresqlPort;\n\tapiPort?: TzKtConfigApiPort;\n};\n\n// ---- Project Files ----\n\nexport type Environment = { __type: Environment } & {\n\tnetworks: NonEmptyString[];\n\tsandboxes: NonEmptyString[];\n\tstorage?: Record<string, NonEmptyString>;\n\taliases?: Record<string, Record<string, NonEmptyString>>;\n};\n\nexport type EphemeralState = { __type: EphemeralState } & {\n\tbuild: string;\n\tconfigHash: string;\n\n\t// Note: these were changed from a union(either type) to intersection(both types): i.e. InstalledPlugin | Task is not correct\n\n\t/** Task/Plugin Mapping */\n\ttasks: Record<string, InstalledPlugin & Task>;\n\t/** Operation/Plugin Mapping */\n\toperations: Record<string, InstalledPlugin & ParsedOperation>;\n\t/** Templates/Plugin Mapping */\n\ttemplates: Record<string, InstalledPlugin & ParsedTemplate>;\n\n\tplugins: PluginInfo[];\n};\n\nexport type PersistentState = { __type: PersistentState } & {\n\toperations: Record<string, PersistedOperation>;\n\ttasks: Record<string, PersistedTask>;\n};\n\nexport type PersistedTask = { __type: PersistedTask } & {\n\ttask: Verb;\n\tplugin: NonEmptyString;\n\ttime: Timestamp;\n\toutput?: unknown;\n};\n\nexport type PersistedOperation = { __type: PersistedOperation } & {\n\thash: SHA256;\n\ttime: Timestamp;\n\toutput?: unknown;\n};\n\n/**\n * @minLength 1\n * @pattern ^[A-Za-z0-9]+[A-Za-z0-9-_]+\\.[A-Za-z0-9]+[A-Za-z0-9-_]+\\.[A-Za-z0-9]+[A-Za-z0-9-_]+$\n */\nexport type ProvisionerID = { __type: ProvisionerID } & string;\n\nexport type Provisioner = { __type: Provisioner } & {\n\tid: ProvisionerID;\n\tplugin: NonEmptyString;\n\toperation: NonEmptyString | 'custom';\n\tcommand?: string;\n\tlabel?: string;\n\tdepends_on?: ProvisionerID[];\n};\n\nexport type Provisions = { __type: Provisions } & ProvisionsRaw;\ntype ProvisionsRaw = Provisioner[];\n\n// ---- Project Files: Config ----\n\n/** @minLength 1 Default environment must reference the name of an existing environment.*/\ntype EnvironmentName = NonEmptyString;\n\n/** @default en */\ntype HumanLanguage = 'en' | 'fr';\n\n/**\n * @default contracts\n * @minLength 1\n */\nexport type ConfigContractsDir = { __type: ConfigContractsDir } & string;\n\n/**\n * @default artifacts\n * @minLength 1\n */\nexport type ConfigArtifactsDir = { __type: ConfigArtifactsDir } & string;\n\nexport type Config = { __type: Config } & {\n\tlanguage?: HumanLanguage;\n\tplugins?: InstalledPlugin[];\n\tcontractsDir?: ConfigContractsDir;\n\tartifactsDir?: ConfigArtifactsDir;\n\tnetwork?: Record<string, NetworkConfig>;\n\tsandbox?: Record<string, SandboxConfig>;\n\n\t// TODO: This causes a type conflict and is not supported\n\t// accounts?: {\n\t// \tdefault: EnvironmentName;\n\t// } & Record<string, Environment>;\n\tenvironment: Record<string, Environment | EnvironmentName>;\n\taccounts?: Record<string, Tz>;\n\tcontracts?: Record<string, Contract>;\n\tmetadata?: MetadataConfig;\n};\n\n// TODO: sandbox breaks ts-to-zod\nexport type LoadedConfig = { __type: LoadedConfig } & LoadedConfigRaw;\ntype LoadedConfigRaw = Config & {\n\tprojectDir: SanitizedAbsPath;\n\tconfigFile: SanitizedAbsPath;\n\thash: SHA256;\n};\n\nexport type MetadataConfig = { __type: MetadataConfig } & {\n\tname?: string;\n\tprojectDescription?: string;\n\tauthors?: string[];\n\tlicense?: string;\n\thomepage?: string;\n};\n\nexport type NetworkConfig = { __type: NetworkConfig } & {\n\tlabel: HumanReadableIdentifier;\n\trpcUrl: Url;\n\taccounts?: Record<string, NetworkAccountConfig>;\n\tfaucet?: Faucet;\n};\n\nexport type NetworkAccountConfig = { __type: NetworkAccountConfig } & {\n\tpublicKey?: NonEmptyString;\n\tpublicKeyHash?: PublicKeyHash;\n\tprivateKey?: NonEmptyString; /** TODO: Should this be secretKey: @see {SandboxAccountConfig} */\n\tmnemonic?: NonEmptyString;\n};\n\nexport type SandboxAccountConfig = { __type: SandboxAccountConfig } & {\n\tencryptedKey: NonEmptyString;\n\tpublicKeyHash: PublicKeyHash;\n\tsecretKey: NonEmptyString;\n};\n\nexport type SandboxConfig = { __type: SandboxConfig } & {\n\tlabel: NonEmptyString;\n\trpcUrl: Url;\n\tprotocol?: EconomicalProtocolHash;\n\tplugin?: Verb;\n\n\t// TODO: This causes a type conflict and is not supported\n\t// accounts?: {\n\t// \tdefault: NonEmptyString;\n\t// } & Record<string, SandboxAccountConfig>;\n\taccounts?: Record<string, SandboxAccountConfig | NonEmptyString>;\n\n\ttzkt?: TzKtConfig;\n\tannotations?: Record<string, unknown>;\n};\n\nexport type ScaffoldConfig = { __type: ScaffoldConfig } & {\n\tpostInit?: string;\n};\n\nexport type ParsedConfig = { __type: ParsedConfig } & ParsedConfigRaw;\ntype ParsedConfigRaw = Omit<Config, 'sandbox'> & {\n\tsandbox: Record<string, SandboxConfig | NonEmptyString>;\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -1 +1 @@
1
- {"version":3,"sources":["types-zod.ts"],"sourcesContent":["// Generated by ts-to-zod\nimport { z } from \"zod\";\n\nexport const nonEmptyStringSchema = z.string().min(1);\n\nexport const singleCharSchema = nonEmptyStringSchema.regex(/^[A-Za-z]$/);\n\nexport const verbSchema = nonEmptyStringSchema.regex(/^[A-Za-z\\-\\ ]+/);\n\nexport const aliasSchema = z.union([verbSchema, singleCharSchema]);\n\nexport const humanReadableIdentifierSchema = nonEmptyStringSchema.regex(\n /^[A-Za-z]+[A-Za-z0-9-_ ]*$/\n);\n\nexport const sanitizedAbsPathSchema = nonEmptyStringSchema;\n\nexport const sanitizedPathSchema = nonEmptyStringSchema;\n\nexport const settingsSchema = z.object({\n consent: z.union([z.literal(\"opt_in\"), z.literal(\"opt_out\")]),\n});\n\nexport const timestampSchema = z.number().min(1651846877);\n\nexport const tzSchema = nonEmptyStringSchema.min(1).regex(/^\\d([\\d_]+\\d)?$/);\n\nexport const versionNumberSchema = nonEmptyStringSchema\n .min(1)\n .regex(/^\\d+\\.\\d+(\\.\\d+)*$/);\n\nexport const urlSchema = nonEmptyStringSchema.url();\n\nexport const commandSchema = nonEmptyStringSchema;\n\nexport const optionSchema = z.object({\n shortFlag: singleCharSchema.optional(),\n flag: verbSchema,\n description: nonEmptyStringSchema,\n defaultValue: z.union([z.string(), z.number(), z.boolean()]).optional(),\n type: z\n .union([z.literal(\"string\"), z.literal(\"number\"), z.literal(\"boolean\")])\n .optional(),\n required: z.boolean().optional(),\n boolean: z.boolean().optional(),\n choices: z.array(nonEmptyStringSchema).optional(),\n});\n\nexport const positionalArgSchema = z.object({\n placeholder: humanReadableIdentifierSchema,\n description: nonEmptyStringSchema,\n defaultValue: z.union([z.string(), z.number(), z.boolean()]).optional(),\n type: z\n .union([z.literal(\"string\"), z.literal(\"number\"), z.literal(\"boolean\")])\n .optional(),\n required: z.boolean().optional(),\n});\n\nexport const installedPluginSchema = z.object({\n type: z.union([z.literal(\"npm\"), z.literal(\"binary\"), z.literal(\"deno\")]),\n name: nonEmptyStringSchema,\n});\n\nexport const runtimeDependencySchema = z.object({\n name: humanReadableIdentifierSchema,\n path: z.string(),\n version: z.string(),\n kind: z.union([z.literal(\"required\"), z.literal(\"optional\")]),\n});\n\nexport const runtimeDependencyReportSchema = runtimeDependencySchema.extend(\n({\n met: z.boolean(),\n })\n);\n\nexport const pluginDependenciesResponseSchema = z.object({\n report: z.array(runtimeDependencyReportSchema),\n});\n\nexport const pluginJsonResponseSchema = z.union([\n z.object({\n data: z.unknown().optional(),\n render: z\n .union([z.literal(\"none\"), z.literal(\"table\"), z.literal(\"string\")])\n .default(\"none\"),\n }),\n z.void(),\n]);\n\nexport const pluginProxyResponseSchema = z.union([\n z.void(),\n pluginJsonResponseSchema,\n]);\n\nexport const pluginResponseEncodingSchema = z\n .union([z.literal(\"none\"), z.literal(\"json\"), z.literal(\"application/json\")])\n .default(\"none\");\n\nexport const buildNumberSchema = z.number();\n\nexport const sanitizedArgsSchema = z.object({\n _: z.array(z.string()),\n projectDir: sanitizedPathSchema,\n maxConcurrency: z.number(),\n debug: z.boolean(),\n disableState: z.boolean(),\n logPluginRequests: z.boolean(),\n fromVsCode: z.boolean(),\n version: z.boolean(),\n build: z.boolean(),\n help: z.boolean(),\n yes: z.boolean(),\n plugin: nonEmptyStringSchema.optional(),\n env: nonEmptyStringSchema,\n quickstart: nonEmptyStringSchema,\n setBuild: z.union([nonEmptyStringSchema, buildNumberSchema]),\n setVersion: nonEmptyStringSchema,\n}).passthrough();\n\nexport const pluginActionNameSchema = z.union([\n z.literal(\"proxy\"),\n z.literal(\"pluginInfo\"),\n z.literal(\"checkRuntimeDependencies\"),\n z.literal(\"installRuntimeDependencies\"),\n z.literal(\"proxyTemplate\"),\n]);\n\nexport const economicalProtocolHashSchema = z.string();\n\nexport const publicKeyHashSchema = z.string().regex(/^tz\\d[A-Za-z0-9]{33}$/);\n\nexport const sha256Schema = z.string().regex(/^[A-Fa-f0-9]{64}$/);\n\nexport const contractSchema = z.object({\n sourceFile: nonEmptyStringSchema,\n hash: sha256Schema,\n});\n\nexport const faucetSchema = z.object({\n pkh: publicKeyHashSchema,\n mnemonic: z.array(z.string()),\n email: z.string().email(),\n password: z.string(),\n amount: z.string().regex(/^\\d+$/),\n activation_code: z.string(),\n});\n\nconst tzKtConfigPostgresqlPortSchema = z.number().default(5432);\n\nconst tzKtConfigApiPortSchema = z.number().default(5000);\n\nexport const tzKtConfigSchema = z.object({\n disableAutostartWithSandbox: z.boolean().optional(),\n postgresqlPort: tzKtConfigPostgresqlPortSchema.optional(),\n apiPort: tzKtConfigApiPortSchema.optional(),\n});\n\nexport const environmentSchema = z.object({\n networks: z.array(nonEmptyStringSchema),\n sandboxes: z.array(nonEmptyStringSchema),\n storage: z.record(nonEmptyStringSchema).optional(),\n aliases: z.record(z.record(nonEmptyStringSchema)).optional(),\n});\n\nexport const persistedTaskSchema = z.object({\n task: verbSchema,\n plugin: nonEmptyStringSchema,\n time: timestampSchema,\n output: z.unknown().optional(),\n});\n\nexport const persistedOperationSchema = z.object({\n hash: sha256Schema,\n time: timestampSchema,\n output: z.unknown().optional(),\n});\n\nexport const provisionerIDSchema = z\n .string()\n .min(1)\n .regex(\n /^[A-Za-z0-9]+[A-Za-z0-9-_]+\\.[A-Za-z0-9]+[A-Za-z0-9-_]+\\.[A-Za-z0-9]+[A-Za-z0-9-_]+$/\n );\n\nexport const provisionerSchema = z.object({\n id: provisionerIDSchema,\n plugin: nonEmptyStringSchema,\n operation: z.union([nonEmptyStringSchema, z.literal(\"custom\")]),\n command: z.string().optional(),\n label: z.string().optional(),\n depends_on: z.array(provisionerIDSchema).optional(),\n});\n\nexport const provisionsSchema = z.array(provisionerSchema);\n\nconst environmentNameSchema = nonEmptyStringSchema.min(\n 1,\n \"Default environment must reference the name of an existing environment.\"\n);\n\nconst humanLanguageSchema = z\n .union([z.literal(\"en\"), z.literal(\"fr\")])\n .default(\"en\");\n\nexport const configContractsDirSchema = z.string().min(1).default(\"contracts\");\n\nexport const configArtifactsDirSchema = z.string().min(1).default(\"artifacts\");\n\nexport const metadataConfigSchema = z.object({\n name: z.string().optional(),\n projectDescription: z.string().optional(),\n authors: z.array(z.string()).optional(),\n license: z.string().optional(),\n homepage: z.string().optional(),\n});\n\nexport const networkAccountConfigSchema = z.object({\n publicKey: nonEmptyStringSchema,\n publicKeyHash: publicKeyHashSchema,\n privateKey: nonEmptyStringSchema,\n});\n\nexport const sandboxAccountConfigSchema = z.object({\n encryptedKey: nonEmptyStringSchema,\n publicKeyHash: publicKeyHashSchema,\n secretKey: nonEmptyStringSchema,\n});\n\nexport const sandboxConfigSchema = z.object({\n label: nonEmptyStringSchema,\n rpcUrl: urlSchema,\n protocol: economicalProtocolHashSchema,\n attributes: z.union([z.string(), z.number(), z.boolean()]).optional(),\n plugin: verbSchema.optional(),\n accounts: z\n .record(z.union([sandboxAccountConfigSchema, nonEmptyStringSchema]))\n .optional(),\n tzkt: tzKtConfigSchema.optional(),\n});\n\nexport const scaffoldConfigSchema = z.object({\n postInit: z.string().optional(),\n});\n\nexport const taskSchema = z.object({\n task: verbSchema,\n command: commandSchema,\n aliases: z.array(aliasSchema).optional(),\n description: nonEmptyStringSchema.min(3).optional(),\n example: nonEmptyStringSchema.optional(),\n hidden: z.boolean().optional(),\n encoding: pluginResponseEncodingSchema.optional(),\n handler: z.union([z.literal(\"proxy\"), nonEmptyStringSchema]),\n options: z.array(optionSchema).optional(),\n positionals: z.array(positionalArgSchema).optional(),\n});\n\nexport const persistentStateSchema = z.object({\n operations: z.record(persistedOperationSchema),\n tasks: z.record(persistedTaskSchema),\n});\n\nexport const networkConfigSchema = z.object({\n label: humanReadableIdentifierSchema,\n rpcUrl: urlSchema,\n protocol: economicalProtocolHashSchema,\n accounts: z.record(networkAccountConfigSchema).optional(),\n faucet: faucetSchema.optional(),\n});\n\nconst pluginSchemaBaseSchema = z.object({\n name: nonEmptyStringSchema,\n version: versionNumberSchema,\n schema: versionNumberSchema,\n alias: aliasSchema,\n tasks: z.array(taskSchema).optional(),\n});\n\nexport const configSchema = z.object({\n language: humanLanguageSchema.optional(),\n plugins: z.array(installedPluginSchema).optional(),\n contractsDir: configContractsDirSchema.optional(),\n artifactsDir: configArtifactsDirSchema.optional(),\n network: z.record(networkConfigSchema).optional(),\n sandbox: z.record(sandboxConfigSchema).optional(),\n environment: z.record(z.union([environmentSchema, environmentNameSchema])),\n accounts: z.record(tzSchema).optional(),\n contracts: z.record(contractSchema).optional(),\n metadata: metadataConfigSchema.optional(),\n});\n\nexport const loadedConfigSchema = configSchema.extend(\n({\n projectDir: sanitizedAbsPathSchema,\n configFile: sanitizedAbsPathSchema,\n hash: sha256Schema,\n })\n);\n\nexport const parsedConfigSchema = configSchema.omit({ sandbox: true }).extend(\n({\n sandbox: z.record(z.union([sandboxConfigSchema, nonEmptyStringSchema])),\n })\n);\n\nexport const requestArgsSchema = sanitizedArgsSchema\n .omit({ quickstart: true })\n .extend(\n({\n taqRun: pluginActionNameSchema,\n config: loadedConfigSchema,\n })\n ).passthrough();\n\nexport const proxyTaskArgsSchema = requestArgsSchema.extend(\n({\n task: nonEmptyStringSchema,\n })\n).passthrough();\n\nexport const proxyTemplateArgsSchema = requestArgsSchema.extend(\n({\n template: nonEmptyStringSchema,\n })\n).passthrough();\n\nexport const operationSchema = z.object({\n operation: verbSchema,\n command: commandSchema,\n description: nonEmptyStringSchema.optional(),\n positionals: z.array(positionalArgSchema).optional(),\n options: z.array(optionSchema).optional(),\n handler: z\n .function()\n .args(persistentStateSchema)\n .returns(z.function().args(requestArgsSchema).returns(z.void()))\n .optional(),\n});\n\nexport const parsedOperationSchema = operationSchema.omit({ handler: true });\n\nconst templateHandlerSchema = z.union([\n nonEmptyStringSchema,\n z\n .function()\n .args(requestArgsSchema)\n .returns(\n z.union([pluginJsonResponseSchema, z.promise(pluginJsonResponseSchema)])\n ),\n z.promise(z.void()),\n]);\n\nexport const templateSchema = z.object({\n template: verbSchema,\n command: commandSchema,\n description: nonEmptyStringSchema,\n hidden: z.boolean().optional(),\n options: z.array(optionSchema).optional(),\n positionals: z.array(positionalArgSchema).optional(),\n handler: templateHandlerSchema,\n encoding: pluginResponseEncodingSchema.optional(),\n});\n\nexport const parsedTemplateSchema = templateSchema.omit({ handler: true }).extend(\n({\n handler: z.string(),\n })\n);\n\nexport const pluginInfoSchema = pluginSchemaBaseSchema.extend(\n({\n operations: z.array(parsedOperationSchema).optional(),\n templates: z.array(parsedTemplateSchema).optional(),\n })\n);\n\nexport const pluginSchemaSchema = pluginSchemaBaseSchema.extend(\n({\n operations: z.array(operationSchema).optional(),\n templates: z.array(templateSchema).optional(),\n proxy: z\n .function()\n .args(requestArgsSchema)\n .returns(z.promise(pluginProxyResponseSchema))\n .optional(),\n checkRuntimeDependencies: z\n .function()\n .args(requestArgsSchema)\n .returns(z.promise(pluginDependenciesResponseSchema))\n .optional(),\n installRuntimeDependencies: z\n .function()\n .args(requestArgsSchema)\n .returns(z.promise(pluginDependenciesResponseSchema))\n .optional(),\n })\n);\n\nexport const ephemeralStateSchema = z.object({\n build: z.string(),\n configHash: z.string(),\n tasks: z.record(installedPluginSchema.and(taskSchema)),\n operations: z.record(installedPluginSchema.and(parsedOperationSchema)),\n templates: z.record(installedPluginSchema.and(parsedTemplateSchema)),\n plugins: z.array(pluginInfoSchema),\n});\n"],"mappings":";;;;;;;;;;;;;;;;AACA;;","names":[]}
1
+ {"version":3,"sources":["types-zod.ts"],"sourcesContent":["// Generated by ts-to-zod\nimport { z } from \"zod\";\n\nexport const nonEmptyStringSchema = z.string().min(1);\n\nexport const singleCharSchema = nonEmptyStringSchema.regex(/^[A-Za-z]$/);\n\nexport const verbSchema = nonEmptyStringSchema.regex(/^[A-Za-z\\-\\ ]+/);\n\nexport const aliasSchema = z.union([verbSchema, singleCharSchema]);\n\nexport const humanReadableIdentifierSchema = nonEmptyStringSchema.regex(\n /^[A-Za-z]+[A-Za-z0-9-_ ]*$/\n);\n\nexport const sanitizedAbsPathSchema = nonEmptyStringSchema;\n\nexport const sanitizedPathSchema = nonEmptyStringSchema;\n\nexport const settingsSchema = z.object({\n consent: z.union([z.literal(\"opt_in\"), z.literal(\"opt_out\")]),\n});\n\nexport const timestampSchema = z.number().min(1651846877);\n\nexport const tzSchema = nonEmptyStringSchema.min(1).regex(/^\\d([\\d_]+\\d)?$/);\n\nexport const versionNumberSchema = nonEmptyStringSchema\n .min(1)\n .regex(/^\\d+\\.\\d+(\\.\\d+)*$/);\n\nexport const urlSchema = nonEmptyStringSchema.url();\n\nexport const commandSchema = nonEmptyStringSchema;\n\nexport const optionSchema = z.object({\n shortFlag: singleCharSchema.optional(),\n flag: verbSchema,\n description: nonEmptyStringSchema,\n defaultValue: z.union([z.string(), z.number(), z.boolean()]).optional(),\n type: z\n .union([z.literal(\"string\"), z.literal(\"number\"), z.literal(\"boolean\")])\n .optional(),\n required: z.boolean().optional(),\n boolean: z.boolean().optional(),\n choices: z.array(nonEmptyStringSchema).optional(),\n});\n\nexport const positionalArgSchema = z.object({\n placeholder: humanReadableIdentifierSchema,\n description: nonEmptyStringSchema,\n defaultValue: z.union([z.string(), z.number(), z.boolean()]).optional(),\n type: z\n .union([z.literal(\"string\"), z.literal(\"number\"), z.literal(\"boolean\")])\n .optional(),\n required: z.boolean().optional(),\n});\n\nexport const installedPluginSchema = z.object({\n type: z.union([z.literal(\"npm\"), z.literal(\"binary\"), z.literal(\"deno\")]),\n name: nonEmptyStringSchema,\n});\n\nexport const runtimeDependencySchema = z.object({\n name: humanReadableIdentifierSchema,\n path: z.string(),\n version: z.string(),\n kind: z.union([z.literal(\"required\"), z.literal(\"optional\")]),\n});\n\nexport const runtimeDependencyReportSchema = runtimeDependencySchema.extend(\n({\n met: z.boolean(),\n })\n);\n\nexport const pluginDependenciesResponseSchema = z.object({\n report: z.array(runtimeDependencyReportSchema),\n});\n\nexport const pluginJsonResponseSchema = z.union([\n z.object({\n data: z.unknown().optional(),\n render: z\n .union([z.literal(\"none\"), z.literal(\"table\"), z.literal(\"string\")])\n .default(\"none\"),\n }),\n z.void(),\n]);\n\nexport const pluginProxyResponseSchema = z.union([\n z.void(),\n pluginJsonResponseSchema,\n]);\n\nexport const pluginResponseEncodingSchema = z\n .union([z.literal(\"none\"), z.literal(\"json\"), z.literal(\"application/json\")])\n .default(\"none\");\n\nexport const buildNumberSchema = z.number();\n\nexport const sanitizedArgsSchema = z.object({\n _: z.array(z.string()),\n projectDir: sanitizedPathSchema,\n maxConcurrency: z.number(),\n debug: z.boolean(),\n disableState: z.boolean(),\n logPluginRequests: z.boolean(),\n fromVsCode: z.boolean(),\n version: z.boolean(),\n build: z.boolean(),\n help: z.boolean(),\n yes: z.boolean(),\n plugin: nonEmptyStringSchema.optional(),\n env: nonEmptyStringSchema,\n quickstart: nonEmptyStringSchema,\n setBuild: z.union([nonEmptyStringSchema, buildNumberSchema]),\n setVersion: nonEmptyStringSchema,\n}).passthrough();\n\nexport const pluginActionNameSchema = z.union([\n z.literal(\"proxy\"),\n z.literal(\"pluginInfo\"),\n z.literal(\"checkRuntimeDependencies\"),\n z.literal(\"installRuntimeDependencies\"),\n z.literal(\"proxyTemplate\"),\n]);\n\nexport const economicalProtocolHashSchema = z.string();\n\nexport const publicKeyHashSchema = z.string().regex(/^tz\\d[A-Za-z0-9]{33}$/);\n\nexport const sha256Schema = z.string().regex(/^[A-Fa-f0-9]{64}$/);\n\nexport const contractSchema = z.object({\n sourceFile: nonEmptyStringSchema,\n hash: sha256Schema,\n});\n\nexport const faucetSchema = z.object({\n pkh: publicKeyHashSchema,\n mnemonic: z.array(z.string()),\n email: z.string().email(),\n password: z.string(),\n amount: z.string().regex(/^\\d+$/),\n activation_code: z.string(),\n});\n\nconst tzKtConfigPostgresqlPortSchema = z.number().default(5432);\n\nconst tzKtConfigApiPortSchema = z.number().default(5000);\n\nexport const tzKtConfigSchema = z.object({\n disableAutostartWithSandbox: z.boolean().optional(),\n postgresqlPort: tzKtConfigPostgresqlPortSchema.optional(),\n apiPort: tzKtConfigApiPortSchema.optional(),\n});\n\nexport const environmentSchema = z.object({\n networks: z.array(nonEmptyStringSchema),\n sandboxes: z.array(nonEmptyStringSchema),\n storage: z.record(nonEmptyStringSchema).optional(),\n aliases: z.record(z.record(nonEmptyStringSchema)).optional(),\n});\n\nexport const persistedTaskSchema = z.object({\n task: verbSchema,\n plugin: nonEmptyStringSchema,\n time: timestampSchema,\n output: z.unknown().optional(),\n});\n\nexport const persistedOperationSchema = z.object({\n hash: sha256Schema,\n time: timestampSchema,\n output: z.unknown().optional(),\n});\n\nexport const provisionerIDSchema = z\n .string()\n .min(1)\n .regex(\n /^[A-Za-z0-9]+[A-Za-z0-9-_]+\\.[A-Za-z0-9]+[A-Za-z0-9-_]+\\.[A-Za-z0-9]+[A-Za-z0-9-_]+$/\n );\n\nexport const provisionerSchema = z.object({\n id: provisionerIDSchema,\n plugin: nonEmptyStringSchema,\n operation: z.union([nonEmptyStringSchema, z.literal(\"custom\")]),\n command: z.string().optional(),\n label: z.string().optional(),\n depends_on: z.array(provisionerIDSchema).optional(),\n});\n\nexport const provisionsSchema = z.array(provisionerSchema);\n\nconst environmentNameSchema = nonEmptyStringSchema.min(\n 1,\n \"Default environment must reference the name of an existing environment.\"\n);\n\nconst humanLanguageSchema = z\n .union([z.literal(\"en\"), z.literal(\"fr\")])\n .default(\"en\");\n\nexport const configContractsDirSchema = z.string().min(1).default(\"contracts\");\n\nexport const configArtifactsDirSchema = z.string().min(1).default(\"artifacts\");\n\nexport const metadataConfigSchema = z.object({\n name: z.string().optional(),\n projectDescription: z.string().optional(),\n authors: z.array(z.string()).optional(),\n license: z.string().optional(),\n homepage: z.string().optional(),\n});\n\nexport const networkAccountConfigSchema = z.object({\n publicKey: nonEmptyStringSchema.optional(),\n publicKeyHash: publicKeyHashSchema.optional(),\n privateKey: nonEmptyStringSchema.optional(),\n mnemonic: nonEmptyStringSchema.optional(),\n});\n\nexport const sandboxAccountConfigSchema = z.object({\n encryptedKey: nonEmptyStringSchema,\n publicKeyHash: publicKeyHashSchema,\n secretKey: nonEmptyStringSchema,\n});\n\nexport const sandboxConfigSchema = z.object({\n label: nonEmptyStringSchema,\n rpcUrl: urlSchema,\n protocol: economicalProtocolHashSchema.optional(),\n plugin: verbSchema.optional(),\n accounts: z\n .record(z.union([sandboxAccountConfigSchema, nonEmptyStringSchema]))\n .optional(),\n tzkt: tzKtConfigSchema.optional(),\n annotations: z.record(z.unknown()).optional(),\n});\n\nexport const scaffoldConfigSchema = z.object({\n postInit: z.string().optional(),\n});\n\nexport const taskSchema = z.object({\n task: verbSchema,\n command: commandSchema,\n aliases: z.array(aliasSchema).optional(),\n description: nonEmptyStringSchema.min(3).optional(),\n example: nonEmptyStringSchema.optional(),\n hidden: z.boolean().optional(),\n encoding: pluginResponseEncodingSchema.optional(),\n handler: z.union([z.literal(\"proxy\"), nonEmptyStringSchema]),\n options: z.array(optionSchema).optional(),\n positionals: z.array(positionalArgSchema).optional(),\n});\n\nexport const persistentStateSchema = z.object({\n operations: z.record(persistedOperationSchema),\n tasks: z.record(persistedTaskSchema),\n});\n\nexport const networkConfigSchema = z.object({\n label: humanReadableIdentifierSchema,\n rpcUrl: urlSchema,\n accounts: z.record(networkAccountConfigSchema).optional(),\n faucet: faucetSchema.optional(),\n});\n\nconst pluginSchemaBaseSchema = z.object({\n name: nonEmptyStringSchema,\n version: versionNumberSchema,\n schema: versionNumberSchema,\n alias: aliasSchema,\n tasks: z.array(taskSchema).optional(),\n});\n\nexport const configSchema = z.object({\n language: humanLanguageSchema.optional(),\n plugins: z.array(installedPluginSchema).optional(),\n contractsDir: configContractsDirSchema.optional(),\n artifactsDir: configArtifactsDirSchema.optional(),\n network: z.record(networkConfigSchema).optional(),\n sandbox: z.record(sandboxConfigSchema).optional(),\n environment: z.record(z.union([environmentSchema, environmentNameSchema])),\n accounts: z.record(tzSchema).optional(),\n contracts: z.record(contractSchema).optional(),\n metadata: metadataConfigSchema.optional(),\n});\n\nexport const loadedConfigSchema = configSchema.extend(\n({\n projectDir: sanitizedAbsPathSchema,\n configFile: sanitizedAbsPathSchema,\n hash: sha256Schema,\n })\n);\n\nexport const parsedConfigSchema = configSchema.omit({ sandbox: true }).extend(\n({\n sandbox: z.record(z.union([sandboxConfigSchema, nonEmptyStringSchema])),\n })\n);\n\nexport const requestArgsSchema = sanitizedArgsSchema\n .omit({ quickstart: true })\n .extend(\n({\n taqRun: pluginActionNameSchema,\n config: loadedConfigSchema,\n })\n ).passthrough();\n\nexport const proxyTaskArgsSchema = requestArgsSchema.extend(\n({\n task: nonEmptyStringSchema,\n })\n).passthrough();\n\nexport const proxyTemplateArgsSchema = requestArgsSchema.extend(\n({\n template: nonEmptyStringSchema,\n })\n).passthrough();\n\nexport const operationSchema = z.object({\n operation: verbSchema,\n command: commandSchema,\n description: nonEmptyStringSchema.optional(),\n positionals: z.array(positionalArgSchema).optional(),\n options: z.array(optionSchema).optional(),\n handler: z\n .function()\n .args(persistentStateSchema)\n .returns(z.function().args(requestArgsSchema).returns(z.void()))\n .optional(),\n});\n\nexport const parsedOperationSchema = operationSchema.omit({ handler: true });\n\nconst templateHandlerSchema = z.union([\n nonEmptyStringSchema,\n z\n .function()\n .args(requestArgsSchema)\n .returns(\n z.union([pluginJsonResponseSchema, z.promise(pluginJsonResponseSchema)])\n ),\n z.promise(z.void()),\n]);\n\nexport const templateSchema = z.object({\n template: verbSchema,\n command: commandSchema,\n description: nonEmptyStringSchema,\n hidden: z.boolean().optional(),\n options: z.array(optionSchema).optional(),\n positionals: z.array(positionalArgSchema).optional(),\n handler: templateHandlerSchema,\n encoding: pluginResponseEncodingSchema.optional(),\n});\n\nexport const parsedTemplateSchema = templateSchema.omit({ handler: true }).extend(\n({\n handler: z.string(),\n })\n);\n\nexport const pluginInfoSchema = pluginSchemaBaseSchema.extend(\n({\n operations: z.array(parsedOperationSchema).optional(),\n templates: z.array(parsedTemplateSchema).optional(),\n })\n);\n\nexport const pluginSchemaSchema = pluginSchemaBaseSchema.extend(\n({\n operations: z.array(operationSchema).optional(),\n templates: z.array(templateSchema).optional(),\n proxy: z\n .function()\n .args(requestArgsSchema)\n .returns(z.promise(pluginProxyResponseSchema))\n .optional(),\n checkRuntimeDependencies: z\n .function()\n .args(requestArgsSchema)\n .returns(z.promise(pluginDependenciesResponseSchema))\n .optional(),\n installRuntimeDependencies: z\n .function()\n .args(requestArgsSchema)\n .returns(z.promise(pluginDependenciesResponseSchema))\n .optional(),\n })\n);\n\nexport const ephemeralStateSchema = z.object({\n build: z.string(),\n configHash: z.string(),\n tasks: z.record(installedPluginSchema.and(taskSchema)),\n operations: z.record(installedPluginSchema.and(parsedOperationSchema)),\n templates: z.record(installedPluginSchema.and(parsedTemplateSchema)),\n plugins: z.array(pluginInfoSchema),\n});\n"],"mappings":";;;;;;;;;;;;;;;;AACA;;","names":[]}