22 lines
488 B
TypeScript
22 lines
488 B
TypeScript
|
import { FG_Plugin } from '@flaschengeist/types';
|
||
|
import { defineAsyncComponent } from 'vue';
|
||
|
import routes from './routes';
|
||
|
|
||
|
const plugin: FG_Plugin.Plugin = {
|
||
|
id: 'balance',
|
||
|
name: 'Balance',
|
||
|
innerRoutes: routes,
|
||
|
requiredModules: [['balance']],
|
||
|
version: '0.0.2',
|
||
|
widgets: [
|
||
|
{
|
||
|
priority: 0,
|
||
|
name: 'current',
|
||
|
permissions: ['balance_show'],
|
||
|
widget: defineAsyncComponent(() => import('./components/Widget.vue')),
|
||
|
},
|
||
|
],
|
||
|
};
|
||
|
|
||
|
export default plugin;
|