digicust_types 1.8.397 → 1.8.399

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.
@@ -11,9 +11,16 @@ export declare enum FilterCondition {
11
11
  isDefined = "isDefined"
12
12
  }
13
13
  export interface FilterObject {
14
- field: string;
15
- fieldKey?: string;
16
- condition: FilterCondition;
17
- value: string | undefined | boolean | Date | number;
14
+ field?: string;
15
+ condition?: FilterCondition;
16
+ value?: string;
17
+ /**
18
+ * Specify the type of the field. Use "array" if the field is an array.
19
+ * When using "array", combine it with fieldKey to specify the key inside the array objects.
20
+ */
18
21
  type?: "array" | "string" | "number" | "object";
22
+ /**
23
+ * Required when the field is an array. Represents the key of objects inside the array.
24
+ */
25
+ fieldKey?: string;
19
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.397",
3
+ "version": "1.8.399",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",