Files
shahikitchen-prod/domain/menu/repository.ts
T

8 lines
271 B
TypeScript

import type { MenuCategory, MenuItem } from './entities';
/** Port: menu data access (implemented by infrastructure). */
export interface MenuRepository {
getCategories(): MenuCategory[];
getAllItems(): MenuItem[];
findItemById(id: string): MenuItem | undefined;
}