Skip to content

Interface: NumericDateSchema

A schema representing a return value or object property that is provided as a number, which Coda should interpret as a date. The given number should be in seconds since the Unix epoch.

Hierarchy

  • BaseNumberSchema<Date>

NumericDateSchema

Properties

codaType

codaType: Date

Instructs Coda to render this value as a date.

Overrides

BaseNumberSchema.codaType

Defined in

schema.ts:243


description

Optional description: string

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

Defined in

schema.ts:194


format

Optional format: string

A Moment date format string, such as 'MMM D, YYYY', that corresponds to a supported Coda date column format, used when rendering the value.

Only applies when this is used as a sync table property.

Defined in

schema.ts:250


type

type: Number

Identifies this schema as relating to a number value.

Inherited from

BaseNumberSchema.type

Defined in

schema.ts:219