Fix: Remove duplicate type

This commit is contained in:
Daniel Hougaard
2024-03-20 20:26:00 +01:00
parent 90be28b87a
commit f9621fad8e

View File

@@ -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;