Skip to content

PersistentAI API Documentation / @persistentai/fireflow-trpc / server / createCaller

Variable: createCaller

const createCaller: RouterCaller<{ 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<{ edge: 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<{ updateAnchors: MutationProcedure<{ input: { anchors: object[]; edgeId: string; flowId: string; version: number; }; meta: object; output: { anchors: EdgeAnchor[]; edgeId: string; stale: boolean; version: number; }; }>; }>>; flow: 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<{ addFieldObjectPort: MutationProcedure<{ input: { config?: any; flowId: string; key: string; nodeId: string; portId: string; }; meta: object; output: { flowId: string; node: INode; nodeId: string; }; }>; addNode: MutationProcedure<{ input: { flowId: string; metadata?: { category?: ...; description?: ...; tags?: ...; title?: ...; }; nodeType: string; portsConfig?: Map<..., ...>; position: { x: number; y: number; }; }; meta: object; output: INode; }>; addNodeFromTemplate: MutationProcedure<{ input: { flowId: string; position: { x: number; y: number; }; targetNodeType: string; templateRef: { branch?: ... | ...; uri: string; workspaceId: string; }; }; meta: object; output: INode; }>; appendElementArrayPort: MutationProcedure<{ input: { flowId: string; nodeId: string; portId: string; value?: any; }; meta: object; output: { flowId: string; node: INode; nodeId: string; }; }>; connectPorts: MutationProcedure<{ input: { flowId: string; metadata?: { description?: ...; label?: ...; }; sourceNodeId: string; sourcePortId: string; targetNodeId: string; targetPortId: string; }; meta: object; output: { edgeId: string; metadata: EdgeMetadata; sourceNodeId: string; sourcePortId: string; targetNodeId: string; targetPortId: string; }; }>; create: MutationProcedure<{ input: { description?: string; name: string; tags?: ...[]; }; meta: object; output: FlowMetadata; }>; createAtPath: MutationProcedure<{ input: { branchName?: string; description?: string; name: string; parentPath: string; tags?: ...[]; workspaceId: string; }; meta: object; output: { createdAt: Date; description: string | undefined; flowId: string; name: string; path: string; updatedAt: Date; }; }>; delete: MutationProcedure<{ input: { flowId: string; }; meta: object; output: { success: boolean; }; }>; deleteAtPath: MutationProcedure<{ input: { branchName?: string; flowPath: string; workspaceId: string; }; meta: object; output: { success: boolean; }; }>; edit: MutationProcedure<{ input: { description?: string; flowId: string; name?: string; tags?: ...[]; }; meta: object; output: Flow; }>; fork: MutationProcedure<{ input: { flowId: string; name?: string; }; meta: object; output: FlowMetadata; }>; get: QueryProcedure<{ input: { flowId: string; }; meta: object; output: Flow; }>; getByRef: QueryProcedure<{ input: { ref: { path: string; ref?: ... | ...; workspaceId: string; }; }; meta: object; output: IFlow; }>; getMeta: QueryProcedure<{ input: { flowId: string; }; meta: object; output: { canFork: boolean; createdAt: Date; description?: string; forkRule?: Record<..., ...>; id?: string; isPublic?: boolean; metadata?: Record<..., ...>; name: string; ownerID?: string; parentId?: string; schemaVersion?: string; tags?: ...[]; updatedAt: Date; version?: number; }; }>; list: QueryProcedure<{ input: void; meta: object; output: object[]; }>; openFromVfs: MutationProcedure<{ input: { ref: { path: string; ref?: ... | ...; workspaceId: string; }; }; meta: object; output: { description: string | undefined; flowId: string; isNew: boolean; name: string; path: string; }; }>; pasteNodes: MutationProcedure<{ input: { clipboardData: { edges: ...[]; nodes: ...[]; timestamp?: ... | ...; }; flowId: string; pastePosition: { x: number; y: number; }; virtualOrigin?: { x: ...; y: ...; }; }; meta: object; output: { createdEdges: object[]; createdNodes: object[]; edgeCount: number; nodeCount: number; nodeIdMapping: {[k: string]: string; }; skippedEdges: string[]; success: boolean; }; }>; removeEdge: MutationProcedure<{ input: { edgeId: string; flowId: string; }; meta: object; output: { removedEdgeId: string; success: boolean; }; }>; removeElementArrayPort: MutationProcedure<{ input: { flowId: string; index: number; nodeId: string; portId: string; }; meta: object; output: { flowId: string; node: INode; nodeId: string; }; }>; removeFieldObjectPort: MutationProcedure<{ input: { flowId: string; key: string; nodeId: string; portId: string; }; meta: object; output: { flowId: string; node: INode; nodeId: string; }; }>; removeNode: MutationProcedure<{ input: { flowId: string; nodeId: string; }; meta: object; output: { removedNodeId: string; success: boolean; }; }>; saveAtPath: MutationProcedure<{ input: { branchName?: string; description?: string; flowId: string; flowPath: string; name?: string; tags?: ...[]; workspaceId: string; }; meta: object; output: { derivedEventsCount: number; description: string | undefined; flowId: string; name: string; path: string; updatedAt: Date; }; }>; setForkRule: MutationProcedure<{ input: { flowId: string; forkRule?: Record<..., ...>; }; meta: object; output: { forkRule: Record<string, any>; success: boolean; }; }>; setPublic: MutationProcedure<{ input: { flowId: string; isPublic: boolean; }; meta: object; output: { isPublic: boolean; success: boolean; }; }>; subscribeToEvents: SubscriptionProcedure<{ input: { eventTypes?: ...[]; flowId: string; lastEventId?: string | null; }; meta: object; output: AsyncIterable<TrackedData<FlowEvent<...>>>; }>; updateItemConfigArrayPort: MutationProcedure<{ input: { flowId: string; itemConfig?: any; nodeId: string; portId: string; }; meta: object; output: { flowId: string; node: INode; nodeId: string; }; }>; updateNodeParent: MutationProcedure<{ input: { flowId: string; nodeId: string; parentNodeId?: string; position: { x: number; y: number; }; version: number; }; meta: object; output: { flowId: string; nodeId: string; parentNodeId: string | undefined; position: { x: number; y: number; }; version: number; }; }>; updateNodePosition: MutationProcedure<{ input: { flowId: string; nodeId: string; position: { x: number; y: number; }; version: number; }; meta: object; output: { flowId: string; nodeId: string; position: Position; requestedVersion?: undefined; version: number; } | { flowId: string; nodeId: string; position: { x: ...; y: ...; }; requestedVersion: number; version: number; }; }>; updateNodeTitle: MutationProcedure<{ input: { flowId: string; nodeId: string; title?: string; version: number; }; meta: object; output: { flowId: string; nodeId: string; title: string; version: number; }; }>; updateNodeUI: MutationProcedure<{ input: { flowId: string; nodeId: string; ui: { dimensions?: ... | ...; position?: ... | ...; state?: ... | ...; style?: ... | ...; title?: ... | ...; }; version: number; }; meta: object; output: { flowId: string; nodeId: string; ui: NodeUIMetadata | undefined; version: number; }; }>; updatePortUI: MutationProcedure<{ input: { flowId: string; nodeId: string; nodeVersion: number; portId: string; ui: Record<string, any>; }; meta: object; output: { flowId: string; nodeId: string; port: IPort<IPortConfig>; }; }>; updatePortValue: MutationProcedure<{ input: { flowId: string; nodeId: string; nodeVersion: number; portId: string; value?: any; }; meta: object; output: { flowId: string; nodeId: string; port: IPort<IPortConfig>; }; }>; }>>; mcp: 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<{ addPromptToFlow: MutationProcedure<{ input: { flowId: string; position: { x: number; y: number; }; promptName: string; serverId: string; }; meta: object; output: INode; }>; addResourceToFlow: MutationProcedure<{ input: { flowId: string; position: { x: number; y: number; }; resourceName: string; serverId: string; }; meta: object; output: INode; }>; addToolToFlow: MutationProcedure<{ input: { flowId: string; position: { x: number; y: number; }; serverId: string; toolName: string; }; meta: object; output: INode; }>; buildPromptNode: QueryProcedure<{ input: { promptName: string; serverId: string; }; meta: object; output: INode; }>; buildResourceNode: QueryProcedure<{ input: { resourceName: string; serverId: string; }; meta: object; output: INode; }>; buildToolNode: QueryProcedure<{ input: { serverId: string; toolName: string; }; meta: object; output: INode; }>; createServer: MutationProcedure<{ input: { authHeaders: object[]; title: string; url: string; }; meta: object; output: MCPServer; }>; deleteServer: MutationProcedure<{ input: { id: string; }; meta: object; output: { success: true; }; }>; getAllNodesForServer: QueryProcedure<{ input: { serverId: string; }; meta: object; output: AllNodesResponse; }>; listServers: QueryProcedure<{ input: void; meta: object; output: MCPServer[]; }>; serverCapabilities: QueryProcedure<{ input: { serverId: string; }; meta: object; output: ServerCapabilities; }>; updateServer: MutationProcedure<{ input: { authHeaders: object[]; id: string; title: string; url: string; }; meta: object; output: MCPServer; }>; }>>; nodeRegistry: 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[]; }>; }>>; secrets: 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; }; }>; }>>; users: 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<{ demo: BuiltRouter<{ ctx: AppContext; errorShape: { code: TRPC_ERROR_CODE_NUMBER; data: { code: ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ...; httpStatus: number; path?: ... | ...; stack?: ... | ...; zodError: ... | ...; }; message: string; }; meta: object; transformer: true; }, DecorateCreateRouterOptions<{ createDemoSession: MutationProcedure<{ input: ...; meta: ...; output: ...; }>; }>>; profile: BuiltRouter<{ ctx: AppContext; errorShape: { code: TRPC_ERROR_CODE_NUMBER; data: { code: ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ...; httpStatus: number; path?: ... | ...; stack?: ... | ...; zodError: ... | ...; }; message: string; }; meta: object; transformer: true; }, DecorateCreateRouterOptions<{ getDemoExpiration: QueryProcedure<{ input: ...; meta: ...; output: ...; }>; getProfile: QueryProcedure<{ input: ...; meta: ...; output: ...; }>; isDemo: QueryProcedure<{ input: ...; meta: ...; output: ...; }>; listExternalAccounts: QueryProcedure<{ input: ...; meta: ...; output: ...; }>; }>>; }>>; vfs: 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<{ confirmation: BuiltRouter<{ ctx: AppContext; errorShape: { code: TRPC_ERROR_CODE_NUMBER; data: { code: ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ...; httpStatus: number; path?: ... | ...; stack?: ... | ...; zodError: ... | ...; }; message: string; }; meta: object; transformer: true; }, DecorateCreateRouterOptions<{ respond: MutationProcedure<{ input: ...; meta: ...; output: ...; }>; }>>; file: BuiltRouter<{ ctx: AppContext; errorShape: { code: TRPC_ERROR_CODE_NUMBER; data: { code: ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ...; httpStatus: number; path?: ... | ...; stack?: ... | ...; zodError: ... | ...; }; message: string; }; meta: object; transformer: true; }, DecorateCreateRouterOptions<{ commitFile: MutationProcedure<{ input: ...; meta: ...; output: ...; }>; createDirectory: MutationProcedure<{ input: ...; meta: ...; output: ...; }>; createTyped: MutationProcedure<{ input: ...; meta: ...; output: ...; }>; fileDelete: MutationProcedure<{ input: ...; meta: ...; output: ...; }>; getDownloadUrl: QueryProcedure<{ input: ...; meta: ...; output: ...; }>; getUploadUrl: QueryProcedure<{ input: ...; meta: ...; output: ...; }>; info: QueryProcedure<{ input: ...; meta: ...; output: ...; }>; list: QueryProcedure<{ input: ...; meta: ...; output: ...; }>; listChildren: QueryProcedure<{ input: ...; meta: ...; output: ...; }>; move: MutationProcedure<{ input: ...; meta: ...; output: ...; }>; write: MutationProcedure<{ input: ...; meta: ...; output: ...; }>; }>>; fileType: BuiltRouter<{ ctx: AppContext; errorShape: { code: TRPC_ERROR_CODE_NUMBER; data: { code: ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ...; httpStatus: number; path?: ... | ...; stack?: ... | ...; zodError: ... | ...; }; message: string; }; meta: object; transformer: true; }, DecorateCreateRouterOptions<{ list: QueryProcedure<{ input: ...; meta: ...; output: ...; }>; }>>; git: BuiltRouter<{ ctx: AppContext; errorShape: { code: TRPC_ERROR_CODE_NUMBER; data: { code: ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ...; httpStatus: number; path?: ... | ...; stack?: ... | ...; zodError: ... | ...; }; message: string; }; meta: object; transformer: true; }, DecorateCreateRouterOptions<{ checkout: MutationProcedure<{ input: ...; meta: ...; output: ...; }>; commit: MutationProcedure<{ input: ...; meta: ...; output: ...; }>; createBranch: MutationProcedure<{ input: ...; meta: ...; output: ...; }>; deleteBranch: MutationProcedure<{ input: ...; meta: ...; output: ...; }>; diff: QueryProcedure<{ input: ...; meta: ...; output: ...; }>; listBranches: QueryProcedure<{ input: ...; meta: ...; output: ...; }>; log: QueryProcedure<{ input: ...; meta: ...; output: ...; }>; merge: MutationProcedure<{ input: ...; meta: ...; output: ...; }>; status: QueryProcedure<{ input: ...; meta: ...; output: ...; }>; }>>; node: BuiltRouter<{ ctx: AppContext; errorShape: { code: TRPC_ERROR_CODE_NUMBER; data: { code: ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ...; httpStatus: number; path?: ... | ...; stack?: ... | ...; zodError: ... | ...; }; message: string; }; meta: object; transformer: true; }, DecorateCreateRouterOptions<{ read: QueryProcedure<{ input: ...; meta: ...; output: ...; }>; }>>; subscription: BuiltRouter<{ ctx: AppContext; errorShape: { code: TRPC_ERROR_CODE_NUMBER; data: { code: ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ...; httpStatus: number; path?: ... | ...; stack?: ... | ...; zodError: ... | ...; }; message: string; }; meta: object; transformer: true; }, DecorateCreateRouterOptions<{ events: SubscriptionProcedure<{ input: ...; meta: ...; output: ...; }>; }>>; upload: BuiltRouter<{ ctx: AppContext; errorShape: { code: TRPC_ERROR_CODE_NUMBER; data: { code: ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ...; httpStatus: number; path?: ... | ...; stack?: ... | ...; zodError: ... | ...; }; message: string; }; meta: object; transformer: true; }, DecorateCreateRouterOptions<{ abort: MutationProcedure<{ input: ...; meta: ...; output: ...; }>; complete: MutationProcedure<{ input: ...; meta: ...; output: ...; }>; initiate: MutationProcedure<{ input: ...; meta: ...; output: ...; }>; }>>; workspace: BuiltRouter<{ ctx: AppContext; errorShape: { code: TRPC_ERROR_CODE_NUMBER; data: { code: ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ...; httpStatus: number; path?: ... | ...; stack?: ... | ...; zodError: ... | ...; }; message: string; }; meta: object; transformer: true; }, DecorateCreateRouterOptions<{ addCollaborator: MutationProcedure<{ input: ...; meta: ...; output: ...; }>; create: MutationProcedure<{ input: ...; meta: ...; output: ...; }>; get: QueryProcedure<{ input: ...; meta: ...; output: ...; }>; getPersonal: QueryProcedure<{ input: ...; meta: ...; output: ...; }>; list: QueryProcedure<{ input: ...; meta: ...; output: ...; }>; listCollaborators: QueryProcedure<{ input: ...; meta: ...; output: ...; }>; removeCollaborator: MutationProcedure<{ input: ...; meta: ...; output: ...; }>; update: MutationProcedure<{ input: ...; meta: ...; output: ...; }>; workspaceDelete: MutationProcedure<{ input: ...; meta: ...; output: ...; }>; }>>; }>>; }>>

Defined in: packages/fireflow-trpc/server/router.ts:31

Licensed under BUSL-1.1