summaryrefslogtreecommitdiff
path: root/packages/client/src/store.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2022-07-03 14:40:02 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2022-07-03 14:40:02 +0900
commit44c85aff86cfa97797880e9b246ea4c75dc82984 (patch)
tree73178a011d32e51ae667bd42463209ef037976fa /packages/client/src/store.ts
parent12.112.0-beta.13 (diff)
downloadmisskey-44c85aff86cfa97797880e9b246ea4c75dc82984.tar.gz
misskey-44c85aff86cfa97797880e9b246ea4c75dc82984.tar.bz2
misskey-44c85aff86cfa97797880e9b246ea4c75dc82984.zip
feat(client): status bar (experimental)
Diffstat (limited to 'packages/client/src/store.ts')
-rw-r--r--packages/client/src/store.ts13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/client/src/store.ts b/packages/client/src/store.ts
index 94d9d91385..cde907017d 100644
--- a/packages/client/src/store.ts
+++ b/packages/client/src/store.ts
@@ -88,6 +88,19 @@ export const defaultStore = markRaw(new Storage('base', {
where: 'deviceAccount',
default: false,
},
+ statusbars: {
+ where: 'deviceAccount',
+ default: [] as {
+ name: string;
+ id: string;
+ type: string;
+ props: Record<string, any>;
+ }[],
+ },
+ statusbarSize: {
+ where: 'deviceAccount',
+ default: 'medium',
+ },
widgets: {
where: 'deviceAccount',
default: [] as {