refactor: search
This commit is contained in:
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user