Interface: NumericDateTimeSchema¶
Defined in: schema.ts:369
A schema representing a return value or object property that is provided as a number, which Coda should interpret as a datetime. The given number should be in seconds since the Unix epoch.
Extends¶
BaseNumberSchema<DateTime>
Properties¶
codaType¶
codaType:
DateTime
Defined in: schema.ts:371
Instructs Coda to render this value as a datetime.
Overrides¶
BaseNumberSchema.codaType
dateFormat?¶
optionaldateFormat:string
Defined in: schema.ts:377
A Moment date format string, such as 'MMM D, YYYY', that corresponds to a supported Coda date column format.
Only applies when this is used as a sync table property.
description?¶
optionaldescription:string
Defined in: schema.ts:285
A explanation of this object schema property shown to the user in the UI.
If your pack has an object schema with many properties, it may be useful to explain the purpose or contents of any property that is not self-evident.
Inherited from¶
BaseNumberSchema.description
timeFormat?¶
optionaltimeFormat:string
Defined in: schema.ts:384
A Moment time format string, such as 'HHss', that corresponds to a supported Coda time column format,
used when rendering the value.
Only applies when this is used as a sync table property.
type¶
type:
Number
Defined in: schema.ts:314
Identifies this schema as relating to a number value.
Inherited from¶
BaseNumberSchema.type