Skip to main content
Version: 2.0.0-beta

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 Record<string, any> ? MapProperty<T> : AnyProperty

Type parameters

NameType
Textends CMSType = CMSType

Defined in

lib/src/types/properties.ts:63

Enterprise?

Learn how to get the most out of your project with the help of our consulting team.
Get in touch
Sign up to our newsletter to get the latest news and updates. No spam!