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


BooleanArray

BooleanArray = "booleanArray"

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

Defined in

api_types.ts:186


Date

Date = "date"

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

Defined in

api_types.ts:149


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


File

File = "file"

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

Defined in

api_types.ts:161


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


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


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


Image

Image = "image"

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

Defined in

api_types.ts:157


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


Markdown

Markdown = "markdown"

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

Defined in

api_types.ts:165


MarkdownArray

MarkdownArray = "markdownArray`"

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

Defined in

api_types.ts:231


Number

Number = "number"

Indicates a parameter that is a Coda number value.

Defined in

api_types.ts:141


NumberArray

NumberArray = "numberArray"

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

Defined in

api_types.ts:178


SparseBooleanArray

SparseBooleanArray = "sparseBooleanArray"

BooleanArray that accepts unparsable values as undefined.

Defined in

api_types.ts:190


SparseDateArray

SparseDateArray = "sparseDateArray"

DateArray that accepts unparsable values as undefined.

Defined in

api_types.ts:203


SparseFileArray

SparseFileArray = "sparseFileArray"

FileArray that accepts unparsable values as undefined.

Defined in

api_types.ts:227


SparseHtmlArray

SparseHtmlArray = "sparseHtmlArray"

HtmlArray that accepts unparsable values as undefined.

Defined in

api_types.ts:211


SparseImageArray

SparseImageArray = "sparseImageArray"

ImageArray that accepts unparsable values as undefined.

Defined in

api_types.ts:219


SparseMarkdownArray

SparseMarkdownArray = "sparseMarkdownArray"

MarkdownArray that accepts unparsable values as undefined.

Defined in

api_types.ts:235


SparseNumberArray

SparseNumberArray = "sparseNumberArray"

NumberArray that accepts unparsable values as undefined.

Defined in

api_types.ts:182


SparseStringArray

SparseStringArray = "sparseStringArray"

StringArray that accepts unparsable values as undefined.

Defined in

api_types.ts:174


String

String = "string"

Indicates a parameter that is a Coda text value.

Defined in

api_types.ts:137


StringArray

StringArray = "stringArray"

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

Defined in

api_types.ts:170