import { ExecutorOrCreator, TaskId, SubtaskId, UserId, ProjectId } from 'teambition-types'; export interface SubtaskSchema { _id: SubtaskId; _projectId: ProjectId; _creatorId: UserId; created: string; content: string; isDone: boolean; _executorId: UserId; _taskId: TaskId; dueDate: string; order: number; executor: ExecutorOrCreator; updated: string; type: 'subtask'; project: { _id: ProjectId; name: string; }; task: { _id: TaskId; content: string; }; }