import type { CuiNullable } from '@cuby-ui/cdk'; export interface NodeCheckListEvaluationCriteria { readonly id: string; readonly criteria: string; readonly evaluation: number; } export interface NodeCheckListItemContentAction { readonly id: string; readonly isRequired: boolean; readonly isEnable: boolean; readonly contentActionType: string; } export interface NodeCheckListEvaluationItemContent { readonly acceptanceCriteriaEvaluations: NodeCheckListEvaluationCriteria[]; readonly id: string; readonly actions: NodeCheckListItemContentAction[]; readonly contentType: string; readonly actionType: string; } export interface NodeCheckListActionItemContent { readonly id: string; readonly title: string; readonly considerCorrect: boolean; readonly actions: NodeCheckListItemContentAction[]; readonly actionType: string; } export interface NodeCheckListItemContent { readonly actionsAssignee: CuiNullable; readonly actionsApprove: CuiNullable; } export interface NodeCheckListItem { readonly id: string; readonly title: string; readonly textContainerId: CuiNullable; readonly content: NodeCheckListItemContent; } export interface NodeChecklist { readonly id: string; readonly title: CuiNullable; readonly textContainerId: CuiNullable; readonly content: { readonly treeStructId: string; readonly type: string; }; } export type NodeCheckListItemContentType = NodeCheckListActionItemContent | NodeCheckListEvaluationItemContent;