feat: search (#285)
This commit is contained in:
parent
5ff0900108
commit
c1d1138742
13 changed files with 252 additions and 6 deletions
12
components/search/types.ts
Normal file
12
components/search/types.ts
Normal file
|
@ -0,0 +1,12 @@
|
|||
import type { Account } from 'masto'
|
||||
|
||||
export interface SearchResult {
|
||||
type: 'account' | 'hashtag' | 'action'
|
||||
to: string
|
||||
label?: string
|
||||
account?: Account
|
||||
hashtag?: any
|
||||
action?: {
|
||||
label: string
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue