@intellegens/cornerstone-client 0.0.33 → 0.0.35

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.
@@ -1,15 +1,18 @@
1
1
  import { ReadSelectedSearchPropertyDefinitionDto, ReadSelectedLogicalOperator } from '../..';
2
2
  /**
3
- * Defines the search options for a controller, including the logical operator and an array of property definitions.
4
- * Supports both simple property search and nested logical groups.
3
+ * Search definition that supports property searches and nested groups.
5
4
  */
6
5
  export type ReadSelectedSearchDefinitionDto = {
7
6
  /**
8
- * Logical operator to be used when applying the searches.
7
+ * Logical operator (AND/OR) to combine search criteria.
9
8
  */
10
9
  logicalOperator: ReadSelectedLogicalOperator;
11
10
  /**
12
- * Array of search criteria that can be either simple property searches or full nested search definitions
11
+ * Property-based search criteria.
13
12
  */
14
- criteria: (ReadSelectedSearchPropertyDefinitionDto | ReadSelectedSearchDefinitionDto)[];
13
+ propertyCriteria?: ReadSelectedSearchPropertyDefinitionDto[];
14
+ /**
15
+ * Nested search definitions for complex queries.
16
+ */
17
+ nestedSearchCriteria?: ReadSelectedSearchDefinitionDto[];
15
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intellegens/cornerstone-client",
3
- "version": "0.0.33",
3
+ "version": "0.0.35",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "scripts": {