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

Function fetchNode

app/src/server/tasks/nodes/processNodes/processNode.task.ts:24–29  ·  view source on GitHub ↗
({ id }: { id: string })

Source from the content-addressed store, hash-verified

22import { typedNodeEntry } from "~/types/dbColumns.types";
23
24const fetchNode = async ({ id }: { id: string }) =>
25 prisma.node
26 .findUnique({
27 where: { id },
28 })
29 .then((n) => (n ? typedNode(n) : null));
30
31export type ProcessNodeJob = {
32 nodeId: string;

Callers 1

Calls 2

typedNodeFunction · 0.90
thenMethod · 0.45

Tested by

no test coverage detected