MCPcopy
hub / github.com/stravu/crystal / update

Method update

frontend/src/utils/api.ts:307–310  ·  view source on GitHub ↗
(projectId: string, updates: Partial<Project>)

Source from the content-addressed store, hash-verified

305 },
306
307 async update(projectId: string, updates: Partial<Project>) {
308 if (!isElectron()) throw new Error('Electron API not available');
309 return window.electronAPI.projects.update(projectId, updates);
310 },
311
312 async delete(projectId: string) {
313 if (!isElectron()) throw new Error('Electron API not available');

Callers 9

handleSaveFolderEditFunction · 0.80
handleSubmitFunction · 0.80
handleSaveFunction · 0.80
SessionInputFunction · 0.80
SetupTasksPanelFunction · 0.80
handleModelChangeFunction · 0.80
configStore.tsFile · 0.80
ThemeProviderFunction · 0.80
hashSessionIdMethod · 0.80

Calls 1

isElectronFunction · 0.85

Tested by

no test coverage detected