MCPcopy Create free account
hub / github.com/OpenDCAI/OpenPrism / updateFileOrder

Function updateFileOrder

apps/frontend/src/api/client.ts:225–230  ·  view source on GitHub ↗
(id: string, folder: string, order: string[])

Source from the content-addressed store, hash-verified

223}
224
225export function updateFileOrder(id: string, folder: string, order: string[]) {
226 return request<{ ok: boolean }>(`/api/projects/${id}/file-order`, {
227 method: 'POST',
228 body: JSON.stringify({ folder, order })
229 });
230}
231
232export async function uploadFiles(projectId: string, files: File[], basePath?: string) {
233 const form = new FormData();

Callers 1

EditorPageFunction · 0.90

Calls 1

requestFunction · 0.85

Tested by

no test coverage detected