Skip to content

Commit 1df1355

Browse files
authored
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))
1 parent 621df47 commit 1df1355

File tree

5 files changed

+12
-14
lines changed

5 files changed

+12
-14
lines changed

js-wixcode-sdk/$w.service.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{ "name": "$w",
22
"mixes": [],
3-
"labels":
4-
[ "changed" ],
3+
"labels": [],
54
"location":
65
{ "lineno": 1,
76
"filename": "wixCode.js" },

js-wixcode-sdk/site-monitoring.service.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{ "name": "site-monitoring",
22
"mixes": [],
3-
"labels":
4-
[ "changed" ],
3+
"labels": [],
54
"location":
65
{ "lineno": 1,
76
"filename": "siteMonitoring.js" },

js-wixcode-sdk/site-monitoring/LogEntry.service.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{ "name": "LogEntry",
22
"memberOf": "site-monitoring",
33
"mixes": [],
4-
"labels":
5-
[ "changed" ],
4+
"labels": [],
65
"location":
76
{ "lineno": 68,
87
"filename": "siteMonitoring.js" },
@@ -331,8 +330,7 @@
331330
"extra":
332331
{ } },
333332
{ "name": "timestamp",
334-
"labels":
335-
[ "changed" ],
333+
"labels": [],
336334
"get": true,
337335
"set": false,
338336
"type": "string",

js-wixcode-sdk/wix-window-frontend.service.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,8 @@
403403
"extra":
404404
{ } },
405405
{ "name": "getAppPageData",
406-
"labels": [],
406+
"labels":
407+
[ "changed" ],
407408
"nameParams": [],
408409
"params": [],
409410
"ret":
@@ -428,11 +429,11 @@
428429
"examples":
429430
[ { "title": "Get the data passed to a custom app page",
430431
"body":
431-
[ "import wixWindow from 'wix-window';",
432+
[ "import wixWindowFrontend from 'wix-window-frontend';",
432433
"",
433434
"// ...",
434435
"",
435-
"let appData = wixWindow.getAppPageData(); // {nextSection: {sectionId: \"Booking Form\"}}" ],
436+
"let appData = wixWindowFrontend.getAppPageData(); // {nextSection: {sectionId: \"Booking Form\"}}" ],
436437
"extra":
437438
{ } } ],
438439
"extra":

js-wixcode-sdk/wix-window.service.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,8 @@
470470
"extra":
471471
{ } },
472472
{ "name": "getAppPageData",
473-
"labels": [],
473+
"labels":
474+
[ "changed" ],
474475
"nameParams": [],
475476
"params": [],
476477
"ret":
@@ -495,11 +496,11 @@
495496
"examples":
496497
[ { "title": "Get the data passed to a custom app page",
497498
"body":
498-
[ "import wixWindow from 'wix-window';",
499+
[ "import wixWindowFrontend from 'wix-window-frontend';",
499500
"",
500501
"// ...",
501502
"",
502-
"let appData = wixWindow.getAppPageData(); // {nextSection: {sectionId: \"Booking Form\"}}" ],
503+
"let appData = wixWindowFrontend.getAppPageData(); // {nextSection: {sectionId: \"Booking Form\"}}" ],
503504
"extra":
504505
{ } } ],
505506
"extra":

0 commit comments

Comments
 (0)