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;