ChainGraph API Documentation / @badaitech/chaingraph-trpc / server / nodeRegistryProcedures
Variable: nodeRegistryProcedures
constnodeRegistryProcedures:BuiltRouter<{ctx:AppContext;errorShape: {code:TRPC_ERROR_CODE_NUMBER;data: {code:"PARSE_ERROR"|"BAD_REQUEST"|"INTERNAL_SERVER_ERROR"|"NOT_IMPLEMENTED"|"BAD_GATEWAY"|"SERVICE_UNAVAILABLE"|"GATEWAY_TIMEOUT"|"UNAUTHORIZED"|"PAYMENT_REQUIRED"|"FORBIDDEN"|"NOT_FOUND"|"METHOD_NOT_SUPPORTED"|"TIMEOUT"|"CONFLICT"|"PRECONDITION_FAILED"|"PAYLOAD_TOO_LARGE"|"UNSUPPORTED_MEDIA_TYPE"|"UNPROCESSABLE_CONTENT"|"PRECONDITION_REQUIRED"|"TOO_MANY_REQUESTS"|"CLIENT_CLOSED_REQUEST";httpStatus:number;path?:string;stack?:string;zodError:typeToFlattenedError<any,string> |null; };message:string; };meta:object;transformer:true; },DecorateCreateRouterOptions<{getCategories:QueryProcedure<{input:void;meta:object;output:string[]; }>;getCategorizedNodes:QueryProcedure<{input:void;meta:object;output:CategorizedNodes[]; }>;getNodesByCategory:QueryProcedure<{input:string;meta:object;output:CategorizedNodes|undefined; }>;getNodeType:QueryProcedure<{input:string;meta:object;output:INode; }>;listAvailableTypes:QueryProcedure<{input:void;meta:object;output:NodeMetadataWithPorts[]; }>;searchNodes:QueryProcedure<{input:string;meta:object;output:CategorizedNodes[]; }>; }>>
Defined in: packages/chaingraph-trpc/server/procedures/nodeRegistry/index.ts:13