diff --git a/src/gateway/portals/portal-http-proxy.ts b/src/gateway/portals/portal-http-proxy.ts index 8328b6278e10..28fe3faa2c92 100644 --- a/src/gateway/portals/portal-http-proxy.ts +++ b/src/gateway/portals/portal-http-proxy.ts @@ -22,7 +22,7 @@ const HOP_BY_HOP_HEADERS = new Set([ "upgrade", ]); -export type PortalProxyTarget = { +type PortalProxyTarget = { targetPort: number; token: string; }; diff --git a/src/gateway/portals/portal-service.ts b/src/gateway/portals/portal-service.ts index 8eff2eb8d7c4..fc5e0112bcad 100644 --- a/src/gateway/portals/portal-service.ts +++ b/src/gateway/portals/portal-service.ts @@ -8,7 +8,7 @@ import type { PortalSummary } from "../../../packages/gateway-protocol/src/index import { listenGatewayHttpServer } from "../server/http-listen.js"; import { handlePortalProxyRequest, handlePortalProxyUpgrade } from "./portal-http-proxy.js"; -export type PortalEntry = { +type PortalEntry = { id: string; title: string; description?: string; @@ -25,7 +25,7 @@ type PortalRuntimeEntry = { upgradedSockets: Set; }; -export type GatewayPortalOpenParams = { +type GatewayPortalOpenParams = { targetPort: number; title?: string; description?: string;