forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiB5fcd955Burak Boduroğlu2 months ago730 commits

getInstanceWeeklyPlan.ts8 lines, 365 bytesHistoryRawDownload
1import { client } from "../client";
2import type { WeeklySlot } from "../client";
3
4export type InstanceWeeklyPlan = { weekly_plan: WeeklySlot[]; weekly_plan_inherited: boolean };
5
6export function getInstanceWeeklyPlan(id: string, signal?: AbortSignal): Promise<InstanceWeeklyPlan> {
7 return client<InstanceWeeklyPlan>(`/instances/${id}/weekly-plan`, { signal });
8}