UNPKG

@coursebuilder/core

Version:

Core package for Course Builder

28 lines (25 loc) 794 B
import { z } from 'zod'; declare const merchantProductSchema: z.ZodObject<{ id: z.ZodString; merchantAccountId: z.ZodString; productId: z.ZodString; status: z.ZodDefault<z.ZodNumber>; identifier: z.ZodNullable<z.ZodOptional<z.ZodString>>; createdAt: z.ZodNullable<z.ZodDate>; }, "strip", z.ZodTypeAny, { id: string; status: number; createdAt: Date | null; productId: string; merchantAccountId: string; identifier?: string | null | undefined; }, { id: string; createdAt: Date | null; productId: string; merchantAccountId: string; status?: number | undefined; identifier?: string | null | undefined; }>; type MerchantProduct = z.infer<typeof merchantProductSchema>; export { type MerchantProduct, merchantProductSchema };