Interface: ChecklistBranchDef<I, B>
Defined in: src/sdk/checklist/ChecklistDefinitions.ts:67
A definition for a checklist branch.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
I extends BaseChecklistItemTypeDefMap | BaseChecklistItemTypeDefMap | A map from checklist item types to checklist item definitions used by the checklist branch. Defaults to BaseChecklistItemTypeDefMap. |
B | unknown | The metadata attached to the branch. |
Properties
items
readonlyitems: readonly (I[Actionable] |I[Branch] |I[Note] |I[Title] |I[Link] |I[Spacer])[]
Defined in: src/sdk/checklist/ChecklistDefinitions.ts:75
Definitions for the branch's items.
metadata
readonlymetadata:B
Defined in: src/sdk/checklist/ChecklistDefinitions.ts:78
Metadata for the branch.
name
readonlyname:string
Defined in: src/sdk/checklist/ChecklistDefinitions.ts:72
The name of the branch.
uid
readonlyuid:string
Defined in: src/sdk/checklist/ChecklistDefinitions.ts:69
The unique ID of the branch.