MCPcopy Index your code
hub / github.com/tinyplex/tinybase / delDefinition

Function delDefinition

src/common/definable.ts:191–198  ·  view source on GitHub ↗
(id: Id)

Source from the content-addressed store, hash-verified

189 };
190
191 const delDefinition = (id: Id): void => {
192 mapSet(tableIds, id);
193 mapSet(things, id);
194 mapSet(allRowValues, id);
195 mapSet(allSortKeys, id);
196 delStoreListeners(id);
197 callListeners(thingIdListeners);
198 };
199
200 const addThingIdsListener = (listener: () => void) =>
201 addListener(listener, thingIdListeners);

Callers 4

delQueryDefinitionFunction · 0.50
delMetricDefinitionFunction · 0.50
delIndexDefinitionFunction · 0.50

Calls 3

mapSetFunction · 0.90
delStoreListenersFunction · 0.70
callListenersFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…