@taqueria/protocol
Version:
A TypeScript package which contains types that are to be shared between @taqueria/node-sdk and @taqueria/taqueria.
1,051 lines • 2.53 MB
TypeScript
import { RequestArgs } from '@taqueria/protocol';
import * as Alias from '@taqueria/protocol/Alias';
import * as Operation from '@taqueria/protocol/Operation';
import * as Template from '@taqueria/protocol/Template';
import { PluginDependenciesResponse, PluginProxyResponse } from '@taqueria/protocol/types';
import { z } from 'zod';
declare const internalSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
name: z.ZodString;
version: z.ZodString;
schema: z.ZodString;
alias: z.ZodUnion<[z.ZodString, z.ZodString]>;
postInstall: z.ZodOptional<z.ZodString>;
tasks: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
task: z.ZodString;
command: z.ZodString;
aliases: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodString]>, "many">>;
description: z.ZodOptional<z.ZodString>;
example: z.ZodOptional<z.ZodString>;
hidden: z.ZodOptional<z.ZodBoolean>;
encoding: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"json">, z.ZodLiteral<"application/json">]>>>;
handler: z.ZodUnion<[z.ZodLiteral<"proxy">, z.ZodString]>;
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
shortFlag: z.ZodOptional<z.ZodString>;
flag: z.ZodString;
description: z.ZodString;
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"number">, z.ZodLiteral<"boolean">, z.ZodLiteral<"count">]>>;
required: z.ZodOptional<z.ZodBoolean>;
boolean: z.ZodOptional<z.ZodBoolean>;
choices: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
description: string;
flag: string;
boolean?: boolean | undefined;
required?: boolean | undefined;
type?: "string" | "number" | "boolean" | "count" | undefined;
shortFlag?: string | undefined;
defaultValue?: string | number | boolean | undefined;
choices?: string[] | undefined;
}, {
description: string;
flag: string;
boolean?: boolean | undefined;
required?: boolean | undefined;
type?: "string" | "number" | "boolean" | "count" | undefined;
shortFlag?: string | undefined;
defaultValue?: string | number | boolean | undefined;
choices?: string[] | undefined;
}>, "many">>;
positionals: z.ZodOptional<z.ZodArray<z.ZodObject<{
placeholder: z.ZodString;
description: z.ZodString;
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"number">, z.ZodLiteral<"boolean">]>>;
required: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
description: string;
placeholder: string;
required?: boolean | undefined;
type?: "string" | "number" | "boolean" | undefined;
defaultValue?: string | number | boolean | undefined;
}, {
description: string;
placeholder: string;
required?: boolean | undefined;
type?: "string" | "number" | "boolean" | undefined;
defaultValue?: string | number | boolean | undefined;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
handler: string;
command: string;
task: string;
description?: string | undefined;
positionals?: {
description: string;
placeholder: string;
required?: boolean | undefined;
type?: "string" | "number" | "boolean" | undefined;
defaultValue?: string | number | boolean | undefined;
}[] | undefined;
options?: {
description: string;
flag: string;
boolean?: boolean | undefined;
required?: boolean | undefined;
type?: "string" | "number" | "boolean" | "count" | undefined;
shortFlag?: string | undefined;
defaultValue?: string | number | boolean | undefined;
choices?: string[] | undefined;
}[] | undefined;
hidden?: boolean | undefined;
encoding?: "none" | "json" | "application/json" | undefined;
aliases?: string[] | undefined;
example?: string | undefined;
}, {
handler: string;
command: string;
task: string;
description?: string | undefined;
positionals?: {
description: string;
placeholder: string;
required?: boolean | undefined;
type?: "string" | "number" | "boolean" | undefined;
defaultValue?: string | number | boolean | undefined;
}[] | undefined;
options?: {
description: string;
flag: string;
boolean?: boolean | undefined;
required?: boolean | undefined;
type?: "string" | "number" | "boolean" | "count" | undefined;
shortFlag?: string | undefined;
defaultValue?: string | number | boolean | undefined;
choices?: string[] | undefined;
}[] | undefined;
hidden?: boolean | undefined;
encoding?: "none" | "json" | "application/json" | undefined;
aliases?: string[] | undefined;
example?: string | undefined;
}>, import("./Task").Task, {
handler: string;
command: string;
task: string;
description?: string | undefined;
positionals?: {
description: string;
placeholder: string;
required?: boolean | undefined;
type?: "string" | "number" | "boolean" | undefined;
defaultValue?: string | number | boolean | undefined;
}[] | undefined;
options?: {
description: string;
flag: string;
boolean?: boolean | undefined;
required?: boolean | undefined;
type?: "string" | "number" | "boolean" | "count" | undefined;
shortFlag?: string | undefined;
defaultValue?: string | number | boolean | undefined;
choices?: string[] | undefined;
}[] | undefined;
hidden?: boolean | undefined;
encoding?: "none" | "json" | "application/json" | undefined;
aliases?: string[] | undefined;
example?: string | undefined;
}>, "many">, import("./Task").Task[], unknown>>;
operations: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<Omit<{
operation: z.ZodString;
command: z.ZodString;
description: z.ZodOptional<z.ZodString>;
positionals: z.ZodOptional<z.ZodArray<z.ZodObject<{
placeholder: z.ZodString;
description: z.ZodString;
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"number">, z.ZodLiteral<"boolean">]>>;
required: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
description: string;
placeholder: string;
required?: boolean | undefined;
type?: "string" | "number" | "boolean" | undefined;
defaultValue?: string | number | boolean | undefined;
}, {
description: string;
placeholder: string;
required?: boolean | undefined;
type?: "string" | "number" | "boolean" | undefined;
defaultValue?: string | number | boolean | undefined;
}>, "many">>;
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
shortFlag: z.ZodOptional<z.ZodString>;
flag: z.ZodString;
description: z.ZodString;
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"number">, z.ZodLiteral<"boolean">, z.ZodLiteral<"count">]>>;
required: z.ZodOptional<z.ZodBoolean>;
boolean: z.ZodOptional<z.ZodBoolean>;
choices: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
description: string;
flag: string;
boolean?: boolean | undefined;
required?: boolean | undefined;
type?: "string" | "number" | "boolean" | "count" | undefined;
shortFlag?: string | undefined;
defaultValue?: string | number | boolean | undefined;
choices?: string[] | undefined;
}, {
description: string;
flag: string;
boolean?: boolean | undefined;
required?: boolean | undefined;
type?: "string" | "number" | "boolean" | "count" | undefined;
shortFlag?: string | undefined;
defaultValue?: string | number | boolean | undefined;
choices?: string[] | undefined;
}>, "many">>;
handler: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
operations: z.ZodRecord<z.ZodString, z.ZodObject<{
hash: z.ZodString;
time: z.ZodNumber;
output: z.ZodOptional<z.ZodUnknown>;
}, "strip", z.ZodTypeAny, {
hash: string;
time: number;
output?: unknown;
}, {
hash: string;
time: number;
output?: unknown;
}>>;
tasks: z.ZodRecord<z.ZodString, z.ZodObject<{
task: z.ZodString;
plugin: z.ZodString;
time: z.ZodNumber;
output: z.ZodOptional<z.ZodUnknown>;
}, "strip", z.ZodTypeAny, {
plugin: string;
task: string;
time: number;
output?: unknown;
}, {
plugin: string;
task: string;
time: number;
output?: unknown;
}>>;
}, "strip", z.ZodTypeAny, {
tasks: Record<string, {
plugin: string;
task: string;
time: number;
output?: unknown;
}>;
operations: Record<string, {
hash: string;
time: number;
output?: unknown;
}>;
}, {
tasks: Record<string, {
plugin: string;
task: string;
time: number;
output?: unknown;
}>;
operations: Record<string, {
hash: string;
time: number;
output?: unknown;
}>;
}>], z.ZodUnknown>, z.ZodFunction<z.ZodTuple<[z.ZodObject<z.objectUtil.extendShape<Omit<{
_: z.ZodArray<z.ZodString, "many">;
projectDir: z.ZodString;
maxConcurrency: z.ZodNumber;
debug: z.ZodBoolean;
disableState: z.ZodBoolean;
logPluginRequests: z.ZodBoolean;
fromVsCode: z.ZodBoolean;
version: z.ZodBoolean;
build: z.ZodBoolean;
help: z.ZodBoolean;
yes: z.ZodBoolean;
plugin: z.ZodOptional<z.ZodString>;
env: z.ZodString;
quickstart: z.ZodString;
setBuild: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
setVersion: z.ZodString;
}, "quickstart">, {
taqRun: z.ZodUnion<[z.ZodLiteral<"proxy">, z.ZodLiteral<"pluginInfo">, z.ZodLiteral<"checkRuntimeDependencies">, z.ZodLiteral<"installRuntimeDependencies">, z.ZodLiteral<"runPostInstall">, z.ZodLiteral<"proxyTemplate">]>;
config: z.ZodObject<z.objectUtil.extendShape<{
language: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"en">, z.ZodLiteral<"fr">]>>>;
metadata: z.ZodOptional<z.ZodObject<{
name: z.ZodOptional<z.ZodString>;
projectDescription: z.ZodOptional<z.ZodString>;
authors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
license: z.ZodOptional<z.ZodString>;
homepage: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
name?: string | undefined;
projectDescription?: string | undefined;
authors?: string[] | undefined;
license?: string | undefined;
homepage?: string | undefined;
}, {
name?: string | undefined;
projectDescription?: string | undefined;
authors?: string[] | undefined;
license?: string | undefined;
homepage?: string | undefined;
}>>;
artifactsDir: z.ZodOptional<z.ZodDefault<z.ZodString>>;
contractsDir: z.ZodOptional<z.ZodDefault<z.ZodString>>;
contracts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
sourceFile: z.ZodString;
hash: z.ZodString;
}, "strip", z.ZodTypeAny, {
sourceFile: string;
hash: string;
}, {
sourceFile: string;
hash: string;
}>>>;
plugins: z.ZodOptional<z.ZodArray<z.ZodObject<{
type: z.ZodUnion<[z.ZodLiteral<"npm">, z.ZodLiteral<"binary">, z.ZodLiteral<"deno">]>;
name: z.ZodString;
}, "strip", z.ZodTypeAny, {
type: "npm" | "binary" | "deno";
name: string;
}, {
type: "npm" | "binary" | "deno";
name: string;
}>, "many">>;
accounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
environment: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
networks: z.ZodArray<z.ZodString, "many">;
sandboxes: z.ZodArray<z.ZodString, "many">;
storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
aliases: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
}, "strip", z.ZodTypeAny, {
networks: string[];
sandboxes: string[];
aliases?: Record<string, Record<string, string>> | undefined;
storage?: Record<string, string> | undefined;
}, {
networks: string[];
sandboxes: string[];
aliases?: Record<string, Record<string, string>> | undefined;
storage?: Record<string, string> | undefined;
}>, z.ZodString]>>;
network: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
label: z.ZodString;
rpcUrl: z.ZodString;
accounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
publicKey: z.ZodOptional<z.ZodString>;
publicKeyHash: z.ZodOptional<z.ZodString>;
privateKey: z.ZodOptional<z.ZodString>;
mnemonic: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
mnemonic?: string | undefined;
publicKey?: string | undefined;
publicKeyHash?: string | undefined;
privateKey?: string | undefined;
}, {
mnemonic?: string | undefined;
publicKey?: string | undefined;
publicKeyHash?: string | undefined;
privateKey?: string | undefined;
}>>>;
faucet: z.ZodOptional<z.ZodObject<{
pkh: z.ZodString;
mnemonic: z.ZodArray<z.ZodString, "many">;
email: z.ZodString;
password: z.ZodString;
amount: z.ZodString;
activation_code: z.ZodString;
}, "strip", z.ZodTypeAny, {
pkh: string;
mnemonic: string[];
email: string;
password: string;
amount: string;
activation_code: string;
}, {
pkh: string;
mnemonic: string[];
email: string;
password: string;
amount: string;
activation_code: string;
}>>;
}, "strip", z.ZodTypeAny, {
label: string;
rpcUrl: string;
accounts?: Record<string, {
mnemonic?: string | undefined;
publicKey?: string | undefined;
publicKeyHash?: string | undefined;
privateKey?: string | undefined;
}> | undefined;
faucet?: {
pkh: string;
mnemonic: string[];
email: string;
password: string;
amount: string;
activation_code: string;
} | undefined;
}, {
label: string;
rpcUrl: string;
accounts?: Record<string, {
mnemonic?: string | undefined;
publicKey?: string | undefined;
publicKeyHash?: string | undefined;
privateKey?: string | undefined;
}> | undefined;
faucet?: {
pkh: string;
mnemonic: string[];
email: string;
password: string;
amount: string;
activation_code: string;
} | undefined;
}>>>;
sandbox: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
label: z.ZodString;
rpcUrl: z.ZodString;
protocol: z.ZodOptional<z.ZodString>;
plugin: z.ZodOptional<z.ZodString>;
blockTime: z.ZodOptional<z.ZodNumber>;
baking: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"disabled">]>>;
accounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
encryptedKey: z.ZodOptional<z.ZodString>;
publicKeyHash: z.ZodString;
secretKey: z.ZodString;
}, "strip", z.ZodTypeAny, {
publicKeyHash: string;
secretKey: string;
encryptedKey?: string | undefined;
}, {
publicKeyHash: string;
secretKey: string;
encryptedKey?: string | undefined;
}>, z.ZodString]>>>;
tzkt: z.ZodOptional<z.ZodObject<{
disableAutostartWithSandbox: z.ZodOptional<z.ZodBoolean>;
postgresqlPort: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
apiPort: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
}, "strip", z.ZodTypeAny, {
disableAutostartWithSandbox?: boolean | undefined;
postgresqlPort?: number | undefined;
apiPort?: number | undefined;
}, {
disableAutostartWithSandbox?: boolean | undefined;
postgresqlPort?: number | undefined;
apiPort?: number | undefined;
}>>;
annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, "strip", z.ZodTypeAny, {
label: string;
rpcUrl: string;
plugin?: string | undefined;
accounts?: Record<string, string | {
publicKeyHash: string;
secretKey: string;
encryptedKey?: string | undefined;
}> | undefined;
protocol?: string | undefined;
blockTime?: number | undefined;
baking?: "enabled" | "disabled" | undefined;
tzkt?: {
disableAutostartWithSandbox?: boolean | undefined;
postgresqlPort?: number | undefined;
apiPort?: number | undefined;
} | undefined;
annotations?: Record<string, unknown> | undefined;
}, {
label: string;
rpcUrl: string;
plugin?: string | undefined;
accounts?: Record<string, string | {
publicKeyHash: string;
secretKey: string;
encryptedKey?: string | undefined;
}> | undefined;
protocol?: string | undefined;
blockTime?: number | undefined;
baking?: "enabled" | "disabled" | undefined;
tzkt?: {
disableAutostartWithSandbox?: boolean | undefined;
postgresqlPort?: number | undefined;
apiPort?: number | undefined;
} | undefined;
annotations?: Record<string, unknown> | undefined;
}>>>;
}, {
projectDir: z.ZodString;
configFile: z.ZodString;
hash: z.ZodString;
}>, "strip", z.ZodTypeAny, {
projectDir: string;
environment: Record<string, string | {
networks: string[];
sandboxes: string[];
aliases?: Record<string, Record<string, string>> | undefined;
storage?: Record<string, string> | undefined;
}>;
hash: string;
configFile: string;
sandbox?: Record<string, {
label: string;
rpcUrl: string;
plugin?: string | undefined;
accounts?: Record<string, string | {
publicKeyHash: string;
secretKey: string;
encryptedKey?: string | undefined;
}> | undefined;
protocol?: string | undefined;
blockTime?: number | undefined;
baking?: "enabled" | "disabled" | undefined;
tzkt?: {
disableAutostartWithSandbox?: boolean | undefined;
postgresqlPort?: number | undefined;
apiPort?: number | undefined;
} | undefined;
annotations?: Record<string, unknown> | undefined;
}> | undefined;
language?: "en" | "fr" | undefined;
metadata?: {
name?: string | undefined;
projectDescription?: string | undefined;
authors?: string[] | undefined;
license?: string | undefined;
homepage?: string | undefined;
} | undefined;
artifactsDir?: string | undefined;
contractsDir?: string | undefined;
contracts?: Record<string, {
sourceFile: string;
hash: string;
}> | undefined;
plugins?: {
type: "npm" | "binary" | "deno";
name: string;
}[] | undefined;
accounts?: Record<string, string> | undefined;
network?: Record<string, {
label: string;
rpcUrl: string;
accounts?: Record<string, {
mnemonic?: string | undefined;
publicKey?: string | undefined;
publicKeyHash?: string | undefined;
privateKey?: string | undefined;
}> | undefined;
faucet?: {
pkh: string;
mnemonic: string[];
email: string;
password: string;
amount: string;
activation_code: string;
} | undefined;
}> | undefined;
}, {
projectDir: string;
environment: Record<string, string | {
networks: string[];
sandboxes: string[];
aliases?: Record<string, Record<string, string>> | undefined;
storage?: Record<string, string> | undefined;
}>;
hash: string;
configFile: string;
sandbox?: Record<string, {
label: string;
rpcUrl: string;
plugin?: string | undefined;
accounts?: Record<string, string | {
publicKeyHash: string;
secretKey: string;
encryptedKey?: string | undefined;
}> | undefined;
protocol?: string | undefined;
blockTime?: number | undefined;
baking?: "enabled" | "disabled" | undefined;
tzkt?: {
disableAutostartWithSandbox?: boolean | undefined;
postgresqlPort?: number | undefined;
apiPort?: number | undefined;
} | undefined;
annotations?: Record<string, unknown> | undefined;
}> | undefined;
language?: "en" | "fr" | undefined;
metadata?: {
name?: string | undefined;
projectDescription?: string | undefined;
authors?: string[] | undefined;
license?: string | undefined;
homepage?: string | undefined;
} | undefined;
artifactsDir?: string | undefined;
contractsDir?: string | undefined;
contracts?: Record<string, {
sourceFile: string;
hash: string;
}> | undefined;
plugins?: {
type: "npm" | "binary" | "deno";
name: string;
}[] | undefined;
accounts?: Record<string, string> | undefined;
network?: Record<string, {
label: string;
rpcUrl: string;
accounts?: Record<string, {
mnemonic?: string | undefined;
publicKey?: string | undefined;
publicKeyHash?: string | undefined;
privateKey?: string | undefined;
}> | undefined;
faucet?: {
pkh: string;
mnemonic: string[];
email: string;
password: string;
amount: string;
activation_code: string;
} | undefined;
}> | undefined;
}>;
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<Omit<{
_: z.ZodArray<z.ZodString, "many">;
projectDir: z.ZodString;
maxConcurrency: z.ZodNumber;
debug: z.ZodBoolean;
disableState: z.ZodBoolean;
logPluginRequests: z.ZodBoolean;
fromVsCode: z.ZodBoolean;
version: z.ZodBoolean;
build: z.ZodBoolean;
help: z.ZodBoolean;
yes: z.ZodBoolean;
plugin: z.ZodOptional<z.ZodString>;
env: z.ZodString;
quickstart: z.ZodString;
setBuild: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
setVersion: z.ZodString;
}, "quickstart">, {
taqRun: z.ZodUnion<[z.ZodLiteral<"proxy">, z.ZodLiteral<"pluginInfo">, z.ZodLiteral<"checkRuntimeDependencies">, z.ZodLiteral<"installRuntimeDependencies">, z.ZodLiteral<"runPostInstall">, z.ZodLiteral<"proxyTemplate">]>;
config: z.ZodObject<z.objectUtil.extendShape<{
language: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"en">, z.ZodLiteral<"fr">]>>>;
metadata: z.ZodOptional<z.ZodObject<{
name: z.ZodOptional<z.ZodString>;
projectDescription: z.ZodOptional<z.ZodString>;
authors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
license: z.ZodOptional<z.ZodString>;
homepage: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
name?: string | undefined;
projectDescription?: string | undefined;
authors?: string[] | undefined;
license?: string | undefined;
homepage?: string | undefined;
}, {
name?: string | undefined;
projectDescription?: string | undefined;
authors?: string[] | undefined;
license?: string | undefined;
homepage?: string | undefined;
}>>;
artifactsDir: z.ZodOptional<z.ZodDefault<z.ZodString>>;
contractsDir: z.ZodOptional<z.ZodDefault<z.ZodString>>;
contracts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
sourceFile: z.ZodString;
hash: z.ZodString;
}, "strip", z.ZodTypeAny, {
sourceFile: string;
hash: string;
}, {
sourceFile: string;
hash: string;
}>>>;
plugins: z.ZodOptional<z.ZodArray<z.ZodObject<{
type: z.ZodUnion<[z.ZodLiteral<"npm">, z.ZodLiteral<"binary">, z.ZodLiteral<"deno">]>;
name: z.ZodString;
}, "strip", z.ZodTypeAny, {
type: "npm" | "binary" | "deno";
name: string;
}, {
type: "npm" | "binary" | "deno";
name: string;
}>, "many">>;
accounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
environment: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
networks: z.ZodArray<z.ZodString, "many">;
sandboxes: z.ZodArray<z.ZodString, "many">;
storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
aliases: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
}, "strip", z.ZodTypeAny, {
networks: string[];
sandboxes: string[];
aliases?: Record<string, Record<string, string>> | undefined;
storage?: Record<string, string> | undefined;
}, {
networks: string[];
sandboxes: string[];
aliases?: Record<string, Record<string, string>> | undefined;
storage?: Record<string, string> | undefined;
}>, z.ZodString]>>;
network: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
label: z.ZodString;
rpcUrl: z.ZodString;
accounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
publicKey: z.ZodOptional<z.ZodString>;
publicKeyHash: z.ZodOptional<z.ZodString>;
privateKey: z.ZodOptional<z.ZodString>;
mnemonic: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
mnemonic?: string | undefined;
publicKey?: string | undefined;
publicKeyHash?: string | undefined;
privateKey?: string | undefined;
}, {
mnemonic?: string | undefined;
publicKey?: string | undefined;
publicKeyHash?: string | undefined;
privateKey?: string | undefined;
}>>>;
faucet: z.ZodOptional<z.ZodObject<{
pkh: z.ZodString;
mnemonic: z.ZodArray<z.ZodString, "many">;
email: z.ZodString;
password: z.ZodString;
amount: z.ZodString;
activation_code: z.ZodString;
}, "strip", z.ZodTypeAny, {
pkh: string;
mnemonic: string[];
email: string;
password: string;
amount: string;
activation_code: string;
}, {
pkh: string;
mnemonic: string[];
email: string;
password: string;
amount: string;
activation_code: string;
}>>;
}, "strip", z.ZodTypeAny, {
label: string;
rpcUrl: string;
accounts?: Record<string, {
mnemonic?: string | undefined;
publicKey?: string | undefined;
publicKeyHash?: string | undefined;
privateKey?: string | undefined;
}> | undefined;
faucet?: {
pkh: string;
mnemonic: string[];
email: string;
password: string;
amount: string;
activation_code: string;
} | undefined;
}, {
label: string;
rpcUrl: string;
accounts?: Record<string, {
mnemonic?: string | undefined;
publicKey?: string | undefined;
publicKeyHash?: string | undefined;
privateKey?: string | undefined;
}> | undefined;
faucet?: {
pkh: string;
mnemonic: string[];
email: string;
password: string;
amount: string;
activation_code: string;
} | undefined;
}>>>;
sandbox: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
label: z.ZodString;
rpcUrl: z.ZodString;
protocol: z.ZodOptional<z.ZodString>;
plugin: z.ZodOptional<z.ZodString>;
blockTime: z.ZodOptional<z.ZodNumber>;
baking: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"disabled">]>>;
accounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
encryptedKey: z.ZodOptional<z.ZodString>;
publicKeyHash: z.ZodString;
secretKey: z.ZodString;
}, "strip", z.ZodTypeAny, {
publicKeyHash: string;
secretKey: string;
encryptedKey?: string | undefined;
}, {
publicKeyHash: string;
secretKey: string;
encryptedKey?: string | undefined;
}>, z.ZodString]>>>;
tzkt: z.ZodOptional<z.ZodObject<{
disableAutostartWithSandbox: z.ZodOptional<z.ZodBoolean>;
postgresqlPort: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
apiPort: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
}, "strip", z.ZodTypeAny, {
disableAutostartWithSandbox?: boolean | undefined;
postgresqlPort?: number | undefined;
apiPort?: number | undefined;
}, {
disableAutostartWithSandbox?: boolean | undefined;
postgresqlPort?: number | undefined;
apiPort?: number | undefined;
}>>;
annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, "strip", z.ZodTypeAny, {
label: string;
rpcUrl: string;
plugin?: string | undefined;
accounts?: Record<string, string | {
publicKeyHash: string;
secretKey: string;
encryptedKey?: string | undefined;
}> | undefined;
protocol?: string | undefined;
blockTime?: number | undefined;
baking?: "enabled" | "disabled" | undefined;
tzkt?: {
disableAutostartWithSandbox?: boolean | undefined;
postgresqlPort?: number | undefined;
apiPort?: number | undefined;
} | undefined;
annotations?: Record<string, unknown> | undefined;
}, {
label: string;
rpcUrl: string;
plugin?: string | undefined;
accounts?: Record<string, string | {
publicKeyHash: string;
secretKey: string;
encryptedKey?: string | undefined;
}> | undefined;
protocol?: string | undefined;
blockTime?: number | undefined;
baking?: "enabled" | "disabled" | undefined;
tzkt?: {
disableAutostartWithSandbox?: boolean | undefined;
postgresqlPort?: number | undefined;
apiPort?: number | undefined;
} | undefined;
annotations?: Record<string, unknown> | undefined;
}>>>;
}, {
projectDir: z.ZodString;
configFile: z.ZodString;
hash: z.ZodString;
}>, "strip", z.ZodTypeAny, {
projectDir: string;
environment: Record<string, string | {
networks: string[];
sandboxes: string[];
aliases?: Record<string, Record<string, string>> | undefined;
storage?: Record<string, string> | undefined;
}>;
hash: string;
configFile: string;
sandbox?: Record<string, {
label: string;
rpcUrl: string;
plugin?: string | undefined;
accounts?: Record<string, string | {
publicKeyHash: string;
secretKey: string;
encryptedKey?: string | undefined;
}> | undefined;
protocol?: string | undefined;
blockTime?: number | undefined;
baking?: "enabled" | "disabled" | undefined;
tzkt?: {
disableAutostartWithSandbox?: boolean | undefined;
postgresqlPort?: number | undefined;
apiPort?: number | undefined;
} | undefined;
annotations?: Record<string, unknown> | undefined;
}> | undefined;
language?: "en" | "fr" | undefined;
metadata?: {
name?: string | undefined;
projectDescription?: string | undefined;
authors?: string[] | undefined;
license?: string | undefined;
homepage?: string | undefined;
} | undefined;
artifactsDir?: string | undefined;
contractsDir?: string | undefined;
contracts?: Record<string, {
sourceFile: string;
hash: string;
}> | undefined;
plugins?: {
type: "npm" | "binary" | "deno";
name: string;
}[] | undefined;
accounts?: Record<string, string> | undefined;
network?: Record<string, {
label: string;
rpcUrl: string;
accounts?: Record<string, {
mnemonic?: string | undefined;
publicKey?: string | undefined;
publicKeyHash?: string | undefined;
privateKey?: string | undefined;
}> | undefined;
faucet?: {
pkh: string;
mnemonic: string[];
email: string;
password: string;
amount: string;
activation_code: string;
} | undefined;
}> | undefined;
}, {
projectDir: string;
environment: Record<string, string | {
networks: string[];
sandboxes: string[];
aliases?: Record<string, Record<string, string>> | undefined;
storage?: Record<string, string> | undefined;
}>;
hash: string;
configFile: string;
sandbox?: Record<string, {
label: string;
rpcUrl: string;
plugin?: string | undefined;
accounts?: Record<string, string | {
publicKeyHash: string;
secretKey: string;
encryptedKey?: string | undefined;
}> | undefined;
protocol?: string | undefined;
blockTime?: number | undefined;
baking?: "enabled" | "disabled" | undefined;
tzkt?: {
disableAutostartWithSandbox?: boolean | undefined;
postgresqlPort?: number | undefined;
apiPort?: number | undefined;
} | undefined;
annotations?: Record<string, unknown> | undefined;
}> | undefined;
language?: "en" | "fr" | undefined;
metadata?: {
name?: string | undefined;
projectDescription?: string | undefined;
authors?: string[] | undefined;
license?: string | undefined;
homepage?: string | undefined;
} | undefined;
artifactsDir?: string | undefined;
contractsDir?: string | undefined;
contracts?: Record<string, {
sourceFile: string;
hash: string;
}> | undefined;
plugins?: {
type: "npm" | "binary" | "deno";
name: string;
}[] | undefined;
accounts?: Record<string, string> | undefined;
network?: Record<string, {
label: string;
rpcUrl: string;
accounts?: Record<string, {
mnemonic?: string | undefined;
publicKey?: string | undefined;
publicKeyHash?: string | undefined;
privateKey?: string | undefined;
}> | undefined;
faucet?: {
pkh: string;
mnemonic: string[];
email: string;
password: string;
amount: string;
activation_code: string;
} | undefined;
}> | undefined;
}>;
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<Omit<{
_: z.ZodArray<z.ZodString, "many">;
projectDir: z.ZodString;
maxConcurrency: z.ZodNumber;
debug: z.ZodBoolean;
disableState: z.ZodBoolean;
logPluginRequests: z.ZodBoolean;
fromVsCode: z.ZodBoolean;
version: z.ZodBoolean;
build: z.ZodBoolean;
help: z.ZodBoolean;
yes: z.ZodBoolean;
plugin: z.ZodOptional<z.ZodString>;
env: z.ZodString;
quickstart: z.ZodString;
setBuild: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
setVersion: z.ZodString;
}, "quickstart">, {
taqRun: z.ZodUnion<[z.ZodLiteral<"proxy">, z.ZodLiteral<"pluginInfo">, z.ZodLiteral<"checkRuntimeDependencies">, z.ZodLiteral<"installRuntimeDependencies">, z.ZodLiteral<"runPostInstall">, z.ZodLiteral<"proxyTemplate">]>;
config: z.ZodObject<z.objectUtil.extendShape<{
language: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"en">, z.ZodLiteral<"fr">]>>>;
metadata: z.ZodOptional<z.ZodObject<{
name: z.ZodOptional<z.ZodString>;
projectDescription: z.ZodOptional<z.ZodString>;
authors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
license: z.ZodOptional<z.ZodString>;
homepage: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
name?: string | undefined;
projectDescription?: string | undefined;
authors?: string[] | undefined;
license?: string | undefined;
homepage?: string | undefined;
}, {
name?: string | undefined;
projectDescription?: string | undefined;
authors?: string[] | undefined;
license?: string | undefined;
homepage?: string | undefined;
}>>;
artifactsDir: z.ZodOptional<z.ZodDefault<z.ZodString>>;
contractsDir: z.ZodOptional<z.ZodDefault<z.ZodString>>;
contracts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
sourceFile: z.ZodString;
hash: z.ZodString;
}, "strip", z.ZodTypeAny, {
sourceFile: string;
hash: string;
}, {
sourceFile: string;
hash: string;
}>>>;
plugins: z.ZodOptional<z.ZodArray<z.ZodObject<{
type: z.ZodUnion<[z.ZodLiteral<"npm">, z.ZodLiteral<"binary">, z.ZodLiteral<"deno">]>;
name: z.ZodString;
}, "strip", z.ZodTypeAny, {
type: "npm" | "binary" | "deno";
name: string;
}, {
type: "npm" | "binary" | "deno";
name: string;
}>, "many">>;
accounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
environment: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
networks: z.ZodArray<z.ZodString, "many">;
sandboxes: z.ZodArray<z.ZodString, "many">;
storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
aliases: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
}, "strip", z.ZodTypeAny, {
networks: string[];
sandboxes: string[];
aliases?: Record<string, Record<string, string>> | undefined;
storage?: Record<string, string> | undef