From f9621fad8e3a8ae3fb6a1a4d0fbe6bfb329a2924 Mon Sep 17 00:00:00 2001 From: Daniel Hougaard <62331820+DanielHougaard@users.noreply.github.com> Date: Wed, 20 Mar 2024 20:26:00 +0100 Subject: [PATCH] Fix: Remove duplicate type --- frontend/src/hooks/api/secretImports/types.ts | 20 +++++++------------ 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/frontend/src/hooks/api/secretImports/types.ts b/frontend/src/hooks/api/secretImports/types.ts index 7c69a8516..950fc20c4 100644 --- a/frontend/src/hooks/api/secretImports/types.ts +++ b/frontend/src/hooks/api/secretImports/types.ts @@ -12,19 +12,6 @@ export type TSecretImport = { updatedAt: string; }; -export type TImportedSecretFolder = { - id: string; - folderId: string; - importEnv: { - id: string; - name: string; - slug: string; - }; - importPath: string; - - // ... It got more fields, but we won't need them. -}; - export type TGetImportedFoldersByEnvDTO = { projectId: string; environment: string; @@ -45,6 +32,13 @@ export type TGetSecretImports = { path?: string; }; +export type TGetSecretImportsAllEnvs = { + projectId: string; + decryptFileKey: UserWsKeyPair; + path?: string; + environments: string[]; +}; + export type TGetImportedSecrets = { projectId: string; environment: string;