mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-26 10:26:26 +01:00
fix(connections): restore relay route assembly after rebase
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
7a870321c8
commit
d840070615
1 file changed
+4
@@ -10,6 +10,7 @@ import {
|
||||
type DeploymentMode,
|
||||
type PermissionKey,
|
||||
connectToolAppSchema,
|
||||
createConnectionTriggerSchema,
|
||||
createToolStdioCommandTemplateSchema,
|
||||
createToolApplicationSchema,
|
||||
createToolConnectionSchema,
|
||||
@@ -36,6 +37,7 @@ import {
|
||||
unbindToolProfileBindingSchema,
|
||||
updateToolApplicationSchema,
|
||||
updateToolConnectionSchema,
|
||||
updateConnectionTriggerSchema,
|
||||
updateToolPolicySchema,
|
||||
updateToolProfileEntrySchema,
|
||||
updateToolProfileWithEntriesSchema,
|
||||
@@ -44,6 +46,7 @@ import { validate } from "../middleware/validate.js";
|
||||
import { getActorInfo, assertBoard, assertCompanyAccess, hasCompanyAccess } from "./authz.js";
|
||||
import { badRequest, forbidden, notFound, unprocessable } from "../errors.js";
|
||||
import { accessService, googleSheetsRobotEmailFromEnv, logActivity, toolAccessPolicyService, toolAccessService } from "../services/index.js";
|
||||
import { connectionTriggerService } from "../services/connection-relay.js";
|
||||
import { ToolGatewayHttpError, type ToolGatewayService } from "../services/tool-gateway.js";
|
||||
|
||||
/** Allowlist (e.g. Google Sheets allowed spreadsheet ids) lives in connection config. */
|
||||
@@ -90,6 +93,7 @@ export function toolAccessRoutes(
|
||||
const router = Router();
|
||||
const svc = toolAccessService(db, options);
|
||||
const policySvc = toolAccessPolicyService(db);
|
||||
const triggerSvc = connectionTriggerService(db);
|
||||
|
||||
function configuredPublicBaseUrl() {
|
||||
const raw = (
|
||||
|
||||
Reference in new issue
Block a user