update: fix names
This commit is contained in:
@@ -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
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user