summaryrefslogtreecommitdiff
path: root/packages/client/src
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2022-06-28 00:27:24 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2022-06-28 00:27:24 +0900
commit596a61ce186d9a633a93aea07059c3930767e8bf (patch)
tree37b486b0a37cea64eed6ff7e619a639223ed6238 /packages/client/src
parentchore(client): tweak style (diff)
downloadmisskey-596a61ce186d9a633a93aea07059c3930767e8bf.tar.gz
misskey-596a61ce186d9a633a93aea07059c3930767e8bf.tar.bz2
misskey-596a61ce186d9a633a93aea07059c3930767e8bf.zip
lint fix
Diffstat (limited to 'packages/client/src')
-rw-r--r--packages/client/src/store.ts100
1 files changed, 50 insertions, 50 deletions
diff --git a/packages/client/src/store.ts b/packages/client/src/store.ts
index deee23951e..a273a46c7c 100644
--- a/packages/client/src/store.ts
+++ b/packages/client/src/store.ts
@@ -13,55 +13,55 @@ export const notePostInterruptors = [];
export const defaultStore = markRaw(new Storage('base', {
tutorial: {
where: 'account',
- default: 0
+ default: 0,
},
keepCw: {
where: 'account',
- default: true
+ default: true,
},
showFullAcct: {
where: 'account',
- default: false
+ default: false,
},
rememberNoteVisibility: {
where: 'account',
- default: false
+ default: false,
},
defaultNoteVisibility: {
where: 'account',
- default: 'public'
+ default: 'public',
},
defaultNoteLocalOnly: {
where: 'account',
- default: false
+ default: false,
},
uploadFolder: {
where: 'account',
- default: null as string | null
+ default: null as string | null,
},
pastedFileName: {
where: 'account',
- default: 'yyyy-MM-dd HH-mm-ss [{{number}}]'
+ default: 'yyyy-MM-dd HH-mm-ss [{{number}}]',
},
keepOriginalUploading: {
where: 'account',
- default: false
+ default: false,
},
memo: {
where: 'account',
- default: null
+ default: null,
},
reactions: {
where: 'account',
- default: ['👍', '❤️', '😆', '🤔', '😮', '🎉', '💢', '😥', '😇', '🍮']
+ default: ['👍', '❤️', '😆', '🤔', '😮', '🎉', '💢', '😥', '😇', '🍮'],
},
mutedWords: {
where: 'account',
- default: []
+ default: [],
},
mutedAds: {
where: 'account',
- default: [] as string[]
+ default: [] as string[],
},
menu: {
@@ -78,15 +78,15 @@ export const defaultStore = markRaw(new Storage('base', {
'search',
'-',
'ui',
- ]
+ ],
},
visibility: {
where: 'deviceAccount',
- default: 'public' as 'public' | 'home' | 'followers' | 'specified'
+ default: 'public' as 'public' | 'home' | 'followers' | 'specified',
},
localOnly: {
where: 'deviceAccount',
- default: false
+ default: false,
},
widgets: {
where: 'deviceAccount',
@@ -95,14 +95,14 @@ export const defaultStore = markRaw(new Storage('base', {
id: string;
place: string | null;
data: Record<string, any>;
- }[]
+ }[],
},
tl: {
where: 'deviceAccount',
default: {
src: 'home' as 'home' | 'local' | 'social' | 'global',
- arg: null
- }
+ arg: null,
+ },
},
overridedDeviceKind: {
@@ -111,87 +111,87 @@ export const defaultStore = markRaw(new Storage('base', {
},
serverDisconnectedBehavior: {
where: 'device',
- default: 'quiet' as 'quiet' | 'reload' | 'dialog'
+ default: 'quiet' as 'quiet' | 'reload' | 'dialog',
},
nsfw: {
where: 'device',
- default: 'respect' as 'respect' | 'force' | 'ignore'
+ default: 'respect' as 'respect' | 'force' | 'ignore',
},
animation: {
where: 'device',
- default: true
+ default: true,
},
animatedMfm: {
where: 'device',
- default: true
+ default: true,
},
loadRawImages: {
where: 'device',
- default: false
+ default: false,
},
imageNewTab: {
where: 'device',
- default: false
+ default: false,
},
disableShowingAnimatedImages: {
where: 'device',
- default: false
+ default: false,
},
disablePagesScript: {
where: 'device',
- default: false
+ default: false,
},
useOsNativeEmojis: {
where: 'device',
- default: false
+ default: false,
},
disableDrawer: {
where: 'device',
- default: false
+ default: false,
},
useBlurEffectForModal: {
where: 'device',
- default: true
+ default: true,
},
useBlurEffect: {
where: 'device',
- default: true
+ default: true,
},
showFixedPostForm: {
where: 'device',
- default: false
+ default: false,
},
enableInfiniteScroll: {
where: 'device',
- default: true
+ default: true,
},
useReactionPickerForContextMenu: {
where: 'device',
- default: false
+ default: false,
},
showGapBetweenNotesInTimeline: {
where: 'device',
- default: false
+ default: false,
},
darkMode: {
where: 'device',
- default: false
+ default: false,
},
instanceTicker: {
where: 'device',
- default: 'remote' as 'none' | 'remote' | 'always'
+ default: 'remote' as 'none' | 'remote' | 'always',
},
reactionPickerSize: {
where: 'device',
- default: 1
+ default: 1,
},
reactionPickerWidth: {
where: 'device',
- default: 1
+ default: 1,
},
reactionPickerHeight: {
where: 'device',
- default: 2
+ default: 2,
},
reactionPickerUseDrawerForMobile: {
where: 'device',
@@ -199,35 +199,35 @@ export const defaultStore = markRaw(new Storage('base', {
},
recentlyUsedEmojis: {
where: 'device',
- default: [] as string[]
+ default: [] as string[],
},
recentlyUsedUsers: {
where: 'device',
- default: [] as string[]
+ default: [] as string[],
},
defaultSideView: {
where: 'device',
- default: false
+ default: false,
},
menuDisplay: {
where: 'device',
- default: 'sideFull' as 'sideFull' | 'sideIcon' | 'top'
+ default: 'sideFull' as 'sideFull' | 'sideIcon' | 'top',
},
reportError: {
where: 'device',
- default: false
+ default: false,
},
squareAvatars: {
where: 'device',
- default: false
+ default: false,
},
postFormWithHashtags: {
where: 'device',
- default: false
+ default: false,
},
postFormHashtags: {
where: 'device',
- default: ''
+ default: '',
},
themeInitial: {
where: 'device',
@@ -235,7 +235,7 @@ export const defaultStore = markRaw(new Storage('base', {
},
aiChanMode: {
where: 'device',
- default: false
+ default: false,
},
}));
@@ -326,7 +326,7 @@ export class ColdDeviceStorage {
set: (value: unknown) => {
const val = value;
ColdDeviceStorage.set(key, val);
- }
+ },
};
}
}