import { IMFFile } from '@modelata/types-fire'; import firebase from 'firebase/compat/app'; import { RsGroupInterventionStatusEnum } from '../enums'; import { Article } from './article.interface'; import { Counts } from './counts.interface'; import { Hardware } from './hardware.interface'; import { Ticket } from './ticket.interface'; import { WorkStation } from './work-station.interface'; export interface GroupIntervention { ticket: Ticket; tools: string; siteKit: string; particularConstraints: string; securityInformation: string; specificMeans: string; hardware: { toInstall: Hardware[]; toRemove: Hardware[]; doa: Hardware[]; }; workStationToInstall?: WorkStation[]; inventory?: Article[]; form?: firebase.firestore.DocumentReference; status: RsGroupInterventionStatusEnum; failedReason?: string; count?: Counts; installedHardware?: firebase.firestore.DocumentReference[]; removedHardware?: firebase.firestore.DocumentReference[]; hardwareToInstall?: Hardware[]; erroredInstallation?: firebase.firestore.DocumentReference[]; files?: IMFFile[]; carboneJson?: string; axJson?: string; }