83 lines
1.8 KiB
TypeScript
83 lines
1.8 KiB
TypeScript
export interface RestaurantData {
|
|
name: string;
|
|
slug: string;
|
|
domain: string;
|
|
isActive: boolean;
|
|
phone: string;
|
|
serviceArea: {
|
|
type: 'Polygon';
|
|
coordinates: number[][][];
|
|
};
|
|
score: {
|
|
purchaseAmount: string;
|
|
purchaseScore: string;
|
|
scoreAmount: string;
|
|
scoreCredit: string;
|
|
birthdayScore: string;
|
|
registerScore: string;
|
|
marriageDateScore: string;
|
|
referrerScore: string;
|
|
};
|
|
}
|
|
|
|
export const restaurantsData: RestaurantData[] = [
|
|
{
|
|
name: 'ژیوان',
|
|
slug: 'zhivan',
|
|
domain: 'https://dmenu-plus-front.dev.danakcorp.com/zhivan',
|
|
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],
|
|
],
|
|
],
|
|
},
|
|
score: {
|
|
purchaseAmount: '10000',
|
|
purchaseScore: '10000',
|
|
scoreAmount: '10000',
|
|
scoreCredit: '10000',
|
|
birthdayScore: '10000',
|
|
registerScore: '10000',
|
|
marriageDateScore: '10000',
|
|
referrerScore: '10000',
|
|
},
|
|
},
|
|
{
|
|
name: 'بوته',
|
|
slug: 'boote',
|
|
domain: 'https://dmenu-plus-front.dev.danakcorp.com/boote',
|
|
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],
|
|
],
|
|
],
|
|
},
|
|
score: {
|
|
purchaseAmount: '10000',
|
|
purchaseScore: '10000',
|
|
scoreAmount: '10000',
|
|
scoreCredit: '10000',
|
|
birthdayScore: '10000',
|
|
registerScore: '10000',
|
|
marriageDateScore: '10000',
|
|
referrerScore: '10000',
|
|
},
|
|
},
|
|
];
|