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:
20
app/enums/Currency.js
Normal file
20
app/enums/Currency.js
Normal file
@ -0,0 +1,20 @@
|
||||
/**
|
||||
* Currency Enum
|
||||
* Currency IDs used in the backend
|
||||
*/
|
||||
const Currency = Object.freeze({
|
||||
SYP: 1,
|
||||
USD: 2,
|
||||
});
|
||||
|
||||
const CurrencyLabels = Object.freeze({
|
||||
[Currency.SYP]: 'ليرة سورية',
|
||||
[Currency.USD]: 'دولار أمريكي',
|
||||
});
|
||||
|
||||
const CurrencySymbols = Object.freeze({
|
||||
[Currency.SYP]: 'SYP',
|
||||
[Currency.USD]: 'USD',
|
||||
});
|
||||
|
||||
export { Currency, CurrencyLabels, CurrencySymbols };
|
||||
Reference in New Issue
Block a user