seeder
This commit is contained in:
@@ -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],
|
||||
],
|
||||
],
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user