@webiny/api-page-builder-import-export 5.19.0 → 5.20.0-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.
@@ -74,7 +74,7 @@ var _default = ({
|
|
74
74
|
rwd: "r"
|
75
75
|
});
|
76
76
|
const tenant = context.tenancy.getCurrentTenant();
|
77
|
-
const locale = context.i18nContent.
|
77
|
+
const locale = context.i18nContent.getCurrentLocale();
|
78
78
|
const params = {
|
79
79
|
where: {
|
80
80
|
tenant: tenant.id,
|
@@ -106,7 +106,7 @@ var _default = ({
|
|
106
106
|
rwd: "r"
|
107
107
|
});
|
108
108
|
const tenant = context.tenancy.getCurrentTenant();
|
109
|
-
const locale = context.i18nContent.
|
109
|
+
const locale = context.i18nContent.getCurrentLocale();
|
110
110
|
const {
|
111
111
|
sort,
|
112
112
|
limit
|
@@ -147,7 +147,7 @@ var _default = ({
|
|
147
147
|
|
148
148
|
const pageImportExportTask = _objectSpread(_objectSpread({}, data), {}, {
|
149
149
|
tenant: context.tenancy.getCurrentTenant().id,
|
150
|
-
locale: context.i18nContent.
|
150
|
+
locale: context.i18nContent.getCurrentLocale().code,
|
151
151
|
id,
|
152
152
|
createdOn: new Date().toISOString(),
|
153
153
|
createdBy: {
|
@@ -263,7 +263,7 @@ var _default = ({
|
|
263
263
|
|
264
264
|
const pageImportExportSubTask = _objectSpread(_objectSpread({}, data), {}, {
|
265
265
|
tenant: context.tenancy.getCurrentTenant().id,
|
266
|
-
locale: context.i18nContent.
|
266
|
+
locale: context.i18nContent.getCurrentLocale().code,
|
267
267
|
id: id,
|
268
268
|
parent: parent,
|
269
269
|
createdOn: new Date().toISOString(),
|
@@ -325,7 +325,7 @@ var _default = ({
|
|
325
325
|
rwd: "r"
|
326
326
|
});
|
327
327
|
const tenant = context.tenancy.getCurrentTenant();
|
328
|
-
const locale = context.i18nContent.
|
328
|
+
const locale = context.i18nContent.getCurrentLocale();
|
329
329
|
const params = {
|
330
330
|
where: {
|
331
331
|
tenant: tenant.id,
|
@@ -358,7 +358,7 @@ var _default = ({
|
|
358
358
|
rwd: "r"
|
359
359
|
});
|
360
360
|
const tenant = context.tenancy.getCurrentTenant();
|
361
|
-
const locale = context.i18nContent.
|
361
|
+
const locale = context.i18nContent.getCurrentLocale();
|
362
362
|
const listParams = {
|
363
363
|
where: {
|
364
364
|
tenant: tenant.id,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@webiny/api-page-builder-import-export",
|
3
|
-
"version": "5.
|
3
|
+
"version": "5.20.0-beta.1",
|
4
4
|
"main": "index.js",
|
5
5
|
"keywords": [
|
6
6
|
"pbie:base"
|
@@ -16,15 +16,15 @@
|
|
16
16
|
"dependencies": {
|
17
17
|
"@babel/runtime": "7.16.3",
|
18
18
|
"@commodo/fields": "1.1.2-beta.20",
|
19
|
-
"@webiny/api-file-manager": "5.
|
20
|
-
"@webiny/api-page-builder": "5.
|
21
|
-
"@webiny/api-security": "5.
|
22
|
-
"@webiny/error": "5.
|
23
|
-
"@webiny/handler": "5.
|
24
|
-
"@webiny/handler-args": "5.
|
25
|
-
"@webiny/handler-aws": "5.
|
26
|
-
"@webiny/handler-graphql": "5.
|
27
|
-
"@webiny/validation": "5.
|
19
|
+
"@webiny/api-file-manager": "5.20.0-beta.1",
|
20
|
+
"@webiny/api-page-builder": "5.20.0-beta.1",
|
21
|
+
"@webiny/api-security": "5.20.0-beta.1",
|
22
|
+
"@webiny/error": "5.20.0-beta.1",
|
23
|
+
"@webiny/handler": "5.20.0-beta.1",
|
24
|
+
"@webiny/handler-args": "5.20.0-beta.1",
|
25
|
+
"@webiny/handler-aws": "5.20.0-beta.1",
|
26
|
+
"@webiny/handler-graphql": "5.20.0-beta.1",
|
27
|
+
"@webiny/validation": "5.20.0-beta.1",
|
28
28
|
"archiver": "5.3.0",
|
29
29
|
"commodo-fields-object": "1.0.6",
|
30
30
|
"dot-prop-immutable": "2.1.1",
|
@@ -46,15 +46,15 @@
|
|
46
46
|
"@elastic/elasticsearch": "7.12.0",
|
47
47
|
"@shelf/jest-elasticsearch": "^1.0.0",
|
48
48
|
"@types/puppeteer": "^5.4.2",
|
49
|
-
"@webiny/api-dynamodb-to-elasticsearch": "^5.
|
50
|
-
"@webiny/api-file-manager-ddb-es": "^5.
|
51
|
-
"@webiny/api-i18n-ddb": "^5.
|
52
|
-
"@webiny/api-security-so-ddb": "^5.
|
53
|
-
"@webiny/api-tenancy": "^5.
|
54
|
-
"@webiny/api-tenancy-so-ddb": "^5.
|
55
|
-
"@webiny/cli": "^5.
|
56
|
-
"@webiny/db": "^5.
|
57
|
-
"@webiny/project-utils": "^5.
|
49
|
+
"@webiny/api-dynamodb-to-elasticsearch": "^5.20.0-beta.1",
|
50
|
+
"@webiny/api-file-manager-ddb-es": "^5.20.0-beta.1",
|
51
|
+
"@webiny/api-i18n-ddb": "^5.20.0-beta.1",
|
52
|
+
"@webiny/api-security-so-ddb": "^5.20.0-beta.1",
|
53
|
+
"@webiny/api-tenancy": "^5.20.0-beta.1",
|
54
|
+
"@webiny/api-tenancy-so-ddb": "^5.20.0-beta.1",
|
55
|
+
"@webiny/cli": "^5.20.0-beta.1",
|
56
|
+
"@webiny/db": "^5.20.0-beta.1",
|
57
|
+
"@webiny/project-utils": "^5.20.0-beta.1",
|
58
58
|
"jest": "^26.6.3",
|
59
59
|
"jest-dynalite": "^3.2.0",
|
60
60
|
"rimraf": "^3.0.2",
|
@@ -76,5 +76,5 @@
|
|
76
76
|
]
|
77
77
|
}
|
78
78
|
},
|
79
|
-
"gitHead": "
|
79
|
+
"gitHead": "40e30fb4c778d0bcc773b3b8231ce8e0861b6d52"
|
80
80
|
}
|