mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor(editor): Fix typescript issues in components (no-changelog) (#9580)
This commit is contained in:
@@ -57,6 +57,7 @@ import type { Scope } from '@n8n/permissions';
|
||||
import type { NotificationOptions as ElementNotificationOptions } from 'element-plus';
|
||||
import type { ProjectSharingData } from '@/features/projects/projects.types';
|
||||
import type { Connection } from '@jsplumb/core';
|
||||
import type { BaseTextKey } from './plugins/i18n';
|
||||
|
||||
export * from 'n8n-design-system/types';
|
||||
|
||||
@@ -138,14 +139,7 @@ export type EndpointMeta = {
|
||||
};
|
||||
};
|
||||
|
||||
export interface IUpdateInformation<
|
||||
T extends NodeParameterValueType =
|
||||
| string
|
||||
| number
|
||||
| { [key: string]: string | number | boolean }
|
||||
| NodeParameterValueType
|
||||
| INodeParameters,
|
||||
> {
|
||||
export interface IUpdateInformation<T extends NodeParameterValueType = NodeParameterValueType> {
|
||||
name: string;
|
||||
key?: string;
|
||||
value: T;
|
||||
@@ -1340,12 +1334,12 @@ export interface UIState {
|
||||
|
||||
export type IFakeDoor = {
|
||||
id: FAKE_DOOR_FEATURES;
|
||||
featureName: string;
|
||||
featureName: BaseTextKey;
|
||||
icon?: string;
|
||||
infoText?: string;
|
||||
actionBoxTitle: string;
|
||||
actionBoxDescription: string;
|
||||
actionBoxButtonLabel?: string;
|
||||
infoText?: BaseTextKey;
|
||||
actionBoxTitle: BaseTextKey;
|
||||
actionBoxDescription: BaseTextKey;
|
||||
actionBoxButtonLabel?: BaseTextKey;
|
||||
linkURL: string;
|
||||
uiLocations: IFakeDoorLocation[];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user