Skip to content

Enumeration: ParameterType

Enumeration of types of formula parameters. These describe Coda value types (as opposed to JavaScript value types).

Enumeration members

Boolean

Boolean = "boolean"

Indicates a parameter that is a Coda boolean value.

Defined in

api_types.ts:119


BooleanArray

BooleanArray = "booleanArray"

Indicates a parameter that is a list of Coda boolean values.

Defined in

api_types.ts:144


Date

Date = "date"

Indicates a parameter that is a Coda date value (which includes time and datetime values).

Defined in

api_types.ts:123


DateArray

DateArray = "dateArray"

Indicates a parameter that is a list of Coda date values (which includes time and datetime values).

Currently, when such a parameter is used with a sync table formula or an action formula (isAction), which will generate a builder UI for selecting parameters, a date array parameter will always render as a date range selector. A date range will always be passed to a pack formula as a list of two elements, the beginning of the range and the end of the range.

Defined in

api_types.ts:153


Html

Html = "html"

Indicates a parameter that is a Coda rich text value that should be passed to the pack as HTML.

Defined in

api_types.ts:127


HtmlArray

HtmlArray = "htmlArray"`

Indicates a parameter that is a list of Coda rich text values that should be passed to the pack as HTML.

Defined in

api_types.ts:157


Image

Image = "image"

Indicates a parameter that is a Coda image. The pack is passed an image URL.

Defined in

api_types.ts:131


ImageArray

ImageArray = "imageArray"

Indicates a parameter that is a list of Coda image values. The pack is passed a list of image URLs.

Defined in

api_types.ts:161


Number

Number = "number"

Indicates a parameter that is a Coda number value.

Defined in

api_types.ts:115


NumberArray

NumberArray = "numberArray"

Indicates a parameter that is a list of Coda number values.

Defined in

api_types.ts:140


String

String = "string"

Indicates a parameter that is a Coda text value.

Defined in

api_types.ts:111


StringArray

StringArray = "stringArray"

Indicates a parameter that is a list of Coda text values.

Defined in

api_types.ts:136