From a7e3ce25854d6186b77e68c155a9a8bcdbd896ec Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Tue, 21 Mar 2023 17:58:50 -0500 Subject: Add fulltext search for posts and profiles (closes #340) (#342) * Refactor mobile search screen * Remove 'staleness' fetch trigger on search * Implement a temporary fulltext search solution * Add missing key from profile search result * A few UI & UX improvements to the search suggestions * Update web search suggestions * Implement search in web build --- src/lib/routes/types.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/routes/types.ts') diff --git a/src/lib/routes/types.ts b/src/lib/routes/types.ts index 9ec623970..cc48e2dbe 100644 --- a/src/lib/routes/types.ts +++ b/src/lib/routes/types.ts @@ -23,7 +23,7 @@ export type HomeTabNavigatorParams = CommonNavigatorParams & { } export type SearchTabNavigatorParams = CommonNavigatorParams & { - Search: undefined + Search: {q?: string} } export type NotificationsTabNavigatorParams = CommonNavigatorParams & { @@ -32,7 +32,7 @@ export type NotificationsTabNavigatorParams = CommonNavigatorParams & { export type FlatNavigatorParams = CommonNavigatorParams & { Home: undefined - Search: undefined + Search: {q?: string} Notifications: undefined } @@ -40,7 +40,7 @@ export type AllNavigatorParams = CommonNavigatorParams & { HomeTab: undefined Home: undefined SearchTab: undefined - Search: undefined + Search: {q?: string} NotificationsTab: undefined Notifications: undefined } -- cgit 1.4.1