@webiny/app-aco 5.39.3 → 5.40.0-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.
@@ -54,9 +54,6 @@ export declare const filterValidationSchema: zod.ZodObject<{
54
54
  operation: Operation;
55
55
  }>, "many">;
56
56
  }, "strip", zod.ZodTypeAny, {
57
- name: string;
58
- description: string;
59
- operation: Operation;
60
57
  groups: {
61
58
  filters: {
62
59
  value: (string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]]) & (string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]] | undefined);
@@ -65,11 +62,11 @@ export declare const filterValidationSchema: zod.ZodObject<{
65
62
  }[];
66
63
  operation: Operation;
67
64
  }[];
68
- id?: string | null | undefined;
69
- }, {
70
- name: string;
71
65
  description: string;
66
+ name: string;
72
67
  operation: Operation;
68
+ id?: string | null | undefined;
69
+ }, {
73
70
  groups: {
74
71
  filters: {
75
72
  value: (string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]]) & (string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]] | undefined);
@@ -78,6 +75,9 @@ export declare const filterValidationSchema: zod.ZodObject<{
78
75
  }[];
79
76
  operation: Operation;
80
77
  }[];
78
+ description: string;
79
+ name: string;
80
+ operation: Operation;
81
81
  id?: string | null | undefined;
82
82
  }>;
83
83
  export declare class Filter {
@@ -91,9 +91,6 @@ 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
95
  filters: {
99
96
  value: (string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]]) & (string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]] | undefined);
@@ -102,11 +99,11 @@ export declare class Filter {
102
99
  }[];
103
100
  operation: Operation;
104
101
  }[];
105
- id?: string | null | undefined;
106
- }, {
107
- name: string;
108
102
  description: string;
103
+ name: string;
109
104
  operation: Operation;
105
+ id?: string | null | undefined;
106
+ }, {
110
107
  groups: {
111
108
  filters: {
112
109
  value: (string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]]) & (string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]] | undefined);
@@ -115,6 +112,9 @@ export declare class Filter {
115
112
  }[];
116
113
  operation: Operation;
117
114
  }[];
115
+ description: string;
116
+ name: string;
117
+ operation: Operation;
118
118
  id?: string | null | undefined;
119
119
  }>;
120
120
  protected constructor(data: {
@@ -2,9 +2,7 @@
2
2
  export { ActionConfig as RecordActionConfig } from "./record/Action";
3
3
  export { ActionConfig as FolderActionConfig } from "./folder/Action";
4
4
  export { ColumnConfig as TableColumnConfig } from "./table/Column";
5
- export declare const AcoConfig: (({ children }: {
6
- children: import("react").ReactNode;
7
- }) => JSX.Element) & {
5
+ export declare const AcoConfig: (({ priority, children }: import("@webiny/react-properties").ConfigProps) => JSX.Element) & {
8
6
  Folder: {
9
7
  Action: (({ name, after, before, remove, element }: import("./folder/Action").ActionProps) => JSX.Element) & {
10
8
  OptionsMenuItem: (props: import("@webiny/app-admin").OptionsMenuItemProps) => JSX.Element;
@@ -1,6 +1,6 @@
1
1
  export declare const useFolders: () => {
2
2
  getFolder: (id: string) => Promise<import("../types").FolderItem>;
3
- createFolder: (folder: Omit<import("../types").FolderItem, "id" | "type">) => Promise<import("../types").FolderItem>;
3
+ createFolder: (folder: Omit<import("../types").FolderItem, "type" | "id">) => Promise<import("../types").FolderItem>;
4
4
  updateFolder: (folder: Omit<import("../types").FolderItem, "type">, options?: Partial<{
5
5
  refetchFoldersList: boolean;
6
6
  }> | undefined) => Promise<import("../types").FolderItem>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/app-aco",
3
- "version": "5.39.3",
3
+ "version": "5.40.0-beta.0",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,18 +17,18 @@
17
17
  "@material-design-icons/svg": "0.12.1",
18
18
  "@material-symbols/svg-400": "0.4.3",
19
19
  "@minoru/react-dnd-treeview": "3.2.1",
20
- "@webiny/app": "5.39.3",
21
- "@webiny/app-admin": "5.39.3",
22
- "@webiny/app-headless-cms-common": "5.39.3",
23
- "@webiny/app-security": "5.39.3",
24
- "@webiny/app-wcp": "5.39.3",
25
- "@webiny/form": "5.39.3",
26
- "@webiny/plugins": "5.39.3",
27
- "@webiny/react-properties": "5.39.3",
28
- "@webiny/react-router": "5.39.3",
29
- "@webiny/ui": "5.39.3",
30
- "@webiny/utils": "5.39.3",
31
- "@webiny/validation": "5.39.3",
20
+ "@webiny/app": "5.40.0-beta.0",
21
+ "@webiny/app-admin": "5.40.0-beta.0",
22
+ "@webiny/app-headless-cms-common": "5.40.0-beta.0",
23
+ "@webiny/app-security": "5.40.0-beta.0",
24
+ "@webiny/app-wcp": "5.40.0-beta.0",
25
+ "@webiny/form": "5.40.0-beta.0",
26
+ "@webiny/plugins": "5.40.0-beta.0",
27
+ "@webiny/react-properties": "5.40.0-beta.0",
28
+ "@webiny/react-router": "5.40.0-beta.0",
29
+ "@webiny/ui": "5.40.0-beta.0",
30
+ "@webiny/utils": "5.40.0-beta.0",
31
+ "@webiny/validation": "5.40.0-beta.0",
32
32
  "dot-prop-immutable": "2.1.1",
33
33
  "graphql": "15.8.0",
34
34
  "graphql-tag": "2.12.6",
@@ -51,8 +51,8 @@
51
51
  "@babel/preset-typescript": "7.22.5",
52
52
  "@babel/runtime": "7.22.6",
53
53
  "@types/react": "17.0.39",
54
- "@webiny/cli": "5.39.3",
55
- "@webiny/project-utils": "5.39.3",
54
+ "@webiny/cli": "5.40.0-beta.0",
55
+ "@webiny/project-utils": "5.40.0-beta.0",
56
56
  "apollo-client": "2.6.10",
57
57
  "apollo-link": "1.2.14",
58
58
  "rimraf": "3.0.2",
@@ -67,5 +67,5 @@
67
67
  "build": "yarn webiny run build",
68
68
  "watch": "yarn webiny run watch"
69
69
  },
70
- "gitHead": "27c219c64a0a056e9b7e57112e76c8a87185f178"
70
+ "gitHead": "d716758f56ca020dfaf8147cd908dddfaaf0937f"
71
71
  }