@whiplashmerch/whiplash-api-client 3.2.22 → 3.2.23

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.
@@ -55,6 +55,11 @@ export interface RelatedObjectConfiguration {
55
55
  * When loading indirect related objects whether to set the `entityKey` as an array or single entity, defaults to false.
56
56
  */
57
57
  single?: boolean;
58
+ /**
59
+ * Optional additional Ransack-style search criteria merged into the query used to fetch the related
60
+ * objects. Useful for scoping polymorphic relations. @example `{ owner_type_eq: 'ShipnoticeItem' }`
61
+ */
62
+ searchCriteria?: object;
58
63
  }
59
64
  /**
60
65
  * Function used to load `RelationType.Direct` related objects
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whiplashmerch/whiplash-api-client",
3
- "version": "3.2.22",
3
+ "version": "3.2.23",
4
4
  "description": "",
5
5
  "devDependencies": {},
6
6
  "scripts": {