MCPcopy Create free account
hub / github.com/dailydotdev/apps / getSearchPageProvider

Function getSearchPageProvider

packages/shared/src/graphql/search.ts:149–151  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

147};
148
149export const getSearchPageProvider = (value: unknown): SearchProviderEnum =>
150 searchPageProviders.find((provider) => provider === value) ??
151 SearchProviderEnum.Posts;
152
153// The suggestion queries have no cursor, so the results page asks for one
154// generous page instead of paging.

Callers 1

MainFeedLayoutFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected