feat: allow renaming rundown

This commit is contained in:
Carlos Valente
2025-10-27 06:13:57 +01:00
committed by Carlos Valente
parent 812b17a221
commit 74e59dccdb
5 changed files with 177 additions and 5 deletions
+7
View File
@@ -45,6 +45,13 @@ export async function duplicateRundown(rundownId: RundownId): Promise<AxiosRespo
return axios.post(`${rundownPath}/${rundownId}/duplicate`);
}
/**
* HTTP request to rename an existing rundown
*/
export async function renameRundown(rundownId: RundownId, title: string): Promise<AxiosResponse<ProjectRundownsList>> {
return axios.patch(`${rundownPath}/${rundownId}`, { title });
}
/**
* HTTP request to delete a rundown
*/