array() | <El>(schema, params?) => ZodArray<El> | schemaArray | src/data/types.ts:36 |
boolean() | (params?) => ZodBoolean | schemaBoolean | src/data/types.ts:35 |
date() | (params?) => ZodDate | schemaDate | src/data/types.ts:34 |
enum() | {<U, T>(values, params?): ZodEnum<Writeable<T>>; <U, T>(values, params?): ZodEnum<T>; } | schemaEnum | src/data/types.ts:38 |
number() | (params?) => ZodNumber | schemaNumber | src/data/types.ts:33 |
object() | <Shape>(shape, params?) => ZodObject<Shape, "strip", ZodTypeAny, { [k in string | number | symbol]: addQuestionMarks<baseObjectOutputType<Shape>, any>[k] }, { [k in string | number | symbol]: baseObjectInputType<Shape>[k] }> | schemaObject | src/data/types.ts:37 |
string() | (params?) => ZodString | schemaString | src/data/types.ts:32 |
union() | <Options>(types, params?) => ZodUnion<Options> | - | src/data/types.ts:53 |
embedding() | () => ZodArray<ZodNumber> | - | src/data/types.ts:39 |
infer() | (_schema) => InferDocumentType<T> | - | src/data/types.ts:54 |
objectId() | () => ZodType<ObjectId> | - | src/data/types.ts:42 |
ref() | (_collection) => ZodType<ObjectId> | - | src/data/types.ts:48 |
userId() | () => ZodType<ObjectId> | - | src/data/types.ts:45 |