@wix/auto_sdk_events_forms 1.0.118 → 1.0.120
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/build/cjs/index.js +340 -360
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +6 -5
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +6 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +340 -360
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +6 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +6 -5
- package/build/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -10,6 +10,7 @@ import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
|
|
|
10
10
|
import { transformSDKFieldMaskToRESTFieldMask } from "@wix/sdk-runtime/transformations/field-mask";
|
|
11
11
|
import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
|
|
12
12
|
import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
13
|
+
var TRANSFORM_PATHS_0 = [{ path: "fields" }];
|
|
13
14
|
function resolveWixEventsFormFormBuilderUrl(opts) {
|
|
14
15
|
const domainToMappings = {
|
|
15
16
|
"events._base_domain_": [
|
|
@@ -275,10 +276,6 @@ function resolveWixEventsFormFormBuilderUrl(opts) {
|
|
|
275
276
|
srcPath: "/_api/wix-events-web/v1/bulk/categories",
|
|
276
277
|
destPath: "/v1/bulk/categories"
|
|
277
278
|
},
|
|
278
|
-
{
|
|
279
|
-
srcPath: "/_api/wix-events-web/v1/categories",
|
|
280
|
-
destPath: "/v1/categories"
|
|
281
|
-
},
|
|
282
279
|
{
|
|
283
280
|
srcPath: "/_api/wix-events-web/v1/events",
|
|
284
281
|
destPath: "/v1/events"
|
|
@@ -290,6 +287,10 @@ function resolveWixEventsFormFormBuilderUrl(opts) {
|
|
|
290
287
|
{
|
|
291
288
|
srcPath: "/events/v1/bulk/events",
|
|
292
289
|
destPath: "/v1/bulk/events"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
srcPath: "/_api/wix-events-web/v1/categories",
|
|
293
|
+
destPath: "/v1/categories"
|
|
293
294
|
}
|
|
294
295
|
],
|
|
295
296
|
"editor.wixapps.net": [
|
|
@@ -551,7 +552,7 @@ function updateMessages(payload) {
|
|
|
551
552
|
const serializedData = transformPaths(payload, [
|
|
552
553
|
{
|
|
553
554
|
transformFn: transformSDKFieldMaskToRESTFieldMask,
|
|
554
|
-
paths:
|
|
555
|
+
paths: TRANSFORM_PATHS_0
|
|
555
556
|
}
|
|
556
557
|
]);
|
|
557
558
|
const metadata = {
|