import { MultiSelectOption } from './options.type'; import { ProjectModule } from './projectModuleService.type'; import { ShortProjectSubModule } from './projectSubModuleService.type'; export type ProjectProcess = { _id: string; name: string; processPosition: string; reviewLeader: boolean; active: boolean; default: boolean; team: Team[]; dependencies: ProjectModule[] | ShortProjectSubModule[]; parentOf: ProjectModule[] | ShortProjectSubModule[]; totalTasks: number; createdAt: string | Date; updatedAt: string | Date; }; export type Team = { _id: string; initial: string; }; type ProcessPosition = 'Sebelum Deployment' | 'Another Position'; export type TeamMember = { _id: string; initial: string; }; export type Dependency = { _id: string; name: string; }; type ParentOf = { _id: string; name: string; }; export type Process = { _id: string; name: string; processPosition: ProcessPosition; reviewLeader: boolean; nonactivable: boolean; active: boolean; default: boolean; team: TeamMember[]; dependencies: Dependency[]; parentOf: ParentOf[]; task: number; createdAt: string; updatedAt: string; }; export interface GetProcessOptionsResponse { nameOptions: MultiSelectOption[]; dependencyOptions: MultiSelectOption[]; teamOptions: MultiSelectOption[]; } export {};