UNPKG

@anoki/fse-common

Version:

Common types for FSE

28 lines (25 loc) 636 B
export const ReportArgumentEnum = { APPOINTMENTS: 'appointments', TICKETS_EXEMPTIONS: 'tickets_exemptions', DOCTOR_CHANGE: 'doctor_change', OUTPATIENT_SERVICES: 'outpatient_services', EMERGENCY_ROOM: 'emergency_room', OTHER: 'other' }; export const ReportStatusEnum = { NEW: 'new', IN_PROGRESS: 'in_progress', CLOSED: 'closed' }; export type Report = { userId: string; updatedById?: string; argument: typeof ReportArgumentEnum; name: string; surname: string; email: string; phone: string; hasAcceptedPrivacyPolicy: boolean; hasAcceptedPrivacyPolicyDate?: Date; status: typeof ReportStatusEnum; }