import type { InjectionKey, Ref } from 'vue' import type { NavigationItem, UiInventory } from './types/api' /** * App-level shared state provided once by App.vue and injected by the views that * need it. Path-level data (pageId, moduleId, query) comes from the route; this * carries the cross-cutting session / navigation / inventory that App loads once. */ export const SessionKey: InjectionKey>> = Symbol('erp.session') export const NavigationKey: InjectionKey> = Symbol('erp.navigation') export const InventoryKey: InjectionKey> = Symbol('erp.inventory')