7 lines
299 B
TypeScript
7 lines
299 B
TypeScript
import { InjectionKey } from 'vue'
|
|
import { ElementId, FlowHooks, FlowStore } from '~/types'
|
|
|
|
export const Store: InjectionKey<FlowStore> = Symbol('store')
|
|
export const Hooks: InjectionKey<FlowHooks> = Symbol('hooks')
|
|
export const NodeIdContextKey: InjectionKey<ElementId> = Symbol('NodeIdContext')
|