release v2.0.0 #4

Merged
crimsen merged 481 commits from develop into master 2024-01-18 15:15:08 +00:00
3 changed files with 8 additions and 8 deletions
Showing only changes of commit 17ffd19c5b - Show all commits

View File

@ -1,7 +1,8 @@
import { Module } from 'vuex'; import { Module } from 'vuex';
import { StateInterface } from 'src/store';
import routes from './routes'; import routes from './routes';
import { FG_Plugin } from 'src/plugins'; import { FG_Plugin } from 'src/plugins';
import { defineAsyncComponent } from 'vue';
import { StateInterface } from 'src/store';
import balance, { BalanceInterface } from './store/balance'; import balance, { BalanceInterface } from './store/balance';
const plugin: FG_Plugin.Plugin = { const plugin: FG_Plugin.Plugin = {
@ -16,7 +17,7 @@ const plugin: FG_Plugin.Plugin = {
priority: 0, priority: 0,
name: 'current', name: 'current',
permissions: ['balance_show'], permissions: ['balance_show'],
widget: () => import('./components/Widget.vue'), widget: defineAsyncComponent(() => import('./components/Widget.vue')),
}, },
], ],
}; };

View File

@ -1,5 +1,4 @@
import { Module, MutationTree, ActionTree, GetterTree } from 'vuex'; import { Module, MutationTree, ActionTree, GetterTree } from 'vuex';
//import store, { StateInterface } from 'src/store';
import { StateInterface } from 'src/store'; import { StateInterface } from 'src/store';
import { axios } from 'src/boot/axios'; import { axios } from 'src/boot/axios';
import { AxiosResponse } from 'axios'; import { AxiosResponse } from 'axios';
@ -30,7 +29,6 @@ export interface BalanceInterface {
loading: number; loading: number;
} }
//export interface StateInterfaceBalance extends StateInterface {
export interface StateInterfaceBalance { export interface StateInterfaceBalance {
balance: BalanceInterface; balance: BalanceInterface;
} }

View File

@ -1,8 +1,9 @@
import { FG_Plugin } from 'src/plugins';
import mainRoutes from './routes';
import store, { ScheduleInterface } from './store/schedule';
import { Module } from 'vuex'; import { Module } from 'vuex';
import { defineAsyncComponent } from 'vue';
import mainRoutes from './routes';
import { FG_Plugin } from 'src/plugins';
import { StateInterface } from 'src/store'; import { StateInterface } from 'src/store';
import store, { ScheduleInterface } from './store/schedule';
const plugin: FG_Plugin.Plugin = { const plugin: FG_Plugin.Plugin = {
name: 'Schedule', name: 'Schedule',
@ -16,7 +17,7 @@ const plugin: FG_Plugin.Plugin = {
priority: 0, priority: 0,
name: 'stats', name: 'stats',
permissions: [], permissions: [],
widget: () => import('./components/Widget.vue'), widget: defineAsyncComponent(() => import('./components/Widget.vue')),
}, },
], ],
}; };