This commit is contained in:
2025-07-21 16:28:05 +05:00
parent 3a4af48d8f
commit a6286c0652
30 changed files with 292 additions and 217 deletions
+22
View File
@@ -0,0 +1,22 @@
export interface AmentiesCount {
total: number;
indoor?: number;
outdoor?: number;
}
export default function getAmentiesCount(
complexName: string,
floorTitle: string
):AmentiesCount | null {
const dict = new Map<string, AmentiesCount>([
["marasi-drive Rooftop", { total: 10 }],
["marasi-drive Sky Garden", { total: 15, indoor: 3, outdoor: 12 }],
["marasi-drive Podium Level", { total: 27, indoor: 13, outdoor: 14 }],
["marasi-drive Ground Level", { total: 7 }],
["dubai-marina Rooftop", { total: 14 }],
["dubai-marina Podium Level", { total: 21, indoor: 8, outdoor: 13 }],
["dubai-marina Ground Level", { total: 14 }],
]);
return dict.get(`${complexName} ${floorTitle}`) || null;
}