elk/components/search/types.ts
2022-12-29 15:44:26 +01:00

14 lines
251 B
TypeScript

import type { Account, Status } from 'masto'
export interface SearchResult {
type: 'account' | 'hashtag' | 'action' | 'status'
to: string
label?: string
account?: Account
status?: Status
hashtag?: any
action?: {
label: string
}
}