@webiny/api-file-manager-ddb 5.19.0 → 5.19.1-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.
|
@@ -292,7 +292,9 @@ class FilesStorageOperations {
|
|
|
292
292
|
|
|
293
293
|
|
|
294
294
|
const tagsObject = results.reduce((collection, item) => {
|
|
295
|
-
|
|
295
|
+
const tags = Array.isArray(item.tags) ? item.tags : [];
|
|
296
|
+
|
|
297
|
+
for (const tag of tags) {
|
|
296
298
|
if (!collection[tag]) {
|
|
297
299
|
collection[tag] = [];
|
|
298
300
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/api-file-manager-ddb",
|
|
3
|
-
"version": "5.19.0",
|
|
3
|
+
"version": "5.19.1-beta.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"@webiny/api-file-manager",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@babel/runtime": "7.16.3",
|
|
25
|
-
"@webiny/api-file-manager": "5.19.0",
|
|
26
|
-
"@webiny/db-dynamodb": "5.19.0",
|
|
27
|
-
"@webiny/error": "5.19.0",
|
|
28
|
-
"@webiny/project-utils": "5.19.0",
|
|
25
|
+
"@webiny/api-file-manager": "5.19.1-beta.0",
|
|
26
|
+
"@webiny/db-dynamodb": "5.19.1-beta.0",
|
|
27
|
+
"@webiny/error": "5.19.1-beta.0",
|
|
28
|
+
"@webiny/project-utils": "5.19.1-beta.0",
|
|
29
29
|
"aws-sdk": "2.1032.0",
|
|
30
30
|
"dynamodb-toolbox": "0.3.5"
|
|
31
31
|
},
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@babel/plugin-transform-runtime": "^7.5.5",
|
|
37
37
|
"@babel/preset-env": "^7.5.5",
|
|
38
38
|
"@babel/preset-typescript": "^7.0.0",
|
|
39
|
-
"@webiny/cli": "^5.19.0",
|
|
39
|
+
"@webiny/cli": "^5.19.1-beta.0",
|
|
40
40
|
"jest": "^26.6.3",
|
|
41
41
|
"jest-dynalite": "^3.2.0",
|
|
42
42
|
"jsonpack": "^1.1.5",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
]
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "c217ea1361f1d1536c6c4ee577579e1faca240eb"
|
|
67
67
|
}
|