Interface: ChecklistListDef<I, L, B>
Defined in: src/sdk/checklist/ChecklistDefinitions.ts:44
A definition for a single checklist.
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. Defaults to BaseChecklistItemTypeDefMap. |
L | unknown | The metadata attached to the checklist. |
B | unknown | The metadata attached to the checklist branches contained in the definition. |
Properties
branches
readonlybranches: readonlyChecklistBranchDef<I,B>[]
Defined in: src/sdk/checklist/ChecklistDefinitions.ts:55
Definitions for the checklist branches that belong to the list.
items
readonlyitems: readonly (I[Actionable] |I[Branch] |I[Note] |I[Title] |I[Link] |I[Spacer])[]
Defined in: src/sdk/checklist/ChecklistDefinitions.ts:52
Definitions for the checklist's items.
metadata
readonlymetadata:L
Defined in: src/sdk/checklist/ChecklistDefinitions.ts:58
Metadata for the checklist.
name
readonlyname:string
Defined in: src/sdk/checklist/ChecklistDefinitions.ts:49
The name of the checklist.
uid?
readonlyoptionaluid:string
Defined in: src/sdk/checklist/ChecklistDefinitions.ts:46
The unique ID of the checklist.