@taqueria/protocol
Version:
A TypeScript package which contains types that are to be shared between @taqueria/node-sdk and @taqueria/taqueria.
1,140 lines • 62.6 kB
TypeScript
import { TaqError } from '@taqueria/protocol/TaqError';
import { FutureInstance } from 'fluture';
import { LoadedConfig } from '@taqueria/protocol/types';
import { LoadedConfig as LoadedConfigStrict } from '@taqueria/protocol/out/types-strict';
export type { LoadedConfigStrict as LoadedConfig };
export declare const from: (input: unknown) => LoadedConfigStrict;
export declare const create: (input: LoadedConfig) => LoadedConfigStrict;
export declare const of: (input: unknown) => FutureInstance<TaqError, LoadedConfigStrict>;
export declare const make: (input: Omit<LoadedConfigStrict, "__type">) => FutureInstance<TaqError, LoadedConfigStrict>;
export declare const schemas: {
rawSchema: import("zod").ZodObject<{
language: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"en">, import("zod").ZodLiteral<"fr">]>>>;
metadata: import("zod").ZodOptional<import("zod").ZodObject<{
name: import("zod").ZodOptional<import("zod").ZodString>;
projectDescription: import("zod").ZodOptional<import("zod").ZodString>;
authors: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
license: import("zod").ZodOptional<import("zod").ZodString>;
homepage: import("zod").ZodOptional<import("zod").ZodString>;
}, "strip", import("zod").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: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodString>>;
contractsDir: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodString>>;
contracts: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
sourceFile: import("zod").ZodString;
hash: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
sourceFile: string;
hash: string;
}, {
sourceFile: string;
hash: string;
}>>>;
plugins: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"npm">, import("zod").ZodLiteral<"binary">, import("zod").ZodLiteral<"deno">]>;
name: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
type: "npm" | "binary" | "deno";
name: string;
}, {
type: "npm" | "binary" | "deno";
name: string;
}>, "many">>;
accounts: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
environment: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
networks: import("zod").ZodArray<import("zod").ZodString, "many">;
sandboxes: import("zod").ZodArray<import("zod").ZodString, "many">;
storage: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
aliases: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>>;
}, "strip", import("zod").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;
}>, import("zod").ZodString]>>;
network: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
label: import("zod").ZodString;
rpcUrl: import("zod").ZodString;
accounts: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
publicKey: import("zod").ZodOptional<import("zod").ZodString>;
publicKeyHash: import("zod").ZodOptional<import("zod").ZodString>;
privateKey: import("zod").ZodOptional<import("zod").ZodString>;
mnemonic: import("zod").ZodOptional<import("zod").ZodString>;
}, "strip", import("zod").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: import("zod").ZodOptional<import("zod").ZodObject<{
pkh: import("zod").ZodString;
mnemonic: import("zod").ZodArray<import("zod").ZodString, "many">;
email: import("zod").ZodString;
password: import("zod").ZodString;
amount: import("zod").ZodString;
activation_code: import("zod").ZodString;
}, "strip", import("zod").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", import("zod").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: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
label: import("zod").ZodString;
rpcUrl: import("zod").ZodString;
protocol: import("zod").ZodOptional<import("zod").ZodString>;
plugin: import("zod").ZodOptional<import("zod").ZodString>;
blockTime: import("zod").ZodOptional<import("zod").ZodNumber>;
baking: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"enabled">, import("zod").ZodLiteral<"disabled">]>>;
accounts: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
encryptedKey: import("zod").ZodOptional<import("zod").ZodString>;
publicKeyHash: import("zod").ZodString;
secretKey: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
publicKeyHash: string;
secretKey: string;
encryptedKey?: string | undefined;
}, {
publicKeyHash: string;
secretKey: string;
encryptedKey?: string | undefined;
}>, import("zod").ZodString]>>>;
tzkt: import("zod").ZodOptional<import("zod").ZodObject<{
disableAutostartWithSandbox: import("zod").ZodOptional<import("zod").ZodBoolean>;
postgresqlPort: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
apiPort: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
}, "strip", import("zod").ZodTypeAny, {
disableAutostartWithSandbox?: boolean | undefined;
postgresqlPort?: number | undefined;
apiPort?: number | undefined;
}, {
disableAutostartWithSandbox?: boolean | undefined;
postgresqlPort?: number | undefined;
apiPort?: number | undefined;
}>>;
annotations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
}, "strip", import("zod").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: import("zod").ZodString;
configFile: import("zod").ZodString;
hash: import("zod").ZodString;
}, "strip", import("zod").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;
}>;
schema: import("zod").ZodEffects<import("zod").ZodObject<{
language: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"en">, import("zod").ZodLiteral<"fr">]>>>;
metadata: import("zod").ZodOptional<import("zod").ZodObject<{
name: import("zod").ZodOptional<import("zod").ZodString>;
projectDescription: import("zod").ZodOptional<import("zod").ZodString>;
authors: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
license: import("zod").ZodOptional<import("zod").ZodString>;
homepage: import("zod").ZodOptional<import("zod").ZodString>;
}, "strip", import("zod").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: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodString>>;
contractsDir: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodString>>;
contracts: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
sourceFile: import("zod").ZodString;
hash: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
sourceFile: string;
hash: string;
}, {
sourceFile: string;
hash: string;
}>>>;
plugins: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"npm">, import("zod").ZodLiteral<"binary">, import("zod").ZodLiteral<"deno">]>;
name: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
type: "npm" | "binary" | "deno";
name: string;
}, {
type: "npm" | "binary" | "deno";
name: string;
}>, "many">>;
accounts: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
environment: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
networks: import("zod").ZodArray<import("zod").ZodString, "many">;
sandboxes: import("zod").ZodArray<import("zod").ZodString, "many">;
storage: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
aliases: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>>;
}, "strip", import("zod").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;
}>, import("zod").ZodString]>>;
network: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
label: import("zod").ZodString;
rpcUrl: import("zod").ZodString;
accounts: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
publicKey: import("zod").ZodOptional<import("zod").ZodString>;
publicKeyHash: import("zod").ZodOptional<import("zod").ZodString>;
privateKey: import("zod").ZodOptional<import("zod").ZodString>;
mnemonic: import("zod").ZodOptional<import("zod").ZodString>;
}, "strip", import("zod").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: import("zod").ZodOptional<import("zod").ZodObject<{
pkh: import("zod").ZodString;
mnemonic: import("zod").ZodArray<import("zod").ZodString, "many">;
email: import("zod").ZodString;
password: import("zod").ZodString;
amount: import("zod").ZodString;
activation_code: import("zod").ZodString;
}, "strip", import("zod").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", import("zod").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: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
label: import("zod").ZodString;
rpcUrl: import("zod").ZodString;
protocol: import("zod").ZodOptional<import("zod").ZodString>;
plugin: import("zod").ZodOptional<import("zod").ZodString>;
blockTime: import("zod").ZodOptional<import("zod").ZodNumber>;
baking: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"enabled">, import("zod").ZodLiteral<"disabled">]>>;
accounts: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
encryptedKey: import("zod").ZodOptional<import("zod").ZodString>;
publicKeyHash: import("zod").ZodString;
secretKey: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
publicKeyHash: string;
secretKey: string;
encryptedKey?: string | undefined;
}, {
publicKeyHash: string;
secretKey: string;
encryptedKey?: string | undefined;
}>, import("zod").ZodString]>>>;
tzkt: import("zod").ZodOptional<import("zod").ZodObject<{
disableAutostartWithSandbox: import("zod").ZodOptional<import("zod").ZodBoolean>;
postgresqlPort: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
apiPort: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
}, "strip", import("zod").ZodTypeAny, {
disableAutostartWithSandbox?: boolean | undefined;
postgresqlPort?: number | undefined;
apiPort?: number | undefined;
}, {
disableAutostartWithSandbox?: boolean | undefined;
postgresqlPort?: number | undefined;
apiPort?: number | undefined;
}>>;
annotations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
}, "strip", import("zod").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: import("zod").ZodString;
configFile: import("zod").ZodString;
hash: import("zod").ZodString;
}, "strip", import("zod").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;
}>, LoadedConfigStrict, {
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;
}>;
};
export declare const rawSchema: import("zod").ZodObject<{
language: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"en">, import("zod").ZodLiteral<"fr">]>>>;
metadata: import("zod").ZodOptional<import("zod").ZodObject<{
name: import("zod").ZodOptional<import("zod").ZodString>;
projectDescription: import("zod").ZodOptional<import("zod").ZodString>;
authors: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
license: import("zod").ZodOptional<import("zod").ZodString>;
homepage: import("zod").ZodOptional<import("zod").ZodString>;
}, "strip", import("zod").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: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodString>>;
contractsDir: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodString>>;
contracts: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
sourceFile: import("zod").ZodString;
hash: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
sourceFile: string;
hash: string;
}, {
sourceFile: string;
hash: string;
}>>>;
plugins: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"npm">, import("zod").ZodLiteral<"binary">, import("zod").ZodLiteral<"deno">]>;
name: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
type: "npm" | "binary" | "deno";
name: string;
}, {
type: "npm" | "binary" | "deno";
name: string;
}>, "many">>;
accounts: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
environment: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
networks: import("zod").ZodArray<import("zod").ZodString, "many">;
sandboxes: import("zod").ZodArray<import("zod").ZodString, "many">;
storage: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
aliases: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>>;
}, "strip", import("zod").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;
}>, import("zod").ZodString]>>;
network: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
label: import("zod").ZodString;
rpcUrl: import("zod").ZodString;
accounts: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
publicKey: import("zod").ZodOptional<import("zod").ZodString>;
publicKeyHash: import("zod").ZodOptional<import("zod").ZodString>;
privateKey: import("zod").ZodOptional<import("zod").ZodString>;
mnemonic: import("zod").ZodOptional<import("zod").ZodString>;
}, "strip", import("zod").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: import("zod").ZodOptional<import("zod").ZodObject<{
pkh: import("zod").ZodString;
mnemonic: import("zod").ZodArray<import("zod").ZodString, "many">;
email: import("zod").ZodString;
password: import("zod").ZodString;
amount: import("zod").ZodString;
activation_code: import("zod").ZodString;
}, "strip", import("zod").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", import("zod").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: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
label: import("zod").ZodString;
rpcUrl: import("zod").ZodString;
protocol: import("zod").ZodOptional<import("zod").ZodString>;
plugin: import("zod").ZodOptional<import("zod").ZodString>;
blockTime: import("zod").ZodOptional<import("zod").ZodNumber>;
baking: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"enabled">, import("zod").ZodLiteral<"disabled">]>>;
accounts: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
encryptedKey: import("zod").ZodOptional<import("zod").ZodString>;
publicKeyHash: import("zod").ZodString;
secretKey: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
publicKeyHash: string;
secretKey: string;
encryptedKey?: string | undefined;
}, {
publicKeyHash: string;
secretKey: string;
encryptedKey?: string | undefined;
}>, import("zod").ZodString]>>>;
tzkt: import("zod").ZodOptional<import("zod").ZodObject<{
disableAutostartWithSandbox: import("zod").ZodOptional<import("zod").ZodBoolean>;
postgresqlPort: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
apiPort: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
}, "strip", import("zod").ZodTypeAny, {
disableAutostartWithSandbox?: boolean | undefined;
postgresqlPort?: number | undefined;
apiPort?: number | undefined;
}, {
disableAutostartWithSandbox?: boolean | undefined;
postgresqlPort?: number | undefined;
apiPort?: number | undefined;
}>>;
annotations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
}, "strip", import("zod").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: import("zod").ZodString;
configFile: import("zod").ZodString;
hash: import("zod").ZodString;
}, "strip", import("zod").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;
}>;
export declare const internalSchema: import("zod").ZodObject<{
language: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"en">, import("zod").ZodLiteral<"fr">]>>>;
metadata: import("zod").ZodOptional<import("zod").ZodObject<{
name: import("zod").ZodOptional<import("zod").ZodString>;
projectDescription: import("zod").ZodOptional<import("zod").ZodString>;
authors: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
license: import("zod").ZodOptional<import("zod").ZodString>;
homepage: import("zod").ZodOptional<import("zod").ZodString>;
}, "strip", import("zod").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: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodString>>;
contractsDir: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodString>>;
contracts: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
sourceFile: import("zod").ZodString;
hash: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
sourceFile: string;
hash: string;
}, {
sourceFile