mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Feat: New types for imported folders
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user