UNPKG

@tmlmobilidade/types

Version:
28 lines (27 loc) 885 B
import { z } from 'zod'; export declare const DocumentSchema: z.ZodObject<{ _id: z.ZodString; created_at: z.ZodEffects<z.ZodNumber, import("./unix-timestamp.js").UnixTimestamp, number>; created_by: z.ZodOptional<z.ZodString>; is_locked: z.ZodDefault<z.ZodBoolean>; updated_at: z.ZodEffects<z.ZodNumber, import("./unix-timestamp.js").UnixTimestamp, number>; updated_by: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { _id: string; created_at: number & { __brand: "UnixTimestamp"; }; is_locked: boolean; updated_at: number & { __brand: "UnixTimestamp"; }; created_by?: string | undefined; updated_by?: string | undefined; }, { _id: string; created_at: number; updated_at: number; created_by?: string | undefined; is_locked?: boolean | undefined; updated_by?: string | undefined; }>;