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

Function getCellChange

docs/pseudo.esm.sh/tinybase@9.0.0/index.js:1564–1572  ·  view source on GitHub ↗
(tableId, rowId, cellId)

Source from the content-addressed store, hash-verified

1562 return defaultedValue;
1563 };
1564 const getCellChange = (tableId, rowId, cellId) => ifNotUndefined(
1565 mapGet(mapGet(mapGet(changedCells, tableId), rowId), cellId),
1566 ([oldCell, newCell]) => [
1567 true,
1568 decodeIfJson(oldCell),
1569 decodeIfJson(newCell)
1570 ],
1571 () => [false, ...pairNew(getCell(tableId, rowId, cellId))]
1572 );
1573 const getValueChange = (valueId) => ifNotUndefined(
1574 mapGet(changedValues, valueId),
1575 ([oldValue, newValue]) => [

Callers 1

setQueryDefinitionImplFunction · 0.70

Calls 4

mapGetFunction · 0.70
decodeIfJsonFunction · 0.70
pairNewFunction · 0.70
getCellFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…