ChainGraph API Documentation / @badaitech/chaingraph-trpc / server / secretProcedures
Variable: secretProcedures
constsecretProcedures: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<{getSecretTypes:QueryProcedure<{input:void;meta:object;output: {[k:string]:object; }; }>; }>>
Defined in: packages/chaingraph-trpc/server/procedures/secrets/index.ts:15
A TRPC router for handling secret-related procedures.