Group duration context menu utils (#1748)

This commit is contained in:
Alex Christoffer Rasmussen
2026-08-09 16:45:47 +02:00
committed by GitHub
parent ac0ef06459
commit a006331fea
10 changed files with 338 additions and 63 deletions
+7
View File
@@ -176,6 +176,13 @@ export async function postCloneEntry(
return axios.post(`${rundownPath}/${rundownId}/clone/${entryId}`, options);
}
/**
* HTTP request events duration to fit inside the group target
*/
export async function requestFitGroupTarget(rundownId: RundownId, eventId: EntryId): Promise<AxiosResponse<Rundown>> {
return axios.post(`${rundownPath}/${rundownId}/${eventId}/fit-group-duration`);
}
/**
* HTTP request for grouping a list of entries into a group
*/