Support not push ssh method

This commit is contained in:
Owen
2026-05-22 11:19:35 -07:00
parent f1e4bf8d36
commit 715b957660
3 changed files with 327 additions and 228 deletions

View File

@@ -387,8 +387,11 @@ export const siteResources = sqliteTable("siteResources", {
.notNull()
.default(false),
authDaemonPort: integer("authDaemonPort").default(22123),
pamMode: text("pamMode")
.$type<"passthrough" | "push">()
.default("passthrough"),
authDaemonMode: text("authDaemonMode")
.$type<"site" | "remote">()
.$type<"site" | "remote" | "native">()
.default("site"),
domainId: text("domainId").references(() => domains.domainId, {
onDelete: "set null"