update: fix names

This commit is contained in:
Braks
2021-10-21 17:42:33 +02:00
parent e9392b13c5
commit 20e9d1d396
23 changed files with 210 additions and 64 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import { NodeDiffUpdate, NodeDimensionUpdate, NodeExtent, NodePosUpdate, Transla
import { InitD3ZoomPayload } from './panel'
import { SetConnectionId } from './connection'
export interface RevueFlowActions {
export interface FlowActions {
setElements: (elements: Elements) => void
updateNodeDimensions: (update: NodeDimensionUpdate) => void
updateNodePos: (payload: NodePosUpdate) => void
+3 -3
View File
@@ -4,7 +4,7 @@ import { HandleType } from './handle'
import { ConnectionMode, OnConnectEndFunc, OnConnectFunc, OnConnectStartFunc, OnConnectStopFunc } from './connection'
import { Edge } from './edge'
import { Node, NodeExtent, TranslateExtent } from './node'
import { RevueFlowActions } from './actions'
import { FlowActions } from './actions'
import { D3Selection, D3Zoom, D3ZoomHandler } from '~/types/panel'
export interface FlowState {
@@ -44,7 +44,7 @@ export interface FlowState {
multiSelectionActive: boolean
revueFlowVersion: string
vueFlowVersion: string
onConnect?: OnConnectFunc
onConnectStart?: OnConnectStartFunc
@@ -52,4 +52,4 @@ export interface FlowState {
onConnectEnd?: OnConnectEndFunc
}
export type FlowStore = Store<string, FlowState, any, RevueFlowActions>
export type FlowStore = Store<string, FlowState, any, FlowActions>