index.ts 704 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * @Author: liuJie
  3. * @Date: 2026-01-26 21:52:39
  4. * @LastEditors: liuJie
  5. * @LastEditTime: 2026-01-27 10:10:22
  6. * @Describe: file describe
  7. */
  8. import type { App } from 'vue'
  9. import { createPinia } from 'pinia'
  10. import useComponentMapInspector from '@/store/modules/materialSetterMaps.store'
  11. import useConditionOptionsStore from '@/store/modules/conditionNode.store'
  12. import useHttpOptionsStore from '@/store/modules/httpNode.store'
  13. import { useDashboardStore } from './modules/dashboard'
  14. const pinia = createPinia()
  15. const store = (app: App<Element>) => {
  16. app.use(pinia)
  17. }
  18. export {
  19. useComponentMapInspector,
  20. useConditionOptionsStore,
  21. useHttpOptionsStore,
  22. useDashboardStore
  23. }
  24. export default store