feat(editor): Add RAG starter template callouts experiment (#16282)

Co-authored-by: Charlie Kolb <charlie@n8n.io>
This commit is contained in:
Jaakko Husso
2025-06-13 17:45:30 +03:00
committed by GitHub
parent 30148df7f3
commit d0a313aa1c
27 changed files with 1032 additions and 24 deletions

View File

@@ -797,6 +797,15 @@ export interface LinkItemProps {
icon: string;
tag?: NodeCreatorTag;
}
export interface OpenTemplateItemProps {
key: 'rag-starter-template';
title: string;
description: string;
icon: string;
tag?: NodeCreatorTag;
}
export interface ActionTypeDescription extends SimplifiedNodeType {
displayOptions?: IDisplayOptions;
values?: IDataObject;
@@ -859,6 +868,11 @@ export interface LinkCreateElement extends CreateElementBase {
properties: LinkItemProps;
}
export interface OpenTemplateElement extends CreateElementBase {
type: 'openTemplate';
properties: OpenTemplateItemProps;
}
export interface ActionCreateElement extends CreateElementBase {
type: 'action';
subcategory: string;
@@ -873,7 +887,8 @@ export type INodeCreateElement =
| ViewCreateElement
| LabelCreateElement
| ActionCreateElement
| LinkCreateElement;
| LinkCreateElement
| OpenTemplateElement;
export type NodeTypeSelectedPayload = {
type: string;