fix(workspace): dedicated reconnecting websocket, restore editing lock blocking & amber banner, broadcast live doc/folder moves
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 1m1s
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 1m1s
This commit is contained in:
1 parent
ed673b0707
commit
e088ef6974
5 files changed
+323
-108
No files matched your search
@@ -434,6 +434,13 @@ export const api = {
|
||||
);
|
||||
},
|
||||
|
||||
async moveFolder(sourcePath: string, targetParentPath: string): Promise<{ newPath: string; movedDocIds: string[] }> {
|
||||
return request<{ newPath: string; movedDocIds: string[] }>('/api/v1/folders/move', {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ sourcePath, targetParentPath }),
|
||||
});
|
||||
},
|
||||
|
||||
// --- WORKSPACE SHARED FOLDERS ---
|
||||
async getSharedFolders(): Promise<SharedFolder[]> {
|
||||
const res = await request<SharedFolder[]>('/api/v1/workspace/folders/shared');
|
||||
|
||||
Reference in new issue
Block a user