@webiny/app-aco 6.0.0-alpha.1 → 6.0.0-alpha.3

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)[]];
34
33
  field: string;
35
34
  condition: string;
36
- }, {
37
35
  value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
36
+ }, {
38
37
  field: string;
39
38
  condition: string;
39
+ value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
40
40
  }>, "many">;
41
41
  }, "strip", zod.ZodTypeAny, {
42
+ operation: Operation;
42
43
  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)[]];
46
47
  }[];
47
- operation: Operation;
48
48
  }, {
49
+ operation: Operation;
49
50
  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)[]];
53
54
  }[];
54
- operation: Operation;
55
55
  }>, "many">;
56
56
  }, "strip", zod.ZodTypeAny, {
57
+ name: string;
58
+ description: string;
59
+ operation: Operation;
57
60
  groups: {
61
+ operation: Operation;
58
62
  filters: {
59
- value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
60
63
  field: string;
61
64
  condition: string;
65
+ value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
62
66
  }[];
63
- operation: Operation;
64
67
  }[];
68
+ id?: string | null | undefined;
69
+ }, {
65
70
  name: string;
66
71
  description: string;
67
72
  operation: Operation;
68
- id?: string | null | undefined;
69
- }, {
70
73
  groups: {
74
+ operation: Operation;
71
75
  filters: {
72
- value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
73
76
  field: string;
74
77
  condition: string;
78
+ value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
75
79
  }[];
76
- operation: Operation;
77
80
  }[];
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;
94
97
  groups: {
98
+ operation: Operation;
95
99
  filters: {
96
- value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
97
100
  field: string;
98
101
  condition: string;
102
+ value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
99
103
  }[];
100
- operation: Operation;
101
104
  }[];
105
+ id?: string | null | undefined;
106
+ }, {
102
107
  name: string;
103
108
  description: string;
104
109
  operation: Operation;
105
- id?: string | null | undefined;
106
- }, {
107
110
  groups: {
111
+ operation: Operation;
108
112
  filters: {
109
- value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
110
113
  field: string;
111
114
  condition: string;
115
+ value: string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]];
112
116
  }[];
113
- operation: Operation;
114
117
  }[];
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/validation/types").Validator | import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator)[] | undefined;
15
+ validation?: (import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator | import("@webiny/validation/types").Validator)[] | 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/validation/types").Validator | import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator)[] | undefined;
16
+ validation?: (import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator | import("@webiny/validation/types").Validator)[] | 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/validation/types").Validator | import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator)[] | undefined;
16
+ validation?: (import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator | import("@webiny/validation/types").Validator)[] | 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/validation/types").Validator | import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator)[] | undefined;
17
+ validation?: (import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator | import("@webiny/validation/types").Validator)[] | 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/validation/types").Validator | import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator)[] | undefined;
12
+ validation?: (import("@webiny/app-headless-cms-common/types").CmsModelFieldValidator | import("@webiny/validation/types").Validator)[] | 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": "6.0.0-alpha.1",
3
+ "version": "6.0.0-alpha.3",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,21 +12,21 @@
12
12
  "license": "MIT",
13
13
  "dependencies": {
14
14
  "@apollo/react-hooks": "3.1.5",
15
- "@webiny/admin-ui": "6.0.0-alpha.1",
16
- "@webiny/app": "6.0.0-alpha.1",
17
- "@webiny/app-admin": "6.0.0-alpha.1",
18
- "@webiny/app-headless-cms-common": "6.0.0-alpha.1",
19
- "@webiny/app-security": "6.0.0-alpha.1",
20
- "@webiny/app-utils": "6.0.0-alpha.1",
21
- "@webiny/app-wcp": "6.0.0-alpha.1",
22
- "@webiny/form": "6.0.0-alpha.1",
23
- "@webiny/icons": "6.0.0-alpha.1",
24
- "@webiny/plugins": "6.0.0-alpha.1",
25
- "@webiny/react-properties": "6.0.0-alpha.1",
26
- "@webiny/react-router": "6.0.0-alpha.1",
27
- "@webiny/shared-aco": "6.0.0-alpha.1",
28
- "@webiny/utils": "6.0.0-alpha.1",
29
- "@webiny/validation": "6.0.0-alpha.1",
15
+ "@webiny/admin-ui": "6.0.0-alpha.3",
16
+ "@webiny/app": "6.0.0-alpha.3",
17
+ "@webiny/app-admin": "6.0.0-alpha.3",
18
+ "@webiny/app-headless-cms-common": "6.0.0-alpha.3",
19
+ "@webiny/app-security": "6.0.0-alpha.3",
20
+ "@webiny/app-utils": "6.0.0-alpha.3",
21
+ "@webiny/app-wcp": "6.0.0-alpha.3",
22
+ "@webiny/form": "6.0.0-alpha.3",
23
+ "@webiny/icons": "6.0.0-alpha.3",
24
+ "@webiny/plugins": "6.0.0-alpha.3",
25
+ "@webiny/react-properties": "6.0.0-alpha.3",
26
+ "@webiny/react-router": "6.0.0-alpha.3",
27
+ "@webiny/shared-aco": "6.0.0-alpha.3",
28
+ "@webiny/utils": "6.0.0-alpha.3",
29
+ "@webiny/validation": "6.0.0-alpha.3",
30
30
  "dot-prop-immutable": "2.1.1",
31
31
  "graphql": "15.9.0",
32
32
  "graphql-tag": "2.12.6",
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/react": "18.2.79",
46
- "@webiny/project-utils": "6.0.0-alpha.1",
46
+ "@webiny/project-utils": "6.0.0-alpha.3",
47
47
  "apollo-client": "2.6.10",
48
48
  "apollo-link": "1.2.14",
49
49
  "rimraf": "6.0.1",
@@ -57,5 +57,5 @@
57
57
  "build": "node ../cli/bin.js run build",
58
58
  "watch": "node ../cli/bin.js run watch"
59
59
  },
60
- "gitHead": "9bd236cf5e689f209a11bec089207dcc2d41a53c"
60
+ "gitHead": "8b6c57b56947ee57acf428f703bc1b8c35617a95"
61
61
  }