2021-08-11 21:12:20 +02:00
|
|
|
import { ROOT_STORE } from '@/store/constants'
|
|
|
|
|
2021-08-11 18:33:02 +02:00
|
|
|
export interface IRootState {
|
|
|
|
root: boolean
|
|
|
|
language: string
|
|
|
|
errorMessage: string | null
|
|
|
|
}
|
2021-08-11 21:12:20 +02:00
|
|
|
|
|
|
|
export interface IRootGetters {
|
|
|
|
[ROOT_STORE.GETTERS.ERROR_MESSAGE](state: IRootState): string | null
|
2021-08-11 22:12:02 +02:00
|
|
|
[ROOT_STORE.GETTERS.LANGUAGE](state: IRootState): string
|
2021-08-11 21:12:20 +02:00
|
|
|
}
|