@baasix/types 1.0.14 → 1.1.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.mts CHANGED
@@ -739,6 +739,10 @@ interface QueryParams<T = unknown> {
739
739
  * Fields to search in
740
740
  */
741
741
  searchFields?: string[];
742
+ /**
743
+ * Fields to leave out of the search (applies to searchFields or the default set)
744
+ */
745
+ excludeSearchFields?: string[];
742
746
  /**
743
747
  * Sort results by search relevance
744
748
  * @default false
package/dist/index.d.ts CHANGED
@@ -739,6 +739,10 @@ interface QueryParams<T = unknown> {
739
739
  * Fields to search in
740
740
  */
741
741
  searchFields?: string[];
742
+ /**
743
+ * Fields to leave out of the search (applies to searchFields or the default set)
744
+ */
745
+ excludeSearchFields?: string[];
742
746
  /**
743
747
  * Sort results by search relevance
744
748
  * @default false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baasix/types",
3
- "version": "1.0.14",
3
+ "version": "1.1.0",
4
4
  "description": "Shared TypeScript types for Baasix packages",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
package/src/query.ts CHANGED
@@ -326,6 +326,11 @@ export interface QueryParams<T = unknown> {
326
326
  */
327
327
  searchFields?: string[];
328
328
 
329
+ /**
330
+ * Fields to leave out of the search (applies to searchFields or the default set)
331
+ */
332
+ excludeSearchFields?: string[];
333
+
329
334
  /**
330
335
  * Sort results by search relevance
331
336
  * @default false