mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-10-30 21:14:12 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			40 lines
		
	
	
	
		
			823 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
	
		
			823 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| /// <reference path="emoji.ts" />
 | |
| 
 | |
| namespace MastodonEntity {
 | |
|   export type Announcement = {
 | |
|     id: string
 | |
|     content: string
 | |
|     starts_at: string | null
 | |
|     ends_at: string | null
 | |
|     published: boolean
 | |
|     all_day: boolean
 | |
|     published_at: string
 | |
|     updated_at: string
 | |
|     read: boolean | null
 | |
|     mentions: Array<AnnouncementAccount>
 | |
|     statuses: Array<AnnouncementStatus>
 | |
|     tags: Array<StatusTag>
 | |
|     emojis: Array<Emoji>
 | |
|     reactions: Array<AnnouncementReaction>
 | |
|   }
 | |
| 
 | |
|   export type AnnouncementAccount = {
 | |
|     id: string
 | |
|     username: string
 | |
|     url: string
 | |
|     acct: string
 | |
|   }
 | |
| 
 | |
|   export type AnnouncementStatus = {
 | |
|     id: string
 | |
|     url: string
 | |
|   }
 | |
| 
 | |
|   export type AnnouncementReaction = {
 | |
|     name: string
 | |
|     count: number
 | |
|     me: boolean | null
 | |
|     url: string | null
 | |
|     static_url: string | null
 | |
|   }
 | |
| }
 |