mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat(editor): Show workflow breadcrumbs in canvas (#14710)
This commit is contained in:
committed by
GitHub
parent
be53453def
commit
46df8b47d6
@@ -328,7 +328,13 @@ export interface IWorkflowDb {
|
||||
versionId: string;
|
||||
usedCredentials?: IUsedCredential[];
|
||||
meta?: WorkflowMetadata;
|
||||
parentFolder?: { id: string; name: string };
|
||||
parentFolder?: {
|
||||
id: string;
|
||||
name: string;
|
||||
parentFolderId: string | null;
|
||||
createdAt?: string;
|
||||
updatedAt?: string;
|
||||
};
|
||||
}
|
||||
|
||||
// For workflow list we don't need the full workflow data
|
||||
@@ -348,7 +354,6 @@ export type FolderShortInfo = {
|
||||
id: string;
|
||||
name: string;
|
||||
parentFolder?: string;
|
||||
parentFolderId?: string | null;
|
||||
};
|
||||
|
||||
export type BaseFolderItem = BaseResource & {
|
||||
@@ -356,12 +361,18 @@ export type BaseFolderItem = BaseResource & {
|
||||
updatedAt: string;
|
||||
workflowCount: number;
|
||||
subFolderCount: number;
|
||||
parentFolder?: FolderShortInfo;
|
||||
parentFolder?: ResourceParentFolder;
|
||||
homeProject?: ProjectSharingData;
|
||||
sharedWithProjects?: ProjectSharingData[];
|
||||
tags?: ITag[];
|
||||
};
|
||||
|
||||
export type ResourceParentFolder = {
|
||||
id: string;
|
||||
name: string;
|
||||
parentFolderId: string | null;
|
||||
};
|
||||
|
||||
export interface FolderListItem extends BaseFolderItem {
|
||||
resource: 'folder';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user