Client - minor refacto w/ import order rules

This commit is contained in:
Sam
2021-08-21 18:34:06 +02:00
parent 064a7f66c8
commit f60847cc5f
15 changed files with 259 additions and 32 deletions

View File

@ -1,8 +1,8 @@
import { ActionContext, ActionTree } from 'vuex'
import authApi from '@/api/authApi'
import { ROOT_STORE } from '@/store/constants'
import { IRootActions, IRootState } from '@/store/modules/root/interfaces'
import authApi from '@/api/authApi'
import { handleError } from '@/utils'
export const actions: ActionTree<IRootState, IRootState> & IRootActions = {

View File

@ -1,6 +1,7 @@
import { ROOT_STORE } from '@/store/constants'
import { ActionContext } from 'vuex'
import { ROOT_STORE } from '@/store/constants'
export interface IAppStatistics {
sports: number
uploads_dir_size: number

View File

@ -1,5 +1,4 @@
import { IRootState } from '@/store/modules/root/interfaces'
import { IApplication } from '@/store/modules/root/interfaces'
import { IRootState, IApplication } from '@/store/modules/root/interfaces'
export const state: IRootState = {
root: true,