teambition-sdk-socket
Version: 
Front-End SDK for Teambition
38 lines (37 loc) • 1.02 kB
TypeScript
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[];
}