mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(editor): Fix various typecheck issues (no-changelog) (#8739)
This commit is contained in:
@@ -34,7 +34,7 @@ import {
|
||||
type INodeListSearchItems,
|
||||
type NodeParameterValueType,
|
||||
type IDisplayOptions,
|
||||
type IExecutionsSummary,
|
||||
type ExecutionSummary,
|
||||
type FeatureFlags,
|
||||
type ExecutionStatus,
|
||||
type ITelemetryTrackProperties,
|
||||
@@ -53,6 +53,7 @@ import type { BulkCommand, Undoable } from '@/models/history';
|
||||
import type { PartialBy, TupleToUnion } from '@/utils/typeHelpers';
|
||||
import type { Component } from 'vue';
|
||||
import type { Scope } from '@n8n/permissions';
|
||||
import type { NotificationOptions as ElementNotificationOptions } from 'element-plus';
|
||||
|
||||
export * from 'n8n-design-system/types';
|
||||
|
||||
@@ -395,7 +396,7 @@ export interface IExecutionShortResponse {
|
||||
|
||||
export interface IExecutionsListResponse {
|
||||
count: number;
|
||||
results: IExecutionsSummary[];
|
||||
results: ExecutionSummary[];
|
||||
estimated: boolean;
|
||||
}
|
||||
|
||||
@@ -1061,8 +1062,8 @@ export interface IUsedCredential {
|
||||
export interface WorkflowsState {
|
||||
activeExecutions: IExecutionsCurrentSummaryExtended[];
|
||||
activeWorkflows: string[];
|
||||
activeWorkflowExecution: IExecutionsSummary | null;
|
||||
currentWorkflowExecutions: IExecutionsSummary[];
|
||||
activeWorkflowExecution: ExecutionSummary | null;
|
||||
currentWorkflowExecutions: ExecutionSummary[];
|
||||
activeExecutionId: string | null;
|
||||
executingNode: string[];
|
||||
executionWaitingForWebhook: boolean;
|
||||
@@ -1189,9 +1190,9 @@ export type ModalState = {
|
||||
httpNodeParameters?: string;
|
||||
};
|
||||
|
||||
export type NewCredentialsModal = ModalState & {
|
||||
export interface NewCredentialsModal extends ModalState {
|
||||
showAuthSelector?: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
export type IRunDataDisplayMode = 'table' | 'json' | 'binary' | 'schema' | 'html' | 'ai';
|
||||
export type NodePanelType = 'input' | 'output';
|
||||
@@ -1240,6 +1241,10 @@ export interface NDVState {
|
||||
isMappingOnboarded: boolean;
|
||||
}
|
||||
|
||||
export interface NotificationOptions extends Partial<ElementNotificationOptions> {
|
||||
message: string | ElementNotificationOptions['message'];
|
||||
}
|
||||
|
||||
export interface UIState {
|
||||
activeActions: string[];
|
||||
activeCredentialType: string | null;
|
||||
@@ -1398,8 +1403,8 @@ export interface IUsersState {
|
||||
}
|
||||
|
||||
export interface IWorkflowsState {
|
||||
currentWorkflowExecutions: IExecutionsSummary[];
|
||||
activeWorkflowExecution: IExecutionsSummary | null;
|
||||
currentWorkflowExecutions: ExecutionSummary[];
|
||||
activeWorkflowExecution: ExecutionSummary | null;
|
||||
finishedExecutionsCount: number;
|
||||
}
|
||||
export interface IWorkflowsMap {
|
||||
|
||||
Reference in New Issue
Block a user