Skip to main content

Type Alias: ChecklistBranchItem<I>

ChecklistBranchItem<I> = ChecklistCompletableItem<I, Branch> & object

Defined in: src/sdk/checklist/ChecklistState.ts:146

A checklist branch item.

Type Declaration

isBranchCompleted

readonly isBranchCompleted: readonly Subscribable<boolean>[]

Whether this item's linked branches have been completed. For each index i in the array, isBranchCompleted[i] provides the completion state of def.branch[i].

isOverridden

readonly isOverridden: Subscribable<boolean>

Whether this item's completion state has been overridden.

Type Parameters

Type ParameterDefault typeDescription
I extends BaseChecklistItemTypeDefMapBaseChecklistItemTypeDefMapA map from checklist item types to checklist item definitions. Defaults to BaseChecklistItemTypeDefMap.