Files
SweetHome/app/enums/RentPropertyType.js
Rahaf dab5b62fb7
All checks were successful
Build frontend / build (push) Successful in 1m40s
Added translation to all site with edit style
2026-07-01 15:43:58 +03:00

24 lines
765 B
JavaScript

/**
* RentPropertyType Enum
* Sent as `type` field in RentPropertyDto
*/
const RentPropertyType = Object.freeze({
FURNISHED: 0,
UNFURNISHED: 1,
SEMI_FURNISHED: 2,
});
const RentPropertyTypeLabels = Object.freeze({
[RentPropertyType.FURNISHED]: 'مفروش بالكامل',
[RentPropertyType.UNFURNISHED]: 'غير مفروش',
[RentPropertyType.SEMI_FURNISHED]: 'مفروش جزئياً',
});
const RentPropertyTypeTranslationKeys = Object.freeze({
[RentPropertyType.FURNISHED]: 'rentPropertyType.fullyFurnished',
[RentPropertyType.UNFURNISHED]: 'rentPropertyType.unfurnished',
[RentPropertyType.SEMI_FURNISHED]: 'rentPropertyType.partiallyFurnished',
});
export { RentPropertyType, RentPropertyTypeLabels, RentPropertyTypeTranslationKeys };