Skip to main content
Version: 2.0.0-alpha

Type alias: Property<T>

Ƭ Property<T>: T extends string ? StringProperty : T extends number ? NumberProperty : T extends boolean ? BooleanProperty : T extends Date ? DateProperty : T extends GeoPoint ? GeopointProperty : T extends EntityReference ? ReferenceProperty : T extends CMSType[] ? ArrayProperty<T> : T extends { [Key: string]: any; } ? MapProperty<T> : AnyProperty

Type parameters

NameType
Textends CMSType = CMSType

Defined in

lib/src/models/properties.ts:39