mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
feat(editor): Combine 'Move to Folder' and 'Change owner' modals (#15756)
This new modal also allows transferring entire folders to other projects and users.
This commit is contained in:
@@ -373,7 +373,6 @@ export type BaseFolderItem = BaseResource & {
|
||||
subFolderCount: number;
|
||||
parentFolder?: ResourceParentFolder;
|
||||
homeProject?: ProjectSharingData;
|
||||
sharedWithProjects?: ProjectSharingData[];
|
||||
tags?: ITag[];
|
||||
};
|
||||
|
||||
@@ -387,12 +386,16 @@ export interface FolderListItem extends BaseFolderItem {
|
||||
resource: 'folder';
|
||||
}
|
||||
|
||||
export interface ChangeLocationSearchResult extends BaseFolderItem {
|
||||
resource: 'folder' | 'project';
|
||||
export interface ChangeLocationSearchResponseItem extends BaseFolderItem {
|
||||
path: string[];
|
||||
}
|
||||
|
||||
export type FolderPathItem = PathItem & { parentFolder?: string };
|
||||
|
||||
export interface ChangeLocationSearchResult extends ChangeLocationSearchResponseItem {
|
||||
resource: 'folder' | 'project';
|
||||
}
|
||||
|
||||
export type WorkflowListResource = WorkflowListItem | FolderListItem;
|
||||
|
||||
export type FolderCreateResponse = Omit<
|
||||
|
||||
Reference in New Issue
Block a user