@medusajs/medusa
Version:
Building blocks for digital commerce
55 lines • 1.6 kB
TypeScript
import { z } from "zod";
export declare const AdminGetCurrencyParams: z.ZodObject<{
fields: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
fields?: string | undefined;
}, {
fields?: string | undefined;
}>;
export declare const AdminGetCurrenciesParamsFields: z.ZodObject<{
q: z.ZodOptional<z.ZodString>;
code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
}, "strip", z.ZodTypeAny, {
q?: string | undefined;
code?: string | string[] | undefined;
}, {
q?: string | undefined;
code?: string | string[] | undefined;
}>;
export type AdminGetCurrenciesParamsType = z.infer<typeof AdminGetCurrenciesParams>;
export declare const AdminGetCurrenciesParams: z.ZodObject<{
[x: string]: any;
[x: number]: any;
[x: symbol]: any;
$and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
[x: string]: any;
}, {
[x: string]: any;
}>, "many">>>;
$or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
[x: string]: any;
}, {
[x: string]: any;
}>, "many">>>;
}, "strip", z.ZodTypeAny, {
[x: string]: any;
[x: number]: any;
[x: symbol]: any;
$and?: {
[x: string]: any;
}[] | undefined;
$or?: {
[x: string]: any;
}[] | undefined;
}, {
[x: string]: any;
[x: number]: any;
[x: symbol]: any;
$and?: {
[x: string]: any;
}[] | undefined;
$or?: {
[x: string]: any;
}[] | undefined;
}>;
//# sourceMappingURL=validators.d.ts.map