mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat: Add onboarding flow (#7212)
Github issue / Community forum post (link here to close automatically):
This commit is contained in:
@@ -214,6 +214,7 @@ export interface IWorkflowDataUpdate {
|
||||
tags?: ITag[] | string[]; // string[] when store or requested, ITag[] from API response
|
||||
pinData?: IPinData;
|
||||
versionId?: string;
|
||||
meta?: WorkflowMetadata;
|
||||
}
|
||||
|
||||
export interface IWorkflowToShare extends IWorkflowDataUpdate {
|
||||
@@ -225,10 +226,7 @@ export interface IWorkflowToShare extends IWorkflowDataUpdate {
|
||||
export interface IWorkflowTemplate {
|
||||
id: number;
|
||||
name: string;
|
||||
workflow: {
|
||||
nodes: INodeUi[];
|
||||
connections: IConnections;
|
||||
};
|
||||
workflow: Pick<IWorkflowData, 'nodes' | 'connections' | 'settings' | 'pinData'>;
|
||||
}
|
||||
|
||||
export interface INewWorkflowData {
|
||||
@@ -236,6 +234,10 @@ export interface INewWorkflowData {
|
||||
onboardingFlowEnabled: boolean;
|
||||
}
|
||||
|
||||
export interface WorkflowMetadata {
|
||||
onboardingId?: string;
|
||||
}
|
||||
|
||||
// Almost identical to cli.Interfaces.ts
|
||||
export interface IWorkflowDb {
|
||||
id: string;
|
||||
@@ -252,6 +254,7 @@ export interface IWorkflowDb {
|
||||
ownedBy?: Partial<IUser>;
|
||||
versionId: string;
|
||||
usedCredentials?: IUsedCredential[];
|
||||
meta?: WorkflowMetadata;
|
||||
}
|
||||
|
||||
// Identical to cli.Interfaces.ts
|
||||
|
||||
Reference in New Issue
Block a user