Add new enums to match Flutter project structure
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:
Claw AI
2026-03-29 15:27:48 +00:00
parent 412ccbf8b8
commit 5d7b3e3b0f
7 changed files with 137 additions and 0 deletions

16
app/enums/RentType.js Normal file
View File

@ -0,0 +1,16 @@
/**
* RentType Enum
* Rental period type
* Sent as `rentType` field in API
*/
const RentType = Object.freeze({
MONTHLY: 0,
DAILY: 1,
});
const RentTypeLabels = Object.freeze({
[RentType.MONTHLY]: 'شهري',
[RentType.DAILY]: 'يومي',
});
export { RentType, RentTypeLabels };