diff --git a/frontend/src/hooks/api/secretFolders/types.ts b/frontend/src/hooks/api/secretFolders/types.ts index eac202389..e676fcc8e 100644 --- a/frontend/src/hooks/api/secretFolders/types.ts +++ b/frontend/src/hooks/api/secretFolders/types.ts @@ -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;