From 9e73b3431ee3bf3883cf7b39c81ccbf2460cfac9 Mon Sep 17 00:00:00 2001 From: seunghyunOh Date: Tue, 6 Dec 2022 06:15:58 +0900 Subject: [PATCH] Delete workspace type file --- frontend/pages/api/workspace/getWorkspaces.ts | 10 ++++++++-- frontend/types/workspaces.d.ts | 8 -------- 2 files changed, 8 insertions(+), 10 deletions(-) delete mode 100644 frontend/types/workspaces.d.ts diff --git a/frontend/pages/api/workspace/getWorkspaces.ts b/frontend/pages/api/workspace/getWorkspaces.ts index 619041fde..33292b6ee 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 * @returns diff --git a/frontend/types/workspaces.d.ts b/frontend/types/workspaces.d.ts deleted file mode 100644 index 7b6fab001..000000000 --- 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[];