@findlane/server 0.34.0 → 0.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -855,6 +855,17 @@ export type ServerEvent = {
855
855
  query?: string;
856
856
  position?: number;
857
857
  timestamp?: number;
858
+ }
859
+ /** A facet match was picked: its field, the value picked (one of the match's values), its label, the search's
860
+ * query, and its place among the rows. */
861
+ | {
862
+ type: "facetMatch";
863
+ field: string;
864
+ value: string;
865
+ label?: string;
866
+ query?: string;
867
+ position?: number;
868
+ timestamp?: number;
858
869
  };
859
870
  /** A category page (a facet field's value, without search words), or a search's exact words. */
860
871
  export type MerchandisingTarget = {
package/dist/index.d.ts CHANGED
@@ -855,6 +855,17 @@ export type ServerEvent = {
855
855
  query?: string;
856
856
  position?: number;
857
857
  timestamp?: number;
858
+ }
859
+ /** A facet match was picked: its field, the value picked (one of the match's values), its label, the search's
860
+ * query, and its place among the rows. */
861
+ | {
862
+ type: "facetMatch";
863
+ field: string;
864
+ value: string;
865
+ label?: string;
866
+ query?: string;
867
+ position?: number;
868
+ timestamp?: number;
858
869
  };
859
870
  /** A category page (a facet field's value, without search words), or a search's exact words. */
860
871
  export type MerchandisingTarget = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@findlane/server",
3
- "version": "0.34.0",
3
+ "version": "0.35.0",
4
4
  "description": "Findlane server SDK: upload catalogs, manage index settings, and search with a secret workspace API key.",
5
5
  "keywords": ["findlane", "search", "full-text search", "typo tolerance", "ecommerce search", "search api", "sdk"],
6
6
  "license": "MIT",