Skip to content

TemplateSelectPropertyBuilder

Defined in: builder/template.ts:34

readonly isArchived: boolean

Defined in: builder/property.ts:4

SelectPropertyBuilder.isArchived


readonly key: string

Defined in: builder/property.ts:5

SelectPropertyBuilder.key


readonly label: string

Defined in: builder/property.ts:6

SelectPropertyBuilder.label


readonly options: SelectOptionDefinition[]

Defined in: builder/property.ts:27

SelectPropertyBuilder.options


readonly prn: string

Defined in: builder/index.ts:32

BaseBuilder.prn


readonly type: PropertyDefinitionType

Defined in: builder/property.ts:7

SelectPropertyBuilder.type

addOption(key, input): this

Defined in: builder/property.ts:28

string

AddOptionInput

this

SelectPropertyBuilder.addOption


archive(): this

Defined in: builder/property.ts:9

this

SelectPropertyBuilder.archive


index(): this

Defined in: builder/template.ts:21

Flags that this property should be indexed. Indexed properties can be used as where filters in selectors. They can also be used for sorting. Not all property types can be indexed; and there are a limits on the number of indexes available:

this

https://www.notion.so/pynhq/Index-Limits-490d3de6d0aa4a92beb44db7df84f121?pvs=4

TemplatePropertyBase.index


setDescription(description): this

Defined in: builder/index.ts:33

string

this

BaseBuilder.setDescription


setLabel(label): this

Defined in: builder/property.ts:10

string

this

SelectPropertyBuilder.setLabel


toDefinition(): PropertyDefinition

Defined in: builder/property.ts:16

Returns the definition object for this transition.

PropertyDefinition

SelectPropertyBuilder.toDefinition


unarchive(): this

Defined in: builder/property.ts:11

this

SelectPropertyBuilder.unarchive


unique(): this

Defined in: builder/template.ts:29

Unique functions as both an index, but also enforces the contraint that this property must have unique values for the template specified (within the same workspace, naturally).

this

https://www.notion.so/pynhq/Unique-Index-Limits-e763fdea7d5a4c25b824967b3c6bb390?pvs=4

TemplatePropertyBase.unique