2022-12-29 23:44:26 +09:00
|
|
|
import type { Account, Status } from 'masto'
|
2022-12-18 06:35:07 +09:00
|
|
|
|
|
|
|
export interface SearchResult {
|
2022-12-29 23:44:26 +09:00
|
|
|
type: 'account' | 'hashtag' | 'action' | 'status'
|
2022-12-18 06:35:07 +09:00
|
|
|
to: string
|
|
|
|
label?: string
|
|
|
|
account?: Account
|
2022-12-29 23:44:26 +09:00
|
|
|
status?: Status
|
2022-12-18 06:35:07 +09:00
|
|
|
hashtag?: any
|
|
|
|
action?: {
|
|
|
|
label: string
|
|
|
|
}
|
|
|
|
}
|