misskey/src/client/ui/chat/store.ts

18 lines
308 B
TypeScript
Raw Normal View History

2021-02-16 14:17:13 +01:00
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'
},
2021-02-16 14:17:13 +01:00
}));