import { client } from "../client"; import { normalizePage, pageQuery, type Page, type PageParams } from "../client"; import type { MealBooking } from "../client"; export async function getMealMenuBookings( menuId: string, params?: PageParams, signal?: AbortSignal, ): Promise> { const data = await client( `/meals/menus/${encodeURIComponent(menuId)}/bookings${pageQuery(params)}`, { signal }, ); return normalizePage(data); }