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

@@ -1251,6 +1251,7 @@ export type NodePropertyTypes =
| 'fixedCollection'
| 'hidden'
| 'json'
| 'callout'
| 'notice'
| 'multiOptions'
| 'number'
@@ -1294,6 +1295,12 @@ export type NodePropertyAction = {
target?: string;
};
export type CalloutActionType = 'openRagStarterTemplate';
export interface CalloutAction {
type: CalloutActionType;
label: string;
}
export interface INodePropertyTypeOptions {
// Supported by: button
buttonConfig?: {
@@ -1326,6 +1333,7 @@ export interface INodePropertyTypeOptions {
assignment?: AssignmentTypeOptions;
minRequiredFields?: number; // Supported by: fixedCollection
maxAllowedFields?: number; // Supported by: fixedCollection
calloutAction?: CalloutAction; // Supported by: callout
[key: string]: any;
}
@@ -2835,6 +2843,7 @@ export interface IUserSettings {
npsSurvey?: NpsSurveyState;
easyAIWorkflowOnboarded?: boolean;
userClaimedAiCredits?: boolean;
dismissedCallouts?: Record<string, boolean>;
}
export interface IProcessedDataConfig {