18 lines
632 B
TypeScript
18 lines
632 B
TypeScript
import {useAuthStore} from '@/store/modules/userStore.ts';
|
|
import {useThemeStore} from "@/store/modules/themeStore.ts";
|
|
import {langStore} from "@/store/modules/langStore.ts";
|
|
import {useClientStore} from "@/store/modules/clientStore.ts";
|
|
import {useCommentStore} from "@/store/modules/commentStore.ts";
|
|
import {useWebSocketStore} from "@/store/modules/websocketStore.ts";
|
|
|
|
export default function useStore() {
|
|
return {
|
|
user: useAuthStore(),
|
|
theme: useThemeStore(),
|
|
lang: langStore(),
|
|
client: useClientStore(),
|
|
comment: useCommentStore(),
|
|
websocket: useWebSocketStore(),
|
|
};
|
|
}
|