Interface PrimitiveTypeMap

Maps schema type strings to their corresponding TypeScript types.

Used by InferFieldDef to resolve primitive field types at the type level.

Schema type TypeScript type
"string" string
"number" number
"boolean" boolean
"date" Date
interface PrimitiveTypeMap {
    boolean: boolean;
    date: Date;
    number: number;
    string: string;
}

Properties

boolean: boolean
date: Date
number: number
string: string