@webiny/app-aco 5.39.1-beta.0 → 5.39.1-beta.1
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.
- package/components/AdvancedSearch/domain/Filter.d.ts +12 -12
- package/components/AdvancedSearch/domain/FilterMapper.d.ts +1 -1
- package/components/AdvancedSearch/domain/FilterRepository.d.ts +1 -1
- package/hooks/useFolders.d.ts +1 -1
- package/hooks/useRecords.d.ts +1 -1
- package/hooks/useTags.d.ts +1 -1
- package/package.json +16 -16
|
@@ -54,6 +54,9 @@ 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;
|
|
57
60
|
groups: {
|
|
58
61
|
filters: {
|
|
59
62
|
value: (string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]]) & (string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]] | undefined);
|
|
@@ -62,11 +65,11 @@ export declare const filterValidationSchema: zod.ZodObject<{
|
|
|
62
65
|
}[];
|
|
63
66
|
operation: Operation;
|
|
64
67
|
}[];
|
|
65
|
-
description: string;
|
|
66
|
-
name: string;
|
|
67
|
-
operation: Operation;
|
|
68
68
|
id?: string | null | undefined;
|
|
69
69
|
}, {
|
|
70
|
+
name: string;
|
|
71
|
+
description: string;
|
|
72
|
+
operation: Operation;
|
|
70
73
|
groups: {
|
|
71
74
|
filters: {
|
|
72
75
|
value: (string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]]) & (string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]] | undefined);
|
|
@@ -75,9 +78,6 @@ export declare const filterValidationSchema: zod.ZodObject<{
|
|
|
75
78
|
}[];
|
|
76
79
|
operation: Operation;
|
|
77
80
|
}[];
|
|
78
|
-
description: string;
|
|
79
|
-
name: string;
|
|
80
|
-
operation: Operation;
|
|
81
81
|
id?: string | null | undefined;
|
|
82
82
|
}>;
|
|
83
83
|
export declare class Filter {
|
|
@@ -91,6 +91,9 @@ 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: {
|
|
95
98
|
filters: {
|
|
96
99
|
value: (string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]]) & (string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]] | undefined);
|
|
@@ -99,11 +102,11 @@ export declare class Filter {
|
|
|
99
102
|
}[];
|
|
100
103
|
operation: Operation;
|
|
101
104
|
}[];
|
|
102
|
-
description: string;
|
|
103
|
-
name: string;
|
|
104
|
-
operation: Operation;
|
|
105
105
|
id?: string | null | undefined;
|
|
106
106
|
}, {
|
|
107
|
+
name: string;
|
|
108
|
+
description: string;
|
|
109
|
+
operation: Operation;
|
|
107
110
|
groups: {
|
|
108
111
|
filters: {
|
|
109
112
|
value: (string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]]) & (string | number | boolean | [string | number | boolean, ...(string | number | boolean)[]] | undefined);
|
|
@@ -112,9 +115,6 @@ export declare class Filter {
|
|
|
112
115
|
}[];
|
|
113
116
|
operation: Operation;
|
|
114
117
|
}[];
|
|
115
|
-
description: string;
|
|
116
|
-
name: string;
|
|
117
|
-
operation: Operation;
|
|
118
118
|
id?: string | null | undefined;
|
|
119
119
|
}>;
|
|
120
120
|
protected constructor(data: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Filter, FilterDTO, FilterStorage } from "
|
|
1
|
+
import { Filter, FilterDTO, FilterStorage } from "../domain";
|
|
2
2
|
export declare class FilterMapper {
|
|
3
3
|
static toDTO(configuration: Filter | FilterDTO): FilterDTO;
|
|
4
4
|
static toStorage(configuration: Filter | FilterDTO): FilterStorage;
|
package/hooks/useFolders.d.ts
CHANGED
|
@@ -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, "
|
|
3
|
+
createFolder: (folder: Omit<import("../types").FolderItem, "id" | "type">) => 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/hooks/useRecords.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare const useRecords: (folderId?: string) => {
|
|
|
6
6
|
* As soon as you call `useRecords()`, you'll initiate fetching of `records`, which is managed by the `SearchRecordContext`.
|
|
7
7
|
* Since this method lists records with pagination, you might need to call it multiple times passing the `after` param.
|
|
8
8
|
*/
|
|
9
|
-
loading: import("../types").Loading<import("
|
|
9
|
+
loading: import("../types").Loading<import("../types").LoadingActions>;
|
|
10
10
|
meta: import("../types").ListMeta;
|
|
11
11
|
records: SearchRecordItem<import("../types").GenericSearchData>[];
|
|
12
12
|
listRecords(params: ListRecordsParams): Promise<SearchRecordItem<import("../types").GenericSearchData>[]>;
|
package/hooks/useTags.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare const useTags: (params: UseTagsParams) => {
|
|
|
8
8
|
* NOTE: you do NOT need to call `listTags` from this hook on component mount, because you already have tags in the `listTags` property.
|
|
9
9
|
* As soon as you call `useTags()`, you'll initiate fetching of `tags`, which is managed by the `SearchRecordContext`.
|
|
10
10
|
*/
|
|
11
|
-
loading: import("../types").Loading<import("
|
|
11
|
+
loading: import("../types").Loading<import("../types").LoadingActions>;
|
|
12
12
|
tags: TagItem[];
|
|
13
13
|
};
|
|
14
14
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/app-aco",
|
|
3
|
-
"version": "5.39.1-beta.
|
|
3
|
+
"version": "5.39.1-beta.1",
|
|
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.1-beta.
|
|
21
|
-
"@webiny/app-admin": "5.39.1-beta.
|
|
22
|
-
"@webiny/app-headless-cms-common": "5.39.1-beta.
|
|
23
|
-
"@webiny/app-security": "5.39.1-beta.
|
|
24
|
-
"@webiny/app-wcp": "5.39.1-beta.
|
|
25
|
-
"@webiny/form": "5.39.1-beta.
|
|
26
|
-
"@webiny/plugins": "5.39.1-beta.
|
|
27
|
-
"@webiny/react-properties": "5.39.1-beta.
|
|
28
|
-
"@webiny/react-router": "5.39.1-beta.
|
|
29
|
-
"@webiny/ui": "5.39.1-beta.
|
|
30
|
-
"@webiny/utils": "5.39.1-beta.
|
|
31
|
-
"@webiny/validation": "5.39.1-beta.
|
|
20
|
+
"@webiny/app": "5.39.1-beta.1",
|
|
21
|
+
"@webiny/app-admin": "5.39.1-beta.1",
|
|
22
|
+
"@webiny/app-headless-cms-common": "5.39.1-beta.1",
|
|
23
|
+
"@webiny/app-security": "5.39.1-beta.1",
|
|
24
|
+
"@webiny/app-wcp": "5.39.1-beta.1",
|
|
25
|
+
"@webiny/form": "5.39.1-beta.1",
|
|
26
|
+
"@webiny/plugins": "5.39.1-beta.1",
|
|
27
|
+
"@webiny/react-properties": "5.39.1-beta.1",
|
|
28
|
+
"@webiny/react-router": "5.39.1-beta.1",
|
|
29
|
+
"@webiny/ui": "5.39.1-beta.1",
|
|
30
|
+
"@webiny/utils": "5.39.1-beta.1",
|
|
31
|
+
"@webiny/validation": "5.39.1-beta.1",
|
|
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.1-beta.
|
|
55
|
-
"@webiny/project-utils": "5.39.1-beta.
|
|
54
|
+
"@webiny/cli": "5.39.1-beta.1",
|
|
55
|
+
"@webiny/project-utils": "5.39.1-beta.1",
|
|
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": "
|
|
70
|
+
"gitHead": "6fc74b45740bd4123dcf9b5890bfacee594208bf"
|
|
71
71
|
}
|