import { StageSchema } from '../schemas/Stage'; import { TasklistId, TaskSortMethod, ScenarioFieldConfigId, StageId, ProjectId, UserId } from 'teambition-types'; export interface TasklistSchema { _id: TasklistId; _creatorId: UserId; _defaultScenariofieldconfigId: ScenarioFieldConfigId | null; _projectId: ProjectId; created: string; description: string; doneCount: number; expiredCount: number; isArchived: boolean; isStageLocked: boolean; hasStages: StageSchema[]; pos: number; recentCount: number; sortMethod: TaskSortMethod | ''; stageIds: StageId[]; title: string; totalCount: number; undoneCount: number; updated: string; icon?: string | null; }