PersistentAI API Documentation / @persistent-ai/fireflow-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; }; }>;vault: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<{create:MutationProcedure<{input: {name:string;scope?:"user"|"workspace";scopeId?:string;secretType:string;value:Record<string,string>; };meta:object;output: {secretId:string; }; }>;delete:MutationProcedure<{input: {secretId:string; };meta:object;output: {success:boolean; }; }>;exists:QueryProcedure<{input: {name:string;secretType:string; };meta:object;output: {exists:boolean; }; }>;get:QueryProcedure<{input: {secretId:string; };meta:object;output:SecretMetadata; }>;list:QueryProcedure<{input: {scope?: ... | ... | ...;secretType?: ... | ...; } |undefined;meta:object;output:SecretMetadata[]; }>;update:MutationProcedure<{input: {secretId:string;value:Record<string,string>; };meta:object;output: {success:boolean; }; }>; }>>; }>>
Defined in: packages/fireflow-trpc/server/procedures/secrets/index.ts:16
A TRPC router for handling secret-related procedures.