MCPcopy Create free account
hub / github.com/Microck/opencode-studio / deletePreset

Function deletePreset

client-next/src/lib/api.ts:694–696  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

692}
693
694export async function deletePreset(id: string): Promise<void> {
695 await api.delete(`/presets/${id}`);
696}
697
698export async function applyPreset(id: string, mode: 'exclusive' | 'additive'): Promise<void> {
699 await api.post(`/presets/${id}/apply`, { mode });

Callers 1

handleDeleteFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected