upd: add history endpoint, make sure all areas use new convertAccount

This commit is contained in:
Mar0xy 2023-10-29 12:18:18 +01:00
parent 8fd669ff7d
commit c53323d237
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
6 changed files with 104 additions and 28 deletions

View file

@ -2,7 +2,8 @@ namespace Entity {
export type List = {
id: string
title: string
replies_policy: RepliesPolicy | null
replies_policy?: RepliesPolicy | null
exclusive?: RepliesPolicy | null
}
export type RepliesPolicy = 'followed' | 'list' | 'none'

View file

@ -391,7 +391,7 @@ namespace MisskeyAPI {
export const list = (l: Entity.List): MegalodonEntity.List => ({
id: l.id,
title: l.name,
replies_policy: null
exclusive: null
})
export const encodeNotificationType = (