@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
package/build/es/meta.mjs
CHANGED
|
@@ -3,6 +3,7 @@ import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
|
|
|
3
3
|
import { transformSDKFieldMaskToRESTFieldMask } from "@wix/sdk-runtime/transformations/field-mask";
|
|
4
4
|
import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
|
|
5
5
|
import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
6
|
+
var TRANSFORM_PATHS_0 = [{ path: "fields" }];
|
|
6
7
|
function resolveWixEventsFormFormBuilderUrl(opts) {
|
|
7
8
|
const domainToMappings = {
|
|
8
9
|
"events._base_domain_": [
|
|
@@ -268,10 +269,6 @@ function resolveWixEventsFormFormBuilderUrl(opts) {
|
|
|
268
269
|
srcPath: "/_api/wix-events-web/v1/bulk/categories",
|
|
269
270
|
destPath: "/v1/bulk/categories"
|
|
270
271
|
},
|
|
271
|
-
{
|
|
272
|
-
srcPath: "/_api/wix-events-web/v1/categories",
|
|
273
|
-
destPath: "/v1/categories"
|
|
274
|
-
},
|
|
275
272
|
{
|
|
276
273
|
srcPath: "/_api/wix-events-web/v1/events",
|
|
277
274
|
destPath: "/v1/events"
|
|
@@ -283,6 +280,10 @@ function resolveWixEventsFormFormBuilderUrl(opts) {
|
|
|
283
280
|
{
|
|
284
281
|
srcPath: "/events/v1/bulk/events",
|
|
285
282
|
destPath: "/v1/bulk/events"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
srcPath: "/_api/wix-events-web/v1/categories",
|
|
286
|
+
destPath: "/v1/categories"
|
|
286
287
|
}
|
|
287
288
|
],
|
|
288
289
|
"editor.wixapps.net": [
|
|
@@ -544,7 +545,7 @@ function updateMessages(payload) {
|
|
|
544
545
|
const serializedData = transformPaths(payload, [
|
|
545
546
|
{
|
|
546
547
|
transformFn: transformSDKFieldMaskToRESTFieldMask,
|
|
547
|
-
paths:
|
|
548
|
+
paths: TRANSFORM_PATHS_0
|
|
548
549
|
}
|
|
549
550
|
]);
|
|
550
551
|
const metadata = {
|