MCPcopy Create free account
hub / github.com/TanStack/ai / removeSavedFixture

Function removeSavedFixture

packages/ai-devtools/src/store/hook-registry.ts:453–458  ·  view source on GitHub ↗
(
  state: HookRegistryState,
  fixtureId: string,
)

Source from the content-addressed store, hash-verified

451}
452
453export function removeSavedFixture(
454 state: HookRegistryState,
455 fixtureId: string,
456): void {
457 state.fixtures = state.fixtures.filter((fixture) => fixture.id !== fixtureId)
458}
459
460export function replaceSavedFixtures(
461 state: HookRegistryState,

Callers 2

deleteToolFixtureFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected