update: types in SelectionPane.vue

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-25 15:21:36 +01:00
parent 8b0ddc9be9
commit cf2ded4fc8
2 changed files with 3 additions and 3 deletions
@@ -1,12 +1,12 @@
<script lang="ts" setup> <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 { useStore, useKeyPress } from '../../composables'
import { getConnectedEdges, isGraphNode } from '../../utils' import { getConnectedEdges, isGraphNode } from '../../utils'
import NodesSelection from '../../components/NodesSelection/NodesSelection.vue' import NodesSelection from '../../components/NodesSelection/NodesSelection.vue'
import UserSelection from '../../components/UserSelection/UserSelection.vue' import UserSelection from '../../components/UserSelection/UserSelection.vue'
interface SelectionPaneProps { interface SelectionPaneProps {
edges: Edge[] edges: GraphEdge[]
selectedElements?: FlowElements selectedElements?: FlowElements
selectionKeyCode?: KeyCode selectionKeyCode?: KeyCode
deleteKeyCode?: KeyCode deleteKeyCode?: KeyCode
+1 -1
View File
@@ -8,7 +8,7 @@ export interface VFInternals {
width: number width: number
height: number height: number
handleBounds: { handleBounds: {
source: HandleElement[] source?: HandleElement[]
target?: HandleElement[] target?: HandleElement[]
} }
} }