mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
feat(editor): Add RAG starter template callouts experiment (#16282)
Co-authored-by: Charlie Kolb <charlie@n8n.io>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user