fix(editor): Do not overwrite the webhookId in the new canvas (#11562)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-11-05 15:06:23 +01:00
committed by GitHub
parent 463d101f35
commit dfd785bc08
3 changed files with 66 additions and 49 deletions

View File

@@ -8,7 +8,7 @@ import type {
IVersionNotificationSettings,
} from '@n8n/api-types';
import type { Scope } from '@n8n/permissions';
import type { IMenuItem, NodeCreatorTag } from 'n8n-design-system';
import type { NodeCreatorTag } from 'n8n-design-system';
import type {
GenericValue,
IConnections,
@@ -888,51 +888,6 @@ export interface RootState {
export interface NodeMetadataMap {
[nodeName: string]: INodeMetadata;
}
export interface IRootState {
activeExecutions: IExecutionsCurrentSummaryExtended[];
activeWorkflows: string[];
activeActions: string[];
activeCredentialType: string | null;
baseUrl: string;
defaultLocale: string;
endpointForm: string;
endpointFormTest: string;
endpointFormWaiting: string;
endpointWebhook: string;
endpointWebhookTest: string;
endpointWebhookWaiting: string;
executionId: string | null;
executingNode: string[];
executionWaitingForWebhook: boolean;
pushConnectionActive: boolean;
saveDataErrorExecution: string;
saveDataSuccessExecution: string;
saveManualExecutions: boolean;
timezone: string;
stateIsDirty: boolean;
executionTimeout: number;
maxExecutionTimeout: number;
versionCli: string;
oauthCallbackUrls: object;
n8nMetadata: object;
workflowExecutionData: IExecutionResponse | null;
workflowExecutionPairedItemMappings: { [itemId: string]: Set<string> };
lastSelectedNode: string | null;
lastSelectedNodeOutputIndex: number | null;
nodeViewOffsetPosition: XYPosition;
nodeViewMoveInProgress: boolean;
selectedNodes: INodeUi[];
pushRef: string;
urlBaseEditor: string;
urlBaseWebhook: string;
workflow: IWorkflowDb;
workflowsById: IWorkflowsMap;
sidebarMenuItems: IMenuItem[];
instanceId: string;
nodeMetadata: NodeMetadataMap;
subworkflowExecutionError: Error | null;
binaryDataMode: string;
}
export interface CommunityPackageMap {
[name: string]: PublicInstalledPackage;