refactor(store)!: replace store injection with VueFlow injection

This commit is contained in:
Braks
2021-12-20 19:29:52 +01:00
parent c80ab8fe50
commit 17a1b08ee0
9 changed files with 152 additions and 152 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import { InjectionKey } from 'vue'
import { Store as TStore } from '~/types'
import { UseVueFlow } from '~/types'
export const StoreSymbol: InjectionKey<TStore> = Symbol('store')
export const VueFlow: InjectionKey<UseVueFlow> = Symbol('vueFlow')
export const NodeId: InjectionKey<string> = Symbol('nodeId')