2023-10-19 10:18:45 +00:00
|
|
|
import { createPinia } from 'pinia'
|
|
|
|
|
const store = createPinia()
|
|
|
|
|
export { store }
|
2023-11-24 11:02:52 +00:00
|
|
|
import useCommonStore from './modules/common'
|
2023-10-19 10:18:45 +00:00
|
|
|
import useUserStore from './modules/user'
|
2023-11-02 01:56:14 +00:00
|
|
|
import useDatasetStore from './modules/dataset'
|
2023-11-14 10:12:55 +00:00
|
|
|
import useParagraphStore from './modules/paragraph'
|
2023-11-23 06:30:28 +00:00
|
|
|
import useModelStore from './modules/model'
|
2023-11-24 11:02:52 +00:00
|
|
|
import useApplicationStore from './modules/application'
|
2023-12-07 11:28:38 +00:00
|
|
|
import useDocumentStore from './modules/document'
|
2024-04-09 03:33:28 +00:00
|
|
|
import useProblemStore from './modules/problem'
|
2024-05-14 09:56:40 +00:00
|
|
|
import useLogStore from './modules/log'
|
2023-09-15 09:40:35 +00:00
|
|
|
|
2023-10-19 10:18:45 +00:00
|
|
|
const useStore = () => ({
|
2023-11-24 11:02:52 +00:00
|
|
|
common: useCommonStore(),
|
2023-11-02 01:56:14 +00:00
|
|
|
user: useUserStore(),
|
2023-11-14 10:12:55 +00:00
|
|
|
dataset: useDatasetStore(),
|
2023-11-24 11:02:52 +00:00
|
|
|
paragraph: useParagraphStore(),
|
|
|
|
|
model: useModelStore(),
|
2023-12-07 11:28:38 +00:00
|
|
|
application: useApplicationStore(),
|
2024-04-09 03:33:28 +00:00
|
|
|
document: useDocumentStore(),
|
2024-05-14 09:56:40 +00:00
|
|
|
problem: useProblemStore(),
|
|
|
|
|
log: useLogStore()
|
2023-10-19 10:18:45 +00:00
|
|
|
})
|
2023-09-15 09:40:35 +00:00
|
|
|
|
2023-10-19 10:18:45 +00:00
|
|
|
export default useStore
|