Fix types

This commit is contained in:
Owen
2026-07-31 16:50:35 -04:00
parent 7e05c16ccd
commit 104dcebda7
14 changed files with 44 additions and 35 deletions
+2 -1
View File
@@ -637,11 +637,12 @@ export async function listResources(
${resourcePassword.passwordId}
)
`;
const browserGatewayModes = ["http", "ssh", "rdp", "vnc"];
const browserGatewayModes = ["http", "ssh", "rdp", "vnc"] as const;
switch (authState) {
case "none":
conditions.push(
// TODO: Does inference belong here?
or(eq(resources.mode, "tcp"), eq(resources.mode, "udp"))
);
break;