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

Function getCell

src/ui-react-dom-charts/components/series.ts:116–128  ·  view source on GitHub ↗
(
  sourceType: SourceType,
  store: {getCell: (...args: any[]) => CellOrUndefined} | undefined,
  queries:
    {getResultCell: (...args: any[]) => ResultCellOrUndefined} | undefined,
  tableId: Id | undefined,
  queryId: Id | undefined,
  rowId: Id,
  cellId: Id,
)

Source from the content-addressed store, hash-verified

114) => (isNullish(className) ? baseClassName : `${baseClassName} ${className}`);
115
116const getCell = (
117 sourceType: SourceType,
118 store: {getCell: (...args: any[]) => CellOrUndefined} | undefined,
119 queries:
120 {getResultCell: (...args: any[]) => ResultCellOrUndefined} | undefined,
121 tableId: Id | undefined,
122 queryId: Id | undefined,
123 rowId: Id,
124 cellId: Id,
125) =>
126 sourceType == SourceType.Table
127 ? store?.getCell(tableId as Id, rowId, cellId)
128 : queries?.getResultCell(queryId as Id, rowId, cellId);

Callers 1

useSeriesDataFunction · 0.70

Calls 2

getCellMethod · 0.65
getResultCellMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…