feat: allow searching for statuses (#632)

This commit is contained in:
Daniel Roe 2022-12-29 15:44:26 +01:00 committed by GitHub
parent 86a604ae9c
commit 12280afe70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 25 additions and 7 deletions

View file

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