Feat: New types for imported folders

This commit is contained in:
Daniel Hougaard
2024-03-20 12:55:40 +01:00
parent 78058d691a
commit 88e609cb66

View File

@@ -3,6 +3,24 @@ export type TSecretFolder = {
name: 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 TFetchProjectFoldersResponse = {
folders: TSecretFolder[];
importedFolders: TImportedSecretFolder[];
};
export type TGetProjectFoldersDTO = {
projectId: string;
environment: string;