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

Function delValidTable

src/store/index.ts:886–891  ·  view source on GitHub ↗
(tableId: Id)

Source from the content-addressed store, hash-verified

884 });
885
886 const delValidTable = (tableId: Id): TableMap => {
887 if (whileMutating(() => middleware[8]?.(tableId)) ?? true) {
888 return setValidTable(tableId, {}, true);
889 }
890 return mapGet(tablesMap, tableId) as TableMap;
891 };
892
893 const delValidRow = (tableId: Id, tableMap: TableMap, rowId: Id): void => {
894 if (whileMutating(() => middleware[9]?.(tableId, rowId)) ?? true) {

Callers 2

setValidTablesFunction · 0.70
delTableFunction · 0.70

Calls 3

mapGetFunction · 0.90
whileMutatingFunction · 0.70
setValidTableFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…