refactor: search

This commit is contained in:
codytseng
2025-08-31 22:43:47 +08:00
parent 88567c2c13
commit 0153465e29
24 changed files with 785 additions and 345 deletions

View File

@@ -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
}