mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(editor): Migrate ndv.store to composition API (#11574)
This commit is contained in:
@@ -1585,3 +1585,44 @@ export type ApiKey = {
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
};
|
||||
|
||||
export type InputPanel = {
|
||||
displayMode: IRunDataDisplayMode;
|
||||
nodeName?: string;
|
||||
run?: number;
|
||||
branch?: number;
|
||||
data: {
|
||||
isEmpty: boolean;
|
||||
};
|
||||
};
|
||||
|
||||
export type OutputPanel = {
|
||||
branch?: number;
|
||||
displayMode: IRunDataDisplayMode;
|
||||
data: {
|
||||
isEmpty: boolean;
|
||||
};
|
||||
editMode: {
|
||||
enabled: boolean;
|
||||
value: string;
|
||||
};
|
||||
};
|
||||
|
||||
export type Draggable = {
|
||||
isDragging: boolean;
|
||||
type: string;
|
||||
data: string;
|
||||
dimensions: DOMRect | null;
|
||||
activeTarget: { id: string; stickyPosition: null | XYPosition } | null;
|
||||
};
|
||||
|
||||
export type MainPanelType = 'regular' | 'dragless' | 'inputless' | 'unknown' | 'wide';
|
||||
|
||||
export type MainPanelDimensions = Record<
|
||||
MainPanelType,
|
||||
{
|
||||
relativeLeft: number;
|
||||
relativeRight: number;
|
||||
relativeWidth: number;
|
||||
}
|
||||
>;
|
||||
|
||||
Reference in New Issue
Block a user