Adding gateway resources

This commit is contained in:
Owen
2026-09-24 09:49:08 -04:00
parent 1dace9c9f7
commit a17b870ed2
12 changed files with 247 additions and 45 deletions
+1 -1
View File
@@ -513,7 +513,7 @@ export const siteResources = sqliteTable("siteResources", {
name: text("name").notNull(),
ssl: integer("ssl", { mode: "boolean" }).notNull().default(false),
mode: text("mode")
.$type<"host" | "cidr" | "http" | "ssh" | "inference">()
.$type<"host" | "cidr" | "http" | "ssh" | "inference" | "gateway">()
.notNull(), // "host" | "cidr" | "http"
scheme: text("scheme").$type<"http" | "https">(), // only for when we are doing https or http mode
proxyPort: integer("proxyPort"), // only for port mode