Template
Initial commit
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F22Ms5Cxam5UHyxaCrtZzu
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { createPredictiveSearchServerHandlers } from "@shopify/hydrogen";
|
||||
|
||||
/**
|
||||
* Predictive search server handlers, registered in the root middleware's
|
||||
* `handleShopifyRoutes` wiring. The browser autocomplete endpoint is
|
||||
* `/api/predictive-search` by default. Limited to products per
|
||||
* `notes/predictive-search.md`.
|
||||
*/
|
||||
export const predictiveSearchHandlers = createPredictiveSearchServerHandlers({
|
||||
types: ["PRODUCT"],
|
||||
});
|
||||
Reference in New Issue
Block a user