Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Delete workspace type file
seunghyunOh9e73b3431ee3
diff --git a/frontend/pages/api/workspace/getWorkspaces.ts b/frontend/pages/api/workspace/getWorkspaces.tsindex 619041fdeb..33292b6eec 100644--- a/frontend/pages/api/workspace/getWorkspaces.ts+++ b/frontend/pages/api/workspace/getWorkspaces.ts@@ -1,7 +1,13 @@-import { Workspaces } from "types/workspaces";-import SecurityClient from "~/utilities/SecurityClient";+interface Workspaces {+ __v: number;+ _id: string;+ name: string;+ organization: string;+}+[];+/*** This route lets us get the workspaces of a certain user* @returnsdiff --git a/frontend/types/workspaces.d.ts b/frontend/types/workspaces.d.tsdeleted file mode 100644index 7b6fab001c..0000000000--- a/frontend/types/workspaces.d.ts+++ /dev/null@@ -1,8 +0,0 @@-export interface WorkSpace {- __v: number;- _id: string;- name: string;- organization: string;-}--type Workspaces = WorkSpace[];