import { client } from "../client"; import type { WeeklySlot } from "../client"; export type InstanceWeeklyPlan = { weekly_plan: WeeklySlot[]; weekly_plan_inherited: boolean }; export function getInstanceWeeklyPlan(id: string, signal?: AbortSignal): Promise { return client(`/instances/${id}/weekly-plan`, { signal }); }