feat(frontend): 任意のユーザーリストをタイムラインページにピン留めできるように
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
import { markRaw, ref } from 'vue';
|
||||
import misskey from 'misskey-js';
|
||||
import * as Misskey from 'misskey-js';
|
||||
import { Storage } from './pizzax';
|
||||
|
||||
interface PostFormAction {
|
||||
@@ -163,10 +163,14 @@ export const defaultStore = markRaw(new Storage('base', {
|
||||
tl: {
|
||||
where: 'deviceAccount',
|
||||
default: {
|
||||
src: 'home' as 'home' | 'local' | 'social' | 'global',
|
||||
arg: null,
|
||||
src: 'home' as 'home' | 'local' | 'social' | 'global' | `list:${string}`,
|
||||
userList: null as Misskey.entities.UserList | null,
|
||||
},
|
||||
},
|
||||
pinnedUserLists: {
|
||||
where: 'deviceAccount',
|
||||
default: [] as Misskey.entities.UserList[],
|
||||
},
|
||||
|
||||
overridedDeviceKind: {
|
||||
where: 'device',
|
||||
|
Reference in New Issue
Block a user