Merge branch 'main' of http://45.93.137.91:3000/Rahaf/SweetHome
All checks were successful
Build frontend / build (push) Successful in 1m17s

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Rahaf
2026-05-28 18:30:39 +03:00
39 changed files with 7050 additions and 3125 deletions

View File

@ -16,7 +16,6 @@ const BuildingType = Object.freeze({
WAREHOUSE: 9,
});
// Map numeric value → Arabic label
const BuildingTypeLabels = Object.freeze({
[BuildingType.APARTMENT]: 'شقة',
[BuildingType.VILLA]: 'فيلا',
@ -26,11 +25,10 @@ const BuildingTypeLabels = Object.freeze({
[BuildingType.STUDIO]: 'استوديو',
[BuildingType.OFFICE]: 'مكتب',
[BuildingType.FARMS]: 'مزرعة',
[BuildingType.SHOP]: حل',
[BuildingType.SHOP]: تجر',
[BuildingType.WAREHOUSE]: 'مستودع',
});
// Map numeric value → English key (for UI filters)
const BuildingTypeKeys = Object.freeze({
[BuildingType.APARTMENT]: 'apartment',
[BuildingType.VILLA]: 'villa',
@ -44,7 +42,6 @@ const BuildingTypeKeys = Object.freeze({
[BuildingType.WAREHOUSE]: 'warehouse',
});
// Reverse map: English key → numeric value
const BuildingTypeByKey = Object.freeze({
apartment: BuildingType.APARTMENT,
villa: BuildingType.VILLA,