diff --git a/src/renderer/core/canvas/pathRenderer.ts b/src/renderer/core/canvas/pathRenderer.ts index 29f406cad6..126b98e00e 100644 --- a/src/renderer/core/canvas/pathRenderer.ts +++ b/src/renderer/core/canvas/pathRenderer.ts @@ -70,7 +70,7 @@ export interface RenderContext { highlightedIds?: Set } -export interface DragLinkData { +interface DragLinkData { /** Fixed end - the slot being dragged from */ fixedPoint: Point fixedDirection: Direction diff --git a/src/renderer/core/linkInteractions/slotLinkCompatibility.ts b/src/renderer/core/linkInteractions/slotLinkCompatibility.ts index f3db1135a3..79d25d6904 100644 --- a/src/renderer/core/linkInteractions/slotLinkCompatibility.ts +++ b/src/renderer/core/linkInteractions/slotLinkCompatibility.ts @@ -9,7 +9,7 @@ import type { } from '@/renderer/core/linkInteractions/slotLinkDragState' import { app } from '@/scripts/app' -export interface CompatibilityResult { +interface CompatibilityResult { allowable: boolean targetNode?: LGraphNode targetSlot?: INodeInputSlot | INodeOutputSlot diff --git a/src/renderer/core/linkInteractions/slotLinkDragState.ts b/src/renderer/core/linkInteractions/slotLinkDragState.ts index 99e3fb2215..5dfc036bba 100644 --- a/src/renderer/core/linkInteractions/slotLinkDragState.ts +++ b/src/renderer/core/linkInteractions/slotLinkDragState.ts @@ -5,7 +5,7 @@ import { getSlotKey } from '@/renderer/core/layout/slots/slotIdentifier' import { layoutStore } from '@/renderer/core/layout/store/layoutStore' import type { SlotLayout } from '@/renderer/core/layout/types' -export type SlotDragType = 'input' | 'output' +type SlotDragType = 'input' | 'output' export interface SlotDragSource { nodeId: string @@ -20,12 +20,12 @@ export interface SlotDropCandidate { compatible: boolean } -export interface PointerPosition { +interface PointerPosition { client: Readonly<{ x: number; y: number }> canvas: Readonly<{ x: number; y: number }> } -export interface SlotDragState { +interface SlotDragState { active: boolean pointerId: number | null source: SlotDragSource | null diff --git a/src/renderer/extensions/vueNodes/composables/useSlotElementTracking.ts b/src/renderer/extensions/vueNodes/composables/useSlotElementTracking.ts index 053a1ea889..67fa21539d 100644 --- a/src/renderer/extensions/vueNodes/composables/useSlotElementTracking.ts +++ b/src/renderer/extensions/vueNodes/composables/useSlotElementTracking.ts @@ -41,7 +41,7 @@ function flushScheduledSlotLayoutSync() { } } -export function syncNodeSlotLayoutsFromDOM( +function syncNodeSlotLayoutsFromDOM( nodeId: string, conv?: ReturnType ) {