import firebase from 'firebase/compat/app'; import { IRouxFile } from '../interfaces/roux-file.interface'; import { Article } from './article.interface'; import { Hardware } from './hardware.interface'; import { Package } from './package.interface'; export interface Answer { answer?: string | number; fileAnswer?: IRouxFile; thumbnail?: IRouxFile; booleanAnswer?: boolean; choicesAnswer?: string[]; hardWareIdentificationAnswer?: Hardware[]; packageIdentificationAnswer?: Package[]; inventoryAnswer?: Article[]; installation?: firebase.firestore.DocumentReference; question?: firebase.firestore.DocumentReference; step?: firebase.firestore.DocumentReference; iterationId?: string; hardwaresCodes?: { [hardwareSerialNumber: string]: string[]; }; base64File?: string; base64FileName?: string; /** shaSum of the base64 of the reference file */ base64FileSha?: string; }