update: types in SelectionPane.vue
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
<script lang="ts" setup>
|
||||
import { Edge, ElementId, FlowElement, FlowElements, KeyCode } from '../../types'
|
||||
import { ElementId, FlowElement, FlowElements, GraphEdge, KeyCode } from '../../types'
|
||||
import { useStore, useKeyPress } from '../../composables'
|
||||
import { getConnectedEdges, isGraphNode } from '../../utils'
|
||||
import NodesSelection from '../../components/NodesSelection/NodesSelection.vue'
|
||||
import UserSelection from '../../components/UserSelection/UserSelection.vue'
|
||||
|
||||
interface SelectionPaneProps {
|
||||
edges: Edge[]
|
||||
edges: GraphEdge[]
|
||||
selectedElements?: FlowElements
|
||||
selectionKeyCode?: KeyCode
|
||||
deleteKeyCode?: KeyCode
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ export interface VFInternals {
|
||||
width: number
|
||||
height: number
|
||||
handleBounds: {
|
||||
source: HandleElement[]
|
||||
source?: HandleElement[]
|
||||
target?: HandleElement[]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user