refactor(gateway): keep portal helper types private

This commit is contained in:
Peter Steinberger
2026-08-11 22:38:45 -07:00
parent b7a0d957fa
commit 753e17aebb
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ const HOP_BY_HOP_HEADERS = new Set([
"upgrade",
]);
export type PortalProxyTarget = {
type PortalProxyTarget = {
targetPort: number;
token: string;
};
+2 -2
View File
@@ -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<Duplex>;
};
export type GatewayPortalOpenParams = {
type GatewayPortalOpenParams = {
targetPort: number;
title?: string;
description?: string;