elk/shared/types/global.d.ts
TAKAHASHI Shuuji 8b0dca0a59 Merge branch 'main' into shuuji3/feat/emoji-reactions
# Conflicts:
#	app/components/status/StatusEmojiReaction.vue
#	shared/types/global.d.ts
2025-05-21 13:52:44 +09:00

21 lines
433 B
TypeScript

import 'masto'
declare module 'masto/mastodon/entities/v1/index.js' {
// support fedibird non-mastodon emoji reaction
interface EmojiReaction {
name: string
count: number
accountIds: string[]
me: boolean
url?: string
staticUrl?: string
domain?: string | null
width?: number
height?: number
}
interface Status {
emojiReactionsCount?: number
emojiReactions?: EmojiReaction[]
}
}