upd: add history endpoint, make sure all areas use new convertAccount
This commit is contained in:
		
							parent
							
								
									8fd669ff7d
								
							
						
					
					
						commit
						c53323d237
					
				
					 6 changed files with 104 additions and 28 deletions
				
			
		| 
						 | 
				
			
			@ -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'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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 = (
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue