Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Fix: Remove duplicate type

Daniel Hougaardf9621fad8e3a
diff --git a/frontend/src/hooks/api/secretImports/types.ts b/frontend/src/hooks/api/secretImports/types.ts
index 7c69a8516b..950fc20c4c 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;