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>
|
<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
@@ -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[]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user