MCPcopy
hub / github.com/tinyplex/tinybase / useDelCellCallback

Function useDelCellCallback

src/ui-solid/primitives.ts:875–883  ·  view source on GitHub ↗
(
  tableId: MaybeAccessor<Id> | GetId<Parameter>,
  rowId: MaybeAccessor<Id> | GetId<Parameter>,
  cellId: MaybeAccessor<Id> | GetId<Parameter>,
  forceDel?: boolean,
  storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,
  then?: (store: Store) => void,
)

Source from the content-addressed store, hash-verified

873 useDel(storeOrStoreId, ROW, then, tableId, rowId);
874
875export const useDelCellCallback = <Parameter>(
876 tableId: MaybeAccessor<Id> | GetId<Parameter>,
877 rowId: MaybeAccessor<Id> | GetId<Parameter>,
878 cellId: MaybeAccessor<Id> | GetId<Parameter>,
879 forceDel?: boolean,
880 storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,
881 then?: (store: Store) => void,
882): ParameterizedCallback<Parameter> =>
883 useDel(storeOrStoreId, CELL, then, tableId, rowId, cellId, forceDel);
884
885export const useDelValuesCallback = (
886 storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,

Callers 2

WriterFunction · 0.90
CellDeleteFunction · 0.90

Calls 1

useDelFunction · 0.70

Tested by 1

WriterFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…