Add new enums to match Flutter project structure
All checks were successful
Build frontend / build (push) Successful in 39s
All checks were successful
Build frontend / build (push) Successful in 39s
- Add RentPropertyCondition (WithFurniture/WithoutFurniture) - Add RentPropertyType (Furnished/Unfurnished/SemiFurnished) - Add RentType (Monthly/Daily) - Add PropertyService (13 services for detailsJSON) - Add PropertyTerm (NoSmoking/NoAnimals/NoParties) - Add Currency (SYP/USD) - Update enums barrel file
This commit is contained in:
16
app/enums/RentPropertyCondition.js
Normal file
16
app/enums/RentPropertyCondition.js
Normal file
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* 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]: 'غير مفروش',
|
||||
});
|
||||
|
||||
export { RentPropertyCondition, RentPropertyConditionLabels };
|
||||
Reference in New Issue
Block a user