elk/components/search/types.ts

13 lines
214 B
TypeScript
Raw Normal View History

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