2021-05-25 15:11:44 +00:00
|
|
|
import { innerRoutes, privateRoutes } from './routes';
|
|
|
|
|
import { FG_Plugin } from '@flaschengeist/types';
|
|
|
|
|
import { defineAsyncComponent } from 'vue';
|
|
|
|
|
|
|
|
|
|
const plugin: FG_Plugin.Plugin = {
|
2021-11-11 12:39:39 +00:00
|
|
|
id: 'dev.flaschengeist.events',
|
|
|
|
|
name: 'Event schedule',
|
2021-05-25 15:11:44 +00:00
|
|
|
innerRoutes,
|
|
|
|
|
internalRoutes: privateRoutes,
|
|
|
|
|
requiredModules: [['events']],
|
|
|
|
|
version: '0.0.1',
|
|
|
|
|
widgets: [
|
|
|
|
|
{
|
|
|
|
|
priority: 0,
|
|
|
|
|
name: 'stats',
|
|
|
|
|
permissions: [],
|
|
|
|
|
widget: defineAsyncComponent(() => import('./components/Widget.vue')),
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default plugin;
|