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

Function IndexView

src/ui-solid-inspector/index.tsx:833–855  ·  view source on GitHub ↗
(
  props: {
    readonly indexes: any;
    readonly indexesId?: Id;
    readonly indexId: Id;
  } & StoreProp,
)

Source from the content-addressed store, hash-verified

831};
832
833const IndexView = (
834 props: {
835 readonly indexes: any;
836 readonly indexesId?: Id;
837 readonly indexId: Id;
838 } & StoreProp,
839) => (
840 <Details
841 uniqueId={getUniqueId('i', props.indexesId, props.indexId)}
842 title={'Index: ' + props.indexId}
843 s={props.s}
844 >
845 {arrayMap(useSliceIds(props.indexId, props.indexes)(), (sliceId) => (
846 <SliceView
847 indexes={props.indexes}
848 indexesId={props.indexesId}
849 indexId={props.indexId}
850 sliceId={sliceId}
851 s={props.s}
852 />
853 ))}
854 </Details>
855);
856
857const IndexesView = (props: {readonly indexesId?: Id} & StoreProp) => {
858 const indexes = useIndexes(props.indexesId);

Callers

nothing calls this directly

Calls 3

getUniqueIdFunction · 0.90
arrayMapFunction · 0.90
useSliceIdsFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…