hezarfen_frontend
Clone
https://git.tahinli.com/archive/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiB5fcd955Burak Boduroğlu2 months ago730 commits
| 1 | import { client } from "../client"; |
| 2 | import type { WeeklySlot } from "../client"; |
| 3 | import type { CreateWeeklySlotBody } from "../offerings/postOfferingWeeklySlot"; |
| 4 | |
| 5 | // Adds a slot to the section's own week; from here its own rows are the plan. |
| 6 | export function postInstanceWeeklySlot(id: string, body: CreateWeeklySlotBody): Promise<WeeklySlot> { |
| 7 | return client<WeeklySlot>(`/instances/${id}/weekly-plan`, { method: "POST", body }); |
| 8 | } |