summaryrefslogtreecommitdiff
path: root/packages/frontend/src/widgets/index.ts
blob: 0b8189241943f3b77e46350b59c5413faace0828 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import { App, defineAsyncComponent } from 'vue';

export default function(app: App) {
	app.component('MkwProfile', defineAsyncComponent(() => import('./profile.vue')));
	app.component('MkwMemo', defineAsyncComponent(() => import('./memo.vue')));
	app.component('MkwNotifications', defineAsyncComponent(() => import('./notifications.vue')));
	app.component('MkwTimeline', defineAsyncComponent(() => import('./timeline.vue')));
	app.component('MkwCalendar', defineAsyncComponent(() => import('./calendar.vue')));
	app.component('MkwRss', defineAsyncComponent(() => import('./rss.vue')));
	app.component('MkwRssTicker', defineAsyncComponent(() => import('./rss-ticker.vue')));
	app.component('MkwTrends', defineAsyncComponent(() => import('./trends.vue')));
	app.component('MkwClock', defineAsyncComponent(() => import('./clock.vue')));
	app.component('MkwActivity', defineAsyncComponent(() => import('./activity.vue')));
	app.component('MkwPhotos', defineAsyncComponent(() => import('./photos.vue')));
	app.component('MkwDigitalClock', defineAsyncComponent(() => import('./digital-clock.vue')));
	app.component('MkwUnixClock', defineAsyncComponent(() => import('./unix-clock.vue')));
	app.component('MkwFederation', defineAsyncComponent(() => import('./federation.vue')));
	app.component('MkwPostForm', defineAsyncComponent(() => import('./post-form.vue')));
	app.component('MkwSlideshow', defineAsyncComponent(() => import('./slideshow.vue')));
	app.component('MkwServerMetric', defineAsyncComponent(() => import('./server-metric/index.vue')));
	app.component('MkwOnlineUsers', defineAsyncComponent(() => import('./online-users.vue')));
	app.component('MkwJobQueue', defineAsyncComponent(() => import('./job-queue.vue')));
	app.component('MkwInstanceCloud', defineAsyncComponent(() => import('./instance-cloud.vue')));
	app.component('MkwButton', defineAsyncComponent(() => import('./button.vue')));
	app.component('MkwAiscript', defineAsyncComponent(() => import('./aiscript.vue')));
	app.component('MkwAiscriptApp', defineAsyncComponent(() => import('./aiscript-app.vue')));
	app.component('MkwAichan', defineAsyncComponent(() => import('./aichan.vue')));
	app.component('MkwUserList', defineAsyncComponent(() => import('./user-list.vue')));
	app.component('MkwClicker', defineAsyncComponent(() => import('./clicker.vue')));
}

export const widgets = [
	'profile',
	'memo',
	'notifications',
	'timeline',
	'calendar',
	'rss',
	'rssTicker',
	'trends',
	'clock',
	'activity',
	'photos',
	'digitalClock',
	'unixClock',
	'federation',
	'instanceCloud',
	'postForm',
	'slideshow',
	'serverMetric',
	'onlineUsers',
	'jobQueue',
	'button',
	'aiscript',
	'aiscriptApp',
	'aichan',
	'userList',
	'clicker',
];