Skip to content

Enumeration: ParameterType

core.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:139


BooleanArray

BooleanArray = "booleanArray"

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

Defined in

api_types.ts:176


Date

Date = "date"

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

Defined in

api_types.ts:143


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:189


File

File = "file"

Indicates a parameter that is a Coda file. The pack is passed a file URL.

Defined in

api_types.ts:155


FileArray

FileArray = "fileArray"

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

Defined in

api_types.ts:213


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:147


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:197


Image

Image = "image"

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

Defined in

api_types.ts:151


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:205


Number

Number = "number"

Indicates a parameter that is a Coda number value.

Defined in

api_types.ts:135


NumberArray

NumberArray = "numberArray"

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

Defined in

api_types.ts:168


SparseBooleanArray

SparseBooleanArray = "sparseBooleanArray"

BooleanArray that accepts unparsable values as undefined.

Defined in

api_types.ts:180


SparseDateArray

SparseDateArray = "sparseDateArray"

DateArray that accepts unparsable values as undefined.

Defined in

api_types.ts:193


SparseFileArray

SparseFileArray = "sparseFileArray"

FileArray that accepts unparsable values as undefined.

Defined in

api_types.ts:217


SparseHtmlArray

SparseHtmlArray = "sparseHtmlArray"

HtmlArray that accepts unparsable values as undefined.

Defined in

api_types.ts:201


SparseImageArray

SparseImageArray = "sparseImageArray"

ImageArray that accepts unparsable values as undefined.

Defined in

api_types.ts:209


SparseNumberArray

SparseNumberArray = "sparseNumberArray"

NumberArray that accepts unparsable values as undefined.

Defined in

api_types.ts:172


SparseStringArray

SparseStringArray = "sparseStringArray"

StringArray that accepts unparsable values as undefined.

Defined in

api_types.ts:164


String

String = "string"

Indicates a parameter that is a Coda text value.

Defined in

api_types.ts:131


StringArray

StringArray = "stringArray"

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

Defined in

api_types.ts:160