@taqueria/protocol
Version:
A TypeScript package which contains types that are to be shared between @taqueria/node-sdk and @taqueria/taqueria.
315 lines • 14.4 kB
TypeScript
import { TaqError } from '@taqueria/protocol/TaqError';
import { FutureInstance } from 'fluture';
import { SandboxConfig } from '@taqueria/protocol/types';
import { SandboxConfig as SandboxConfigStrict } from '@taqueria/protocol/out/types-strict';
export type { SandboxConfigStrict as SandboxConfig };
export declare const from: (input: unknown) => SandboxConfigStrict;
export declare const create: (input: SandboxConfig) => SandboxConfigStrict;
export declare const of: (input: unknown) => FutureInstance<TaqError, SandboxConfigStrict>;
export declare const make: (input: Omit<SandboxConfigStrict, "__type">) => FutureInstance<TaqError, SandboxConfigStrict>;
export declare const schemas: {
rawSchema: 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;
}>;
schema: import("zod").ZodEffects<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;
}>, SandboxConfigStrict, {
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;
}>;
};
export declare const rawSchema: 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;
}>;
export declare const internalSchema: 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;
}>;
export type t = SandboxConfigStrict;
//# sourceMappingURL=SandboxConfig.d.ts.map