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 ReadonlyisIs the property an array of values?
Optional ReadonlyisIs the property only true or false?
Optional ReadonlyisDetermines if this value needs to go through denormalization.
Optional ReadonlyisCan the property only be an integer?
Optional ReadonlyisCan the property only be a number?
Optional ReadonlyisCan the property only be a string?
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 ReadonlyrequiredIs this property required?
Optional ReadonlytypeA type override to override the property type of a property.
Optional ReadonlyuniqueValidator: Checks to make sure that there is only one instance in a datastore that has this property's value. NOTE: The value is a property KEY. Not true or false.
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.
Additional configurations for ORM based properties.