mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-14 10:23:07 +02:00
17 lines
308 B
TypeScript
17 lines
308 B
TypeScript
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'
|
|
},
|
|
}));
|