forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiB078b459Burak Boduroğlu2 months ago671 commits

postCourseNoteRagReindex.ts9 lines, 339 bytesHistoryRawDownload
1import { client } from "../client";
2
3/**
4 * Re-index a course note now instead of waiting for its next write. 202 —
5 * the work is queued, not done by the time this resolves.
6 */
7export function postCourseNoteRagReindex(noteId: string): Promise<void> {
8 return client<void>(`/course-notes/${noteId}/rag/reindex`, { method: "POST" });
9}