elk/components/search/types.ts

14 lines
251 B
TypeScript
Raw Normal View History

import type { Account, Status } from 'masto'
2022-12-17 21:35:07 +00:00
export interface SearchResult {
type: 'account' | 'hashtag' | 'action' | 'status'
2022-12-17 21:35:07 +00:00
to: string
label?: string
account?: Account
status?: Status
2022-12-17 21:35:07 +00:00
hashtag?: any
action?: {
label: string
}
}