Fix: Remove duplicate type

This commit is contained in:
Daniel Hougaard
2024-03-20 20:26:00 +01:00
parent 90be28b87a
commit f9621fad8e
+7 -13
View File
@@ -12,19 +12,6 @@ export type TSecretImport = {
updatedAt: string; 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 = { export type TGetImportedFoldersByEnvDTO = {
projectId: string; projectId: string;
environment: string; environment: string;
@@ -45,6 +32,13 @@ export type TGetSecretImports = {
path?: string; path?: string;
}; };
export type TGetSecretImportsAllEnvs = {
projectId: string;
decryptFileKey: UserWsKeyPair;
path?: string;
environments: string[];
};
export type TGetImportedSecrets = { export type TGetImportedSecrets = {
projectId: string; projectId: string;
environment: string; environment: string;