Enumeration: ParameterType¶
Defined in: api_types.ts:138
Enumeration of types of formula parameters. These describe Coda value types (as opposed to JavaScript value types).
Enumeration Members¶
Boolean¶
Boolean:
"boolean"
Defined in: api_types.ts:150
Indicates a parameter that is a Coda boolean value.
BooleanArray¶
BooleanArray:
"booleanArray"
Defined in: api_types.ts:195
Indicates a parameter that is a list of Coda boolean values.
Date¶
Date:
"date"
Defined in: api_types.ts:154
Indicates a parameter that is a Coda date value (which includes time and datetime values).
DateArray¶
DateArray:
"dateArray"
Defined in: api_types.ts:216
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 (BaseFormulaDef.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.
Email¶
Email:
"email"
Defined in: api_types.ts:174
Indicates a parameter that is a Coda email value.
EmailArray¶
EmailArray:
"emailArray"
Defined in: api_types.ts:203
Indicates a parameter that is a list of Coda email values.
File¶
File:
"file"
Defined in: api_types.ts:166
Indicates a parameter that is a Coda file. The pack is passed a file URL.
FileArray¶
FileArray:
"fileArray"
Defined in: api_types.ts:240
Indicates a parameter that is a list of Coda file values. The pack is passed a list of file URLs.
Html¶
Html:
"html"
Defined in: api_types.ts:158
Indicates a parameter that is a Coda rich text value that should be passed to the pack as HTML.
HtmlArray¶
HtmlArray:
"htmlArray`"
Defined in: api_types.ts:224
Indicates a parameter that is a list of Coda rich text values that should be passed to the pack as HTML.
Image¶
Image:
"image"
Defined in: api_types.ts:162
Indicates a parameter that is a Coda image. The pack is passed an image URL.
ImageArray¶
ImageArray:
"imageArray"
Defined in: api_types.ts:232
Indicates a parameter that is a list of Coda image values. The pack is passed a list of image URLs.
Markdown¶
Markdown:
"markdown"
Defined in: api_types.ts:170
Indicates a parameter that is a Coda rich text value that should be passed to the pack as Markdown.
MarkdownArray¶
MarkdownArray:
"markdownArray`"
Defined in: api_types.ts:248
Indicates a parameter that is a list of Coda rich text values that should be passed to the pack as Markdown.
Number¶
Number:
"number"
Defined in: api_types.ts:146
Indicates a parameter that is a Coda number value.
NumberArray¶
NumberArray:
"numberArray"
Defined in: api_types.ts:187
Indicates a parameter that is a list of Coda number values.
SparseBooleanArray¶
SparseBooleanArray:
"sparseBooleanArray"
Defined in: api_types.ts:199
BooleanArray that accepts unparsable values as undefined.
SparseDateArray¶
SparseDateArray:
"sparseDateArray"
Defined in: api_types.ts:220
DateArray that accepts unparsable values as undefined.
SparseEmailArray¶
SparseEmailArray:
"sparseEmailArray"
Defined in: api_types.ts:207
EmailArray that accepts unparsable values as undefined.
SparseFileArray¶
SparseFileArray:
"sparseFileArray"
Defined in: api_types.ts:244
FileArray that accepts unparsable values as undefined.
SparseHtmlArray¶
SparseHtmlArray:
"sparseHtmlArray"
Defined in: api_types.ts:228
HtmlArray that accepts unparsable values as undefined.
SparseImageArray¶
SparseImageArray:
"sparseImageArray"
Defined in: api_types.ts:236
ImageArray that accepts unparsable values as undefined.
SparseMarkdownArray¶
SparseMarkdownArray:
"sparseMarkdownArray"
Defined in: api_types.ts:252
MarkdownArray that accepts unparsable values as undefined.
SparseNumberArray¶
SparseNumberArray:
"sparseNumberArray"
Defined in: api_types.ts:191
NumberArray that accepts unparsable values as undefined.
SparseStringArray¶
SparseStringArray:
"sparseStringArray"
Defined in: api_types.ts:183
StringArray that accepts unparsable values as undefined.
String¶
String:
"string"
Defined in: api_types.ts:142
Indicates a parameter that is a Coda text value.
StringArray¶
StringArray:
"stringArray"
Defined in: api_types.ts:179
Indicates a parameter that is a list of Coda text values.