import { AssignmentLinkId, ProjectId, AssignmentType, UserId, UserSnippet } from 'teambition-types'; import { ProjectSchema } from './Project'; export interface AssignmentLinkSchema { _id: AssignmentLinkId; _projectId: ProjectId; _assignedProjectId: string; _executorId: UserId | null; _creatorId: UserId; created: string; updated: string; name: string; assignmentType: AssignmentType; project: Pick; executor: UserSnippet | null; assignedProject: { logo: string; _id: string; name: string; } | null; }