This commit is contained in:
2025-12-13 10:35:15 +03:30
parent 85b4e5bb6a
commit 3eb6b889a4
20 changed files with 114 additions and 20 deletions
+30
View File
@@ -8,6 +8,16 @@ export interface RestaurantData {
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[] = [
@@ -29,6 +39,16 @@ export const restaurantsData: RestaurantData[] = [
],
],
},
score: {
purchaseAmount: '10000',
purchaseScore: '10000',
scoreAmount: '10000',
scoreCredit: '10000',
birthdayScore: '10000',
registerScore: '10000',
marriageDateScore: '10000',
referrerScore: '10000',
},
},
{
name: 'بوته',
@@ -48,5 +68,15 @@ export const restaurantsData: RestaurantData[] = [
],
],
},
score: {
purchaseAmount: '10000',
purchaseScore: '10000',
scoreAmount: '10000',
scoreCredit: '10000',
birthdayScore: '10000',
registerScore: '10000',
marriageDateScore: '10000',
referrerScore: '10000',
},
},
];
+8 -8
View File
@@ -21,8 +21,8 @@ export const usersData: UserData[] = [
marriageDate: '2015-01-01',
isActive: true,
gender: true,
wallet: 0,
points: 0,
wallet: 250000,
points: 100,
},
{
phone: '09185290775',
@@ -33,8 +33,8 @@ export const usersData: UserData[] = [
marriageDate: '2017-01-01',
isActive: true,
gender: true,
wallet: 0,
points: 0,
wallet: 250000,
points: 100,
},
{
phone: '09129283395',
@@ -45,8 +45,8 @@ export const usersData: UserData[] = [
marriageDate: '2014-01-01',
isActive: true,
gender: true,
wallet: 0,
points: 0,
wallet: 250000,
points: 100,
},
{
phone: '09184317567',
@@ -57,7 +57,7 @@ export const usersData: UserData[] = [
marriageDate: '2020-01-01',
isActive: true,
gender: false,
wallet: 0,
points: 0,
wallet: 250000,
points: 100,
},
];