Interface: TimestampProperty
Hierarchy​
BaseProperty
↳
TimestampProperty
Properties​
autoValue​
• Optional
autoValue: "on_create"
| "on_update"
If this flag is set to on_create
or on_update
this timestamp is
updated automatically on creation of the entity only or on every
update (including creation). Useful for creating created_on
or
updated_on
fields
Defined in​
columnWidth​
• Optional
columnWidth: number
Width in pixels of this column in the collection view. If not set the width is inferred based on the other configurations
Inherited from​
BaseProperty.columnWidth
Defined in​
config​
• Optional
config: FieldConfig
<Date
, any
>
Configure how this property field is displayed
Defined in​
dataType​
• dataType: "timestamp"
Overrides​
BaseProperty.dataType
Defined in​
description​
• Optional
description: string
Property description, always displayed under the field
Inherited from​
BaseProperty.description
Defined in​
disabled​
• Optional
disabled: boolean
| PropertyDisabledConfig
Is this field disabled. When set to true, it gets rendered as a disabled field. You can also specify a configuration for defining the behaviour of disabled properties
Inherited from​
BaseProperty.disabled
Defined in​
longDescription​
• Optional
longDescription: string
Longer description of a field, displayed under a popover
Inherited from​
BaseProperty.longDescription
Defined in​
readOnly​
• Optional
readOnly: boolean
Is this a read only property. When set to true, it gets rendered as a preview.
Inherited from​
BaseProperty.readOnly
Defined in​
title​
• Optional
title: string
Property title (e.g. Product)
Inherited from​
BaseProperty.title
Defined in​
validation​
• Optional
validation: TimestampPropertyValidationSchema
Rules for validating this property
Overrides​
BaseProperty.validation