From 1df1355747b3fbe12e368c8e94c069c18f50eae3 Mon Sep 17 00:00:00 2001 From: sam-prais <147688890+sam-prais@users.noreply.github.com> Date: Wed, 31 Jul 2024 11:13:02 +0300 Subject: [PATCH] Fixed wixWindows -> wixWindowsFrontend in examples changes: Service $w.WixComments operation onCommentCreate.examples[0] has changed body Service wix-window-frontend operation getAppPageData.examples[0] has changed body Service wix-window operation getAppPageData.examples[0] has changed body issues: Message ViewChangeEventOptions has an unknown property type * (ApppointmentFieldEvent.js (8)) Property target is missing a type annotation (GalleryNavigationStartEvent.js (15)) Operation postMessage has an unknown param type * (HtmlComponent.js (97)) Property data has an unknown type * (HtmlComponentMessageEvent.js (17)) Property fileLimit has mismatching types for get (number) and set (string) (UploadButton.js (128, 149)) Operation set has an unknown param type * (window-frontend.js (201)) Operation get has an unknown return type * (window-frontend.js (234)) Operation set has an unknown param type * (window.js (235)) Operation get has an unknown return type * (window.js (269)) Callback ViewChangeOperation is defined two or more times (AppointmentField.js (347), DatePicker.js (472)) Callback ViewChangeOperation has an unknown return type * (AppointmentField.js (347)) Callback ViewChangeEventHandler is defined two or more times (AppointmentField.js (362), DatePicker.js (466)) Callback Validator has an unknown param type * (ValidatableMixin.js (143)) Property value has an unknown type * (ValueMixin.js (62)) Property value has an unknown type * (ValueMixin.js (89)) --- js-wixcode-sdk/$w.service.json | 3 +-- js-wixcode-sdk/site-monitoring.service.json | 3 +-- js-wixcode-sdk/site-monitoring/LogEntry.service.json | 6 ++---- js-wixcode-sdk/wix-window-frontend.service.json | 7 ++++--- js-wixcode-sdk/wix-window.service.json | 7 ++++--- 5 files changed, 12 insertions(+), 14 deletions(-) diff --git a/js-wixcode-sdk/$w.service.json b/js-wixcode-sdk/$w.service.json index 84e5f28054..feaec7ba86 100644 --- a/js-wixcode-sdk/$w.service.json +++ b/js-wixcode-sdk/$w.service.json @@ -1,7 +1,6 @@ { "name": "$w", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 1, "filename": "wixCode.js" }, diff --git a/js-wixcode-sdk/site-monitoring.service.json b/js-wixcode-sdk/site-monitoring.service.json index c319eb00e2..3d81479cab 100644 --- a/js-wixcode-sdk/site-monitoring.service.json +++ b/js-wixcode-sdk/site-monitoring.service.json @@ -1,7 +1,6 @@ { "name": "site-monitoring", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 1, "filename": "siteMonitoring.js" }, diff --git a/js-wixcode-sdk/site-monitoring/LogEntry.service.json b/js-wixcode-sdk/site-monitoring/LogEntry.service.json index d665319720..5f4aa2568f 100644 --- a/js-wixcode-sdk/site-monitoring/LogEntry.service.json +++ b/js-wixcode-sdk/site-monitoring/LogEntry.service.json @@ -1,8 +1,7 @@ { "name": "LogEntry", "memberOf": "site-monitoring", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 68, "filename": "siteMonitoring.js" }, @@ -331,8 +330,7 @@ "extra": { } }, { "name": "timestamp", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": false, "type": "string", diff --git a/js-wixcode-sdk/wix-window-frontend.service.json b/js-wixcode-sdk/wix-window-frontend.service.json index 9a7768746d..435af474f2 100644 --- a/js-wixcode-sdk/wix-window-frontend.service.json +++ b/js-wixcode-sdk/wix-window-frontend.service.json @@ -403,7 +403,8 @@ "extra": { } }, { "name": "getAppPageData", - "labels": [], + "labels": + [ "changed" ], "nameParams": [], "params": [], "ret": @@ -428,11 +429,11 @@ "examples": [ { "title": "Get the data passed to a custom app page", "body": - [ "import wixWindow from 'wix-window';", + [ "import wixWindowFrontend from 'wix-window-frontend';", "", "// ...", "", - "let appData = wixWindow.getAppPageData(); // {nextSection: {sectionId: \"Booking Form\"}}" ], + "let appData = wixWindowFrontend.getAppPageData(); // {nextSection: {sectionId: \"Booking Form\"}}" ], "extra": { } } ], "extra": diff --git a/js-wixcode-sdk/wix-window.service.json b/js-wixcode-sdk/wix-window.service.json index da61858b70..ad52c3a8d6 100644 --- a/js-wixcode-sdk/wix-window.service.json +++ b/js-wixcode-sdk/wix-window.service.json @@ -470,7 +470,8 @@ "extra": { } }, { "name": "getAppPageData", - "labels": [], + "labels": + [ "changed" ], "nameParams": [], "params": [], "ret": @@ -495,11 +496,11 @@ "examples": [ { "title": "Get the data passed to a custom app page", "body": - [ "import wixWindow from 'wix-window';", + [ "import wixWindowFrontend from 'wix-window-frontend';", "", "// ...", "", - "let appData = wixWindow.getAppPageData(); // {nextSection: {sectionId: \"Booking Form\"}}" ], + "let appData = wixWindowFrontend.getAppPageData(); // {nextSection: {sectionId: \"Booking Form\"}}" ], "extra": { } } ], "extra":