mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat(editor): Add telemetry for schema preview (no-changelog) (#13901)
This commit is contained in:
@@ -245,6 +245,7 @@ export type RenderItem = {
|
||||
id: string;
|
||||
icon: string;
|
||||
collapsable?: boolean;
|
||||
nodeName?: string;
|
||||
nodeType?: INodeUi['type'];
|
||||
preview?: boolean;
|
||||
type: 'item';
|
||||
@@ -371,6 +372,7 @@ export const useFlattenSchema = () => {
|
||||
icon: getIconBySchemaType(schema.type),
|
||||
id,
|
||||
collapsable: true,
|
||||
nodeName: node.name,
|
||||
nodeType: node.type,
|
||||
type: 'item',
|
||||
preview,
|
||||
@@ -409,6 +411,7 @@ export const useFlattenSchema = () => {
|
||||
icon: getIconBySchemaType(schema.type),
|
||||
collapsable: false,
|
||||
nodeType: node.type,
|
||||
nodeName: node.name,
|
||||
type: 'item',
|
||||
preview,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user