UNPKG

@coursebuilder/core

Version:

Core package for Course Builder

25 lines (22 loc) 659 B
import { z } from 'zod'; declare const OrganizationSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodNullable<z.ZodString>; fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>; image: z.ZodNullable<z.ZodString>; createdAt: z.ZodDate; }, "strip", z.ZodTypeAny, { name: string | null; id: string; createdAt: Date; fields: Record<string, any>; image: string | null; }, { name: string | null; id: string; createdAt: Date; image: string | null; fields?: Record<string, any> | undefined; }>; type Organization = z.infer<typeof OrganizationSchema>; export { type Organization, OrganizationSchema };