MCPcopy Index your code
hub / github.com/OpenPipe/OpenPipe / useNodeEntry

Function useNodeEntry

app/src/utils/hooks.ts:193–206  ·  view source on GitHub ↗
({
  persistentId,
  nodeId,
}: {
  persistentId: string | null;
  nodeId?: string;
})

Source from the content-addressed store, hash-verified

191};
192
193export const useNodeEntry = ({
194 persistentId,
195 nodeId,
196}: {
197 persistentId: string | null;
198 nodeId?: string;
199}) => {
200 const result = api.nodeEntries.get.useQuery(
201 { persistentId: persistentId as string, nodeId: nodeId as string },
202 { enabled: !!persistentId && !!nodeId },
203 );
204
205 return useStableData(result);
206};
207
208export const useDatasetArchives = () => {
209 const dataset = useDataset().data;

Callers 1

NodeEntryDrawerFunction · 0.90

Calls 1

useStableDataFunction · 0.85

Tested by

no test coverage detected