@taqueria/protocol
Version:
A TypeScript package which contains types that are to be shared between @taqueria/node-sdk and @taqueria/taqueria.
41 lines • 2.14 kB
TypeScript
import { z } from 'zod';
export declare const rawSchema: z.ZodString;
export declare const generatedSchemas: {
rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
schema: z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
readonly __type: "generated" & z.infer<z.ZodType<any, z.ZodTypeDef, any>>;
}, any>;
}, factory: {
make: (input: string) => import("fluture").FutureInstance<import("./TaqError").TaqError, string & {
readonly __type: "generated" & z.infer<z.ZodType<any, z.ZodTypeDef, any>>;
}>;
of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, string & {
readonly __type: "generated" & z.infer<z.ZodType<any, z.ZodTypeDef, any>>;
}>;
create: (input: string) => string & {
readonly __type: "generated" & z.infer<z.ZodType<any, z.ZodTypeDef, any>>;
};
from: (input: unknown) => string & {
readonly __type: "generated" & z.infer<z.ZodType<any, z.ZodTypeDef, any>>;
};
};
export type SanitizedAbsPath = z.infer<typeof generatedSchemas.schema>;
export type t = SanitizedAbsPath;
export declare const create: (input: string) => string & {
readonly __type: "generated" & z.infer<z.ZodType<any, z.ZodTypeDef, any>>;
}, make: (input: string) => import("fluture").FutureInstance<import("./TaqError").TaqError, string & {
readonly __type: "generated" & z.infer<z.ZodType<any, z.ZodTypeDef, any>>;
}>, of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, string & {
readonly __type: "generated" & z.infer<z.ZodType<any, z.ZodTypeDef, any>>;
}>;
export declare const schemas: {
schema: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
readonly __type: "generated" & z.infer<z.ZodType<any, z.ZodTypeDef, any>>;
}, any>, string & {
readonly __type: "generated" & z.infer<z.ZodType<any, z.ZodTypeDef, any>>;
}, any>;
rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
};
//# sourceMappingURL=SanitizedAbsPath.d.ts.map