Files
SweetHome/app/enums/RentPropertyCondition.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

22 lines
701 B
JavaScript

/**
* RentPropertyCondition Enum
* Furniture condition of the property
* Sent as `propertyType` field in API
*/
const RentPropertyCondition = Object.freeze({
WITH_FURNITURE: 0,
WITHOUT_FURNITURE: 1,
});
const RentPropertyConditionLabels = Object.freeze({
[RentPropertyCondition.WITH_FURNITURE]: 'مفروش',
[RentPropertyCondition.WITHOUT_FURNITURE]: 'غير مفروش',
});
const RentPropertyConditionTranslationKeys = Object.freeze({
[RentPropertyCondition.WITH_FURNITURE]: 'rentCondition.furnished',
[RentPropertyCondition.WITHOUT_FURNITURE]: 'rentCondition.unfurnished',
});
export { RentPropertyCondition, RentPropertyConditionLabels, RentPropertyConditionTranslationKeys };