feat(editor): Distinguish official verified nodes from community built nodes (#15630)

This commit is contained in:
Elias Meire
2025-05-23 17:04:22 +02:00
committed by GitHub
parent dc0802bbd1
commit 7f0c6d62e6
21 changed files with 437 additions and 283 deletions

View File

@@ -1,6 +1,6 @@
import type { INodeTypeDescription } from 'n8n-workflow';
export interface CommunityNodeAttributes {
export type CommunityNodeType = {
authorGithubUrl: string;
authorName: string;
checksum: string;
@@ -13,11 +13,8 @@ export interface CommunityNodeAttributes {
createdAt: string;
updatedAt: string;
npmVersion: string;
}
export interface CommunityNodeData {
id: number;
attributes: CommunityNodeAttributes & {
nodeDescription: INodeTypeDescription;
};
}
isOfficialNode: boolean;
companyName?: string;
nodeDescription: INodeTypeDescription;
isInstalled: boolean;
};