remove unused modules

This commit is contained in:
2026-01-07 12:24:55 +03:30
parent f2284c103d
commit 560b2983f3
150 changed files with 1853 additions and 96521 deletions
+6 -6
View File
@@ -8,7 +8,7 @@ import { PaymentMethodsSeeder } from './payment-methods.seeder';
import { DeliveryMethodsSeeder } from './delivery-methods.seeder';
import { SchedulesSeeder } from './schedules.seeder';
import { CategoriesSeeder } from './categories.seeder';
import { FoodsSeeder } from './foods.seeder';
import { productsSeeder } from './products.seeder';
import { AdminsSeeder } from './admins.seeder';
import { UsersSeeder } from './users.seeder';
import { CouponsSeeder } from './coupons.seeder';
@@ -70,13 +70,13 @@ export class DatabaseSeeder extends Seeder {
const categoriesMap = await categoriesSeeder.run(em, restaurantsMap);
console.info(`[Seeder] Step 8/${TOTAL_STEPS}: Done`);
// 9. Create Foods
console.info(`[Seeder] Step 9/${TOTAL_STEPS}: Creating foods`);
const foodsSeeder = new FoodsSeeder();
await foodsSeeder.run(em, restaurantsMap, categoriesMap);
// 9. Create products
console.info(`[Seeder] Step 9/${TOTAL_STEPS}: Creating products`);
const productsSeeder = new productsSeeder();
await productsSeeder.run(em, restaurantsMap, categoriesMap);
console.info(`[Seeder] Step 9/${TOTAL_STEPS}: Done`);
// 10. Create Inventory for all Foods
// 10. Create Inventory for all products
console.info(`[Seeder] Step 10/${TOTAL_STEPS}: Creating inventory`);
const inventorySeeder = new InventorySeeder();
await inventorySeeder.run(em);
+1 -1
View File
@@ -4,7 +4,7 @@ import { AdminRole } from '../modules/admin/entities/adminRole.entity';
import type { Role } from '../modules/roles/entities/role.entity';
import type { Restaurant } from '../modules/restaurants/entities/restaurant.entity';
import { adminsData } from './data/admins.data';
import { normalizePhone } from '../modules/utils/phone.util';
import { normalizePhone } from '../modules/util/phone.util';
export class AdminsSeeder {
async run(em: EntityManager, rolesMap: Map<string, Role>, restaurantsMap: Map<string, Restaurant>): Promise<void> {
-395
View File
@@ -1,395 +0,0 @@
import type { EntityManager } from '@mikro-orm/core';
import { Category } from '../modules/foods/entities/category.entity';
import type { Restaurant } from '../modules/restaurants/entities/restaurant.entity';
import { categoriesData } from './data/categories.data';
import * as fs from 'fs';
import * as path from 'path';
interface IconData {
index: number;
name: string;
url: string;
}
export class CategoriesSeeder {
private icons: IconData[] = [];
private iconIndex = 0;
private loadIcons(): void {
if (this.icons.length > 0) return;
const iconsPath = path.join(process.cwd(), 'dump', 'named_icons.csv');
const csvContent = fs.readFileSync(iconsPath, 'utf-8');
const lines = csvContent.split('\n').slice(1); // Skip header
this.icons = lines
.filter(line => line.trim())
.map(line => {
const parts = line.split(',');
return {
index: parseInt(parts[0].replace(/"/g, '')),
name: parts[1].replace(/"/g, ''),
url: parts[2].replace(/"/g, '')
};
});
}
private getIconForCategory(categoryTitle: string): string | undefined {
this.loadIcons();
if (this.icons.length === 0) return undefined;
// Create a mapping of keywords to icon names
const iconMapping: Record<string, string[]> = {
// Pizza
'پیتزا': ['pizza'],
// Pasta
'پاستا': ['fast-food'],
// Steak
'استیک': ['meat', 'meat 2'],
// Burger
'برگر': ['hanburger'],
// Salad
'سالاد': ['broccoli'],
// Appetizer/Appetizers
'پیش غذا': ['chicken', 'fast-food'],
// Main Course
'غذای اصلی': ['hanburger', 'meat'],
'خوراک': ['hanburger', 'meat'],
'ناهار': ['hanburger', 'meat'],
// Sandwich
'ساندویچ': ['bread'],
// Fried foods
'سوخاری': ['chicken', 'fast-food'],
// Cake/Dessert
'کیک': ['cookie1', 'cookie2'],
'دسر': ['cookie1', 'cookie2'],
// Ice Cream
'بستنی': ['ice cream', 'ice cream 3'],
'آیس': ['ice cream'],
// Breakfast
'صبحانه': ['bread', 'egg'],
// Drinks - general
'نوشیدنی': ['drink', 'drink2', 'bottle1', 'bottle2'],
// Coffee
'قهوه': ['drink', 'drink2'],
'اسپرسو': ['drink'],
'کافی': ['drink'],
// Tea
'چای': ['drink', 'drink2'],
'دمنوش': ['drink', 'drink2'],
// Cocktail/Mocktail
'ماکتل': ['wine glass', 'wine glass 2'],
'موهیتو': ['wine glass'],
// Shake/Smoothie
'شیک': ['ice cream'],
'اسموتی': ['ice cream'],
// Juice
'آبمیوه': ['juice', 'juice2', 'juice3'],
'ویتامینه': ['juice', 'juice2', 'juice3'],
// Hot Dog
'هات داگ': ['hot dog'],
// BBQ
'باربیکیو': ['barbecue', 'barbeque2'],
// BBQ Skewers
'کباب': ['skewer'],
// Soup
'آش': ['jar', 'dish'],
// Bread
'نان': ['bread'],
// Donut
'دونات': ['donuts'],
// Fish
'دریایی': ['fish'],
'ماهی': ['fish'],
// Chicken
'مرغ': ['chicken'],
// Egg
'تخم': ['egg', 'fried egg'],
// Vegetable
'سبزی': ['broccoli'],
// Fruit
'میوه': ['strawberry', 'cherry', 'grape', 'watermelon'],
// Milk
'شیر': ['bottle1'], // Note: there's no milk icon, using a generic one
// Cookie
'کوکی': ['cookie1', 'cookie2'],
// French Fries
'سیب زمینی': ['french fries'],
// Fast Food
'فست فود': ['fast-food'],
// Bakery
'نانوایی': ['bread'],
// Ice Tea
'آیس تی': ['drink', 'drink2'],
// Hot Pot
'حلیم': ['jar', 'dish'],
// Taco
'تاکو': ['taco'],
// Nachos
'ناچو': ['fast-food'],
// Sushi
'سوشی': ['fish'],
// Dumpling
'غالوش': ['basket'],
// Tempura
'تمپورا': ['fish'],
// Tofu
'توفو': ['jar'],
// Bibimbap
'بیبیمباب': ['fast-food'],
// Boba
'بوبا': ['drink', 'drink2'],
// Fish and Chips
'فیش اند چیپس': ['fish', 'french fries'],
// Focaccia
'فوکاچیا': ['bread'],
// Martini
'مارتینی': ['wine glass'],
// Mochi
'موچی': ['donuts'],
// Pancake
'پن کیک': ['bread'],
// Quesadilla
'کوئزادیا': ['quesadilla'],
// Origami
'اوريگامي': ['basket'],
// Pudding
'پودینگ': ['jar'],
// Sweet
'شیرین': ['candy'],
// Crossant
'کروسان': ['bread'],
// Bio
'بیو': ['broccoli'],
// Lemon
'لیمو': ['lemon'],
// Candy
'شیرینی': ['candy'],
// Lollipop
'آب نبات': ['lollipop'],
// Cherry
'گیلاس': ['cherry'],
// Strawberry
'توت فرنگی': ['strawberry'],
// Watermelon
'هندوانه': ['watermelon'],
// Avocado
'آووکادو': ['avocado'],
// Banana
'موز': ['banana'],
// Carrot
'هویج': ['carrot'],
// Cheese
'پنیر': ['cheese', 'cheese2'],
// Tomato
'گوجه': ['tomato'], // Note: no tomato icon
// Onion
'پیاز': ['onion'],
// Olive
'زیتون': ['olive'],
// Nuts
'آجیل': ['nuts'],
// Scales (for weighing)
'ترازو': ['scales'],
// Whisk
'همزن': ['whisk', 'whisk'],
// Mortar
'هاون': ['mortar'],
// Rolling pin
'والت': ['rolling pin'],
// Knife
'چاقو': ['knife'],
// Baby food
'کودک': ['baby bottle', 'baby bottle', 'baby pacifier'],
// Hat (chef hat)
'کلاه': ['hat robe', 'hat robe 2'],
// Candle (birthday)
'شمع': ['candle'],
// Fire
'آتش': ['fire'],
// Refrigerator
'یخچال': ['refrigerator'],
// Kitchen stove
'اجاق': ['kitchen stove'],
// Mixer
'میکسر': ['mixer'],
// Jar
'شیشه': ['jar'],
// Jelly
'ژله': ['jelly'],
// Soap
'صابون': ['soap'],
// Dish
'ظرف': ['dish'],
// Basket
'سبد': ['basket'],
// Salt
'نمک': ['solt'],
// Eggplant
'بادمجان': ['egg plant'],
// Wine
'شراب': ['wine glass', 'wine glass 2', 'wine glass 3'],
// Plate
'بشقاب': ['dish'],
// Fork and knife
'چنگال': ['spoon and fork 1', 'spoon and fork 2', 'spoon and knife', 'fork and knife'],
// Toast
'تست': ['toast']
};
// Find matching icon based on category title
for (const [keyword, iconNames] of Object.entries(iconMapping)) {
if (categoryTitle.includes(keyword)) {
// Find the first available icon from the list
for (const iconName of iconNames) {
const icon = this.icons.find(i => i.name.toLowerCase() === iconName.toLowerCase());
if (icon) {
return icon.url;
}
}
}
}
// Fallback: try to find any icon that might be related by partial name match
for (const icon of this.icons) {
const lowerTitle = categoryTitle.toLowerCase();
const lowerIconName = icon.name.toLowerCase();
// Check if any word in the category title matches part of the icon name
const titleWords = lowerTitle.split(/\s+/);
for (const word of titleWords) {
if (word.length > 2 && lowerIconName.includes(word)) {
return icon.url;
}
}
}
// Final fallback: return a random icon
const randomIndex = Math.floor(Math.random() * this.icons.length);
return this.icons[randomIndex]?.url;
}
async run(em: EntityManager, restaurantsMap: Map<string, Restaurant>): Promise<Map<string, Category>> {
const categoriesMap = new Map<string, Category>();
for (const catData of categoriesData) {
const restaurant = restaurantsMap.get(catData.restaurantSlug);
if (!restaurant) continue;
const existing = await em.findOne(Category, {
title: catData.title,
restaurant,
});
if (!existing) {
const avatarUrl = this.getIconForCategory(catData.title);
const category = em.create(Category, {
title: catData.title,
restaurant,
isActive: true,
avatarUrl,
});
em.persist(category);
categoriesMap.set(`${catData.restaurantSlug}-${catData.title}`, category);
} else {
categoriesMap.set(`${catData.restaurantSlug}-${catData.title}`, existing);
}
}
await em.flush();
return categoriesMap;
}
}
+424 -424
View File
@@ -3,428 +3,428 @@ export interface CategoryData {
restaurantSlug: string;
}
export const categoriesData: CategoryData[] = [ { title: 'پاستا', restaurantSlug: 'zhivan' },
{ title: 'پیتزا ایتالیایی', restaurantSlug: 'zhivan' },
{ title: 'پیتزا امریکایی', restaurantSlug: 'zhivan' },
{ title: 'استیک', restaurantSlug: 'zhivan' },
{ title: 'غذاهای گریل و فرنگی', restaurantSlug: 'zhivan' },
{ title: 'ساندویچ و برگر', restaurantSlug: 'zhivan' },
{ title: 'سوخاری', restaurantSlug: 'zhivan' },
{ title: 'سالاد', restaurantSlug: 'zhivan' },
{ title: 'پیش غذا', restaurantSlug: 'zhivan' },
{ title: 'نوشیدنی ها', restaurantSlug: 'zhivan' },
{ title: 'قهوه ', restaurantSlug: 'zhivan' },
{ title: 'موهیتو بار', restaurantSlug: 'zhivan' },
{ title: 'اسموتی و شیک ها ', restaurantSlug: 'zhivan' },
{ title: 'کیک و دسر', restaurantSlug: 'zhivan' },
{ title: 'چای و دمنوش ', restaurantSlug: 'zhivan' },
{ title: 'آیس کافی', restaurantSlug: 'zhivan' },
{ title: 'ایرانی', restaurantSlug: 'zhivan' },
{ title: 'شربت و عرقیجات', restaurantSlug: 'zhivan' },
{ title: 'ماکتیل', restaurantSlug: 'zhivan' },
{ title: 'نوشیدنی های گرم', restaurantSlug: 'sepanta' },
{ title: 'شیک ها', restaurantSlug: 'sepanta' },
{ title: 'کیک ها', restaurantSlug: 'sepanta' },
{ title: 'شربت ها ', restaurantSlug: 'sepanta' },
{ title: 'دمنوش ها', restaurantSlug: 'sepanta' },
{ title: 'صبحانه', restaurantSlug: 'ocafe' },
{ title: 'سیب زمینی ها', restaurantSlug: 'ocafe' },
{ title: 'پیش غذا و سالادها ', restaurantSlug: 'ocafe' },
{ title: 'غذاهای اصلی ', restaurantSlug: 'ocafe' },
{ title: 'کوکی و دسرها (آیتم ها به تعداد محدود در روز موجود می‌باشد )', restaurantSlug: 'ocafe' },
{ title: 'موکتل های ایرانی و ملل ', restaurantSlug: 'ocafe' },
{ title: 'شیک ها ', restaurantSlug: 'ocafe' },
{ title: 'نوشیدنی های گرم بر پایه اسپرسو ', restaurantSlug: 'ocafe' },
{ title: 'نوشیدنی های سرد بر پایه اسپرسو ', restaurantSlug: 'ocafe' },
{ title: 'نوشیدنی های گرم ملل ', restaurantSlug: 'ocafe' },
{ title: 'چای های ایرانی ', restaurantSlug: 'ocafe' },
{ title: 'دمنوش ها ', restaurantSlug: 'ocafe' },
{ title: 'قهوه های شنی ', restaurantSlug: 'ocafe' },
{ title: 'کلد برو ', restaurantSlug: 'ocafe' },
{ title: 'متدهای موج سوم', restaurantSlug: 'ocafe' },
{ title: 'آپشنال ', restaurantSlug: 'ocafe' },
{ title: 'نوشیدنی', restaurantSlug: 'ocafe' },
{ title: 'لقمه', restaurantSlug: 'ocafe' },
{ title: 'خوراک ها', restaurantSlug: 'easydizy' },
{ title: 'چاشنی ها', restaurantSlug: 'easydizy' },
{ title: 'نوشیدنی های خنک', restaurantSlug: 'easydizy' },
{ title: 'دسر ها', restaurantSlug: 'easydizy' },
{ title: 'پیش غذا ', restaurantSlug: 'boote' },
{ title: 'پیتزا آمریکایی', restaurantSlug: 'boote' },
{ title: 'پیتزا ایتالیایی ', restaurantSlug: 'boote' },
{ title: 'پاستا ', restaurantSlug: 'boote' },
{ title: 'ناهار بوته', restaurantSlug: 'boote' },
{ title: 'غذای اصلی', restaurantSlug: 'boote' },
{ title: 'ساندویچ', restaurantSlug: 'boote' },
{ title: 'اسپرسو بار', restaurantSlug: 'boote' },
{ title: 'دمی بار', restaurantSlug: 'boote' },
{ title: 'هاوس آف تی', restaurantSlug: 'boote' },
{ title: 'امریکن استایل', restaurantSlug: 'boote' },
{ title: 'کیک و دسر', restaurantSlug: 'boote' },
{ title: 'آیس کافی', restaurantSlug: 'boote' },
{ title: 'ماکتل بار', restaurantSlug: 'boote' },
{ title: 'ژلاتو میلک شیک', restaurantSlug: 'boote' },
{ title: 'صبحانه', restaurantSlug: 'boote' },
{ title: 'اسموتی بار', restaurantSlug: 'boote' },
{ title: 'چاکلت بار', restaurantSlug: 'boote' },
{ title: 'نوشیدنی های گرم ', restaurantSlug: 'life' },
{ title: 'نوشیدنی های سرد ', restaurantSlug: 'life' },
{ title: 'صبحانه ', restaurantSlug: 'life' },
{ title: 'میان وعده', restaurantSlug: 'life' },
{ title: 'بستنی', restaurantSlug: 'life' },
{ title: 'شیک', restaurantSlug: 'life' },
{ title: 'قلیان', restaurantSlug: 'life' },
{ title: 'پیتزا ایتالیایی ', restaurantSlug: 'foodcourt' },
{ title: 'پیتزا آمریکایی ', restaurantSlug: 'foodcourt' },
{ title: 'پاستاها', restaurantSlug: 'foodcourt' },
{ title: 'استیک ها', restaurantSlug: 'foodcourt' },
{ title: 'برگرها', restaurantSlug: 'foodcourt' },
{ title: 'ایرانی', restaurantSlug: 'foodcourt' },
{ title: 'سالاد.', restaurantSlug: 'foodcourt' },
{ title: 'پیش غذا.', restaurantSlug: 'foodcourt' },
{ title: 'نوشیدنی ها ', restaurantSlug: 'foodcourt' },
{ title: 'کیک و دسر', restaurantSlug: 'foodcourt' },
{ title: 'اسپرسو بار', restaurantSlug: 'foodcourt' },
{ title: 'نوشیدنی های گرم', restaurantSlug: 'foodcourt' },
{ title: 'چای و دمنوش', restaurantSlug: 'foodcourt' },
{ title: 'آیس کافه', restaurantSlug: 'foodcourt' },
{ title: 'میلک شیک', restaurantSlug: 'foodcourt' },
{ title: 'نوشیدی های سرد', restaurantSlug: 'foodcourt' },
{ title: 'قهوه های دمی.', restaurantSlug: 'foodcourt' },
{ title: 'گلاسه ها', restaurantSlug: 'foodcourt' },
{ title: 'صبحانه ', restaurantSlug: 'foodcourt' },
{ title: ' پیش غذا', restaurantSlug: 'banicho' },
{ title: 'کباب ها ', restaurantSlug: 'banicho' },
{ title: 'دمنوش', restaurantSlug: 'banicho' },
{ title: 'قهوه های دمی', restaurantSlug: 'banicho' },
{ title: 'جگر گوسفندی', restaurantSlug: 'banicho' },
{ title: 'جگر گوساله', restaurantSlug: 'banicho' },
{ title: 'بارسرد ', restaurantSlug: 'banicho' },
{ title: 'بارگرم', restaurantSlug: 'banicho' },
{ title: 'نوشیدنی گرم بر پایه اسپرسو', restaurantSlug: 'blacksugar' },
{ title: ' نوشیدنی گرم ', restaurantSlug: 'blacksugar' },
{ title: 'قهوه سرد', restaurantSlug: 'blacksugar' },
{ title: ' قهوه دمی', restaurantSlug: 'blacksugar' },
{ title: ' میان وعده و دسر', restaurantSlug: 'blacksugar' },
{ title: 'پیش غذاها', restaurantSlug: 'Piano' },
{ title: 'ساندویچ و برگر', restaurantSlug: 'Piano' },
{ title: 'پیتزا امریکایی', restaurantSlug: 'Piano' },
{ title: 'پیتزا ایتالیایی', restaurantSlug: 'Piano' },
{ title: 'پاستا', restaurantSlug: 'Piano' },
{ title: 'استیک', restaurantSlug: 'Piano' },
{ title: 'سوخاری', restaurantSlug: 'Piano' },
{ title: 'سالاد', restaurantSlug: 'Piano' },
{ title: 'بشقاب', restaurantSlug: 'Piano' },
{ title: 'پیده', restaurantSlug: 'Piano' },
{ title: 'خوراک', restaurantSlug: 'Piano' },
{ title: 'نوشیدنی گرم', restaurantSlug: 'Piano' },
{ title: 'نوشیدنی سرد', restaurantSlug: 'Piano' },
{ title: 'دسر و کیک', restaurantSlug: 'Piano' },
{ title: 'بستنی', restaurantSlug: 'Piano' },
{ title: 'دمنوش گیاهی', restaurantSlug: 'Piano' },
{ title: 'اسموتی', restaurantSlug: 'Piano' },
{ title: 'شیک', restaurantSlug: 'Piano' },
{ title: 'ماکتل ها', restaurantSlug: 'Piano' },
{ title: 'شربت ها', restaurantSlug: 'Piano' },
{ title: 'غذا', restaurantSlug: 'saadat' },
{ title: 'فرنگی', restaurantSlug: 'saadat' },
{ title: 'سالاد ها', restaurantSlug: 'saadat' },
{ title: 'نوشیدنی', restaurantSlug: 'saadat' },
{ title: 'قلیان', restaurantSlug: 'saadat' },
{ title: 'نوشیدنی های گرم', restaurantSlug: 'saadat' },
{ title: 'آیس کافی', restaurantSlug: 'saadat' },
{ title: 'چای', restaurantSlug: 'saadat' },
{ title: 'قهوه نسل ۳', restaurantSlug: 'saadat' },
{ title: 'ماکتل ها', restaurantSlug: 'saadat' },
{ title: 'شیک ها', restaurantSlug: 'saadat' },
{ title: 'پیش غذاها', restaurantSlug: 'saadat' },
{ title: 'خوراک مخصوص هفت خوان', restaurantSlug: 'Haaft khaan' },
{ title: 'خوراک', restaurantSlug: 'Haaft khaan' },
{ title: 'پیش غذا', restaurantSlug: 'Haaft khaan' },
{ title: 'نوشیدنی', restaurantSlug: 'Haaft khaan' },
{ title: 'چای و نوشیدنی گرم', restaurantSlug: 'Haaft khaan' },
{ title: 'قلیان', restaurantSlug: 'Haaft khaan' },
{ title: 'دسر', restaurantSlug: 'Haaft khaan' },
{ title: ' نوشیدنی های سرد', restaurantSlug: '1972Cafe' },
{ title: 'پیتزا ', restaurantSlug: '1972Cafe' },
{ title: 'قهوه و نوشیدنی گرم', restaurantSlug: '1972Cafe' },
{ title: 'پیش غذا و سالاد ', restaurantSlug: '1972Cafe' },
{ title: 'کیک', restaurantSlug: '1972Cafe' },
{ title: 'قهوه های دمی ', restaurantSlug: '1972Cafe' },
{ title: 'چای و دمنوش', restaurantSlug: '1972Cafe' },
{ title: 'پاستا', restaurantSlug: '1972Cafe' },
{ title: 'برگر', restaurantSlug: '1972Cafe' },
{ title: 'قلیان', restaurantSlug: '1972Cafe' },
{ title: 'پیتزاها', restaurantSlug: 'lounge1' },
{ title: 'پیتزا', restaurantSlug: 'Honar' },
{ title: 'برگر', restaurantSlug: 'cafe_sepanj' },
{ title: 'پاستا', restaurantSlug: 'cafe_sepanj' },
{ title: 'پنینی ', restaurantSlug: 'cafe_sepanj' },
{ title: 'هات داگ ', restaurantSlug: 'cafe_sepanj' },
{ title: 'سوخاری', restaurantSlug: 'cafe_sepanj' },
{ title: 'سیب زمینی', restaurantSlug: 'cafe_sepanj' },
{ title: 'سالاد', restaurantSlug: 'cafe_sepanj' },
{ title: 'نوشیدنی', restaurantSlug: 'cafe_sepanj' },
{ title: 'اسپرسو بار', restaurantSlug: 'cafe_sepanj' },
{ title: 'نوشیدنی گرم', restaurantSlug: 'cafe_sepanj' },
{ title: 'دمی', restaurantSlug: 'cafe_sepanj' },
{ title: ' ایس کافی', restaurantSlug: 'cafe_sepanj' },
{ title: 'چای دمنوش', restaurantSlug: 'cafe_sepanj' },
{ title: 'کیک', restaurantSlug: 'cafe_sepanj' },
{ title: 'شیک', restaurantSlug: 'cafe_sepanj' },
{ title: 'نوشیدنی سرد', restaurantSlug: 'cafe_sepanj' },
{ title: 'سیروپ', restaurantSlug: 'monikh' },
{ title: 'کیک', restaurantSlug: 'monikh' },
{ title: 'ساندویچ سرد', restaurantSlug: 'monikh' },
{ title: 'بر پایه اسپرسو', restaurantSlug: 'monikh' },
{ title: 'ماچا', restaurantSlug: 'monikh' },
{ title: 'بدون اسپرسو', restaurantSlug: 'monikh' },
{ title: 'چای و دمنوش', restaurantSlug: 'monikh' },
{ title: 'شیک و اسموتی', restaurantSlug: 'monikh' },
{ title: 'نوشیدنی های گرم (بر پایه اسپرسو)', restaurantSlug: 'o-cafe' },
{ title: 'نوشیدنی های سرد ', restaurantSlug: 'o-cafe' },
{ title: ' نوشیدنی های گرم ملل', restaurantSlug: 'o-cafe' },
{ title: ' قهوه های شنی', restaurantSlug: 'o-cafe' },
{ title: ' شیک ها', restaurantSlug: 'o-cafe' },
{ title: ' کوکی ها و دسرها', restaurantSlug: 'o-cafe' },
{ title: ' کلد برو', restaurantSlug: 'o-cafe' },
{ title: ' موج سوم', restaurantSlug: 'o-cafe' },
{ title: ' چای های ایرانی', restaurantSlug: 'o-cafe' },
{ title: ' دمنوش ها', restaurantSlug: 'o-cafe' },
{ title: ' ماکتل ها', restaurantSlug: 'o-cafe' },
{ title: ' غذاهای اصلی', restaurantSlug: 'o-cafe' },
{ title: ' پیش غذاها', restaurantSlug: 'o-cafe' },
{ title: ' سیب زمینی ها', restaurantSlug: 'o-cafe' },
{ title: ' صبحانه ها', restaurantSlug: 'o-cafe' },
{ title: ' آپشنال', restaurantSlug: 'o-cafe' },
{ title: 'پیش غذا', restaurantSlug: 'yummyburger' },
{ title: 'برگرها', restaurantSlug: 'yummyburger' },
{ title: 'دبل برگرها', restaurantSlug: 'yummyburger' },
{ title: 'تریپل برگرها', restaurantSlug: 'yummyburger' },
{ title: 'پیتزا ها', restaurantSlug: 'yummyburger' },
{ title: 'نوشیدنی ها', restaurantSlug: 'yummyburger' },
{ title: 'ساندویچ', restaurantSlug: 'yummyburger' },
{ title: 'سالاد و پیش غذا', restaurantSlug: 'mahtabgarden' },
{ title: 'آش بار مهتاب', restaurantSlug: 'mahtabgarden' },
{ title: 'غذای اصلی', restaurantSlug: 'mahtabgarden' },
{ title: 'شربت بار مهتاب', restaurantSlug: 'mahtabgarden' },
{ title: 'برگر', restaurantSlug: 'mahtabgarden' },
{ title: 'کافی بار', restaurantSlug: 'mahtabgarden' },
{ title: 'نوشیدنی گرم شکلاتی', restaurantSlug: 'mahtabgarden' },
{ title: 'دسر و کیک', restaurantSlug: 'mahtabgarden' },
{ title: 'شیک', restaurantSlug: 'mahtabgarden' },
{ title: 'دمنوش بار', restaurantSlug: 'mahtabgarden' },
{ title: 'ماکتل بار', restaurantSlug: 'mahtabgarden' },
{ title: 'اسموتی', restaurantSlug: 'mahtabgarden' },
{ title: 'نوشیدنی سرد', restaurantSlug: 'mahtabgarden' },
{ title: 'نوشیدنی های بر پایه اسپرسو', restaurantSlug: 'dream' },
{ title: 'قهوه های دمی ', restaurantSlug: 'dream' },
{ title: 'نوشیدنی های گرم', restaurantSlug: 'dream' },
{ title: 'چای و دمنوش', restaurantSlug: 'dream' },
{ title: 'قهوه های سرد', restaurantSlug: 'dream' },
{ title: 'شیک ها', restaurantSlug: 'dream' },
{ title: 'موکتل و آب میوه ها', restaurantSlug: 'dream' },
{ title: 'شربت ها', restaurantSlug: 'dream' },
{ title: 'فانتزی', restaurantSlug: 'dream' },
{ title: 'افزودنی', restaurantSlug: 'dream' },
{ title: 'بستنی ', restaurantSlug: 'dream' },
{ title: 'دسر', restaurantSlug: 'dream' },
{ title: 'صبحانه', restaurantSlug: 'dream' },
{ title: 'پیتزا ایتالیایی', restaurantSlug: 'dream' },
{ title: 'برگر', restaurantSlug: 'dream' },
{ title: 'پیش غذا', restaurantSlug: 'dream' },
{ title: 'پاستا', restaurantSlug: 'dream' },
{ title: 'سوخاری', restaurantSlug: 'dream' },
{ title: 'خوراک', restaurantSlug: 'dream' },
{ title: 'پیده', restaurantSlug: 'dream' },
{ title: 'شیرینی', restaurantSlug: 'dream' },
{ title: 'استیک ها', restaurantSlug: 'dream' },
{ title: 'سالاد', restaurantSlug: 'dream' },
{ title: 'پیتزا آمریکایی', restaurantSlug: 'dream' },
{ title: 'غذای ایرانی', restaurantSlug: 'dream' },
{ title: 'باربیکیو', restaurantSlug: 'dream' },
{ title: 'پیش غذاها', restaurantSlug: 'lanka' },
{ title: 'ایران زمین', restaurantSlug: 'lanka' },
{ title: 'پیتزا ایتالیایی', restaurantSlug: 'lanka' },
{ title: 'برگرها', restaurantSlug: 'lanka' },
{ title: 'استیک ها', restaurantSlug: 'lanka' },
{ title: 'پاستا', restaurantSlug: 'lanka' },
{ title: 'سالاد', restaurantSlug: 'lanka' },
{ title: 'دریایی ها', restaurantSlug: 'lanka' },
{ title: 'شات سس ها', restaurantSlug: 'lanka' },
{ title: 'اسپرسو بار', restaurantSlug: 'lanka' },
{ title: 'نوشیدنی گرم', restaurantSlug: 'lanka' },
{ title: 'آیس کافی', restaurantSlug: 'lanka' },
{ title: 'میلک شیک', restaurantSlug: 'lanka' },
{ title: 'نوشیدنی سرد', restaurantSlug: 'lanka' },
{ title: 'کیک و دسر ', restaurantSlug: 'lanka' },
{ title: 'سوخاری ها', restaurantSlug: 'lanka' },
{ title: 'چای و دمنوش', restaurantSlug: 'lanka' },
{ title: 'قهوه دمی', restaurantSlug: 'lanka' },
{ title: 'اسموتی ', restaurantSlug: 'lanka' },
{ title: 'vip drink', restaurantSlug: 'lanka' },
{ title: 'اسپرسو', restaurantSlug: 'LIAN' },
{ title: 'اسپرسو با شیر', restaurantSlug: 'LIAN' },
{ title: 'بار گرم', restaurantSlug: 'LIAN' },
{ title: 'آیس کافی', restaurantSlug: 'LIAN' },
{ title: 'آیس', restaurantSlug: 'LIAN' },
{ title: 'ماکتیل', restaurantSlug: 'LIAN' },
{ title: 'شیک', restaurantSlug: 'LIAN' },
{ title: 'دمی', restaurantSlug: 'LIAN' },
{ title: 'اسموتی', restaurantSlug: 'LIAN' },
{ title: 'میان وعده', restaurantSlug: 'LIAN' },
{ title: 'کیک ها', restaurantSlug: 'LIAN' },
{ title: 'چای و دمنوش', restaurantSlug: 'LIAN' },
{ title: 'بار گرم', restaurantSlug: 'milco-pilco' },
{ title: 'چای ها', restaurantSlug: 'milco-pilco' },
{ title: 'دمنوش ها', restaurantSlug: 'milco-pilco' },
{ title: 'شیک ها', restaurantSlug: 'milco-pilco' },
{ title: 'بارسرد', restaurantSlug: 'milco-pilco' },
{ title: 'برگرها ', restaurantSlug: 'milco-pilco' },
{ title: 'هات داگ ها', restaurantSlug: 'milco-pilco' },
{ title: 'نوستالژی', restaurantSlug: 'milco-pilco' },
{ title: 'سوخاری', restaurantSlug: 'milco-pilco' },
{ title: 'سیب زمینی', restaurantSlug: 'milco-pilco' },
{ title: 'پاستا', restaurantSlug: 'milco-pilco' },
{ title: 'سالاد ', restaurantSlug: 'milco-pilco' },
{ title: 'اسپرسو بار', restaurantSlug: 'milco-pilco' },
{ title: 'نوشیدنی سرد بر پایه قهوه', restaurantSlug: 'milco-pilco' },
{ title: 'ساندویچ ', restaurantSlug: 'milco-pilco' },
{ title: 'نوشیدنی های گرم بر پایه قهوه', restaurantSlug: 'lama' },
{ title: 'نوشیدنی های گرم', restaurantSlug: 'lama' },
{ title: 'دمنوش ها', restaurantSlug: 'lama' },
{ title: 'نوشیدنی های سر بر پایه قهوه', restaurantSlug: 'lama' },
{ title: 'ماکتیل', restaurantSlug: 'lama' },
{ title: 'چای', restaurantSlug: 'lama' },
{ title: 'شیک', restaurantSlug: 'lama' },
{ title: 'پیتزا', restaurantSlug: 'lama' },
{ title: 'برگر', restaurantSlug: 'lama' },
{ title: 'ساندویچ', restaurantSlug: 'lama' },
{ title: 'ساندویچ نوستالژی', restaurantSlug: 'lama' },
{ title: 'سوخاری', restaurantSlug: 'lama' },
{ title: 'سیب زمینی', restaurantSlug: 'lama' },
{ title: 'پنه', restaurantSlug: 'lama' },
{ title: 'غذای ایرانی', restaurantSlug: 'kaj.foodhall' },
{ title: 'پیتزا آمریکایی', restaurantSlug: 'kaj.foodhall' },
{ title: 'پیتزا ایتالیایی', restaurantSlug: 'kaj.foodhall' },
{ title: 'برگر', restaurantSlug: 'kaj.foodhall' },
{ title: 'خوراک', restaurantSlug: 'kaj.foodhall' },
{ title: 'پیده', restaurantSlug: 'kaj.foodhall' },
{ title: 'سوخاری', restaurantSlug: 'kaj.foodhall' },
{ title: 'استیک', restaurantSlug: 'kaj.foodhall' },
{ title: 'پاستا', restaurantSlug: 'kaj.foodhall' },
{ title: 'پیش غذا', restaurantSlug: 'kaj.foodhall' },
{ title: 'سالاد', restaurantSlug: 'kaj.foodhall' },
{ title: 'نوشیدنی های بر پایه اسپرسو', restaurantSlug: 'kaj.foodhall' },
{ title: 'قهوه های دمی', restaurantSlug: 'kaj.foodhall' },
{ title: 'قهوه های سرد', restaurantSlug: 'kaj.foodhall' },
{ title: 'چای و دمنوش ', restaurantSlug: 'kaj.foodhall' },
{ title: 'نوشیدنی های گرم', restaurantSlug: 'kaj.foodhall' },
{ title: 'موکتل و آب میوه ها', restaurantSlug: 'kaj.foodhall' },
{ title: 'دسر', restaurantSlug: 'kaj.foodhall' },
{ title: 'شیک ', restaurantSlug: 'kaj.foodhall' },
{ title: 'بستنی', restaurantSlug: 'kaj.foodhall' },
{ title: 'شربت', restaurantSlug: 'kaj.foodhall' },
{ title: 'دسر', restaurantSlug: 'hamid' },
{ title: 'شیک', restaurantSlug: 'donat-factory' },
{ title: 'بستنی ویژه', restaurantSlug: 'donat-factory' },
{ title: 'دسر', restaurantSlug: 'donat-factory' },
{ title: 'اسموتی', restaurantSlug: 'donat-factory' },
{ title: 'آیس کافی', restaurantSlug: 'donat-factory' },
{ title: 'قهوه', restaurantSlug: 'donat-factory' },
{ title: 'نوشیدنی های گرم', restaurantSlug: 'donat-factory' },
{ title: 'دمنوش', restaurantSlug: 'donat-factory' },
{ title: 'آیس بستنی', restaurantSlug: 'donat-factory' },
{ title: 'ویتامینه', restaurantSlug: 'donat-factory' },
{ title: 'آبمیوه طبیعی', restaurantSlug: 'donat-factory' },
{ title: 'دونات اسپشیال ', restaurantSlug: 'donat-factory' },
{ title: 'دونات آرت', restaurantSlug: 'donat-factory' },
{ title: 'دونات فانتزی', restaurantSlug: 'donat-factory' },
{ title: 'دونات جنرال', restaurantSlug: 'donat-factory' },
{ title: 'رست نات', restaurantSlug: 'donat-factory' },
{ title: 'برلینر', restaurantSlug: 'donat-factory' },
{ title: 'دونات اسپال', restaurantSlug: 'donat-factory' },
{ title: 'دونات لقمه ای ', restaurantSlug: 'donat-factory' },
{ title: 'دونات لقمه ای', restaurantSlug: 'donat-factory' },
{ title: 'دونات ناتس', restaurantSlug: 'donat-factory' },
{ title: 'صبحانه', restaurantSlug: 'donat-factory' },
{ title: 'اسنک و‌ میان وعده', restaurantSlug: 'donat-factory' },
{ title: 'دونات دوبی ', restaurantSlug: 'donat-factory' },
{ title: 'منوی اقتصادی ', restaurantSlug: 'donat-factory' },
{ title: 'پیتزا آمریکایی', restaurantSlug: 'narsis' },
{ title: 'برگرها', restaurantSlug: 'narsis' },
{ title: 'پاستاها', restaurantSlug: 'narsis' },
{ title: 'پیش غذا', restaurantSlug: 'narsis' },
{ title: 'نوشیدنی سرد آماده', restaurantSlug: 'narsis' },
{ title: 'نوشیدنی گرم', restaurantSlug: 'narsis' },
{ title: 'قهوه', restaurantSlug: 'narsis' },
{ title: 'نوشیدنی های سرد', restaurantSlug: 'narsis' },
{ title: 'نوشیدنی های سرد بر پایه قهوه', restaurantSlug: 'narsis' },
{ title: 'نوشیدنی های طبیعی با بستنی', restaurantSlug: 'narsis' },
{ title: 'ﻧﻮﺷﯿﺪﻧﯽ ﻫﺎ ﺑﺮ ﭘﺎﯾﻪ ﺷﯿﺮ', restaurantSlug: 'narsis' },
{ title: 'شیک ﻫﺎ و آﯾﺲ پک ها', restaurantSlug: 'narsis' },
{ title: 'آﺑﻤﯿﻮه ﻫﺎی ﻃﺒﯿﻌﯽ', restaurantSlug: 'narsis' },
{ title: 'آﺑﻤﯿﻮه ﻫﺎی ترکیبی', restaurantSlug: 'narsis' },
{ title: 'افزودنی ها', restaurantSlug: 'narsis' },
{ title: 'کیک ها ', restaurantSlug: 'narsis' },
{ title: 'خوراک ها', restaurantSlug: 'narsis' },
{ title: 'غذاهای چلویی', restaurantSlug: 'narsis' },
{ title: 'قهوه گرم', restaurantSlug: 'Theory' },
{ title: 'قهوه سرد', restaurantSlug: 'Theory' },
{ title: 'قهوه دمی', restaurantSlug: 'Theory' },
{ title: 'ماکتل', restaurantSlug: 'Theory' },
{ title: 'اسموتی', restaurantSlug: 'Theory' },
{ title: 'نوشیدنی گرم', restaurantSlug: 'Theory' },
{ title: 'ساندویچ گرم', restaurantSlug: 'Theory' },
{ title: 'ساندویچ سرد', restaurantSlug: 'Theory' },
{ title: 'سالاد و پیش غذا', restaurantSlug: 'Theory' },
{ title: 'چای و دمنوش', restaurantSlug: 'Theory' },
{ title: 'دسر', restaurantSlug: 'Theory' },
{ title: 'صبحانه', restaurantSlug: 'Theory' },
{ title: 'شیک', restaurantSlug: 'Theory' },
{ title: 'اضافه بار', restaurantSlug: 'Theory' },
{ title: 'نوشیدنی گرم بر پایه اسپرسو', restaurantSlug: 'ahr_cofe' },
{ title: 'نوشیدنی گرم', restaurantSlug: 'ahr_cofe' },
{ title: 'نوشیدنی سرد بر پایه اسپرسو', restaurantSlug: 'ahr_cofe' },
{ title: 'دمنوش و چای', restaurantSlug: 'ahr_cofe' },
{ title: 'شیک', restaurantSlug: 'ahr_cofe' },
{ title: 'ماکتل', restaurantSlug: 'ahr_cofe' },
{ title: 'اسموتی', restaurantSlug: 'ahr_cofe' },
{ title: 'کیک و دسر', restaurantSlug: 'ahr_cofe' },
{ title: 'اسپرسو بار', restaurantSlug: 'cafe_meat' },
{ title: 'بارسرد بر پایه اسپرسو', restaurantSlug: 'cafe_meat' },
{ title: 'صبحانه', restaurantSlug: 'cafe_meat' },
{ title: 'پیش غذا', restaurantSlug: 'cafe_meat' },
{ title: 'دمنوش ها', restaurantSlug: 'cafe_meat' },
{ title: 'بارسرد', restaurantSlug: 'cafe_meat' },
{ title: 'شیک', restaurantSlug: 'cafe_meat' },
{ title: 'غذا اصلی', restaurantSlug: 'cafe_meat' },
{ title: 'بار گرم بدون کافئین ', restaurantSlug: 'cafe_meat' },
{ title: 'کیک', restaurantSlug: 'cafe_meat' },
{ title: 'قهوه ها', restaurantSlug: 'Moon' },
{ title: 'پیستری', restaurantSlug: 'Moon' },
{ title: 'چای و دمنوش', restaurantSlug: 'Moon' },
{ title: 'نوشیدنی سرد', restaurantSlug: 'Moon' },
{ title: 'ماکتل', restaurantSlug: 'Moon' },
{ title: 'بستنی', restaurantSlug: 'Moon' },
{ title: 'نوشیدنی گرم', restaurantSlug: 'Moon' },
{ title: 'ایتم های بر پایه شیر', restaurantSlug: 'Moon' },
{ title: 'بیکری', restaurantSlug: 'Moon' },
{ title: 'سانویچ سرد', restaurantSlug: 'Moon' },
{ title: 'سالاد', restaurantSlug: 'Moon' },
{ title: 'اب', restaurantSlug: 'Moon' },
{ title: 'پیتزا', restaurantSlug: 'Moon' },
{ title: 'پاستاها', restaurantSlug: 'passata' },
{ title: 'Menu star (Only for special days)', restaurantSlug: 'passata' },
{ title: 'تاپینگ بار', restaurantSlug: 'passata' },
{ title: 'چیاباتا(سندویچ‌)', restaurantSlug: 'passata' },
{ title: 'نوشیدنی', restaurantSlug: 'passata' },
{ title: 'آش ها', restaurantSlug: 'kolbe-setareh' },
{ title: 'غذاهای اصلی', restaurantSlug: 'kolbe-setareh' },
{ title: 'غذاهای ویژه در طول هفته', restaurantSlug: 'kolbe-setareh' },
{ title: 'صبحانه ', restaurantSlug: 'kolbe-setareh' },
{ title: 'نوشیدنی ها', restaurantSlug: 'kolbe-setareh' },
{ title: 'پیش غذا', restaurantSlug: 'kolbe-setareh' },
{ title: 'دسرها', restaurantSlug: 'kolbe-setareh' },
{ title: 'سرویس اضافه', restaurantSlug: 'kolbe-setareh' },
export const categoriesData: CategoryData[] = [{ title: 'پاستا', restaurantSlug: 'zhivan' },
{ title: 'پیتزا ایتالیایی', restaurantSlug: 'zhivan' },
{ title: 'پیتزا امریکایی', restaurantSlug: 'zhivan' },
{ title: 'استیک', restaurantSlug: 'zhivan' },
{ title: 'غذاهای گریل و فرنگی', restaurantSlug: 'zhivan' },
{ title: 'ساندویچ و برگر', restaurantSlug: 'zhivan' },
{ title: 'سوخاری', restaurantSlug: 'zhivan' },
{ title: 'سالاد', restaurantSlug: 'zhivan' },
{ title: 'پیش غذا', restaurantSlug: 'zhivan' },
{ title: 'نوشیدنی ها', restaurantSlug: 'zhivan' },
{ title: 'قهوه ', restaurantSlug: 'zhivan' },
{ title: 'موهیتو بار', restaurantSlug: 'zhivan' },
{ title: 'اسموتی و شیک ها ', restaurantSlug: 'zhivan' },
{ title: 'کیک و دسر', restaurantSlug: 'zhivan' },
{ title: 'چای و دمنوش ', restaurantSlug: 'zhivan' },
{ title: 'آیس کافی', restaurantSlug: 'zhivan' },
{ title: 'ایرانی', restaurantSlug: 'zhivan' },
{ title: 'شربت و عرقیجات', restaurantSlug: 'zhivan' },
{ title: 'ماکتیل', restaurantSlug: 'zhivan' },
{ title: 'نوشیدنی های گرم', restaurantSlug: 'sepanta' },
{ title: 'شیک ها', restaurantSlug: 'sepanta' },
{ title: 'کیک ها', restaurantSlug: 'sepanta' },
{ title: 'شربت ها ', restaurantSlug: 'sepanta' },
{ title: 'دمنوش ها', restaurantSlug: 'sepanta' },
{ title: 'صبحانه', restaurantSlug: 'ocafe' },
{ title: 'سیب زمینی ها', restaurantSlug: 'ocafe' },
{ title: 'پیش غذا و سالادها ', restaurantSlug: 'ocafe' },
{ title: 'غذاهای اصلی ', restaurantSlug: 'ocafe' },
{ title: 'کوکی و دسرها (آیتم ها به تعداد محدود در روز موجود می‌باشد )', restaurantSlug: 'ocafe' },
{ title: 'موکتل های ایرانی و ملل ', restaurantSlug: 'ocafe' },
{ title: 'شیک ها ', restaurantSlug: 'ocafe' },
{ title: 'نوشیدنی های گرم بر پایه اسپرسو ', restaurantSlug: 'ocafe' },
{ title: 'نوشیدنی های سرد بر پایه اسپرسو ', restaurantSlug: 'ocafe' },
{ title: 'نوشیدنی های گرم ملل ', restaurantSlug: 'ocafe' },
{ title: 'چای های ایرانی ', restaurantSlug: 'ocafe' },
{ title: 'دمنوش ها ', restaurantSlug: 'ocafe' },
{ title: 'قهوه های شنی ', restaurantSlug: 'ocafe' },
{ title: 'کلد برو ', restaurantSlug: 'ocafe' },
{ title: 'متدهای موج سوم', restaurantSlug: 'ocafe' },
{ title: 'آپشنال ', restaurantSlug: 'ocafe' },
{ title: 'نوشیدنی', restaurantSlug: 'ocafe' },
{ title: 'لقمه', restaurantSlug: 'ocafe' },
{ title: 'خوراک ها', restaurantSlug: 'easydizy' },
{ title: 'چاشنی ها', restaurantSlug: 'easydizy' },
{ title: 'نوشیدنی های خنک', restaurantSlug: 'easydizy' },
{ title: 'دسر ها', restaurantSlug: 'easydizy' },
{ title: 'پیش غذا ', restaurantSlug: 'boote' },
{ title: 'پیتزا آمریکایی', restaurantSlug: 'boote' },
{ title: 'پیتزا ایتالیایی ', restaurantSlug: 'boote' },
{ title: 'پاستا ', restaurantSlug: 'boote' },
{ title: 'ناهار بوته', restaurantSlug: 'boote' },
{ title: 'غذای اصلی', restaurantSlug: 'boote' },
{ title: 'ساندویچ', restaurantSlug: 'boote' },
{ title: 'اسپرسو بار', restaurantSlug: 'boote' },
{ title: 'دمی بار', restaurantSlug: 'boote' },
{ title: 'هاوس آف تی', restaurantSlug: 'boote' },
{ title: 'امریکن استایل', restaurantSlug: 'boote' },
{ title: 'کیک و دسر', restaurantSlug: 'boote' },
{ title: 'آیس کافی', restaurantSlug: 'boote' },
{ title: 'ماکتل بار', restaurantSlug: 'boote' },
{ title: 'ژلاتو میلک شیک', restaurantSlug: 'boote' },
{ title: 'صبحانه', restaurantSlug: 'boote' },
{ title: 'اسموتی بار', restaurantSlug: 'boote' },
{ title: 'چاکلت بار', restaurantSlug: 'boote' },
{ title: 'نوشیدنی های گرم ', restaurantSlug: 'life' },
{ title: 'نوشیدنی های سرد ', restaurantSlug: 'life' },
{ title: 'صبحانه ', restaurantSlug: 'life' },
{ title: 'میان وعده', restaurantSlug: 'life' },
{ title: 'بستنی', restaurantSlug: 'life' },
{ title: 'شیک', restaurantSlug: 'life' },
{ title: 'قلیان', restaurantSlug: 'life' },
{ title: 'پیتزا ایتالیایی ', restaurantSlug: 'productcourt' },
{ title: 'پیتزا آمریکایی ', restaurantSlug: 'productcourt' },
{ title: 'پاستاها', restaurantSlug: 'productcourt' },
{ title: 'استیک ها', restaurantSlug: 'productcourt' },
{ title: 'برگرها', restaurantSlug: 'productcourt' },
{ title: 'ایرانی', restaurantSlug: 'productcourt' },
{ title: 'سالاد.', restaurantSlug: 'productcourt' },
{ title: 'پیش غذا.', restaurantSlug: 'productcourt' },
{ title: 'نوشیدنی ها ', restaurantSlug: 'productcourt' },
{ title: 'کیک و دسر', restaurantSlug: 'productcourt' },
{ title: 'اسپرسو بار', restaurantSlug: 'productcourt' },
{ title: 'نوشیدنی های گرم', restaurantSlug: 'productcourt' },
{ title: 'چای و دمنوش', restaurantSlug: 'productcourt' },
{ title: 'آیس کافه', restaurantSlug: 'productcourt' },
{ title: 'میلک شیک', restaurantSlug: 'productcourt' },
{ title: 'نوشیدی های سرد', restaurantSlug: 'productcourt' },
{ title: 'قهوه های دمی.', restaurantSlug: 'productcourt' },
{ title: 'گلاسه ها', restaurantSlug: 'productcourt' },
{ title: 'صبحانه ', restaurantSlug: 'productcourt' },
{ title: ' پیش غذا', restaurantSlug: 'banicho' },
{ title: 'کباب ها ', restaurantSlug: 'banicho' },
{ title: 'دمنوش', restaurantSlug: 'banicho' },
{ title: 'قهوه های دمی', restaurantSlug: 'banicho' },
{ title: 'جگر گوسفندی', restaurantSlug: 'banicho' },
{ title: 'جگر گوساله', restaurantSlug: 'banicho' },
{ title: 'بارسرد ', restaurantSlug: 'banicho' },
{ title: 'بارگرم', restaurantSlug: 'banicho' },
{ title: 'نوشیدنی گرم بر پایه اسپرسو', restaurantSlug: 'blacksugar' },
{ title: ' نوشیدنی گرم ', restaurantSlug: 'blacksugar' },
{ title: 'قهوه سرد', restaurantSlug: 'blacksugar' },
{ title: ' قهوه دمی', restaurantSlug: 'blacksugar' },
{ title: ' میان وعده و دسر', restaurantSlug: 'blacksugar' },
{ title: 'پیش غذاها', restaurantSlug: 'Piano' },
{ title: 'ساندویچ و برگر', restaurantSlug: 'Piano' },
{ title: 'پیتزا امریکایی', restaurantSlug: 'Piano' },
{ title: 'پیتزا ایتالیایی', restaurantSlug: 'Piano' },
{ title: 'پاستا', restaurantSlug: 'Piano' },
{ title: 'استیک', restaurantSlug: 'Piano' },
{ title: 'سوخاری', restaurantSlug: 'Piano' },
{ title: 'سالاد', restaurantSlug: 'Piano' },
{ title: 'بشقاب', restaurantSlug: 'Piano' },
{ title: 'پیده', restaurantSlug: 'Piano' },
{ title: 'خوراک', restaurantSlug: 'Piano' },
{ title: 'نوشیدنی گرم', restaurantSlug: 'Piano' },
{ title: 'نوشیدنی سرد', restaurantSlug: 'Piano' },
{ title: 'دسر و کیک', restaurantSlug: 'Piano' },
{ title: 'بستنی', restaurantSlug: 'Piano' },
{ title: 'دمنوش گیاهی', restaurantSlug: 'Piano' },
{ title: 'اسموتی', restaurantSlug: 'Piano' },
{ title: 'شیک', restaurantSlug: 'Piano' },
{ title: 'ماکتل ها', restaurantSlug: 'Piano' },
{ title: 'شربت ها', restaurantSlug: 'Piano' },
{ title: 'غذا', restaurantSlug: 'saadat' },
{ title: 'فرنگی', restaurantSlug: 'saadat' },
{ title: 'سالاد ها', restaurantSlug: 'saadat' },
{ title: 'نوشیدنی', restaurantSlug: 'saadat' },
{ title: 'قلیان', restaurantSlug: 'saadat' },
{ title: 'نوشیدنی های گرم', restaurantSlug: 'saadat' },
{ title: 'آیس کافی', restaurantSlug: 'saadat' },
{ title: 'چای', restaurantSlug: 'saadat' },
{ title: 'قهوه نسل ۳', restaurantSlug: 'saadat' },
{ title: 'ماکتل ها', restaurantSlug: 'saadat' },
{ title: 'شیک ها', restaurantSlug: 'saadat' },
{ title: 'پیش غذاها', restaurantSlug: 'saadat' },
{ title: 'خوراک مخصوص هفت خوان', restaurantSlug: 'Haaft khaan' },
{ title: 'خوراک', restaurantSlug: 'Haaft khaan' },
{ title: 'پیش غذا', restaurantSlug: 'Haaft khaan' },
{ title: 'نوشیدنی', restaurantSlug: 'Haaft khaan' },
{ title: 'چای و نوشیدنی گرم', restaurantSlug: 'Haaft khaan' },
{ title: 'قلیان', restaurantSlug: 'Haaft khaan' },
{ title: 'دسر', restaurantSlug: 'Haaft khaan' },
{ title: ' نوشیدنی های سرد', restaurantSlug: '1972Cafe' },
{ title: 'پیتزا ', restaurantSlug: '1972Cafe' },
{ title: 'قهوه و نوشیدنی گرم', restaurantSlug: '1972Cafe' },
{ title: 'پیش غذا و سالاد ', restaurantSlug: '1972Cafe' },
{ title: 'کیک', restaurantSlug: '1972Cafe' },
{ title: 'قهوه های دمی ', restaurantSlug: '1972Cafe' },
{ title: 'چای و دمنوش', restaurantSlug: '1972Cafe' },
{ title: 'پاستا', restaurantSlug: '1972Cafe' },
{ title: 'برگر', restaurantSlug: '1972Cafe' },
{ title: 'قلیان', restaurantSlug: '1972Cafe' },
{ title: 'پیتزاها', restaurantSlug: 'lounge1' },
{ title: 'پیتزا', restaurantSlug: 'Honar' },
{ title: 'برگر', restaurantSlug: 'cafe_sepanj' },
{ title: 'پاستا', restaurantSlug: 'cafe_sepanj' },
{ title: 'پنینی ', restaurantSlug: 'cafe_sepanj' },
{ title: 'هات داگ ', restaurantSlug: 'cafe_sepanj' },
{ title: 'سوخاری', restaurantSlug: 'cafe_sepanj' },
{ title: 'سیب زمینی', restaurantSlug: 'cafe_sepanj' },
{ title: 'سالاد', restaurantSlug: 'cafe_sepanj' },
{ title: 'نوشیدنی', restaurantSlug: 'cafe_sepanj' },
{ title: 'اسپرسو بار', restaurantSlug: 'cafe_sepanj' },
{ title: 'نوشیدنی گرم', restaurantSlug: 'cafe_sepanj' },
{ title: 'دمی', restaurantSlug: 'cafe_sepanj' },
{ title: ' ایس کافی', restaurantSlug: 'cafe_sepanj' },
{ title: 'چای دمنوش', restaurantSlug: 'cafe_sepanj' },
{ title: 'کیک', restaurantSlug: 'cafe_sepanj' },
{ title: 'شیک', restaurantSlug: 'cafe_sepanj' },
{ title: 'نوشیدنی سرد', restaurantSlug: 'cafe_sepanj' },
{ title: 'سیروپ', restaurantSlug: 'monikh' },
{ title: 'کیک', restaurantSlug: 'monikh' },
{ title: 'ساندویچ سرد', restaurantSlug: 'monikh' },
{ title: 'بر پایه اسپرسو', restaurantSlug: 'monikh' },
{ title: 'ماچا', restaurantSlug: 'monikh' },
{ title: 'بدون اسپرسو', restaurantSlug: 'monikh' },
{ title: 'چای و دمنوش', restaurantSlug: 'monikh' },
{ title: 'شیک و اسموتی', restaurantSlug: 'monikh' },
{ title: 'نوشیدنی های گرم (بر پایه اسپرسو)', restaurantSlug: 'o-cafe' },
{ title: 'نوشیدنی های سرد ', restaurantSlug: 'o-cafe' },
{ title: ' نوشیدنی های گرم ملل', restaurantSlug: 'o-cafe' },
{ title: ' قهوه های شنی', restaurantSlug: 'o-cafe' },
{ title: ' شیک ها', restaurantSlug: 'o-cafe' },
{ title: ' کوکی ها و دسرها', restaurantSlug: 'o-cafe' },
{ title: ' کلد برو', restaurantSlug: 'o-cafe' },
{ title: ' موج سوم', restaurantSlug: 'o-cafe' },
{ title: ' چای های ایرانی', restaurantSlug: 'o-cafe' },
{ title: ' دمنوش ها', restaurantSlug: 'o-cafe' },
{ title: ' ماکتل ها', restaurantSlug: 'o-cafe' },
{ title: ' غذاهای اصلی', restaurantSlug: 'o-cafe' },
{ title: ' پیش غذاها', restaurantSlug: 'o-cafe' },
{ title: ' سیب زمینی ها', restaurantSlug: 'o-cafe' },
{ title: ' صبحانه ها', restaurantSlug: 'o-cafe' },
{ title: ' آپشنال', restaurantSlug: 'o-cafe' },
{ title: 'پیش غذا', restaurantSlug: 'yummyburger' },
{ title: 'برگرها', restaurantSlug: 'yummyburger' },
{ title: 'دبل برگرها', restaurantSlug: 'yummyburger' },
{ title: 'تریپل برگرها', restaurantSlug: 'yummyburger' },
{ title: 'پیتزا ها', restaurantSlug: 'yummyburger' },
{ title: 'نوشیدنی ها', restaurantSlug: 'yummyburger' },
{ title: 'ساندویچ', restaurantSlug: 'yummyburger' },
{ title: 'سالاد و پیش غذا', restaurantSlug: 'mahtabgarden' },
{ title: 'آش بار مهتاب', restaurantSlug: 'mahtabgarden' },
{ title: 'غذای اصلی', restaurantSlug: 'mahtabgarden' },
{ title: 'شربت بار مهتاب', restaurantSlug: 'mahtabgarden' },
{ title: 'برگر', restaurantSlug: 'mahtabgarden' },
{ title: 'کافی بار', restaurantSlug: 'mahtabgarden' },
{ title: 'نوشیدنی گرم شکلاتی', restaurantSlug: 'mahtabgarden' },
{ title: 'دسر و کیک', restaurantSlug: 'mahtabgarden' },
{ title: 'شیک', restaurantSlug: 'mahtabgarden' },
{ title: 'دمنوش بار', restaurantSlug: 'mahtabgarden' },
{ title: 'ماکتل بار', restaurantSlug: 'mahtabgarden' },
{ title: 'اسموتی', restaurantSlug: 'mahtabgarden' },
{ title: 'نوشیدنی سرد', restaurantSlug: 'mahtabgarden' },
{ title: 'نوشیدنی های بر پایه اسپرسو', restaurantSlug: 'dream' },
{ title: 'قهوه های دمی ', restaurantSlug: 'dream' },
{ title: 'نوشیدنی های گرم', restaurantSlug: 'dream' },
{ title: 'چای و دمنوش', restaurantSlug: 'dream' },
{ title: 'قهوه های سرد', restaurantSlug: 'dream' },
{ title: 'شیک ها', restaurantSlug: 'dream' },
{ title: 'موکتل و آب میوه ها', restaurantSlug: 'dream' },
{ title: 'شربت ها', restaurantSlug: 'dream' },
{ title: 'فانتزی', restaurantSlug: 'dream' },
{ title: 'افزودنی', restaurantSlug: 'dream' },
{ title: 'بستنی ', restaurantSlug: 'dream' },
{ title: 'دسر', restaurantSlug: 'dream' },
{ title: 'صبحانه', restaurantSlug: 'dream' },
{ title: 'پیتزا ایتالیایی', restaurantSlug: 'dream' },
{ title: 'برگر', restaurantSlug: 'dream' },
{ title: 'پیش غذا', restaurantSlug: 'dream' },
{ title: 'پاستا', restaurantSlug: 'dream' },
{ title: 'سوخاری', restaurantSlug: 'dream' },
{ title: 'خوراک', restaurantSlug: 'dream' },
{ title: 'پیده', restaurantSlug: 'dream' },
{ title: 'شیرینی', restaurantSlug: 'dream' },
{ title: 'استیک ها', restaurantSlug: 'dream' },
{ title: 'سالاد', restaurantSlug: 'dream' },
{ title: 'پیتزا آمریکایی', restaurantSlug: 'dream' },
{ title: 'غذای ایرانی', restaurantSlug: 'dream' },
{ title: 'باربیکیو', restaurantSlug: 'dream' },
{ title: 'پیش غذاها', restaurantSlug: 'lanka' },
{ title: 'ایران زمین', restaurantSlug: 'lanka' },
{ title: 'پیتزا ایتالیایی', restaurantSlug: 'lanka' },
{ title: 'برگرها', restaurantSlug: 'lanka' },
{ title: 'استیک ها', restaurantSlug: 'lanka' },
{ title: 'پاستا', restaurantSlug: 'lanka' },
{ title: 'سالاد', restaurantSlug: 'lanka' },
{ title: 'دریایی ها', restaurantSlug: 'lanka' },
{ title: 'شات سس ها', restaurantSlug: 'lanka' },
{ title: 'اسپرسو بار', restaurantSlug: 'lanka' },
{ title: 'نوشیدنی گرم', restaurantSlug: 'lanka' },
{ title: 'آیس کافی', restaurantSlug: 'lanka' },
{ title: 'میلک شیک', restaurantSlug: 'lanka' },
{ title: 'نوشیدنی سرد', restaurantSlug: 'lanka' },
{ title: 'کیک و دسر ', restaurantSlug: 'lanka' },
{ title: 'سوخاری ها', restaurantSlug: 'lanka' },
{ title: 'چای و دمنوش', restaurantSlug: 'lanka' },
{ title: 'قهوه دمی', restaurantSlug: 'lanka' },
{ title: 'اسموتی ', restaurantSlug: 'lanka' },
{ title: 'vip drink', restaurantSlug: 'lanka' },
{ title: 'اسپرسو', restaurantSlug: 'LIAN' },
{ title: 'اسپرسو با شیر', restaurantSlug: 'LIAN' },
{ title: 'بار گرم', restaurantSlug: 'LIAN' },
{ title: 'آیس کافی', restaurantSlug: 'LIAN' },
{ title: 'آیس', restaurantSlug: 'LIAN' },
{ title: 'ماکتیل', restaurantSlug: 'LIAN' },
{ title: 'شیک', restaurantSlug: 'LIAN' },
{ title: 'دمی', restaurantSlug: 'LIAN' },
{ title: 'اسموتی', restaurantSlug: 'LIAN' },
{ title: 'میان وعده', restaurantSlug: 'LIAN' },
{ title: 'کیک ها', restaurantSlug: 'LIAN' },
{ title: 'چای و دمنوش', restaurantSlug: 'LIAN' },
{ title: 'بار گرم', restaurantSlug: 'milco-pilco' },
{ title: 'چای ها', restaurantSlug: 'milco-pilco' },
{ title: 'دمنوش ها', restaurantSlug: 'milco-pilco' },
{ title: 'شیک ها', restaurantSlug: 'milco-pilco' },
{ title: 'بارسرد', restaurantSlug: 'milco-pilco' },
{ title: 'برگرها ', restaurantSlug: 'milco-pilco' },
{ title: 'هات داگ ها', restaurantSlug: 'milco-pilco' },
{ title: 'نوستالژی', restaurantSlug: 'milco-pilco' },
{ title: 'سوخاری', restaurantSlug: 'milco-pilco' },
{ title: 'سیب زمینی', restaurantSlug: 'milco-pilco' },
{ title: 'پاستا', restaurantSlug: 'milco-pilco' },
{ title: 'سالاد ', restaurantSlug: 'milco-pilco' },
{ title: 'اسپرسو بار', restaurantSlug: 'milco-pilco' },
{ title: 'نوشیدنی سرد بر پایه قهوه', restaurantSlug: 'milco-pilco' },
{ title: 'ساندویچ ', restaurantSlug: 'milco-pilco' },
{ title: 'نوشیدنی های گرم بر پایه قهوه', restaurantSlug: 'lama' },
{ title: 'نوشیدنی های گرم', restaurantSlug: 'lama' },
{ title: 'دمنوش ها', restaurantSlug: 'lama' },
{ title: 'نوشیدنی های سر بر پایه قهوه', restaurantSlug: 'lama' },
{ title: 'ماکتیل', restaurantSlug: 'lama' },
{ title: 'چای', restaurantSlug: 'lama' },
{ title: 'شیک', restaurantSlug: 'lama' },
{ title: 'پیتزا', restaurantSlug: 'lama' },
{ title: 'برگر', restaurantSlug: 'lama' },
{ title: 'ساندویچ', restaurantSlug: 'lama' },
{ title: 'ساندویچ نوستالژی', restaurantSlug: 'lama' },
{ title: 'سوخاری', restaurantSlug: 'lama' },
{ title: 'سیب زمینی', restaurantSlug: 'lama' },
{ title: 'پنه', restaurantSlug: 'lama' },
{ title: 'غذای ایرانی', restaurantSlug: 'kaj.producthall' },
{ title: 'پیتزا آمریکایی', restaurantSlug: 'kaj.producthall' },
{ title: 'پیتزا ایتالیایی', restaurantSlug: 'kaj.producthall' },
{ title: 'برگر', restaurantSlug: 'kaj.producthall' },
{ title: 'خوراک', restaurantSlug: 'kaj.producthall' },
{ title: 'پیده', restaurantSlug: 'kaj.producthall' },
{ title: 'سوخاری', restaurantSlug: 'kaj.producthall' },
{ title: 'استیک', restaurantSlug: 'kaj.producthall' },
{ title: 'پاستا', restaurantSlug: 'kaj.producthall' },
{ title: 'پیش غذا', restaurantSlug: 'kaj.producthall' },
{ title: 'سالاد', restaurantSlug: 'kaj.producthall' },
{ title: 'نوشیدنی های بر پایه اسپرسو', restaurantSlug: 'kaj.producthall' },
{ title: 'قهوه های دمی', restaurantSlug: 'kaj.producthall' },
{ title: 'قهوه های سرد', restaurantSlug: 'kaj.producthall' },
{ title: 'چای و دمنوش ', restaurantSlug: 'kaj.producthall' },
{ title: 'نوشیدنی های گرم', restaurantSlug: 'kaj.producthall' },
{ title: 'موکتل و آب میوه ها', restaurantSlug: 'kaj.producthall' },
{ title: 'دسر', restaurantSlug: 'kaj.producthall' },
{ title: 'شیک ', restaurantSlug: 'kaj.producthall' },
{ title: 'بستنی', restaurantSlug: 'kaj.producthall' },
{ title: 'شربت', restaurantSlug: 'kaj.producthall' },
{ title: 'دسر', restaurantSlug: 'hamid' },
{ title: 'شیک', restaurantSlug: 'donat-factory' },
{ title: 'بستنی ویژه', restaurantSlug: 'donat-factory' },
{ title: 'دسر', restaurantSlug: 'donat-factory' },
{ title: 'اسموتی', restaurantSlug: 'donat-factory' },
{ title: 'آیس کافی', restaurantSlug: 'donat-factory' },
{ title: 'قهوه', restaurantSlug: 'donat-factory' },
{ title: 'نوشیدنی های گرم', restaurantSlug: 'donat-factory' },
{ title: 'دمنوش', restaurantSlug: 'donat-factory' },
{ title: 'آیس بستنی', restaurantSlug: 'donat-factory' },
{ title: 'ویتامینه', restaurantSlug: 'donat-factory' },
{ title: 'آبمیوه طبیعی', restaurantSlug: 'donat-factory' },
{ title: 'دونات اسپشیال ', restaurantSlug: 'donat-factory' },
{ title: 'دونات آرت', restaurantSlug: 'donat-factory' },
{ title: 'دونات فانتزی', restaurantSlug: 'donat-factory' },
{ title: 'دونات جنرال', restaurantSlug: 'donat-factory' },
{ title: 'رست نات', restaurantSlug: 'donat-factory' },
{ title: 'برلینر', restaurantSlug: 'donat-factory' },
{ title: 'دونات اسپال', restaurantSlug: 'donat-factory' },
{ title: 'دونات لقمه ای ', restaurantSlug: 'donat-factory' },
{ title: 'دونات لقمه ای', restaurantSlug: 'donat-factory' },
{ title: 'دونات ناتس', restaurantSlug: 'donat-factory' },
{ title: 'صبحانه', restaurantSlug: 'donat-factory' },
{ title: 'اسنک و‌ میان وعده', restaurantSlug: 'donat-factory' },
{ title: 'دونات دوبی ', restaurantSlug: 'donat-factory' },
{ title: 'منوی اقتصادی ', restaurantSlug: 'donat-factory' },
{ title: 'پیتزا آمریکایی', restaurantSlug: 'narsis' },
{ title: 'برگرها', restaurantSlug: 'narsis' },
{ title: 'پاستاها', restaurantSlug: 'narsis' },
{ title: 'پیش غذا', restaurantSlug: 'narsis' },
{ title: 'نوشیدنی سرد آماده', restaurantSlug: 'narsis' },
{ title: 'نوشیدنی گرم', restaurantSlug: 'narsis' },
{ title: 'قهوه', restaurantSlug: 'narsis' },
{ title: 'نوشیدنی های سرد', restaurantSlug: 'narsis' },
{ title: 'نوشیدنی های سرد بر پایه قهوه', restaurantSlug: 'narsis' },
{ title: 'نوشیدنی های طبیعی با بستنی', restaurantSlug: 'narsis' },
{ title: 'ﻧﻮﺷﯿﺪﻧﯽ ﻫﺎ ﺑﺮ ﭘﺎﯾﻪ ﺷﯿﺮ', restaurantSlug: 'narsis' },
{ title: 'شیک ﻫﺎ و آﯾﺲ پک ها', restaurantSlug: 'narsis' },
{ title: 'آﺑﻤﯿﻮه ﻫﺎی ﻃﺒﯿﻌﯽ', restaurantSlug: 'narsis' },
{ title: 'آﺑﻤﯿﻮه ﻫﺎی ترکیبی', restaurantSlug: 'narsis' },
{ title: 'افزودنی ها', restaurantSlug: 'narsis' },
{ title: 'کیک ها ', restaurantSlug: 'narsis' },
{ title: 'خوراک ها', restaurantSlug: 'narsis' },
{ title: 'غذاهای چلویی', restaurantSlug: 'narsis' },
{ title: 'قهوه گرم', restaurantSlug: 'Theory' },
{ title: 'قهوه سرد', restaurantSlug: 'Theory' },
{ title: 'قهوه دمی', restaurantSlug: 'Theory' },
{ title: 'ماکتل', restaurantSlug: 'Theory' },
{ title: 'اسموتی', restaurantSlug: 'Theory' },
{ title: 'نوشیدنی گرم', restaurantSlug: 'Theory' },
{ title: 'ساندویچ گرم', restaurantSlug: 'Theory' },
{ title: 'ساندویچ سرد', restaurantSlug: 'Theory' },
{ title: 'سالاد و پیش غذا', restaurantSlug: 'Theory' },
{ title: 'چای و دمنوش', restaurantSlug: 'Theory' },
{ title: 'دسر', restaurantSlug: 'Theory' },
{ title: 'صبحانه', restaurantSlug: 'Theory' },
{ title: 'شیک', restaurantSlug: 'Theory' },
{ title: 'اضافه بار', restaurantSlug: 'Theory' },
{ title: 'نوشیدنی گرم بر پایه اسپرسو', restaurantSlug: 'ahr_cofe' },
{ title: 'نوشیدنی گرم', restaurantSlug: 'ahr_cofe' },
{ title: 'نوشیدنی سرد بر پایه اسپرسو', restaurantSlug: 'ahr_cofe' },
{ title: 'دمنوش و چای', restaurantSlug: 'ahr_cofe' },
{ title: 'شیک', restaurantSlug: 'ahr_cofe' },
{ title: 'ماکتل', restaurantSlug: 'ahr_cofe' },
{ title: 'اسموتی', restaurantSlug: 'ahr_cofe' },
{ title: 'کیک و دسر', restaurantSlug: 'ahr_cofe' },
{ title: 'اسپرسو بار', restaurantSlug: 'cafe_meat' },
{ title: 'بارسرد بر پایه اسپرسو', restaurantSlug: 'cafe_meat' },
{ title: 'صبحانه', restaurantSlug: 'cafe_meat' },
{ title: 'پیش غذا', restaurantSlug: 'cafe_meat' },
{ title: 'دمنوش ها', restaurantSlug: 'cafe_meat' },
{ title: 'بارسرد', restaurantSlug: 'cafe_meat' },
{ title: 'شیک', restaurantSlug: 'cafe_meat' },
{ title: 'غذا اصلی', restaurantSlug: 'cafe_meat' },
{ title: 'بار گرم بدون کافئین ', restaurantSlug: 'cafe_meat' },
{ title: 'کیک', restaurantSlug: 'cafe_meat' },
{ title: 'قهوه ها', restaurantSlug: 'Moon' },
{ title: 'پیستری', restaurantSlug: 'Moon' },
{ title: 'چای و دمنوش', restaurantSlug: 'Moon' },
{ title: 'نوشیدنی سرد', restaurantSlug: 'Moon' },
{ title: 'ماکتل', restaurantSlug: 'Moon' },
{ title: 'بستنی', restaurantSlug: 'Moon' },
{ title: 'نوشیدنی گرم', restaurantSlug: 'Moon' },
{ title: 'ایتم های بر پایه شیر', restaurantSlug: 'Moon' },
{ title: 'بیکری', restaurantSlug: 'Moon' },
{ title: 'سانویچ سرد', restaurantSlug: 'Moon' },
{ title: 'سالاد', restaurantSlug: 'Moon' },
{ title: 'اب', restaurantSlug: 'Moon' },
{ title: 'پیتزا', restaurantSlug: 'Moon' },
{ title: 'پاستاها', restaurantSlug: 'passata' },
{ title: 'Menu star (Only for special days)', restaurantSlug: 'passata' },
{ title: 'تاپینگ بار', restaurantSlug: 'passata' },
{ title: 'چیاباتا(سندویچ‌)', restaurantSlug: 'passata' },
{ title: 'نوشیدنی', restaurantSlug: 'passata' },
{ title: 'آش ها', restaurantSlug: 'kolbe-setareh' },
{ title: 'غذاهای اصلی', restaurantSlug: 'kolbe-setareh' },
{ title: 'غذاهای ویژه در طول هفته', restaurantSlug: 'kolbe-setareh' },
{ title: 'صبحانه ', restaurantSlug: 'kolbe-setareh' },
{ title: 'نوشیدنی ها', restaurantSlug: 'kolbe-setareh' },
{ title: 'پیش غذا', restaurantSlug: 'kolbe-setareh' },
{ title: 'دسرها', restaurantSlug: 'kolbe-setareh' },
{ title: 'سرویس اضافه', restaurantSlug: 'kolbe-setareh' },
];
File diff suppressed because it is too large Load Diff
@@ -1,4 +1,4 @@
import { NotifChannelEnum, NotifTitleEnum } from '../../modules/notifications/interfaces/notification.interface';
import { NotifChannelEnum, NotifTitleEnum } from '../../modules/notification/interfaces/notification.interface';
export interface NotificationPreferenceData {
title: NotifTitleEnum;
+1 -1
View File
@@ -1,4 +1,4 @@
import { PaymentMethodEnum, PaymentGatewayEnum } from '../../modules/payments/interface/payment';
import { PaymentMethodEnum, PaymentGatewayEnum } from '../../modules/payment/interface/payment';
export interface PaymentMethodData {
method: PaymentMethodEnum;
-919
View File
@@ -1,919 +0,0 @@
import { PlanEnum } from 'src/modules/restaurants/interface/plan.interface';
export interface RestaurantData {
name: string;
slug: string;
domain: string;
isActive: boolean;
phone: string;
logo?: string;
score: {
purchaseAmount: string;
purchaseScore: string;
scoreAmount: string;
scoreCredit: string;
birthdayScore: string;
registerScore: string;
marriageDateScore: string;
referrerScore: string;
};
plan: PlanEnum;
subscriptionId: string;
}
export const restaurantsData: RestaurantData[] = [
{
name: 'ژیوان',
slug: 'zhivan',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/zhivan',
isActive: true,
phone: '',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1638870352717_61a3661f37a0d33354a6d210.png',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_zhivan_001',
},
{
name: 'سپنتا',
slug: 'sepanta',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/sepanta',
isActive: true,
phone: '',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1641199914860_61d2b72b2e8bd97126a70b5f.png',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_sepanta_001',
},
{
name: 'اکافه',
slug: 'ocafe',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/ocafe',
isActive: true,
phone: '',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1643274757715_61e509141601c7c7d9141989.png',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_ocafe_001',
},
{
name: 'رستوران ایزی دیزی',
slug: 'easydizy',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/easydizy',
isActive: true,
phone: '',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1644324825827_6202562b1ee4b0270db4ae58.png',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_easydizy_001',
},
{
name: 'کافه رستوران بوته',
slug: 'boote',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/boote',
isActive: true,
phone: '',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1644655737806_62076fa71ee4b0270db4c32d.png',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Premium,
subscriptionId: 'sub_seed_boote_001',
},
{
name: 'کافه لایف',
slug: 'life',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/life',
isActive: true,
phone: '',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1644838482386_6207b1211ee4b0270db4c4ae.png',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_life_001',
},
{
name: 'ninja park',
slug: 'foodcourt',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/foodcourt',
isActive: true,
phone: '',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1725286063770_6210b063adf126141b26173d.png',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_foodcourt_001',
},
{
name: 'هیزم',
slug: 'banicho',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/banicho',
isActive: true,
phone: '',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1699722686770_622dccbda03b80e0a44f1d3a.png',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_banicho_001',
},
{
name: 'بلک شوگر',
slug: 'blacksugar',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/blacksugar',
isActive: true,
phone: '',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1647809564910_62378f6bc1bb048b321cd949.png',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_blacksugar_001',
},
{
name: 'پیانو',
slug: 'Piano',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/Piano',
isActive: true,
phone: '',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1652476386948_627e3d972353df2fe6512c8f.png',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_Piano_001',
},
{
name: 'سعادت',
slug: 'saadat',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/saadat',
isActive: true,
phone: '',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1655296406771_62a9cff7128ed6fd013332dc.png',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_saadat_001',
},
{
name: 'هفت خوان',
slug: 'Haftkhan',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/Haftkhan',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_Haftkhan_001',
},
{
name: 'سفره خانه و باغ رستوران هفت خوان',
slug: 'Haaft khaan',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1657711159036_62cea8d47400250986c70a07.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/Haaft khaan',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_Haaft khaan_001',
},
{
name: '1972',
slug: '1972Cafe',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1658666648415_62dd3bf3faacb066e1206279.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/1972Cafe',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_1972Cafe_001',
},
{
name: 'لانژ',
slug: 'lounge1',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1659109491707_62e3ff5e96be484852cba3c3.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/lounge1',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_lounge1_001',
},
{
name: 'کافه رستوران هنر',
slug: 'Honar',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1662296508840_63131c3d96be484852d0a9ed.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/Honar',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_Honar_001',
},
{
name: 'خانه وانیلی',
slug: 'Vanilla',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1662977478952_631f0484e410c5322752c409.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/Vanilla',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_Vanilla_001',
},
{
name: '1972',
slug: '1972',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1672070842973_63a9c15f82d7fc8d726b8b2f.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/1972',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_1972_001',
},
{
name: 'نارسیس',
slug: 'Narcis',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/Narcis',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_Narcis_001',
},
{
name: 'کافه سپنج',
slug: 'cafe_sepanj',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1683113201780_6450aa9a98ff3c7414414230.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/cafe_sepanj',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_cafe_sepanj_001',
},
{
name: 'مونیخ',
slug: 'monikh',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1737820250944_6450d97a98ff3c7414414999.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/monikh',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_monikh_001',
},
{
name: 'اُ کافه',
slug: 'o-cafe',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1684406222541_6465ff4d98ff3c741442d56a.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/o-cafe',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_o-cafe_001',
},
{
name: 'یامی برگر',
slug: 'yummyburger',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1689594902563_64b3d17d98ff3c741448cccd.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/yummyburger',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_yummyburger_001',
},
{
name: 'کافه رستوران مهتاب',
slug: 'mahtabgarden',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1689965802684_64bad3b698ff3c741449521e.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/mahtabgarden',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_mahtabgarden_001',
},
{
name: 'dream',
slug: 'dream',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1692001432499_64d9e2b979f54f6403d7e0be.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/dream',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_dream_001',
},
{
name: 'لانکا',
slug: 'lanka',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1695032652234_650823be59383e8d7550ccb5.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/lanka',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_lanka_001',
},
{
name: '123',
slug: '123',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1696240982921_651a7ffe59383e8d7551eebf.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/123',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_123_001',
},
{
name: 'لیان',
slug: 'LIAN',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1701608905866_651ad03159383e8d7551f3be.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/LIAN',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_LIAN_001',
},
{
name: 'کافه رستوران لانکا',
slug: 'Lanka',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/Lanka',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_Lanka_001',
},
{
name: 'میلکو پلاس',
slug: 'milco-pilco',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1710166978715_65ef0b1d3ad722005756bb0f.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/milco-pilco',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_milco-pilco_001',
},
{
name: 'لاما',
slug: 'lama',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1710333176537_65ef1a093ad722005756bc8e.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/lama',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_lama_001',
},
{
name: 'کاج',
slug: 'kaj.foodhall',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1720963586174_6693d0cc136cc10070469510.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/kaj.foodhall',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_kaj.foodhall_001',
},
{
name: 'حمید',
slug: 'hamid',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1729929522774_671c9c58c3c0100063e4d1a9.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/hamid',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_hamid_001',
},
{
name: 'دونات فکتوری',
slug: 'donat-factory',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1731152090639_672f3c9bc3c0100063e6a526.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/donat-factory',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_donat-factory_001',
},
{
name: 'نارسیس',
slug: 'narsis',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1731314427492_6731c2b9c3c0100063e6e2ae.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/narsis',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_narsis_001',
},
{
name: 'تئوری',
slug: 'Theory',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1736665730887_677ab9f9a4463c0057e3ac5d.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/Theory',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_Theory_001',
},
{
name: 'testmenu',
slug: 'testmenu',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/testmenu',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_testmenu_001',
},
{
name: 'ahr_cafe',
slug: 'ahr_cofe',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1738074249830_6798e6aabd2ce20057144cfb.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/ahr_cofe',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_ahr_cofe_001',
},
{
name: 'cafe_meat',
slug: 'cafe_meat',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1739868881926_679b7fe7bd2ce200571498a8.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/cafe_meat',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_cafe_meat_001',
},
{
name: 'پیتزا خانواده',
slug: 'KFP',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1740470240551_67bd773f536282006220de43.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/KFP',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_KFP_001',
},
{
name: 'پیتزا خانواده ',
slug: 'KFP ',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/KFP ',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_KFP _001',
},
{
name: 'Themoon',
slug: 'Moon',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1743347876393_67e93f9e536282006224c40d.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/Moon',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_Moon_001',
},
{
name: 'زپارتی',
slug: 'zparty',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/zparty',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_zparty_001',
},
{
name: 'پاساتا پلاس',
slug: 'passata',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1749534426675_6847c5f3f114460057d617bf.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/passata',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_passata_001',
},
{
name: 'کلبه ستاره',
slug: 'kolbe-setareh',
logo: 'https://dmenu.danakcorp.com/uploads/images/store/store_1751196871890_686100dd9086300011bdf7d0.png',
domain: 'https://dmenu-plus-front.dev.danakcorp.com/kolbe-setareh',
isActive: true,
phone: '',
score: {
purchaseAmount: '100000',
purchaseScore: '0',
scoreAmount: '0',
scoreCredit: '0',
birthdayScore: '0',
registerScore: '0',
marriageDateScore: '0',
referrerScore: '0',
},
plan: PlanEnum.Base,
subscriptionId: 'sub_seed_kolbe-setareh_001',
},
];
+2 -2
View File
@@ -11,13 +11,13 @@ export const rolesData: RoleConfig[] = [
name: 'مدیر (پلن پایه)',
isSystem: false,
permissionFilter: (name: Permission) =>
name === Permission.MANAGE_FOODS ||
name === Permission.MANAGE_productS ||
name === Permission.MANAGE_CATEGORIES ||
name === Permission.MANAGE_SCHEDULES ||
name === Permission.MANAGE_PAGER ||
name === Permission.MANAGE_CONTACTS ||
name === Permission.MANAGE_ROLES ||
name === Permission.MANAGE_SETTINGS ||
name === Permission.MANAGE_ADMINS ||
name == Permission.VIEW_REPORTS ||
+26 -26
View File
@@ -1,19 +1,19 @@
import type { EntityManager } from '@mikro-orm/core';
import { Food } from '../modules/foods/entities/food.entity';
import { product } from '../modules/products/entities/product.entity';
import type { Restaurant } from '../modules/restaurants/entities/restaurant.entity';
import type { Category } from '../modules/foods/entities/category.entity';
import { MealType } from '../modules/foods/interface/food.interface';
import { foodsData } from './data/foods.data';
import type { Category } from '../modules/products/entities/category.entity';
import { MealType } from '../modules/products/interface/product.interface';
import { productsData } from './data/products.data';
export class FoodsSeeder {
export class productsSeeder {
async run(
em: EntityManager,
restaurantsMap: Map<string, Restaurant>,
categoriesMap: Map<string, Category>,
): Promise<void> {
for (const foodData of foodsData) {
const restaurant = restaurantsMap.get(foodData.restaurantSlug);
const key = `${foodData.restaurantSlug}-${foodData.categoryTitle}`;
for (const productData of productsData) {
const restaurant = restaurantsMap.get(productData.restaurantSlug);
const key = `${productData.restaurantSlug}-${productData.categoryTitle}`;
const normalize = (s: string) => (s || '').replace(/\s+/g, ' ').trim();
@@ -25,7 +25,7 @@ export class FoodsSeeder {
const parts = k.split('-');
const kSlug = parts[0];
const kTitle = parts.slice(1).join('-');
if (kSlug === foodData.restaurantSlug && normalize(kTitle) === normalize(foodData.categoryTitle)) {
if (kSlug === productData.restaurantSlug && normalize(kTitle) === normalize(productData.categoryTitle)) {
category = v;
break;
}
@@ -34,37 +34,37 @@ export class FoodsSeeder {
if (!restaurant || !category) {
console.warn(
`Skipping food \"${foodData.title}\" — missing ${!restaurant ? 'restaurant' : 'category'} for key ${key}`,
`Skipping product \"${productData.title}\" — missing ${!restaurant ? 'restaurant' : 'category'} for key ${key}`,
);
continue;
}
const existing = await em.findOne(Food, {
title: foodData.title,
const existing = await em.findOne(product, {
title: productData.title,
restaurant,
});
if (!existing) {
const food = em.create(Food, {
title: foodData.title,
desc: foodData.desc,
content: foodData.content,
price: foodData.price,
const product = em.create(product, {
title: productData.title,
desc: productData.desc,
content: productData.content,
price: productData.price,
restaurant,
category,
isActive: foodData.isActive,
// new fields on Food entity
weekDays: foodData.weekDays ?? [0, 1, 2, 3, 4, 5, 6],
mealTypes: foodData.mealTypes ?? [MealType.BREAKFAST, MealType.LUNCH, MealType.DINNER, MealType.SNACK],
discount: foodData.discount ?? 0,
score: foodData.score ?? 0,
isActive: productData.isActive,
// new fields on product entity
weekDays: productData.weekDays ?? [0, 1, 2, 3, 4, 5, 6],
mealTypes: productData.mealTypes ?? [MealType.BREAKFAST, MealType.LUNCH, MealType.DINNER, MealType.SNACK],
discount: productData.discount ?? 0,
score: productData.score ?? 0,
inPlaceServe: true,
pickupServe: true,
images: foodData.images,
isSpecialOffer: foodData.isSpecialOffer ?? false,
images: productData.images,
isSpecialOffer: productData.isSpecialOffer ?? false,
});
em.persist(food);
em.persist(product);
}
}
+6 -6
View File
@@ -1,20 +1,20 @@
import type { EntityManager } from '@mikro-orm/core';
import { Food } from '../modules/foods/entities/food.entity';
import { product } from '../modules/products/entities/product.entity';
import { Inventory } from '../modules/inventory/entities/inventory.entity';
export class InventorySeeder {
async run(em: EntityManager): Promise<void> {
const foods = await em.find(Food, {});
const products = await em.find(product, {});
for (const food of foods) {
// Check if inventory already exists for this food
for (const product of products) {
// Check if inventory already exists for this product
const existingInventory = await em.findOne(Inventory, {
food: { id: food.id },
product: { id: product.id },
});
if (!existingInventory) {
const inventory = em.create(Inventory, {
food,
product,
totalStock: 50,
availableStock: 50,
});
@@ -1,5 +1,5 @@
import type { EntityManager } from '@mikro-orm/core';
import { NotificationPreference } from '../modules/notifications/entities/notification-preference.entity';
import { NotificationPreference } from '../modules/notification/entities/notification-preference.entity';
import type { Restaurant } from '../modules/restaurants/entities/restaurant.entity';
import { notificationPreferencesData } from './data/notification-preferences.data';
+3 -3
View File
@@ -1,9 +1,9 @@
import type { EntityManager } from '@mikro-orm/core';
import { Notification } from '../modules/notifications/entities/notification.entity';
import { Notification } from '../modules/notification/entities/notification.entity';
import { Admin } from '../modules/admin/entities/admin.entity';
import { User } from '../modules/users/entities/user.entity';
import { User } from '../modules/user/entities/user.entity';
import { Restaurant } from '../modules/restaurants/entities/restaurant.entity';
import { NotifTitleEnum } from '../modules/notifications/interfaces/notification.interface';
import { NotifTitleEnum } from '../modules/notification/interfaces/notification.interface';
export class NotificationsSeeder {
/**
+1 -1
View File
@@ -1,5 +1,5 @@
import type { EntityManager } from '@mikro-orm/core';
import { PaymentMethod } from '../modules/payments/entities/payment-method.entity';
import { PaymentMethod } from '../modules/payment/entities/payment-method.entity';
import type { Restaurant } from '../modules/restaurants/entities/restaurant.entity';
import { paymentMethodsData } from './data/payment-methods.data';
+3 -3
View File
@@ -1,8 +1,8 @@
import type { EntityManager } from '@mikro-orm/core';
import { User } from '../modules/users/entities/user.entity';
import { User } from '../modules/user/entities/user.entity';
import { Restaurant } from '../modules/restaurants/entities/restaurant.entity';
import { WalletTransaction } from '../modules/users/entities/wallet-transaction.entity';
import { WalletTransactionReason, WalletTransactionType } from 'src/modules/users/interface/wallet';
import { WalletTransaction } from '../modules/user/entities/wallet-transaction.entity';
import { WalletTransactionReason, WalletTransactionType } from 'src/modules/user/interface/wallet';
export class UserWalletsSeeder {
async run(em: EntityManager): Promise<void> {
+3 -3
View File
@@ -1,9 +1,9 @@
import type { EntityManager } from '@mikro-orm/core';
import { User } from '../modules/users/entities/user.entity';
import { UserAddress } from '../modules/users/entities/user-address.entity';
import { User } from '../modules/user/entities/user.entity';
import { UserAddress } from '../modules/user/entities/user-address.entity';
import { usersData } from './data/users.data';
import { userAddressesData } from './data/user-addresses.data';
import { normalizePhone } from '../modules/utils/phone.util';
import { normalizePhone } from '../modules/util/phone.util';
export class UsersSeeder {
async run(em: EntityManager): Promise<Map<string, User>> {