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¶
BooleanArray¶
• BooleanArray = "booleanArray"
Indicates a parameter that is a list of Coda boolean values.
Defined in¶
Date¶
• Date = "date"
Indicates a parameter that is a Coda date value (which includes time and datetime values).
Defined in¶
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¶
File¶
• File = "file"
Indicates a parameter that is a Coda file. The pack is passed a file URL.
Defined in¶
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¶
Html¶
• Html = "html"
Indicates a parameter that is a Coda rich text value that should be passed to the pack as HTML.
Defined in¶
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¶
Image¶
• Image = "image"
Indicates a parameter that is a Coda image. The pack is passed an image URL.
Defined in¶
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¶
Markdown¶
• Markdown = "markdown"
Indicates a parameter that is a Coda rich text value that should be passed to the pack as Markdown.
Defined in¶
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¶
Number¶
• Number = "number"
Indicates a parameter that is a Coda number value.
Defined in¶
NumberArray¶
• NumberArray = "numberArray"
Indicates a parameter that is a list of Coda number values.
Defined in¶
SparseBooleanArray¶
• SparseBooleanArray = "sparseBooleanArray"
BooleanArray that accepts unparsable values as undefined
.
Defined in¶
SparseDateArray¶
• SparseDateArray = "sparseDateArray"
DateArray that accepts unparsable values as undefined
.
Defined in¶
SparseFileArray¶
• SparseFileArray = "sparseFileArray"
FileArray that accepts unparsable values as undefined
.
Defined in¶
SparseHtmlArray¶
• SparseHtmlArray = "sparseHtmlArray"
HtmlArray that accepts unparsable values as undefined
.
Defined in¶
SparseImageArray¶
• SparseImageArray = "sparseImageArray"
ImageArray that accepts unparsable values as undefined
.
Defined in¶
SparseMarkdownArray¶
• SparseMarkdownArray = "sparseMarkdownArray"
MarkdownArray that accepts unparsable values as undefined
.
Defined in¶
SparseNumberArray¶
• SparseNumberArray = "sparseNumberArray"
NumberArray that accepts unparsable values as undefined
.
Defined in¶
SparseStringArray¶
• SparseStringArray = "sparseStringArray"
StringArray that accepts unparsable values as undefined
.
Defined in¶
String¶
• String = "string"
Indicates a parameter that is a Coda text value.
Defined in¶
StringArray¶
• StringArray = "stringArray"
Indicates a parameter that is a list of Coda text values.