24 lines
584 B
JavaScript
24 lines
584 B
JavaScript
|
|
/**
|
||
|
|
* IdentityType Enum
|
||
|
|
* Tenant identity document type
|
||
|
|
* Used in: Property booking, allowedIdentities filter
|
||
|
|
*/
|
||
|
|
const IdentityType = Object.freeze({
|
||
|
|
SYRIAN: 'syrian',
|
||
|
|
PASSPORT: 'passport',
|
||
|
|
});
|
||
|
|
|
||
|
|
// Map type → Arabic label
|
||
|
|
const IdentityTypeLabels = Object.freeze({
|
||
|
|
[IdentityType.SYRIAN]: 'هوية سورية',
|
||
|
|
[IdentityType.PASSPORT]: 'جواز سفر',
|
||
|
|
});
|
||
|
|
|
||
|
|
// Map type → flag emoji
|
||
|
|
const IdentityTypeFlags = Object.freeze({
|
||
|
|
[IdentityType.SYRIAN]: '🇸🇾',
|
||
|
|
[IdentityType.PASSPORT]: '🛂',
|
||
|
|
});
|
||
|
|
|
||
|
|
export { IdentityType, IdentityTypeLabels, IdentityTypeFlags };
|