1
0
elk/components/search/types.ts

14 lines
251 B
TypeScript
Raw Normal View History

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