2021-02-16 07:17:13 -06: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>;
|
|
|
|
}[]
|
|
|
|
},
|
2021-02-19 20:15:08 -06:00
|
|
|
tl: {
|
|
|
|
where: 'deviceAccount',
|
|
|
|
default: 'home'
|
|
|
|
},
|
2021-02-16 07:17:13 -06:00
|
|
|
}));
|