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

Function applyPreset

client-next/src/lib/api.ts:698–700  ·  view source on GitHub ↗
(id: string, mode: 'exclusive' | 'additive')

Source from the content-addressed store, hash-verified

696}
697
698export async function applyPreset(id: string, mode: 'exclusive' | 'additive'): Promise<void> {
699 await api.post(`/presets/${id}/apply`, { mode });
700}
701
702export interface ProfileList {
703 profiles: string[];

Callers 1

handleApplyFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected