mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 03:27:15 +00:00
Feat: New types for imported folders
This commit is contained in:
@@ -3,6 +3,24 @@ export type TSecretFolder = {
|
|||||||
name: string;
|
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 = {
|
export type TGetProjectFoldersDTO = {
|
||||||
projectId: string;
|
projectId: string;
|
||||||
environment: string;
|
environment: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user