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
+4 -3
View File
@@ -1,9 +1,10 @@
import { z } from "zod";
import type { InternalResourceRow } from "@app/components/PrivateResourcesTable";
import type { PrivateResourceRow } from "@app/components/PrivateResourcesTable";
import { SiteResource } from "@server/db";
export type PrivateResourceMode = "host" | "cidr" | "http" | "ssh";
export type PrivateResourceMode = SiteResource["mode"];
export type SiteResourceData = InternalResourceRow & {
export type SiteResourceData = PrivateResourceRow & {
enabled: boolean;
};