useLandingSearch
Category:
Navigation & Routing
Composable for landing page search.
Types
ts
export function useLandingSearch(): {
search: (
navigationId: string,
options?: {
withCmsAssociations?: boolean;
},
) => Promise<Schemas["LandingPage"]>;
}
ts
export type UseLandingSearchReturn = {
/**
* Search for landing page by ID
* Accepts optional media associations
*/
search(
navigationId: string,
options?: {
withCmsAssociations?: boolean;
},
): Promise<Schemas["LandingPage"]>;
};