summaryrefslogtreecommitdiff
path: root/src/client/ui/chat/store.ts
blob: 389d56afb635d726c313843520f40624e4d75405 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { markRaw } from 'vue';
import { Storage } from '../../pizzax';

export const store = markRaw(new Storage('chatUi', {
	widgets: {
		where: 'account',
		default: [] as {
			name: string;
			id: string;
			data: Record<string, any>;
		}[]
	},
	tl: {
		where: 'deviceAccount',
		default: 'home'
	},
}));