refactor: search
This commit is contained in:
parent
88567c2c13
commit
0153465e29
24 changed files with 785 additions and 345 deletions
8
src/types/index.d.ts
vendored
8
src/types/index.d.ts
vendored
|
|
@ -174,3 +174,11 @@ export type TPollCreateData = {
|
|||
relays: string[]
|
||||
endsAt?: number
|
||||
}
|
||||
|
||||
export type TSearchType = 'profile' | 'profiles' | 'notes' | 'hashtag' | 'relay'
|
||||
|
||||
export type TSearchParams = {
|
||||
type: TSearchType
|
||||
search: string
|
||||
input?: string
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue