Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions backend/dist/src/modules/checklist/core/model/CheckList.d.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
import Entity from '../../../shared/core/model/Entity';
import IdEntity from '../../../shared/core/objects/IdEntity';
import Text from '../../../shared/core/objects/Text';
import Decimal from '../../../shared/core/objects/Decimal';
import type CheckListParams from '../interfaces/CheckListParams';
import ChecklistItem from '../objects/ChecklistItem';
import IdCheckList from '../objects/IdCheckList';
import PercentageCompleted from '../objects/PercentageCompleted';
import CheckListName from '../objects/CheckListName';
export default class CheckList extends Entity {
private name;
private items;
private completedPercentage;
private constructor();
static create(id: IdCheckList, owner: IdEntity, name: Text, actor: IdEntity, key: string, items?: ChecklistItem[]): CheckList;
static create(id: IdCheckList, owner: IdEntity, name: CheckListName, actor: IdEntity, key: string, items?: ChecklistItem[]): CheckList;
static fromPrimitives(params: CheckListParams): CheckList;
getName(): Text;
getName(): CheckListName;
getItems(): ChecklistItem[];
getCompletedPercentage(): Decimal;
getCompletedPercentage(): PercentageCompleted;
private getOwnerId;
updateName(name: Text, actor: IdEntity, key: string): void;
updateName(name: CheckListName, actor: IdEntity, key: string): void;
addChecklistItem(title: Text, actor: IdEntity, key: string): void;
deleteChecklistItem(itemId: string, actor: IdEntity, key: string): void;
completeChecklistItem(itemId: string, actor: IdEntity, key: string): void;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 8 additions & 7 deletions backend/dist/src/modules/checklist/core/model/CheckList.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading