This commit is contained in:
2025-12-03 23:41:24 +03:30
parent 2248f18fe8
commit 87e935acfd
21 changed files with 1002 additions and 755 deletions
+53
View File
@@ -0,0 +1,53 @@
export interface RestaurantData {
name: string;
slug: string;
domain: string;
isActive: boolean;
phone: string;
serviceArea: {
type: 'Polygon';
coordinates: number[][][];
};
}
export const restaurantsData: RestaurantData[] = [
{
name: 'ژیوان',
slug: 'zhivan',
domain: 'zhivan.example.com',
isActive: true,
phone: '09123456789',
serviceArea: {
type: 'Polygon',
coordinates: [
[
[51.389, 35.6892],
[51.39, 35.6892],
[51.39, 35.6902],
[51.389, 35.6902],
[51.389, 35.6892],
],
],
},
},
{
name: 'بوته',
slug: 'boote',
domain: 'boote.example.com',
isActive: true,
phone: '09123456790',
serviceArea: {
type: 'Polygon',
coordinates: [
[
[51.389, 35.6892],
[51.39, 35.6892],
[51.39, 35.6902],
[51.389, 35.6902],
[51.389, 35.6892],
],
],
},
},
];