From b10207021f9c3f72b30fa03ee136b687133c5679 Mon Sep 17 00:00:00 2001
From: Braks <78412429+bcakmakoglu@users.noreply.github.com>
Date: Sun, 21 Nov 2021 19:05:24 +0100
Subject: [PATCH] refactor(types)!: Change ConnectionLineComponentProps to
ConnectionLineProps
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
---
examples/CustomConnectionLine/ConnectionLine.vue | 6 +++---
src/types/components.ts | 2 +-
src/types/connection.ts | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/examples/CustomConnectionLine/ConnectionLine.vue b/examples/CustomConnectionLine/ConnectionLine.vue
index e9c4f854..7efe2978 100644
--- a/examples/CustomConnectionLine/ConnectionLine.vue
+++ b/examples/CustomConnectionLine/ConnectionLine.vue
@@ -1,13 +1,13 @@
diff --git a/src/types/components.ts b/src/types/components.ts
index 37c0c50f..dcac0529 100644
--- a/src/types/components.ts
+++ b/src/types/components.ts
@@ -1,7 +1,7 @@
import { CSSProperties } from 'vue'
import { BackgroundVariant, Dimensions, ElementId, FitViewParams, Position, XYPosition } from './flow'
import { Connection } from './connection'
-import { Node } from '~/types/node'
+import { Node } from './node'
export type HandleType = 'source' | 'target'
diff --git a/src/types/connection.ts b/src/types/connection.ts
index 3be46d34..1a929f0c 100644
--- a/src/types/connection.ts
+++ b/src/types/connection.ts
@@ -15,7 +15,7 @@ export interface Connection {
targetHandle: ElementId | null
}
-export type ConnectionLineComponentProps = {
+export type ConnectionLineProps = {
sourceX: number
sourceY: number
sourcePosition?: Position