/** * Document type enum for owner property submission. * Values are intentionally English keys so the UI can store normalized identifiers. */ const DocumentType = Object.freeze({ PASSPORT: 'Passport', IDCARD: 'IDCard', BOTH: 'Both', }); const DocumentTypeLabels = Object.freeze({ [DocumentType.PASSPORT]: 'جواز سفر', [DocumentType.IDCARD]: 'بطاقة شخصية', [DocumentType.BOTH]: 'كلاهما', }); const DocumentTypeList = Object.freeze(Object.values(DocumentType)); export { DocumentType, DocumentTypeLabels, DocumentTypeList };