Optional ReadonlyautoIf the value should be created automatically. Used in date creation.
Optional ReadonlychoicesPossible limiting choices of what the property can be.
Optional ReadonlydefaultA default value if one is never given.
Optional ReadonlydescriptionA short human readable description of the property for documentation.
Optional ReadonlyfetcherIf you are using ModelReferences, this is required. A fetcher used for getting model references. This configuration item is used within the AdvancedModelReferenceProperty and any other property that is lazy loading (atomically) models.
Optional ReadonlyisDetermines if this value needs to go through denormalization.
Optional ReadonlylazyA lazy loading method, which will only run when the value is actually retrieved. IMPORTANT: Do not include promises as part of this because they are not thread safe.
The current value
The models current data
Optional ReadonlylazyA thread safe (Atomic) version of lazyLoadMethod. Use this for all lazy loadings that requires Promises.
The current value
The models current data.
Optional ReadonlymaxThe maximum length of the value. (Drives validation)
Optional ReadonlymaxThe maximum size of the value. (Drives validation)
Optional ReadonlyminThe minimum length of the value. (Drives validation)
Optional ReadonlyminThe minimum size of the value. (Drives validation)
Optional ReadonlytypeA type override to override the property type of a property.
Optional ReadonlyvalidatorsAdditional validators for the property.
Optional ReadonlyvalueThe value of the property (if provided)
Optional ReadonlyvalueAn optional function that can select a "part" of the value to return.
Optional ReadonlyzodAn optional zod schema for this property. If provided, it will be used as an override for the generated schema.
Standard configuration options for properties.