import firebase from 'firebase/compat/app'; import { RsFormInstallationStepSectionTypeEnum, RsHardwareAction, RsParcelActionEnum, } from '../enums'; export interface RsSectionData { type: RsFormInstallationStepSectionTypeEnum; label: string; mandatory: boolean; order: number; carboneId: string; isCustomId: boolean; // Text textMinLength?: number; textMaxLength?: number; // Numeric numericMinValue?: number; numericMaxValue?: number; aggregation?: firebase.firestore.DocumentReference; // Mail mailRecipient?: string; mailSubject?: string; mailBody?: string; // Bouton btnLink?: string; // Photo maxSize?: number; // Phone phone?: string; smsBody?: string; // instruction quillHtml?: string; instruction?: firebase.firestore.DocumentReference; // Choice list choiceList?: any; minChecked?: number; maxChecked?: number; // Conditional section conditionalSectionId?: string; conditionalSectionValue?: string; // package section scanActionType?: RsHardwareAction | RsParcelActionEnum; hasToBeAssociated?: boolean; // hardware section isRestrictedToRef?: boolean; refs?: string[]; isListedHardwareOnly?: boolean; minScanAmount?: number; }