Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 0 additions & 25 deletions src/background/modules/api-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,31 +370,6 @@ export class CanvasApiClient {
const data = { documentIds };
return await this.post(`/contexts/${contextId}/documents/delete-batch`, data);
}

// Path operations for workspace tree management
async mergeUpPath(workspaceNameOrId, path) {
return await this.post(`/workspaces/${encodeURIComponent(workspaceNameOrId)}/tree/paths/merge-up`, { path });
}

async mergeDownPath(workspaceNameOrId, path) {
return await this.post(`/workspaces/${encodeURIComponent(workspaceNameOrId)}/tree/paths/merge-down`, { path });
}

async subtractUpPath(workspaceNameOrId, path) {
return await this.post(`/workspaces/${encodeURIComponent(workspaceNameOrId)}/tree/paths/subtract-up`, { path });
}

async subtractDownPath(workspaceNameOrId, path) {
return await this.post(`/workspaces/${encodeURIComponent(workspaceNameOrId)}/tree/paths/subtract-down`, { path });
}

async movePath(from, to, recursive = true) {
return await this.post('/paths/move', { from, to, recursive });
}

async copyPath(from, to, recursive = true) {
return await this.post('/paths/copy', { from, to, recursive });
}
}

// Create singleton instance
Expand Down
230 changes: 0 additions & 230 deletions src/background/modules/file-manager.js

This file was deleted.

Loading