@findlane/server 0.5.0 → 0.6.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
@@ -34,6 +34,9 @@ export type IndexSettings = {
34
34
  normalizationProfile?: "default-v2" | "default-v1" | "icelandic-ascii-v1";
35
35
  /** An object field of lat and lng numbers, such as `_geoloc`, that `near` and `within` search; null for none. */
36
36
  locationField?: string | null;
37
+ /** When saving: types for fields no record has yet, so settings can come before the records. Records'
38
+ * types win once they have the field. Not returned when reading settings. */
39
+ fieldTypes?: Record<string, "text" | "number" | "boolean" | "text[]" | "number[]" | "boolean[]" | "location">;
37
40
  [key: string]: unknown;
38
41
  };
39
42
  /** A settings change running in the background (with the settings it applies), or the last one's
package/dist/index.d.ts CHANGED
@@ -34,6 +34,9 @@ export type IndexSettings = {
34
34
  normalizationProfile?: "default-v2" | "default-v1" | "icelandic-ascii-v1";
35
35
  /** An object field of lat and lng numbers, such as `_geoloc`, that `near` and `within` search; null for none. */
36
36
  locationField?: string | null;
37
+ /** When saving: types for fields no record has yet, so settings can come before the records. Records'
38
+ * types win once they have the field. Not returned when reading settings. */
39
+ fieldTypes?: Record<string, "text" | "number" | "boolean" | "text[]" | "number[]" | "boolean[]" | "location">;
37
40
  [key: string]: unknown;
38
41
  };
39
42
  /** A settings change running in the background (with the settings it applies), or the last one's
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@findlane/server",
3
- "version": "0.5.0",
3
+ "version": "0.6.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",