@webiny/app-aco 5.42.3-beta.5 → 5.42.4-beta.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.
@@ -30,54 +30,54 @@ export declare const filterValidationSchema: zod.ZodObject<{
30
30
  condition: zod.ZodString;
31
31
  value: zod.ZodUnion<[zod.ZodBoolean, zod.ZodNumber, zod.ZodString, zod.ZodArray<zod.ZodUnion<[zod.ZodBoolean, zod.ZodNumber, zod.ZodString]>, "atleastone">]>;
32
32
  }, "strip", zod.ZodTypeAny, {
33
+ value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
33
34
  field: string;
34
35
  condition: string;
35
- value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
36
36
  }, {
37
+ value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
37
38
  field: string;
38
39
  condition: string;
39
- value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
40
40
  }>, "many">;
41
41
  }, "strip", zod.ZodTypeAny, {
42
- operation: Operation;
43
42
  filters: {
43
+ value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
44
44
  field: string;
45
45
  condition: string;
46
- value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
47
46
  }[];
48
- }, {
49
47
  operation: Operation;
48
+ }, {
50
49
  filters: {
50
+ value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
51
51
  field: string;
52
52
  condition: string;
53
- value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
54
53
  }[];
54
+ operation: Operation;
55
55
  }>, "many">;
56
56
  }, "strip", zod.ZodTypeAny, {
57
- name: string;
58
- description: string;
59
- operation: Operation;
60
57
  groups: {
61
- operation: Operation;
62
58
  filters: {
59
+ value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
63
60
  field: string;
64
61
  condition: string;
65
- value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
66
62
  }[];
63
+ operation: Operation;
67
64
  }[];
68
- id?: string | null | undefined;
69
- }, {
70
65
  name: string;
71
66
  description: string;
72
67
  operation: Operation;
68
+ id?: string | null | undefined;
69
+ }, {
73
70
  groups: {
74
- operation: Operation;
75
71
  filters: {
72
+ value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
76
73
  field: string;
77
74
  condition: string;
78
- value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
79
75
  }[];
76
+ operation: Operation;
80
77
  }[];
78
+ name: string;
79
+ description: string;
80
+ operation: Operation;
81
81
  id?: string | null | undefined;
82
82
  }>;
83
83
  export declare class Filter {
@@ -91,30 +91,30 @@ export declare class Filter {
91
91
  static createEmpty(): Filter;
92
92
  static create(data: FilterDTO): Filter;
93
93
  static validate(data: FilterDTO): zod.SafeParseReturnType<{
94
- name: string;
95
- description: string;
96
- operation: Operation;
97
94
  groups: {
98
- operation: Operation;
99
95
  filters: {
96
+ value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
100
97
  field: string;
101
98
  condition: string;
102
- value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
103
99
  }[];
100
+ operation: Operation;
104
101
  }[];
105
- id?: string | null | undefined;
106
- }, {
107
102
  name: string;
108
103
  description: string;
109
104
  operation: Operation;
105
+ id?: string | null | undefined;
106
+ }, {
110
107
  groups: {
111
- operation: Operation;
112
108
  filters: {
109
+ value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
113
110
  field: string;
114
111
  condition: string;
115
- value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
116
112
  }[];
113
+ operation: Operation;
117
114
  }[];
115
+ name: string;
116
+ description: string;
117
+ operation: Operation;
118
118
  id?: string | null | undefined;
119
119
  }>;
120
120
  protected constructor(data: {
@@ -12,7 +12,7 @@ export declare class GetFolderExtensionsFieldsRepository implements IGetFolderEx
12
12
  label: string;
13
13
  helpText?: string | undefined;
14
14
  placeholderText?: string | undefined;
15
- validation?: (import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator | import("@webiny/validation/types").Validator)[] | undefined;
15
+ validation?: (import("@webiny/validation/types").Validator | import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator)[] | undefined;
16
16
  listValidation?: import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator[] | undefined;
17
17
  multipleValues?: boolean | undefined;
18
18
  predefinedValues?: import("@webiny/app-headless-cms-common/types").CmsEditorFieldPredefinedValues | undefined;
@@ -13,7 +13,7 @@ export declare class GetFolderExtensionsFieldsUseCase implements IGetFolderExten
13
13
  label: string;
14
14
  helpText?: string | undefined;
15
15
  placeholderText?: string | undefined;
16
- validation?: (import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator | import("@webiny/validation/types").Validator)[] | undefined;
16
+ validation?: (import("@webiny/validation/types").Validator | import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator)[] | undefined;
17
17
  listValidation?: import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator[] | undefined;
18
18
  multipleValues?: boolean | undefined;
19
19
  predefinedValues?: import("@webiny/app-headless-cms-common/types").CmsEditorFieldPredefinedValues | undefined;
@@ -13,7 +13,7 @@ export declare class GetFolderExtensionsFieldsUseCaseWithNamespace implements IG
13
13
  label: string;
14
14
  helpText?: string | undefined;
15
15
  placeholderText?: string | undefined;
16
- validation?: (import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator | import("@webiny/validation/types").Validator)[] | undefined;
16
+ validation?: (import("@webiny/validation/types").Validator | import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator)[] | undefined;
17
17
  listValidation?: import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator[] | undefined;
18
18
  multipleValues?: boolean | undefined;
19
19
  predefinedValues?: import("@webiny/app-headless-cms-common/types").CmsEditorFieldPredefinedValues | undefined;
@@ -14,7 +14,7 @@ export declare class GetFolderExtensionsFieldsUseCaseWithNamespaceAndModelId imp
14
14
  label: string;
15
15
  helpText?: string | undefined;
16
16
  placeholderText?: string | undefined;
17
- validation?: (import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator | import("@webiny/validation/types").Validator)[] | undefined;
17
+ validation?: (import("@webiny/validation/types").Validator | import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator)[] | undefined;
18
18
  listValidation?: import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator[] | undefined;
19
19
  multipleValues?: boolean | undefined;
20
20
  predefinedValues?: import("@webiny/app-headless-cms-common/types").CmsEditorFieldPredefinedValues | undefined;
@@ -9,7 +9,7 @@ export declare const useGetFolderExtensionsFields: () => {
9
9
  label: string;
10
10
  helpText?: string | undefined;
11
11
  placeholderText?: string | undefined;
12
- validation?: (import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator | import("@webiny/validation/types").Validator)[] | undefined;
12
+ validation?: (import("@webiny/validation/types").Validator | import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator)[] | undefined;
13
13
  listValidation?: import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator[] | undefined;
14
14
  multipleValues?: boolean | undefined;
15
15
  predefinedValues?: import("@webiny/app-headless-cms-common/types").CmsEditorFieldPredefinedValues | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/app-aco",
3
- "version": "5.42.3-beta.5",
3
+ "version": "5.42.4-beta.0",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,19 +17,19 @@
17
17
  "@material-design-icons/svg": "0.14.13",
18
18
  "@material-symbols/svg-400": "0.4.3",
19
19
  "@minoru/react-dnd-treeview": "3.2.1",
20
- "@webiny/app": "5.42.3-beta.5",
21
- "@webiny/app-admin": "5.42.3-beta.5",
22
- "@webiny/app-headless-cms-common": "5.42.3-beta.5",
23
- "@webiny/app-security": "5.42.3-beta.5",
24
- "@webiny/app-utils": "5.42.3-beta.5",
25
- "@webiny/app-wcp": "5.42.3-beta.5",
26
- "@webiny/form": "5.42.3-beta.5",
27
- "@webiny/plugins": "5.42.3-beta.5",
28
- "@webiny/react-properties": "5.42.3-beta.5",
29
- "@webiny/react-router": "5.42.3-beta.5",
30
- "@webiny/ui": "5.42.3-beta.5",
31
- "@webiny/utils": "5.42.3-beta.5",
32
- "@webiny/validation": "5.42.3-beta.5",
20
+ "@webiny/app": "5.42.4-beta.0",
21
+ "@webiny/app-admin": "5.42.4-beta.0",
22
+ "@webiny/app-headless-cms-common": "5.42.4-beta.0",
23
+ "@webiny/app-security": "5.42.4-beta.0",
24
+ "@webiny/app-utils": "5.42.4-beta.0",
25
+ "@webiny/app-wcp": "5.42.4-beta.0",
26
+ "@webiny/form": "5.42.4-beta.0",
27
+ "@webiny/plugins": "5.42.4-beta.0",
28
+ "@webiny/react-properties": "5.42.4-beta.0",
29
+ "@webiny/react-router": "5.42.4-beta.0",
30
+ "@webiny/ui": "5.42.4-beta.0",
31
+ "@webiny/utils": "5.42.4-beta.0",
32
+ "@webiny/validation": "5.42.4-beta.0",
33
33
  "dot-prop-immutable": "2.1.1",
34
34
  "graphql": "15.9.0",
35
35
  "graphql-tag": "2.12.6",
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/react": "18.2.79",
50
- "@webiny/project-utils": "5.42.3-beta.5",
50
+ "@webiny/project-utils": "5.42.4-beta.0",
51
51
  "apollo-client": "2.6.10",
52
52
  "apollo-link": "1.2.14",
53
53
  "rimraf": "6.0.1",
@@ -62,5 +62,5 @@
62
62
  "build": "node ../cli/bin.js run build",
63
63
  "watch": "node ../cli/bin.js run watch"
64
64
  },
65
- "gitHead": "2383f469abf35303706b3ab003745a50c4694233"
65
+ "gitHead": "89f483f705c33e9c8adaf1967d1ca77bbca9f201"
66
66
  }