Replace entire repo content with kottgard-production-v1.1.zip (for shahikitchen-prod repo)
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
import type { MenuRepository } from '@/domain/menu/repository';
|
||||
import { allMenuItems, menuCategories } from './static-menu-data';
|
||||
|
||||
export class StaticMenuRepository implements MenuRepository {
|
||||
getCategories() {
|
||||
return menuCategories;
|
||||
}
|
||||
|
||||
getAllItems() {
|
||||
return allMenuItems;
|
||||
}
|
||||
|
||||
findItemById(id: string) {
|
||||
return allMenuItems.find((item) => item.id === id);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user