@wix/auto_sdk_online-programs_sections 1.0.29 → 1.0.31
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.d.ts +15 -6
- package/build/cjs/index.js +10 -9
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +105 -37
- package/build/cjs/index.typings.js +8 -8
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +46 -14
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +15 -6
- package/build/es/index.mjs +10 -9
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +105 -37
- package/build/es/index.typings.mjs +8 -8
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +46 -14
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +15 -6
- package/build/internal/cjs/index.typings.d.ts +105 -37
- package/build/internal/cjs/meta.d.ts +46 -14
- package/build/internal/es/index.d.mts +15 -6
- package/build/internal/es/index.typings.d.mts +105 -37
- package/build/internal/es/meta.d.mts +46 -14
- package/package.json +2 -2
package/build/es/index.mjs
CHANGED
|
@@ -781,10 +781,10 @@ async function cloneSection2(sectionId, options) {
|
|
|
781
781
|
throw transformedError;
|
|
782
782
|
}
|
|
783
783
|
}
|
|
784
|
-
async function moveSection2(options) {
|
|
785
|
-
const { httpClient, sideEffects } = arguments[
|
|
784
|
+
async function moveSection2(sectionId, options) {
|
|
785
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
786
786
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
787
|
-
sectionId
|
|
787
|
+
sectionId,
|
|
788
788
|
afterSectionId: options?.afterSectionId,
|
|
789
789
|
revision: options?.revision,
|
|
790
790
|
fields: options?.fields
|
|
@@ -801,14 +801,14 @@ async function moveSection2(options) {
|
|
|
801
801
|
{
|
|
802
802
|
spreadPathsToArguments: {},
|
|
803
803
|
explicitPathsToArguments: {
|
|
804
|
-
sectionId: "$[0]
|
|
805
|
-
afterSectionId: "$[
|
|
806
|
-
revision: "$[
|
|
807
|
-
fields: "$[
|
|
804
|
+
sectionId: "$[0]",
|
|
805
|
+
afterSectionId: "$[1].afterSectionId",
|
|
806
|
+
revision: "$[1].revision",
|
|
807
|
+
fields: "$[1].fields"
|
|
808
808
|
},
|
|
809
809
|
singleArgumentUnchanged: false
|
|
810
810
|
},
|
|
811
|
-
["options"]
|
|
811
|
+
["sectionId", "options"]
|
|
812
812
|
);
|
|
813
813
|
sideEffects?.onError?.(err);
|
|
814
814
|
throw transformedError;
|
|
@@ -887,7 +887,8 @@ function cloneSection3(httpClient) {
|
|
|
887
887
|
);
|
|
888
888
|
}
|
|
889
889
|
function moveSection3(httpClient) {
|
|
890
|
-
return (options) => moveSection2(
|
|
890
|
+
return (sectionId, options) => moveSection2(
|
|
891
|
+
sectionId,
|
|
891
892
|
options,
|
|
892
893
|
// @ts-ignore
|
|
893
894
|
{ httpClient }
|