Fix types

This commit is contained in:
Owen
2026-07-31 16:50:35 -04:00
parent e5ac6ec7cd
commit 9d581f3897
14 changed files with 44 additions and 35 deletions
@@ -1,5 +1,5 @@
import PrivateResourcesBanner from "@app/components/PrivateResourcesBanner";
import type { InternalResourceRow } from "@app/components/PrivateResourcesTable";
import type { PrivateResourceRow } from "@app/components/PrivateResourcesTable";
import PrivateResourcesTable from "@app/components/PrivateResourcesTable";
import SettingsSectionTitle from "@app/components/SettingsSectionTitle";
import { internal } from "@app/lib/api";
@@ -61,7 +61,7 @@ export default async function ClientResourcesPage(
redirect(`/${params.orgId}/settings/resources`);
}
const internalResourceRows: InternalResourceRow[] = siteResources.map(
const internalResourceRows: PrivateResourceRow[] = siteResources.map(
(siteResource) => {
return {
id: siteResource.siteResourceId,
@@ -206,7 +206,7 @@ function createAddTargetSchema(t: TranslateFn) {
);
}
type NewResourceType = "http" | "ssh" | "rdp" | "vnc" | "tcp" | "udp";
type NewResourceType = "http" | "ssh" | "rdp" | "vnc" | "tcp" | "udp" | "inference";
type CreateBgTargetFormValues = SshSettingsFormValues;