UNPKG

teambition-sdk-socket

Version:
38 lines (37 loc) 1.02 kB
import { Schema, ISchema } from './schema'; import { StageData } from '../schemas/Stage'; import { TasklistId, StageId, ProjectId, UserId } from '../teambition'; export interface TasklistData extends ISchema { _id: TasklistId; title: string; _projectId: ProjectId; _creatorId: UserId; description: string; isArchived: boolean; created: string; updated: string; stageIds: StageId[]; doneCount: number; undoneCount: number; expiredCount: number; recentCount: number; totalCount: number; hasStages: StageData[]; } export default class Tasklist extends Schema<TasklistData> implements TasklistData { _id: TasklistId; title: string; _projectId: ProjectId; _creatorId: UserId; description: string; isArchived: boolean; created: string; updated: string; stageIds: StageId[]; doneCount: number; undoneCount: number; expiredCount: number; recentCount: number; totalCount: number; hasStages: StageData[]; }