8 lines
271 B
TypeScript
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;
|
|
} |