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