From fb3f1bf2e8b05df35b0788ade96dbc814de9f0f9 Mon Sep 17 00:00:00 2001 From: joshua-sc Date: Mon, 9 Dec 2024 18:19:27 +0200 Subject: [PATCH 01/11] DocWorks for js-wixcode-sdk - 63 changes detected, but 38 issue detected changes: Service $w.Button property style has changed description Service $w.Dataset was removed Service $w.Disabled was removed Service $w.DynamicDataset was removed Service $w.Hover was removed Service $w.LinkableMixin property rel was removed Service $w.Style has changed description Service $w.Style property backgroundColor has changed description Service $w.Style property color has changed description Service $w.Style property disabled was removed Service $w.Style property hover was removed Service $w.Style property iconColor was removed Service $w.StyleDisabledState was removed Service $w.StyleHoverState was removed Service $w.StyleMixin has changed description Service $w.Text mixes $w.StyleMixin was removed Service $w.Text property style was removed Service $w.WixDataFilter was removed Service $w.WixDataSort was removed Service wix-site-frontend operation getSiteStructure.examples[0] has changed body Service wix-site-frontend has a new operation getSiteThemeHtml Service wix-site-frontend has a new operation getFontsHtml Service wix-site-frontend message Prefix.examples[0] has changed body Service wix-site-frontend message SiteStructure.examples[0] has changed body Service wix-site-frontend message StructurePage.examples[1] has changed body Service wix-site-frontend has a new message getFontsHtmlOptions Service wix-site operation getSiteStructure.examples[0] has changed body Service wix-site message Prefix.examples[0] has changed body Service wix-site message SiteStructure.examples[0] has changed body Service wix-site message StructurePage.examples[1] has changed body Service wix-window-frontend.Multilingual has changed summary Service wix-window-frontend.Multilingual has changed description Service wix-window-frontend.Multilingual property currentLanguage has changed summary Service wix-window-frontend.Multilingual property currentLanguage has changed description Service wix-window-fronte ... --- js-wixcode-sdk/$w/Button.service.json | 44 +++--- js-wixcode-sdk/$w/Dataset.service.json | 2 +- js-wixcode-sdk/$w/Disabled.service.json | 3 +- js-wixcode-sdk/$w/DynamicDataset.service.json | 2 +- js-wixcode-sdk/$w/Hover.service.json | 3 +- js-wixcode-sdk/$w/LinkableMixin.service.json | 6 +- js-wixcode-sdk/$w/Style.service.json | 22 +-- .../$w/StyleDisabledState.service.json | 3 +- .../$w/StyleHoverState.service.json | 3 +- js-wixcode-sdk/$w/StyleMixin.service.json | 9 +- js-wixcode-sdk/$w/Text.service.json | 27 ++-- js-wixcode-sdk/$w/WixDataFilter.service.json | 2 +- js-wixcode-sdk/$w/WixDataSort.service.json | 2 +- js-wixcode-sdk/wix-site-frontend.service.json | 145 ++++++++++++++---- js-wixcode-sdk/wix-site.service.json | 65 ++++---- .../wix-storage-frontend.service.json | 3 +- .../wix-storage-frontend/Storage.service.json | 3 +- .../wix-window-frontend.service.json | 20 +-- .../Multilingual.service.json | 44 +++--- .../Rendering.service.json | 12 +- .../WarmupData.service.json | 41 ++--- 21 files changed, 281 insertions(+), 180 deletions(-) diff --git a/js-wixcode-sdk/$w/Button.service.json b/js-wixcode-sdk/$w/Button.service.json index 4b1c9b3ab7..381ea0c37a 100644 --- a/js-wixcode-sdk/$w/Button.service.json +++ b/js-wixcode-sdk/$w/Button.service.json @@ -10,7 +10,8 @@ "$w.LabelMixin", "$w.EffectsMixin", "$w.FocusMixin" ], - "labels": [], + "labels": + [ "changed" ], "location": { "lineno": 1, "filename": "Button.js" }, @@ -29,7 +30,7 @@ "set": false, "type": "$w.Button.Accessibility", "locations": - [ { "lineno": 260, + [ { "lineno": 258, "filename": "Button.js" } ], "docs": { "summary": "Sets and gets the [Accessible Rich Internet Application (ARIA) attributes](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes) of the element.", @@ -66,9 +67,9 @@ "set": true, "type": "string", "locations": - [ { "lineno": 174, + [ { "lineno": 172, "filename": "Button.js" }, - { "lineno": 203, + { "lineno": 201, "filename": "Button.js" } ], "docs": { "summary": "Sets or gets the icon image displayed on the button.", @@ -126,7 +127,7 @@ "set": false, "type": "boolean", "locations": - [ { "lineno": 210, + [ { "lineno": 208, "filename": "Button.js" } ], "docs": { "summary": "Indicates if the button’s icon is collapsed or expanded.", @@ -177,9 +178,9 @@ "type": "string", "defaultValue": "Empty string", "locations": - [ { "lineno": 63, + [ { "lineno": 61, "filename": "Button.js" }, - { "lineno": 79, + { "lineno": 77, "filename": "Button.js" } ], "docs": { "summary": "Sets or gets a button's label.", @@ -206,9 +207,9 @@ "type": "string", "defaultValue": "An empty string", "locations": - [ { "lineno": 86, + [ { "lineno": 84, "filename": "Button.js" }, - { "lineno": 136, + { "lineno": 134, "filename": "Button.js" } ], "docs": { "summary": "Sets or gets the button's link.", @@ -284,7 +285,8 @@ "extra": { } }, { "name": "style", - "labels": [], + "labels": + [ "changed" ], "get": true, "set": false, "type": "$w.Style", @@ -301,13 +303,11 @@ " + [`borderRadius`]($w.Style.html#borderRadius)", " + [`borderWidth`]($w.Style.html#borderWidth)", " + [`color`]($w.Style.html#color)", - " + [`hover`]($w.Style.html#hover)", - " + [`disabled`]($w.Style.html#disabled)", "", "", - " Getting or setting a button's `hover` and `disabled` styles affects the button's ", - " appearance only in those respective states. All other available styles apply solely ", - " to the button's regular state. ", + " Getting or setting a button's styles, gets or sets the styles of the", + " button's regular state. It does not set the styles of the button's hover", + " or disabled states.", "", " > **Note:** Not all styles can be used on all button designs. To determine which styles", " work with a specific button design, go to the **Button Design** panel in", @@ -337,9 +337,9 @@ "type": "number", "defaultValue": "undefined", "locations": - [ { "lineno": 305, + [ { "lineno": 303, "filename": "Button.js" }, - { "lineno": 320, + { "lineno": 318, "filename": "Button.js" } ], "docs": { "summary": "Sets or gets the tab index of an element on a site page.", @@ -371,7 +371,7 @@ [ "void" ] }, "doc": "Fulfilled - when the element's `iconCollapsed` property is set to `true`." }, "locations": - [ { "lineno": 245, + [ { "lineno": 243, "filename": "Button.js" } ], "docs": { "summary": "Collapses the button’s icon and sets its `iconCollapsed` property to `true`.", @@ -407,7 +407,7 @@ [ "void" ] }, "doc": "Fulfilled - when the element's `iconCollapsed` property is set to `false`." }, "locations": - [ { "lineno": 233, + [ { "lineno": 231, "filename": "Button.js" } ], "docs": { "summary": "Expands the button’s icon and sets its `iconCollapsed` property to `false`.", @@ -443,7 +443,7 @@ { "type": "$w.Button", "doc": "The element to which the event handler was added." }, "locations": - [ { "lineno": 143, + [ { "lineno": 141, "filename": "Button.js" } ], "docs": { "summary": "Adds an event handler that runs when the pointer is moved\n onto the element.", @@ -486,7 +486,7 @@ { "type": "$w.Button", "doc": "The element to which the event handler was added." }, "locations": - [ { "lineno": 159, + [ { "lineno": 157, "filename": "Button.js" } ], "docs": { "summary": "Adds an event handler that runs when the pointer is moved\n off of the element.", @@ -522,7 +522,7 @@ "messages": [ { "name": "Accessibility", "locations": - [ { "lineno": 282, + [ { "lineno": 280, "filename": "Button.js" } ], "docs": { "summary": "An object containing attributes to make your Wix elements more accessible.", diff --git a/js-wixcode-sdk/$w/Dataset.service.json b/js-wixcode-sdk/$w/Dataset.service.json index c63cc31b9d..272703e18c 100644 --- a/js-wixcode-sdk/$w/Dataset.service.json +++ b/js-wixcode-sdk/$w/Dataset.service.json @@ -2,7 +2,7 @@ "memberOf": "$w", "mixes": [], "labels": - [ "new" ], + [ "removed" ], "location": { "lineno": 1, "filename": "datasetApi.js" }, diff --git a/js-wixcode-sdk/$w/Disabled.service.json b/js-wixcode-sdk/$w/Disabled.service.json index fd9d017ef4..f707563c73 100644 --- a/js-wixcode-sdk/$w/Disabled.service.json +++ b/js-wixcode-sdk/$w/Disabled.service.json @@ -1,7 +1,8 @@ { "name": "Disabled", "memberOf": "$w", "mixes": [], - "labels": [], + "labels": + [ "removed" ], "location": { "lineno": 1, "filename": "StyleDisabledState.js" }, diff --git a/js-wixcode-sdk/$w/DynamicDataset.service.json b/js-wixcode-sdk/$w/DynamicDataset.service.json index 087fef0947..530cc9d47c 100644 --- a/js-wixcode-sdk/$w/DynamicDataset.service.json +++ b/js-wixcode-sdk/$w/DynamicDataset.service.json @@ -3,7 +3,7 @@ "mixes": [ "$w.Dataset" ], "labels": - [ "new" ], + [ "removed" ], "location": { "lineno": 1987, "filename": "datasetApi.js" }, diff --git a/js-wixcode-sdk/$w/Hover.service.json b/js-wixcode-sdk/$w/Hover.service.json index 5ebe1f9fef..3d4313214a 100644 --- a/js-wixcode-sdk/$w/Hover.service.json +++ b/js-wixcode-sdk/$w/Hover.service.json @@ -1,7 +1,8 @@ { "name": "Hover", "memberOf": "$w", "mixes": [], - "labels": [], + "labels": + [ "removed" ], "location": { "lineno": 1, "filename": "StyleHoverState.js" }, diff --git a/js-wixcode-sdk/$w/LinkableMixin.service.json b/js-wixcode-sdk/$w/LinkableMixin.service.json index 2f64864358..a5308e7e93 100644 --- a/js-wixcode-sdk/$w/LinkableMixin.service.json +++ b/js-wixcode-sdk/$w/LinkableMixin.service.json @@ -1,7 +1,8 @@ { "name": "LinkableMixin", "memberOf": "$w", "mixes": [], - "labels": [], + "labels": + [ "changed" ], "location": { "lineno": 1, "filename": "LinkableMixin.js" }, @@ -117,7 +118,8 @@ "extra": { } }, { "name": "rel", - "labels": [], + "labels": + [ "removed" ], "get": true, "set": true, "type": "string", diff --git a/js-wixcode-sdk/$w/Style.service.json b/js-wixcode-sdk/$w/Style.service.json index 6e73a6638a..e1e3851786 100644 --- a/js-wixcode-sdk/$w/Style.service.json +++ b/js-wixcode-sdk/$w/Style.service.json @@ -1,7 +1,8 @@ { "name": "Style", "memberOf": "$w", "mixes": [], - "labels": [], + "labels": + [ "changed" ], "location": { "lineno": 1, "filename": "StyleMixin.js" }, @@ -23,8 +24,6 @@ " + [`ProgressBar`]($w.ProgressBar.html)", " + [`QuickActionBar`]($w.QuickActionBar.html)", " + [`RadioButtonGroup`]($w.RadioButtonGroup.html)", - " + [`Section`]($w.Section.html)", - " + [`Text`]($w.Text.html)", " + [`TextBox`]($w.TextBox.html)", " + [`TextInput`]($w.TextInput.html)", " + [`UploadButton`]($w.UploadButton.html)" ], @@ -34,7 +33,8 @@ { } }, "properties": [ { "name": "backgroundColor", - "labels": [], + "labels": + [ "changed" ], "get": true, "set": true, "type": "string", @@ -67,7 +67,6 @@ " + [`Header`]($w.Header.html)", " + [`ProgressBar`]($w.ProgressBar.html)", " + [`RadioButtonGroup`]($w.RadioButtonGroup.html)", - " + [`Section`]($w.Section.html)", " + [`SignatureInput`]($w.SignatureInput.html)", " + [`TextBox`]($w.TextBox.html)", " + [`TextInput`]($w.TextInput.html)", @@ -227,7 +226,8 @@ "extra": { } }, { "name": "color", - "labels": [], + "labels": + [ "changed" ], "get": true, "set": true, "type": "string", @@ -252,7 +252,6 @@ " + [`CheckboxGroup`]($w.CheckboxGroup.html)", " + [`Dropdown`]($w.Dropdown.html)", " + [`RadioButtonGroup`]($w.RadioButtonGroup.html)", - " + [`Text`]($w.Text.html)", " + [`TextBox`]($w.TextBox.html)", " + [`TextInput`]($w.TextInput.html) ", " + [`UploadButton`]($w.UploadButton.html)" ], @@ -273,7 +272,8 @@ "extra": { } }, { "name": "disabled", - "labels": [], + "labels": + [ "removed" ], "get": true, "set": false, "type": "$w.Disabled", @@ -370,7 +370,8 @@ "extra": { } }, { "name": "hover", - "labels": [], + "labels": + [ "removed" ], "get": true, "set": false, "type": "$w.Hover", @@ -426,7 +427,8 @@ "extra": { } }, { "name": "iconColor", - "labels": [], + "labels": + [ "removed" ], "get": true, "set": true, "type": "string", diff --git a/js-wixcode-sdk/$w/StyleDisabledState.service.json b/js-wixcode-sdk/$w/StyleDisabledState.service.json index 51067404d1..39a907b7e5 100644 --- a/js-wixcode-sdk/$w/StyleDisabledState.service.json +++ b/js-wixcode-sdk/$w/StyleDisabledState.service.json @@ -1,7 +1,8 @@ { "name": "StyleDisabledState", "memberOf": "$w", "mixes": [], - "labels": [], + "labels": + [ "removed" ], "location": { "lineno": 15, "filename": "StyleDisabledState.js" }, diff --git a/js-wixcode-sdk/$w/StyleHoverState.service.json b/js-wixcode-sdk/$w/StyleHoverState.service.json index 0a592b9d52..fb133e7ae3 100644 --- a/js-wixcode-sdk/$w/StyleHoverState.service.json +++ b/js-wixcode-sdk/$w/StyleHoverState.service.json @@ -1,7 +1,8 @@ { "name": "StyleHoverState", "memberOf": "$w", "mixes": [], - "labels": [], + "labels": + [ "removed" ], "location": { "lineno": 15, "filename": "StyleHoverState.js" }, diff --git a/js-wixcode-sdk/$w/StyleMixin.service.json b/js-wixcode-sdk/$w/StyleMixin.service.json index 828857e3e1..45fad5ecc8 100644 --- a/js-wixcode-sdk/$w/StyleMixin.service.json +++ b/js-wixcode-sdk/$w/StyleMixin.service.json @@ -1,9 +1,10 @@ { "name": "StyleMixin", "memberOf": "$w", "mixes": [], - "labels": [], + "labels": + [ "changed" ], "location": - { "lineno": 29, + { "lineno": 27, "filename": "StyleMixin.js" }, "docs": { "summary": "Provides functionality for elements that can be styled.", @@ -22,8 +23,6 @@ " + [`ProgressBar`]($w.ProgressBar.html)", " + [`QuickActionBar`]($w.QuickActionBar.html)", " + [`RadioButtonGroup`]($w.RadioButtonGroup.html)", - " + [`Section`]($w.Section.html)", - " + [`Text`]($w.Text.html)", " + [`TextBox`]($w.TextBox.html)", " + [`TextInput`]($w.TextInput.html)", " + [`UploadButton`]($w.UploadButton.html)", @@ -59,7 +58,7 @@ "set": false, "type": "$w.Style", "locations": - [ { "lineno": 79, + [ { "lineno": 75, "filename": "StyleMixin.js" } ], "docs": { "summary": "Gets an object containing information about the element's styles.", diff --git a/js-wixcode-sdk/$w/Text.service.json b/js-wixcode-sdk/$w/Text.service.json index 53b75a37e1..2d6935bc38 100644 --- a/js-wixcode-sdk/$w/Text.service.json +++ b/js-wixcode-sdk/$w/Text.service.json @@ -5,9 +5,9 @@ "$w.HiddenCollapsedMixin", "$w.ClickableMixin", "$w.EffectsMixin", - "$w.FocusMixin", - "$w.StyleMixin" ], - "labels": [], + "$w.FocusMixin" ], + "labels": + [ "changed" ], "location": { "lineno": 1, "filename": "Text.js" }, @@ -106,7 +106,7 @@ "set": false, "type": "$w.Text.Accessibility", "locations": - [ { "lineno": 195, + [ { "lineno": 173, "filename": "Text.js" } ], "docs": { "summary": "Sets and gets the [Accessible Rich Internet Application (ARIA) attributes](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes) of the element.", @@ -146,9 +146,9 @@ "set": true, "type": "string", "locations": - [ { "lineno": 124, + [ { "lineno": 101, "filename": "Text.js" }, - { "lineno": 158, + { "lineno": 135, "filename": "Text.js" } ], "docs": { "summary": "Sets or gets the contents of a text element using standard HTML.", @@ -194,7 +194,8 @@ "extra": { } }, { "name": "style", - "labels": [], + "labels": + [ "removed" ], "get": true, "set": false, "type": "$w.Style", @@ -232,9 +233,9 @@ "type": "number", "defaultValue": "undefined", "locations": - [ { "lineno": 260, + [ { "lineno": 237, "filename": "Text.js" }, - { "lineno": 275, + { "lineno": 252, "filename": "Text.js" } ], "docs": { "summary": "Sets or gets the tab index of an element on a site page.", @@ -261,9 +262,9 @@ "type": "string", "defaultValue": "An empty string", "locations": - [ { "lineno": 165, + [ { "lineno": 142, "filename": "Text.js" }, - { "lineno": 194, + { "lineno": 171, "filename": "Text.js" } ], "docs": { "summary": "Sets or gets the plain-text contents of a text element.", @@ -300,7 +301,7 @@ "messages": [ { "name": "Accessibility", "locations": - [ { "lineno": 225, + [ { "lineno": 202, "filename": "Text.js" } ], "docs": { "summary": "An object containing attributes to make your Wix elements more accessible.", @@ -344,7 +345,7 @@ "locations": [ { "lineno": 97, "filename": "ColumnStrip.js" }, - { "lineno": 248, + { "lineno": 225, "filename": "Text.js" } ], "docs": { "summary": "Adds hidden text before or after a text element using the `screenReader.prefix` and `screenReader.suffix` properties. This helps screen readers better understand the content of your text element. For example, screen readers don't effectively communicate text styles such as strikethrough. Use `screenReader` to provide context for the styled text.", diff --git a/js-wixcode-sdk/$w/WixDataFilter.service.json b/js-wixcode-sdk/$w/WixDataFilter.service.json index c95e944c11..cd29bcd10e 100644 --- a/js-wixcode-sdk/$w/WixDataFilter.service.json +++ b/js-wixcode-sdk/$w/WixDataFilter.service.json @@ -2,7 +2,7 @@ "memberOf": "$w", "mixes": [], "labels": - [ "new" ], + [ "removed" ], "location": { "lineno": 1417, "filename": "datasetApi.js" }, diff --git a/js-wixcode-sdk/$w/WixDataSort.service.json b/js-wixcode-sdk/$w/WixDataSort.service.json index bd3aac9419..5249dc9b4f 100644 --- a/js-wixcode-sdk/$w/WixDataSort.service.json +++ b/js-wixcode-sdk/$w/WixDataSort.service.json @@ -2,7 +2,7 @@ "memberOf": "$w", "mixes": [], "labels": - [ "new" ], + [ "removed" ], "location": { "lineno": 1920, "filename": "datasetApi.js" }, diff --git a/js-wixcode-sdk/wix-site-frontend.service.json b/js-wixcode-sdk/wix-site-frontend.service.json index 5b1164c9c5..64dc2b1374 100644 --- a/js-wixcode-sdk/wix-site-frontend.service.json +++ b/js-wixcode-sdk/wix-site-frontend.service.json @@ -1,6 +1,7 @@ { "name": "wix-site-frontend", "mixes": [], - "labels": [], + "labels": + [ "changed" ], "location": { "lineno": 1, "filename": "site-frontend.js" }, @@ -255,7 +256,40 @@ "extra": { } } ], "operations": - [ { "name": "getSiteDisplayName", + [ { "name": "getFontsHtml", + "labels": + [ "new" ], + "nameParams": [], + "params": + [ { "name": "fonts", + "type": + { "name": "Array", + "typeParams": + [ "string" ] }, + "doc": "List of fonts." }, + { "name": "options", + "type": "wix-site-frontend.getFontsHtmlOptions", + "doc": "The options used when getting the HTML element.\n// * @param {String}" } ], + "ret": + { "type": + { "name": "Promise", + "typeParams": + [ "string" ] }, + "doc": "Fulfilled - HTML element containing the CSS of the site's fonts." }, + "locations": + [ { "lineno": 317, + "filename": "site-frontend.js" } ], + "docs": + { "summary": "Gets the CSS code that loads the specified fonts.", + "description": + [ "Use the `getFontsHtml()` function to" ], + "links": [], + "examples": [], + "extra": + { } }, + "extra": + { } }, + { "name": "getSiteDisplayName", "labels": [], "nameParams": [], "params": [], @@ -284,7 +318,8 @@ "extra": { } }, { "name": "getSiteStructure", - "labels": [], + "labels": + [ "changed" ], "nameParams": [], "params": [], "ret": @@ -361,25 +396,25 @@ "* \"name\": \"Shop\",", "* \"type\": \"template\",", "* \"url\": \"/shop\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Product Page\",", "* \"type\": \"template\",", "* \"url\": \"/product-page\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Thank You Page\",", "* \"type\": \"template\",", "* \"url\": \"/thank-you-page\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Cart\",", "* \"type\": \"template\",", "* \"url\": \"/cart\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Members\",", @@ -408,25 +443,25 @@ "* \"name\": \"Shop\",", "* \"type\": \"app\",", "* \"prefix: \"/shop\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Product Page\",", "* \"type\": \"app\",", "* \"prefix\": \"/product-page\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Thank You Page\",", "* \"type\": \"app\",", "* \"prefix\": \"/thank-you-page\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Cart\",", "* \"type\": \"app\",", "* \"url\": \"/cart\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Members\",", @@ -449,6 +484,33 @@ { } }, "extra": { } }, + { "name": "getSiteThemeHtml", + "labels": + [ "new" ], + "nameParams": [], + "params": + [ { "name": "testId", + "type": "string", + "doc": "An identifier that will be added in a `data-test-id` attribute on the returned HTML element. You can use this identifier to locate the HTML element when testing your cod." } ], + "ret": + { "type": + { "name": "Promise", + "typeParams": + [ "string" ] }, + "doc": "Fulfilled - HTML element containing the CSS of the site's theme." }, + "locations": + [ { "lineno": 303, + "filename": "site-frontend.js" } ], + "docs": + { "summary": "Gets the CSS code of the site's theme.", + "description": + [ "Use the `getSiteThemeHtml()` function to" ], + "links": [], + "examples": [], + "extra": + { } }, + "extra": + { } }, { "name": "prefetchPageResources", "labels": [], "nameParams": [], @@ -798,25 +860,25 @@ " * \"name\": \"Shop\",", " * \"type\": \"app\",", " * \"prefix\": \"/shop\",", - " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", " * },", " * {", " * \"name\": \"Product Page\",", " * \"type\": \"app\",", " * \"prefix\": \"/product-page\",", - " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", " * },", " * {", " * \"name\": \"Thank You Page\",", " * \"type\": \"app\",", " * \"prefix\": \"/thank-you-page\",", - " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", " * },", " * {", " * \"name\": \"Cart\",", " * \"type\": \"app\",", " * \"prefix\": \"/cart\",", - " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", " * },", " * {", " * \"name\": \"Members\",", @@ -847,7 +909,8 @@ "optional": true } ], "extra": { }, - "labels": [] }, + "labels": + [ "changed" ] }, { "name": "SiteStructure", "locations": [ { "lineno": 17, @@ -917,25 +980,25 @@ "* \"name\": \"Shop\",", "* \"type\": \"template\",", "* \"url\": \"/shop\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Product Page\",", "* \"type\": \"template\",", "* \"url\": \"/product-page\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Thank You Page\",", "* \"type\": \"template\",", "* \"url\": \"/thank-you-page\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Cart\",", "* \"type\": \"template\",", "* \"url\": \"/cart\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Members\",", @@ -964,25 +1027,25 @@ "* \"name\": \"Shop\",", "* \"type\": \"app\",", "* \"prefix: \"/shop\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Product Page\",", "* \"type\": \"app\",", "* \"prefix\": \"/product-page\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Thank You Page\",", "* \"type\": \"app\",", "* \"prefix\": \"/thank-you-page\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Cart\",", "* \"type\": \"app\",", "* \"url\": \"/cart\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Members\",", @@ -1024,7 +1087,8 @@ "doc": "The site's lightboxes." } ], "extra": { }, - "labels": [] }, + "labels": + [ "changed" ] }, { "name": "StructureLightbox", "locations": [ { "lineno": 74, @@ -1169,25 +1233,25 @@ " * \"name\": \"Shop\",", " * \"type\": \"template\",", " * \"url\": \"/shop\",", - " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", " * },", " * {", " * \"name\": \"Product Page\",", " * \"type\": \"template\",", " * \"url\": \"/product-page\",", - " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", " * },", " * {", " * \"name\": \"Thank You Page\",", " * \"type\": \"template\",", " * \"url\": \"/thank-you-page\",", - " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", " * },", " * {", " * \"name\": \"Cart\",", " * \"type\": \"template\",", " * \"url\": \"/cart\",", - " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", " * },", " * {", " * \"name\": \"Members\",", @@ -1227,7 +1291,26 @@ "optional": true } ], "extra": { }, - "labels": [] } ], + "labels": + [ "changed" ] }, + { "name": "getFontsHtmlOptions", + "locations": + [ { "lineno": 332, + "filename": "site-frontend.js" } ], + "docs": + { "summary": "The options used when getting the HTML element.", + "links": [], + "examples": [], + "extra": + { } }, + "members": + [ { "name": "testId", + "type": "string", + "doc": "An identifier that is added in a `data-test-id` attribute on the returned HTML element. You can use this identifier to locate the HTML element when testing your code." } ], + "extra": + { }, + "labels": + [ "new" ] } ], "extra": { "scopes": - [ "frontend" ] } } + [ "frontend" ] } } \ No newline at end of file diff --git a/js-wixcode-sdk/wix-site.service.json b/js-wixcode-sdk/wix-site.service.json index 9c6db706d5..bb9fa51955 100644 --- a/js-wixcode-sdk/wix-site.service.json +++ b/js-wixcode-sdk/wix-site.service.json @@ -1,6 +1,7 @@ { "name": "wix-site", "mixes": [], - "labels": [], + "labels": + [ "changed" ], "location": { "lineno": 1, "filename": "site.js" }, @@ -284,7 +285,8 @@ "extra": { } }, { "name": "getSiteStructure", - "labels": [], + "labels": + [ "changed" ], "nameParams": [], "params": [], "ret": @@ -361,25 +363,25 @@ "* \"name\": \"Shop\",", "* \"type\": \"template\",", "* \"url\": \"/shop\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Product Page\",", "* \"type\": \"template\",", "* \"url\": \"/product-page\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Thank You Page\",", "* \"type\": \"template\",", "* \"url\": \"/thank-you-page\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Cart\",", "* \"type\": \"template\",", "* \"url\": \"/cart\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Members\",", @@ -408,25 +410,25 @@ "* \"name\": \"Shop\",", "* \"type\": \"app\",", "* \"prefix: \"/shop\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Product Page\",", "* \"type\": \"app\",", "* \"prefix\": \"/product-page\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Thank You Page\",", "* \"type\": \"app\",", "* \"prefix\": \"/thank-you-page\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Cart\",", "* \"type\": \"app\",", "* \"url\": \"/cart\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Members\",", @@ -798,25 +800,25 @@ " * \"name\": \"Shop\",", " * \"type\": \"app\",", " * \"prefix\": \"/shop\",", - " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", " * },", " * {", " * \"name\": \"Product Page\",", " * \"type\": \"app\",", " * \"prefix\": \"/product-page\",", - " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", " * },", " * {", " * \"name\": \"Thank You Page\",", " * \"type\": \"app\",", " * \"prefix\": \"/thank-you-page\",", - " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", " * },", " * {", " * \"name\": \"Cart\",", " * \"type\": \"app\",", " * \"prefix\": \"/cart\",", - " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", " * },", " * {", " * \"name\": \"Members\",", @@ -847,7 +849,8 @@ "optional": true } ], "extra": { }, - "labels": [] }, + "labels": + [ "changed" ] }, { "name": "SiteStructure", "locations": [ { "lineno": 17, @@ -917,25 +920,25 @@ "* \"name\": \"Shop\",", "* \"type\": \"template\",", "* \"url\": \"/shop\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Product Page\",", "* \"type\": \"template\",", "* \"url\": \"/product-page\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Thank You Page\",", "* \"type\": \"template\",", "* \"url\": \"/thank-you-page\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Cart\",", "* \"type\": \"template\",", "* \"url\": \"/cart\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Members\",", @@ -964,25 +967,25 @@ "* \"name\": \"Shop\",", "* \"type\": \"app\",", "* \"prefix: \"/shop\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Product Page\",", "* \"type\": \"app\",", "* \"prefix\": \"/product-page\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Thank You Page\",", "* \"type\": \"app\",", "* \"prefix\": \"/thank-you-page\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Cart\",", "* \"type\": \"app\",", "* \"url\": \"/cart\",", - "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", "* },", "* {", "* \"name\": \"Members\",", @@ -1024,7 +1027,8 @@ "doc": "The site's lightboxes." } ], "extra": { }, - "labels": [] }, + "labels": + [ "changed" ] }, { "name": "StructureLightbox", "locations": [ { "lineno": 74, @@ -1169,25 +1173,25 @@ " * \"name\": \"Shop\",", " * \"type\": \"template\",", " * \"url\": \"/shop\",", - " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", " * },", " * {", " * \"name\": \"Product Page\",", " * \"type\": \"template\",", " * \"url\": \"/product-page\",", - " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", " * },", " * {", " * \"name\": \"Thank You Page\",", " * \"type\": \"template\",", " * \"url\": \"/thank-you-page\",", - " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", " * },", " * {", " * \"name\": \"Cart\",", " * \"type\": \"template\",", " * \"url\": \"/cart\",", - " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", + " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", " * },", " * {", " * \"name\": \"Members\",", @@ -1227,7 +1231,8 @@ "optional": true } ], "extra": { }, - "labels": [] } ], + "labels": + [ "changed" ] } ], "extra": { "scopes": [ "frontend" ] }, @@ -1244,4 +1249,4 @@ { "title": "How do I make a CORS request?", "markdown": "Certain [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) (Cross-Origin Resource Sharing) requests are restricted when originating from a browser. Usually, GET requests and certain POST requests can be made from your site's **Public**, **Page**, or **Site** code. All other requests need to be made from your site's **Backend** code. If you are experiencing an issue with a [`fetch()`](https://www.wix.com/code/reference/wix-fetch.html) call due to a CORS restriction, move the [`fetch()`](https://www.wix.com/code/reference/wix-fetch.html) call to the backend as described in [Accessing 3rd Party Services](https://support.wix.com/en/article/accessing-3rd-party-services#backend-service-call)." }, { "title": "Can I fetch resources that start with http and not https?", - "markdown": "You cannot request HTTP content if your site is an HTTPS site. To fix this issue you can either use the HTTPS protocol to fetch the requested resources or you can [turn off SSL on your site](https://support.wix.com/en/article/enabling-https-for-your-wix-site)." } ] } + "markdown": "You cannot request HTTP content if your site is an HTTPS site. To fix this issue you can either use the HTTPS protocol to fetch the requested resources or you can [turn off SSL on your site](https://support.wix.com/en/article/enabling-https-for-your-wix-site)." } ] } \ No newline at end of file diff --git a/js-wixcode-sdk/wix-storage-frontend.service.json b/js-wixcode-sdk/wix-storage-frontend.service.json index 5151f34aa4..c4c1e48796 100644 --- a/js-wixcode-sdk/wix-storage-frontend.service.json +++ b/js-wixcode-sdk/wix-storage-frontend.service.json @@ -1,7 +1,6 @@ { "name": "wix-storage-frontend", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 1, "filename": "Storage-frontend.js" }, diff --git a/js-wixcode-sdk/wix-storage-frontend/Storage.service.json b/js-wixcode-sdk/wix-storage-frontend/Storage.service.json index 0559befe2d..83a73729d4 100644 --- a/js-wixcode-sdk/wix-storage-frontend/Storage.service.json +++ b/js-wixcode-sdk/wix-storage-frontend/Storage.service.json @@ -1,8 +1,7 @@ { "name": "Storage", "memberOf": "wix-storage-frontend", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 88, "filename": "Storage-frontend.js" }, diff --git a/js-wixcode-sdk/wix-window-frontend.service.json b/js-wixcode-sdk/wix-window-frontend.service.json index a75350941f..559aec435c 100644 --- a/js-wixcode-sdk/wix-window-frontend.service.json +++ b/js-wixcode-sdk/wix-window-frontend.service.json @@ -180,10 +180,10 @@ [ { "lineno": 1118, "filename": "window-frontend.js" } ], "docs": - { "summary": "The Multilingual API is used when working with languages in a multilingual site.", + { "summary": "The Multilingual API is used when working with the languages in a multilingual site.", "description": [ "A multilingual site is a site that is set up to display in more than one", - " language. To learn more about enabling multilingual functionality in a", + " language. To learn more about enabling multilingual functionality in your", " site, see [About Wix Multilingual](https://support.wix.com/en/article/about-wix-multilingual).", "", " To use the Multilingual API, import `wixWindowFrontend` from the `wix-window-frontend` module:", @@ -251,7 +251,8 @@ "extra": { } }, { "name": "rendering", - "labels": [], + "labels": + [ "changed" ], "get": true, "set": false, "type": "wix-window-frontend.Rendering", @@ -261,7 +262,7 @@ "docs": { "summary": "The [Rendering API](wix-window-frontend.html#rendering) is used to control when code is run as a page is being loaded.", "description": - [ "When possible, the rendering process that runs when a page loads is", + [ "When possible, the rendering process that runs when your page loads is", " split in two in order to improve performance. The first cycle in the process", " happens server-side and the second cycle happens client-side. When not", " possible, all rendering happens client-side.", @@ -312,7 +313,8 @@ "extra": { } }, { "name": "warmupData", - "labels": [], + "labels": + [ "changed" ], "get": true, "set": false, "type": "wix-window-frontend.WarmupData", @@ -335,14 +337,14 @@ " + When browser rendering happens before server-side rendering.", " + When there is only browser rendering, for example in case visitors navigate from page to page within a site.", "", - " The page code must check for these scenarios and provide a fallback alternative for getting the data.", + " Your page code must check for these scenarios and provide a fallback alternative for getting the data.", "", - " Use the Warmup Data API and the `env` property of the Rendering API", + " Use the `warmupData` API and `env` property of the [Rendering API](https://www.wix.com/velo/reference/wix-window-frontend/rendering/env) ", " to track when and where your code is running. This lets you selectively run parts of your code.", "", " > **Notes:**", - " > + Rendering never occurs server-side when previewing a site.", - " > + Backend rendering only occurs when visitors initially enter a site, and not when visitors navigate from page-to-page within a site.", + " > + Rendering never occurs server-side when previewing your site.", + " > + Backend rendering only occurs when visitors initially enter the site, and not when visitors navigate from page-to-page within the site.", "", " To use the Warmup Data API, import `warmupData` from the `wix-window-frontend` module:", "", diff --git a/js-wixcode-sdk/wix-window-frontend/Multilingual.service.json b/js-wixcode-sdk/wix-window-frontend/Multilingual.service.json index 8256ed1015..f5fb05bd2a 100644 --- a/js-wixcode-sdk/wix-window-frontend/Multilingual.service.json +++ b/js-wixcode-sdk/wix-window-frontend/Multilingual.service.json @@ -7,10 +7,10 @@ { "lineno": 1100, "filename": "window-frontend.js" }, "docs": - { "summary": "The Multilingual API is used when working with languages in a multilingual site.", + { "summary": "The Multilingual API is used when working with the languages in a multilingual site.", "description": [ "A multilingual site is a site that is set up to display in more than one", - " language. To learn more about enabling multilingual functionality in a", + " language. To learn more about enabling multilingual functionality in your", " site, see [About Wix Multilingual](https://support.wix.com/en/article/about-wix-multilingual).", "", " To use the Multilingual API, import `wixWindowFrontend` from the `wix-window-frontend` module:", @@ -37,21 +37,21 @@ { "lineno": 1149, "filename": "window-frontend.js" } ], "docs": - { "summary": "Sets or gets a site's current display language.", + { "summary": "Sets or gets the site's current display language.", "description": - [ "Setting the `currentLanguage` property changes a site's display language.", + [ "Setting the `currentLanguage` property changes the site's display language.", " The current page is reloaded in the newly set language.", "", " Set the current language using a two-letter language code. The code must", - " represent one of [the languages set to show on a site](https://support.wix.com/en/article/managing-languages-in-a-multilingual-site).", - " You can retrieve a site's languages and corresponding language codes using", + " represent one of [the languages set to show on your site](https://support.wix.com/en/article/managing-languages-in-a-multilingual-site).", + " You can retrieve your site's languages and corresponding language codes using", " the [`siteLanguages`](#siteLanguages) property.", "", " Getting the `currentLanguage` property gets the two-letter language code", - " of a site's current display language." ], + " of the site's current display language." ], "links": [], "examples": - [ { "title": "Get a site's current display language", + [ { "title": "Get the site's current display language", "body": [ "import wixWindowFrontend from 'wix-window-frontend';", "", @@ -60,7 +60,7 @@ "let language = wixWindowFrontend.multilingual.currentLanguage; // \"en\"" ], "extra": { } }, - { "title": "Set a site's current display language", + { "title": "Set the site's current display language", "body": [ "import wixWindowFrontend from 'wix-window-frontend';", "", @@ -87,7 +87,7 @@ "} );", "" ], "extra": - { "description": "This example assumes a site is set up to display in both English and\n Spanish. It also assumes this site has a button with the ID **toggleLanguage**.\n\n An `onClick` event handler is registered for the button. The event handler\n checks the site's current language and then sets the site to change to the\n other available language." } }, + { "description": "This example assumes you have a site set up to display in both English and\n Spanish. It also assumes you have a button with the ID **toggleLanguage**.\n\n An `onClick` event handler is registered for the button. The event handler\n checks the site's current language and then sets the site to change to the\n other available language." } }, { "title": "Create a dropdown used to change between available languages", "body": [ "import wixWindowFrontend from 'wix-window-frontend';", @@ -112,7 +112,7 @@ "});", "" ], "extra": - { "description": "This example assumes a site is set up to display in multiple languages.\n It also assumes this site has a dropdown element with the ID **languageDropdown**.\n\n When the page loads, the site's available languages are retrieved. Then,\n the JavaScript `map()` function is used to change the retrieved language\n information into the format expected by the dropdown's `options` property.\n Next, the JavaScript `filter()` function is used remove the current language\n from the list. Finally, the dropdown's `options` property is set using the\n formatted language list.\n\n An `onChange` event handler is registered for the dropdown element. The event\n handler changes the site's current language based on the language chosen by\n the user." } }, + { "description": "This example assumes you have a site set up to display in multiple languages.\n It also assumes you have a dropdown element with the ID **languageDropdown**.\n\n When the page loads, the site's available languages are retrieved. Then,\n the JavaScript `map()` function is used to change the retrieved language\n information into the format expected by the dropdown's `options` property.\n Next, the JavaScript `filter()` function is used remove the current language\n from the list. Finally, the dropdown's `options` property is set using the\n formatted language list.\n\n An `onChange` event handler is registered for the dropdown element. The event\n handler changes the site's current language based on the language chosen by\n the user." } }, { "title": "Filter a dataset based on the site's current display language", "body": [ "import wixWindowFrontend from 'wix-window-frontend';", @@ -126,7 +126,7 @@ "} );", "" ], "extra": - { "description": "This example assumes a site is set up to display in both English and\n Spanish. It also assumes this site has a collection that contains data in both\n languages. The collection has a **language** field that indicates each item's\n language. The following code filters a dataset connected to the collection\n so it only contains items that correspond to the site's current language." } } ], + { "description": "This example assumes you have a site set up to display in both English and\n Spanish. It also assumes you have a collection that contains data in both\n languages. The collection has a **language** field that indicates each item's\n language. The following code filters a dataset connected to the collection\n so it only contains items that correspond to the site's current language." } } ], "extra": { } }, "extra": @@ -141,10 +141,10 @@ [ { "lineno": 1092, "filename": "window-frontend.js" } ], "docs": - { "summary": "Gets whether a site has been set up to be shown in multiple languages.", + { "summary": "Gets whether the site has been set up to be shown in multiple languages.", "links": [], "examples": - [ { "title": "Get whether a site is set up to be shown in multiple languages", + [ { "title": "Get whether the site is set up to be shown in multiple languages", "body": [ "import wixWindowFrontend from 'wix-window-frontend';", "", @@ -170,14 +170,14 @@ [ { "lineno": 1231, "filename": "window-frontend.js" } ], "docs": - { "summary": "Gets information about a site's languages.", + { "summary": "Gets information about the site's languages.", "description": [ "The `siteLanguages` property returns an array of `SiteLanguage`", - "objects containing information about all the languages that a site is set", + "objects containing information about all the languages that the site is set", "to display in." ], "links": [], "examples": - [ { "title": "Get information about a site's languages", + [ { "title": "Get information about the site's languages", "body": [ "import wixWindowFrontend from 'wix-window-frontend';", "", @@ -234,7 +234,7 @@ "});", "" ], "extra": - { "description": "This example assumes a site is set up to display in multiple languages.\n It also assumes this site has a dropdown element with the ID **languageDropdown**.\n\n When the page loads, the site's available languages are retrieved. Then,\n the JavaScript `map()` function is used to change the retrieved language\n information into the format expected by the dropdown's `options` property.\n Next, the JavaScript `filter()` function is used remove the current language\n from the list. Finally, the dropdown's `options` property is set using the\n formatted language list.\n\n An `onChange` event handler is registered for the dropdown element. The event\n handler changes the site's current language based on the language chosen by\n the user." } } ], + { "description": "This example assumes you have a site set up to display in multiple languages.\n It also assumes you have a dropdown element with the ID **languageDropdown**.\n\n When the page loads, the site's available languages are retrieved. Then,\n the JavaScript `map()` function is used to change the retrieved language\n information into the format expected by the dropdown's `options` property.\n Next, the JavaScript `filter()` function is used remove the current language\n from the list. Finally, the dropdown's `options` property is set using the\n formatted language list.\n\n An `onChange` event handler is registered for the dropdown element. The event\n handler changes the site's current language based on the language chosen by\n the user." } } ], "extra": { } }, "extra": @@ -247,11 +247,11 @@ [ { "lineno": 1204, "filename": "window-frontend.js" } ], "docs": - { "summary": "An object returned by the `siteLanguages` property that contains information about a site's languages.", + { "summary": "An object returned by the `siteLanguages` property that contains information about the site's languages.", "links": [ "[siteLanguages](#siteLanguages)" ], "examples": - [ { "title": "Get information about a site's languages", + [ { "title": "Get information about the site's languages", "body": [ "import wixWindowFrontend from 'wix-window-frontend';", "", @@ -308,7 +308,7 @@ "});", "" ], "extra": - { "description": "This example assumes a site is set up to display in multiple languages.\n It also assumes this site has a dropdown element with the ID **languageDropdown**.\n\n When the page loads, the site's available languages are retrieved. Then,\n the JavaScript `map()` function is used to change the retrieved language\n information into the format expected by the dropdown's `options` property.\n Next, the JavaScript `filter()` function is used remove the current language\n from the list. Finally, the dropdown's `options` property is set using the\n formatted language list.\n\n An `onChange` event handler is registered for the dropdown element. The event\n handler changes the site's current language based on the language chosen by\n the user." } } ], + { "description": "This example assumes you have a site set up to display in multiple languages.\n It also assumes you have a dropdown element with the ID **languageDropdown**.\n\n When the page loads, the site's available languages are retrieved. Then,\n the JavaScript `map()` function is used to change the retrieved language\n information into the format expected by the dropdown's `options` property.\n Next, the JavaScript `filter()` function is used remove the current language\n from the list. Finally, the dropdown's `options` property is set using the\n formatted language list.\n\n An `onChange` event handler is registered for the dropdown element. The event\n handler changes the site's current language based on the language chosen by\n the user." } } ], "extra": { } }, "members": @@ -326,7 +326,7 @@ "doc": "The language's three-letter country code." }, { "name": "isPrimaryLanguage", "type": "boolean", - "doc": "Whether the language is a site's primary language." } ], + "doc": "Whether the language is the site's primary language." } ], "extra": { }, "labels": diff --git a/js-wixcode-sdk/wix-window-frontend/Rendering.service.json b/js-wixcode-sdk/wix-window-frontend/Rendering.service.json index 59f7e22ffc..07333f7205 100644 --- a/js-wixcode-sdk/wix-window-frontend/Rendering.service.json +++ b/js-wixcode-sdk/wix-window-frontend/Rendering.service.json @@ -1,14 +1,15 @@ { "name": "Rendering", "memberOf": "wix-window-frontend", "mixes": [], - "labels": [], + "labels": + [ "changed" ], "location": { "lineno": 275, "filename": "window-frontend.js" }, "docs": { "summary": "The Rendering API is used to control when code is run as a page is being loaded.", "description": - [ "When possible, the rendering process that runs when a page loads is", + [ "When possible, the rendering process that runs when your page loads is", " split in two in order to improve performance. The first cycle in the process", " happens server-side and the second cycle happens client-side. When not", " possible, all rendering happens client-side.", @@ -27,7 +28,8 @@ { } }, "properties": [ { "name": "env", - "labels": [], + "labels": + [ "changed" ], "get": true, "set": false, "type": "string", @@ -45,11 +47,11 @@ " The `env` property returns `\"backend\"` when rendering on the server", " and `\"browser\"` when rendering on the client.", "", - " Use the `env` property in the page's `onReady()`", + " Use the `env` property in your page's [`onReady()`](https://dev.wix.com/docs/velo/api-reference/$w/on-ready)", " event handler to control where your code runs during the rendering", " process and to prevent code that causes side effects from running twice.", "", - " > **Note:** Rendering never occurs server-side when previewing a site." ], + " > **Note:** Rendering never occurs server-side when previewing your site." ], "links": [], "examples": [ { "title": "Use the Rendering API to avoid inserting an item twice", diff --git a/js-wixcode-sdk/wix-window-frontend/WarmupData.service.json b/js-wixcode-sdk/wix-window-frontend/WarmupData.service.json index 89eda48107..c7dee97ece 100644 --- a/js-wixcode-sdk/wix-window-frontend/WarmupData.service.json +++ b/js-wixcode-sdk/wix-window-frontend/WarmupData.service.json @@ -1,7 +1,8 @@ { "name": "WarmupData", "memberOf": "wix-window-frontend", "mixes": [], - "labels": [], + "labels": + [ "changed" ], "location": { "lineno": 129, "filename": "window-frontend.js" }, @@ -21,14 +22,14 @@ " + When browser rendering happens before server-side rendering.", " + When there is only browser rendering, for example in case visitors navigate from page to page within a site.", "", - " Page code must check for these scenarios and provide a fallback alternative for getting the data.", + " Your page code must check for these scenarios and provide a fallback alternative for getting the data.", "", - " Use the Warmup Data API and `env` property of the Rendering API", + " Use the `warmupData` API and `env` property of the [Rendering API](https://www.wix.com/velo/reference/wix-window-frontend/rendering/env) ", " to track when and where your code is running. This lets you selectively run parts of your code.", "", " > **Notes:**", - " > + Rendering never occurs server-side when previewing a site.", - " > + Backend rendering only occurs when visitors initially enter a site, and not when visitors navigate from page-to-page within a site.", + " > + Rendering never occurs server-side when previewing your site.", + " > + Backend rendering only occurs when visitors initially enter the site, and not when visitors navigate from page-to-page within the site.", "", " To use the Warmup Data API, import `warmupData` from the `wix-window-frontend` module:", "", @@ -42,12 +43,13 @@ "properties": [], "operations": [ { "name": "get", - "labels": [], + "labels": + [ "changed" ], "nameParams": [], "params": [ { "name": "key", "type": "string", - "doc": "Name representing the data to return to the client-side. Until rendered, the data is `undefined`." } ], + "doc": "A name representing the data to return to the client-side. Until rendered, the data is `undefined`." } ], "ret": { "type": "*", "doc": "Returns one of the following: \n + The data corresponding to the `key` that was set with the `warmupData.set()` function in the backend.\n + `undefined` if not yet set.\n + `null` if called while on the server." }, @@ -62,16 +64,16 @@ " sets the data from these operations as warmup data on the server. The client-side code can then `get` that data without ", " performing the operations again. ", "", - " Getting the warmup data retrieves data that was set on the server and makes the data accessible ", + " Getting the `warmupData` data retrieves data that was set on the server and makes the data accessible ", " from the client-side.", "", - " You can only get warmup data in the client-side code. ", + " You can only get `warmupData` in the client-side code. ", " + This function returns `null` if called while on the server.", " + If this function runs before `warmupData.set()`, it returns `undefined`.", "", " > **Notes:** ", - " > + Rendering never occurs server-side when previewing a site.", - " > + Server-side rendering only occurs when visitors initially enter a site, and not when visitors navigate from page-to-page within a site." ], + " > + Rendering never occurs server-side when previewing your site.", + " > + Server-side rendering only occurs when visitors initially enter the site, and not when visitors navigate from page-to-page within the site." ], "links": [], "examples": [ { "title": "Get the warmup data on the client-side", @@ -108,21 +110,22 @@ " $w(\"#retrievedMessage\").text = message;", "});" ], "extra": - { "description": "This example demonstrates how to use warmup data to optimize performance between server-side and client-side page \n rendering.\n \n The example has a `getData()` function that performs a query on a `MyCollection` collection. \n\n If this operation happens to run on the server, the results are set for later client-side use. The `wixWindowFrontend.rendering.env` property\n indicates if the run is occurring on the server (`backend`) or on the client-side (`browser`). \n\n When rendering on the client-side, the client-side code checks if the query results already exist. If so, there is no need to perform the same query again. \n If not, the client-side code runs the query. \n\n Two text boxes are defined on the page: `retrievedMessage` displays a message about where the rendering occurred and `retrievedData` displays the query items." } } ], + { "description": "This example demonstrates how to use `warmupData` to optimize performance between server-side and client-side page \n rendering.\n \n The example has a `getData()` function that performs a query on a `MyCollection` collection. \n\n If this operation happens to run on the server, the results are set for later client-side use. The `wixWindowFrontend.rendering.env` property\n indicates if the run is occurring on the server (`backend`) or on the client-side (`browser`). \n\n When rendering on the client-side, the client-side code checks if the query results already exist. If so, there is no need to perform the same query again. \n If not, the client-side code runs the query. \n\n Two text boxes are defined on the page: `retrievedMessage` displays a message about where the rendering occurred and `retrievedData` displays the query items." } } ], "extra": { } }, "extra": { } }, { "name": "set", - "labels": [], + "labels": + [ "changed" ], "nameParams": [], "params": [ { "name": "key", "type": "string", - "doc": "Name representing the data to return to the client-side. Key names are unique within a site. Using the same key name within the same site code overwrites the corresponding data." }, + "doc": "A name representing the data to return to the client-side. Key names are unique within a site. Using the same key name within the same site code overwrites the corresponding data." }, { "name": "data", "type": "*", - "doc": "Data to return to the client-side." } ], + "doc": "The data to return to the client-side." } ], "ret": { "type": "void" }, "locations": @@ -136,11 +139,11 @@ " sets the data from these operations as warmup data on the server. The client-side code can then `get` that data without ", " performing the operations again. ", "", - " You can only set warmup data on the server. This function has no effect if called from client-side code.", + " You can only set `warmupData` on the server. This function has no effect if called from client-side code.", "", " > **Notes:** ", - " > + Rendering never occurs server-side when previewing a site.", - " > + Server-side rendering only occurs when visitors initially enter a site, and not when visitors navigate from page-to-page within a site." ], + " > + Rendering never occurs server-side when previewing your site.", + " > + Server-side rendering only occurs when visitors initially enter the site, and not when visitors navigate from page-to-page within the site." ], "links": [], "examples": [ { "title": "Set the warmup data on the server", @@ -177,7 +180,7 @@ " $w(\"#retrievedMessage\").text = message;", "});" ], "extra": - { "description": "This example demonstrates how to use warmup data to optimize performance between server-side and browser rendering.\n \n The example has a `getData()` function that performs a query on a `MyCollection` collection. \n\n If this operation happens to run on the server, the results are set for later browser use. The `wixWindowFrontend.rendering.env` property\n indicates if the run is occurring on the server (`backend`) or on the client-side (`browser`). \n\n When rendering in the browser, the client-side code checks if the query results already exist. If so, there is no need to perform the same query again. \n If not, the client-side code runs the query. \n\n Two text boxes are defined on the page: `retrievedMessage` displays a message about where the rendering occurred and `retrievedData` displays the query items." } } ], + { "description": "This example demonstrates how to use `warmupData` to optimize performance between server-side and browser rendering.\n \n The example has a `getData()` function that performs a query on a `MyCollection` collection. \n\n If this operation happens to run on the server, the results are set for later browser use. The `wixWindowFrontend.rendering.env` property\n indicates if the run is occurring on the server (`backend`) or on the client-side (`browser`). \n\n When rendering in the browser, the client-side code checks if the query results already exist. If so, there is no need to perform the same query again. \n If not, the client-side code runs the query. \n\n Two text boxes are defined on the page: `retrievedMessage` displays a message about where the rendering occurred and `retrievedData` displays the query items." } } ], "extra": { } }, "extra": From 1fd714f891e8a589c7f7056dd150ad557808be72 Mon Sep 17 00:00:00 2001 From: joshua-sc Date: Tue, 10 Dec 2024 07:59:28 +0200 Subject: [PATCH 02/11] DocWorks for js-wixcode-sdk - 1 change detected, but 38 issue detected changes: Service wix-site-frontend operation getFontsHtml has changed param options doc issues: Message ViewChangeEventOptions has an unknown property type * (ApppointmentFieldEvent.js (8)) Message Accessibility has an unknown property type $w.CollapsibleText (Box.js (76)) Message Accessibility has an unknown property type $w.CollapsibleText (Box.js (76)) Message Accessibility has an unknown property type $w.CollapsibleText (Button.js (280)) Message Accessibility has an unknown property type $w.CollapsibleText (Button.js (280)) Message Accessibility has an unknown property type $w.CollapsibleText (Checkbox.js (218)) Message Accessibility has an unknown property type $w.CollapsibleText (Checkbox.js (218)) Message Accessibility has an unknown property type $w.CollapsibleText (Column.js (44)) Message Accessibility has an unknown property type $w.CollapsibleText (Column.js (44)) Message Accessibility has an unknown property type $w.CollapsibleText (ColumnStrip.js (75)) Message Accessibility has an unknown property type $w.CollapsibleText (ColumnStrip.js (75)) Message Accessibility has an unknown property type $w.CollapsibleText (Container.js (69)) Message Accessibility has an unknown property type $w.CollapsibleText (Container.js (69)) Message Accessibility has an unknown property type $w.CollapsibleText (DropDown.js (326)) Message Accessibility has an unknown property type $w.CollapsibleText (DropDown.js (326)) 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)) Message ScreenReader is defined two or more times (ColumnStrip.js (97), Text.js (225)) Message Accessibility has an unknown property type $w.CollapsibleText (Text.js (202)) Message Accessibility has an unknown property type $w.CollapsibleText (Text.js (202)) Message ... --- js-wixcode-sdk/$w/Button.service.json | 6 ++--- js-wixcode-sdk/$w/LinkableMixin.service.json | 3 +-- js-wixcode-sdk/$w/Style.service.json | 9 +++---- js-wixcode-sdk/$w/StyleMixin.service.json | 3 +-- js-wixcode-sdk/$w/Text.service.json | 3 +-- js-wixcode-sdk/wix-site-frontend.service.json | 24 +++++++------------ js-wixcode-sdk/wix-site.service.json | 15 ++++-------- .../wix-window-frontend.service.json | 12 ++++------ .../Multilingual.service.json | 15 ++++-------- .../Rendering.service.json | 6 ++--- .../WarmupData.service.json | 9 +++---- 11 files changed, 36 insertions(+), 69 deletions(-) diff --git a/js-wixcode-sdk/$w/Button.service.json b/js-wixcode-sdk/$w/Button.service.json index 381ea0c37a..1fd09de404 100644 --- a/js-wixcode-sdk/$w/Button.service.json +++ b/js-wixcode-sdk/$w/Button.service.json @@ -10,8 +10,7 @@ "$w.LabelMixin", "$w.EffectsMixin", "$w.FocusMixin" ], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 1, "filename": "Button.js" }, @@ -285,8 +284,7 @@ "extra": { } }, { "name": "style", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": false, "type": "$w.Style", diff --git a/js-wixcode-sdk/$w/LinkableMixin.service.json b/js-wixcode-sdk/$w/LinkableMixin.service.json index a5308e7e93..9d13855695 100644 --- a/js-wixcode-sdk/$w/LinkableMixin.service.json +++ b/js-wixcode-sdk/$w/LinkableMixin.service.json @@ -1,8 +1,7 @@ { "name": "LinkableMixin", "memberOf": "$w", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 1, "filename": "LinkableMixin.js" }, diff --git a/js-wixcode-sdk/$w/Style.service.json b/js-wixcode-sdk/$w/Style.service.json index e1e3851786..7c7921ea2c 100644 --- a/js-wixcode-sdk/$w/Style.service.json +++ b/js-wixcode-sdk/$w/Style.service.json @@ -1,8 +1,7 @@ { "name": "Style", "memberOf": "$w", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 1, "filename": "StyleMixin.js" }, @@ -33,8 +32,7 @@ { } }, "properties": [ { "name": "backgroundColor", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": true, "type": "string", @@ -226,8 +224,7 @@ "extra": { } }, { "name": "color", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": true, "type": "string", diff --git a/js-wixcode-sdk/$w/StyleMixin.service.json b/js-wixcode-sdk/$w/StyleMixin.service.json index 45fad5ecc8..d371a6f09b 100644 --- a/js-wixcode-sdk/$w/StyleMixin.service.json +++ b/js-wixcode-sdk/$w/StyleMixin.service.json @@ -1,8 +1,7 @@ { "name": "StyleMixin", "memberOf": "$w", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 27, "filename": "StyleMixin.js" }, diff --git a/js-wixcode-sdk/$w/Text.service.json b/js-wixcode-sdk/$w/Text.service.json index 2d6935bc38..2496dd51d0 100644 --- a/js-wixcode-sdk/$w/Text.service.json +++ b/js-wixcode-sdk/$w/Text.service.json @@ -6,8 +6,7 @@ "$w.ClickableMixin", "$w.EffectsMixin", "$w.FocusMixin" ], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 1, "filename": "Text.js" }, diff --git a/js-wixcode-sdk/wix-site-frontend.service.json b/js-wixcode-sdk/wix-site-frontend.service.json index 64dc2b1374..e59be92a5e 100644 --- a/js-wixcode-sdk/wix-site-frontend.service.json +++ b/js-wixcode-sdk/wix-site-frontend.service.json @@ -258,7 +258,7 @@ "operations": [ { "name": "getFontsHtml", "labels": - [ "new" ], + [ "changed" ], "nameParams": [], "params": [ { "name": "fonts", @@ -269,7 +269,7 @@ "doc": "List of fonts." }, { "name": "options", "type": "wix-site-frontend.getFontsHtmlOptions", - "doc": "The options used when getting the HTML element.\n// * @param {String}" } ], + "doc": "The options used when getting the HTML element." } ], "ret": { "type": { "name": "Promise", @@ -318,8 +318,7 @@ "extra": { } }, { "name": "getSiteStructure", - "labels": - [ "changed" ], + "labels": [], "nameParams": [], "params": [], "ret": @@ -485,8 +484,7 @@ "extra": { } }, { "name": "getSiteThemeHtml", - "labels": - [ "new" ], + "labels": [], "nameParams": [], "params": [ { "name": "testId", @@ -909,8 +907,7 @@ "optional": true } ], "extra": { }, - "labels": - [ "changed" ] }, + "labels": [] }, { "name": "SiteStructure", "locations": [ { "lineno": 17, @@ -1087,8 +1084,7 @@ "doc": "The site's lightboxes." } ], "extra": { }, - "labels": - [ "changed" ] }, + "labels": [] }, { "name": "StructureLightbox", "locations": [ { "lineno": 74, @@ -1291,11 +1287,10 @@ "optional": true } ], "extra": { }, - "labels": - [ "changed" ] }, + "labels": [] }, { "name": "getFontsHtmlOptions", "locations": - [ { "lineno": 332, + [ { "lineno": 331, "filename": "site-frontend.js" } ], "docs": { "summary": "The options used when getting the HTML element.", @@ -1309,8 +1304,7 @@ "doc": "An identifier that is added in a `data-test-id` attribute on the returned HTML element. You can use this identifier to locate the HTML element when testing your code." } ], "extra": { }, - "labels": - [ "new" ] } ], + "labels": [] } ], "extra": { "scopes": [ "frontend" ] } } \ No newline at end of file diff --git a/js-wixcode-sdk/wix-site.service.json b/js-wixcode-sdk/wix-site.service.json index bb9fa51955..7c18dab7ce 100644 --- a/js-wixcode-sdk/wix-site.service.json +++ b/js-wixcode-sdk/wix-site.service.json @@ -1,7 +1,6 @@ { "name": "wix-site", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 1, "filename": "site.js" }, @@ -285,8 +284,7 @@ "extra": { } }, { "name": "getSiteStructure", - "labels": - [ "changed" ], + "labels": [], "nameParams": [], "params": [], "ret": @@ -849,8 +847,7 @@ "optional": true } ], "extra": { }, - "labels": - [ "changed" ] }, + "labels": [] }, { "name": "SiteStructure", "locations": [ { "lineno": 17, @@ -1027,8 +1024,7 @@ "doc": "The site's lightboxes." } ], "extra": { }, - "labels": - [ "changed" ] }, + "labels": [] }, { "name": "StructureLightbox", "locations": [ { "lineno": 74, @@ -1231,8 +1227,7 @@ "optional": true } ], "extra": { }, - "labels": - [ "changed" ] } ], + "labels": [] } ], "extra": { "scopes": [ "frontend" ] }, diff --git a/js-wixcode-sdk/wix-window-frontend.service.json b/js-wixcode-sdk/wix-window-frontend.service.json index 559aec435c..f49dfde595 100644 --- a/js-wixcode-sdk/wix-window-frontend.service.json +++ b/js-wixcode-sdk/wix-window-frontend.service.json @@ -1,7 +1,6 @@ { "name": "wix-window-frontend", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 1, "filename": "window-frontend.js" }, @@ -171,8 +170,7 @@ "extra": { } }, { "name": "multilingual", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": false, "type": "wix-window-frontend.Multilingual", @@ -251,8 +249,7 @@ "extra": { } }, { "name": "rendering", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": false, "type": "wix-window-frontend.Rendering", @@ -313,8 +310,7 @@ "extra": { } }, { "name": "warmupData", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": false, "type": "wix-window-frontend.WarmupData", diff --git a/js-wixcode-sdk/wix-window-frontend/Multilingual.service.json b/js-wixcode-sdk/wix-window-frontend/Multilingual.service.json index f5fb05bd2a..65a1a16840 100644 --- a/js-wixcode-sdk/wix-window-frontend/Multilingual.service.json +++ b/js-wixcode-sdk/wix-window-frontend/Multilingual.service.json @@ -1,8 +1,7 @@ { "name": "Multilingual", "memberOf": "wix-window-frontend", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 1100, "filename": "window-frontend.js" }, @@ -26,8 +25,7 @@ { } }, "properties": [ { "name": "currentLanguage", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": true, "type": "string", @@ -132,8 +130,7 @@ "extra": { } }, { "name": "isEnabled", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": false, "type": "boolean", @@ -158,8 +155,7 @@ "extra": { } }, { "name": "siteLanguages", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": false, "type": @@ -329,7 +325,6 @@ "doc": "Whether the language is the site's primary language." } ], "extra": { }, - "labels": - [ "changed" ] } ], + "labels": [] } ], "extra": { } } \ No newline at end of file diff --git a/js-wixcode-sdk/wix-window-frontend/Rendering.service.json b/js-wixcode-sdk/wix-window-frontend/Rendering.service.json index 07333f7205..1fcc2ef878 100644 --- a/js-wixcode-sdk/wix-window-frontend/Rendering.service.json +++ b/js-wixcode-sdk/wix-window-frontend/Rendering.service.json @@ -1,8 +1,7 @@ { "name": "Rendering", "memberOf": "wix-window-frontend", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 275, "filename": "window-frontend.js" }, @@ -28,8 +27,7 @@ { } }, "properties": [ { "name": "env", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": false, "type": "string", diff --git a/js-wixcode-sdk/wix-window-frontend/WarmupData.service.json b/js-wixcode-sdk/wix-window-frontend/WarmupData.service.json index c7dee97ece..f20f3899d8 100644 --- a/js-wixcode-sdk/wix-window-frontend/WarmupData.service.json +++ b/js-wixcode-sdk/wix-window-frontend/WarmupData.service.json @@ -1,8 +1,7 @@ { "name": "WarmupData", "memberOf": "wix-window-frontend", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 129, "filename": "window-frontend.js" }, @@ -43,8 +42,7 @@ "properties": [], "operations": [ { "name": "get", - "labels": - [ "changed" ], + "labels": [], "nameParams": [], "params": [ { "name": "key", @@ -116,8 +114,7 @@ "extra": { } }, { "name": "set", - "labels": - [ "changed" ], + "labels": [], "nameParams": [], "params": [ { "name": "key", From 8fb80effb6fdf30aff49ab25eb5b431676721988 Mon Sep 17 00:00:00 2001 From: joshua-sc Date: Tue, 10 Dec 2024 08:04:58 +0200 Subject: [PATCH 03/11] DocWorks for js-wixcode-sdk - 2 changes detected, but 36 issue detected changes: Service wix-site-frontend operation getFontsHtml.examples has 1 new examples Service wix-site-frontend operation getSiteThemeHtml.examples has 1 new examples issues: Message ViewChangeEventOptions has an unknown property type * (ApppointmentFieldEvent.js (8)) Message Accessibility has an unknown property type $w.CollapsibleText (Box.js (76)) Message Accessibility has an unknown property type $w.CollapsibleText (Box.js (76)) Message Accessibility has an unknown property type $w.CollapsibleText (Button.js (280)) Message Accessibility has an unknown property type $w.CollapsibleText (Button.js (280)) Message Accessibility has an unknown property type $w.CollapsibleText (Checkbox.js (218)) Message Accessibility has an unknown property type $w.CollapsibleText (Checkbox.js (218)) Message Accessibility has an unknown property type $w.CollapsibleText (Column.js (44)) Message Accessibility has an unknown property type $w.CollapsibleText (Column.js (44)) Message Accessibility has an unknown property type $w.CollapsibleText (ColumnStrip.js (75)) Message Accessibility has an unknown property type $w.CollapsibleText (ColumnStrip.js (75)) Message Accessibility has an unknown property type $w.CollapsibleText (Container.js (69)) Message Accessibility has an unknown property type $w.CollapsibleText (Container.js (69)) Message Accessibility has an unknown property type $w.CollapsibleText (DropDown.js (326)) Message Accessibility has an unknown property type $w.CollapsibleText (DropDown.js (326)) 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)) Message ScreenReader is defined two or more times (ColumnStrip.js (97), Text.js (225)) Message Accessibility has an unknown property type $w.CollapsibleText (Text.js (202)) Message Access ... --- js-wixcode-sdk/wix-site-frontend.service.json | 189 +++++++++++++++++- 1 file changed, 186 insertions(+), 3 deletions(-) diff --git a/js-wixcode-sdk/wix-site-frontend.service.json b/js-wixcode-sdk/wix-site-frontend.service.json index e59be92a5e..241354e892 100644 --- a/js-wixcode-sdk/wix-site-frontend.service.json +++ b/js-wixcode-sdk/wix-site-frontend.service.json @@ -284,7 +284,98 @@ "description": [ "Use the `getFontsHtml()` function to" ], "links": [], - "examples": [], + "examples": + [ { "title": "Get the CSS that loads specific fonts", + "body": + [ "import wixSiteFrontend from 'wix-site-frontend';", + "", + "// ...", + "", + "const structure = wixSiteFrontend.getSiteStructure();", + "const pages = structure.pages;", + "", + "/*", + " * pages:", + " * [", + " * {", + " * \"name\": \"Home\",", + " * \"type\": \"static\",", + " * \"url\": \"/home\",", + " * \"isHomePage\": true", + " * },", + " * {", + " * \"name\": \"Page 1\",", + " * \"type\": \"static\",", + " * \"url:\" /page-1\"", + " * },", + " * {", + " * \"name\": \"Page 2\",", + " * \"type\": \"static\",", + " * \"url\": \"/page-2\"", + " * },", + " * {", + " * \"name\": \"Parent Page\",", + " * \"type\": \"static\",", + " * \"url\": \"/parent-page\"", + " * },", + " * {", + " * \"name\": \"Child Page\",", + " * \"type\": \"static\",", + " * \"url\": \"/child-page\"", + " * },", + " * {", + " * \"name\": \"router-page\",", + " * \"type\": \"template\",", + " * \"prefix\": \"router\"", + " * },", + " * {", + " * \"name\": \"MyCollection (Title)\",", + " * \"type\": \"template\",", + " * \"prefix\": \"MyCollection\"", + " * },", + " * {", + " * \"name\": \"MyCollection (All)\",", + " * \"type\": \"template\",", + " * \"prefix\": \"MyCollection\"", + " * },", + " * {", + " * \"name\": \"Dashboard Page\",", + " * \"type\": \"static\"", + " * },", + " * {", + " * \"name\": \"Shop\",", + " * \"type\": \"template\",", + " * \"url\": \"/shop\",", + " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + " * },", + " * {", + " * \"name\": \"Product Page\",", + " * \"type\": \"template\",", + " * \"url\": \"/product-page\",", + " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + " * },", + " * {", + " * \"name\": \"Thank You Page\",", + " * \"type\": \"template\",", + " * \"url\": \"/thank-you-page\",", + " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + " * },", + " * {", + " * \"name\": \"Cart\",", + " * \"type\": \"template\",", + " * \"url\": \"/cart\",", + " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + " * },", + " * {", + " * \"name\": \"Members\",", + " * \"type\": \"template\",", + " * \"url\": \"/members\",", + " * \"applicationId\": \"14ad9202-3dd3-128a-57bd-e5675fd7e313\"", + " * }", + " * ]", + " */" ], + "extra": + { } } ], "extra": { } }, "extra": @@ -484,7 +575,8 @@ "extra": { } }, { "name": "getSiteThemeHtml", - "labels": [], + "labels": + [ "changed" ], "nameParams": [], "params": [ { "name": "testId", @@ -504,7 +596,98 @@ "description": [ "Use the `getSiteThemeHtml()` function to" ], "links": [], - "examples": [], + "examples": + [ { "title": "Get a site's theme CSS", + "body": + [ "import wixSiteFrontend from 'wix-site-frontend';", + "", + "// ...", + "", + "const structure = wixSiteFrontend.getSiteStructure();", + "const pages = structure.pages;", + "", + "/*", + " * pages:", + " * [", + " * {", + " * \"name\": \"Home\",", + " * \"type\": \"static\",", + " * \"url\": \"/home\",", + " * \"isHomePage\": true", + " * },", + " * {", + " * \"name\": \"Page 1\",", + " * \"type\": \"static\",", + " * \"url:\" /page-1\"", + " * },", + " * {", + " * \"name\": \"Page 2\",", + " * \"type\": \"static\",", + " * \"url\": \"/page-2\"", + " * },", + " * {", + " * \"name\": \"Parent Page\",", + " * \"type\": \"static\",", + " * \"url\": \"/parent-page\"", + " * },", + " * {", + " * \"name\": \"Child Page\",", + " * \"type\": \"static\",", + " * \"url\": \"/child-page\"", + " * },", + " * {", + " * \"name\": \"router-page\",", + " * \"type\": \"template\",", + " * \"prefix\": \"router\"", + " * },", + " * {", + " * \"name\": \"MyCollection (Title)\",", + " * \"type\": \"template\",", + " * \"prefix\": \"MyCollection\"", + " * },", + " * {", + " * \"name\": \"MyCollection (All)\",", + " * \"type\": \"template\",", + " * \"prefix\": \"MyCollection\"", + " * },", + " * {", + " * \"name\": \"Dashboard Page\",", + " * \"type\": \"static\"", + " * },", + " * {", + " * \"name\": \"Shop\",", + " * \"type\": \"template\",", + " * \"url\": \"/shop\",", + " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + " * },", + " * {", + " * \"name\": \"Product Page\",", + " * \"type\": \"template\",", + " * \"url\": \"/product-page\",", + " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + " * },", + " * {", + " * \"name\": \"Thank You Page\",", + " * \"type\": \"template\",", + " * \"url\": \"/thank-you-page\",", + " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + " * },", + " * {", + " * \"name\": \"Cart\",", + " * \"type\": \"template\",", + " * \"url\": \"/cart\",", + " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + " * },", + " * {", + " * \"name\": \"Members\",", + " * \"type\": \"template\",", + " * \"url\": \"/members\",", + " * \"applicationId\": \"14ad9202-3dd3-128a-57bd-e5675fd7e313\"", + " * }", + " * ]", + " */" ], + "extra": + { } } ], "extra": { } }, "extra": From c093d7d4853ad96df8fda1771dae8264d02877f9 Mon Sep 17 00:00:00 2001 From: joshua-sc Date: Tue, 10 Dec 2024 08:42:45 +0200 Subject: [PATCH 04/11] DocWorks for js-wixcode-sdk - no significant changes detected, but 36 issue detected issues: Message ViewChangeEventOptions has an unknown property type * (ApppointmentFieldEvent.js (8)) Message Accessibility has an unknown property type $w.CollapsibleText (Box.js (76)) Message Accessibility has an unknown property type $w.CollapsibleText (Box.js (76)) Message Accessibility has an unknown property type $w.CollapsibleText (Button.js (280)) Message Accessibility has an unknown property type $w.CollapsibleText (Button.js (280)) Message Accessibility has an unknown property type $w.CollapsibleText (Checkbox.js (218)) Message Accessibility has an unknown property type $w.CollapsibleText (Checkbox.js (218)) Message Accessibility has an unknown property type $w.CollapsibleText (Column.js (44)) Message Accessibility has an unknown property type $w.CollapsibleText (Column.js (44)) Message Accessibility has an unknown property type $w.CollapsibleText (ColumnStrip.js (75)) Message Accessibility has an unknown property type $w.CollapsibleText (ColumnStrip.js (75)) Message Accessibility has an unknown property type $w.CollapsibleText (Container.js (69)) Message Accessibility has an unknown property type $w.CollapsibleText (Container.js (69)) Message Accessibility has an unknown property type $w.CollapsibleText (DropDown.js (326)) Message Accessibility has an unknown property type $w.CollapsibleText (DropDown.js (326)) 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)) Message ScreenReader is defined two or more times (ColumnStrip.js (97), Text.js (225)) Message Accessibility has an unknown property type $w.CollapsibleText (Text.js (202)) Message Accessibility has an unknown property type $w.CollapsibleText (Text.js (202)) Message Accessibility has an unknown property type $w.CollapsibleText (TextBox.js ... --- js-wixcode-sdk/wix-site-frontend.service.json | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/js-wixcode-sdk/wix-site-frontend.service.json b/js-wixcode-sdk/wix-site-frontend.service.json index 241354e892..501ba903e3 100644 --- a/js-wixcode-sdk/wix-site-frontend.service.json +++ b/js-wixcode-sdk/wix-site-frontend.service.json @@ -1,7 +1,6 @@ { "name": "wix-site-frontend", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 1, "filename": "site-frontend.js" }, @@ -257,8 +256,7 @@ { } } ], "operations": [ { "name": "getFontsHtml", - "labels": - [ "changed" ], + "labels": [], "nameParams": [], "params": [ { "name": "fonts", @@ -575,8 +573,7 @@ "extra": { } }, { "name": "getSiteThemeHtml", - "labels": - [ "changed" ], + "labels": [], "nameParams": [], "params": [ { "name": "testId", From b5830420d627e3e86037c7f0dfdcfd3ebcc45a94 Mon Sep 17 00:00:00 2001 From: joshua-sc Date: Tue, 10 Dec 2024 08:44:44 +0200 Subject: [PATCH 05/11] DocWorks for js-wixcode-sdk - 1 change detected, but 36 issue detected changes: Service wix-site-frontend message getFontsHtmlOptions has changed summary issues: Message ViewChangeEventOptions has an unknown property type * (ApppointmentFieldEvent.js (8)) Message Accessibility has an unknown property type $w.CollapsibleText (Box.js (76)) Message Accessibility has an unknown property type $w.CollapsibleText (Box.js (76)) Message Accessibility has an unknown property type $w.CollapsibleText (Button.js (280)) Message Accessibility has an unknown property type $w.CollapsibleText (Button.js (280)) Message Accessibility has an unknown property type $w.CollapsibleText (Checkbox.js (218)) Message Accessibility has an unknown property type $w.CollapsibleText (Checkbox.js (218)) Message Accessibility has an unknown property type $w.CollapsibleText (Column.js (44)) Message Accessibility has an unknown property type $w.CollapsibleText (Column.js (44)) Message Accessibility has an unknown property type $w.CollapsibleText (ColumnStrip.js (75)) Message Accessibility has an unknown property type $w.CollapsibleText (ColumnStrip.js (75)) Message Accessibility has an unknown property type $w.CollapsibleText (Container.js (69)) Message Accessibility has an unknown property type $w.CollapsibleText (Container.js (69)) Message Accessibility has an unknown property type $w.CollapsibleText (DropDown.js (326)) Message Accessibility has an unknown property type $w.CollapsibleText (DropDown.js (326)) 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)) Message ScreenReader is defined two or more times (ColumnStrip.js (97), Text.js (225)) Message Accessibility has an unknown property type $w.CollapsibleText (Text.js (202)) Message Accessibility has an unknown property type $w.CollapsibleText (Text.js (202)) Message Acces ... --- js-wixcode-sdk/wix-site-frontend.service.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/js-wixcode-sdk/wix-site-frontend.service.json b/js-wixcode-sdk/wix-site-frontend.service.json index 501ba903e3..f5ac246af9 100644 --- a/js-wixcode-sdk/wix-site-frontend.service.json +++ b/js-wixcode-sdk/wix-site-frontend.service.json @@ -1,6 +1,7 @@ { "name": "wix-site-frontend", "mixes": [], - "labels": [], + "labels": + [ "changed" ], "location": { "lineno": 1, "filename": "site-frontend.js" }, @@ -1473,7 +1474,7 @@ [ { "lineno": 331, "filename": "site-frontend.js" } ], "docs": - { "summary": "The options used when getting the HTML element.", + { "summary": "The options used when getting the font loader's HTML element.", "links": [], "examples": [], "extra": @@ -1484,7 +1485,8 @@ "doc": "An identifier that is added in a `data-test-id` attribute on the returned HTML element. You can use this identifier to locate the HTML element when testing your code." } ], "extra": { }, - "labels": [] } ], + "labels": + [ "changed" ] } ], "extra": { "scopes": [ "frontend" ] } } \ No newline at end of file From 9fcb73b4c1fd3b680b1a08aa26409b134aa964a7 Mon Sep 17 00:00:00 2001 From: joshua-sc Date: Tue, 10 Dec 2024 08:52:24 +0200 Subject: [PATCH 06/11] DocWorks for js-wixcode-sdk - 4 changes detected, but 36 issue detected changes: Service wix-site-frontend operation getSiteThemeHtml has changed param name from testId to options Service wix-site-frontend operation getSiteThemeHtml has changed param options type Service wix-site-frontend operation getSiteThemeHtml has changed param options doc Service wix-site-frontend has a new message getSiteThemeHtmlOptions issues: Message ViewChangeEventOptions has an unknown property type * (ApppointmentFieldEvent.js (8)) Message Accessibility has an unknown property type $w.CollapsibleText (Box.js (76)) Message Accessibility has an unknown property type $w.CollapsibleText (Box.js (76)) Message Accessibility has an unknown property type $w.CollapsibleText (Button.js (280)) Message Accessibility has an unknown property type $w.CollapsibleText (Button.js (280)) Message Accessibility has an unknown property type $w.CollapsibleText (Checkbox.js (218)) Message Accessibility has an unknown property type $w.CollapsibleText (Checkbox.js (218)) Message Accessibility has an unknown property type $w.CollapsibleText (Column.js (44)) Message Accessibility has an unknown property type $w.CollapsibleText (Column.js (44)) Message Accessibility has an unknown property type $w.CollapsibleText (ColumnStrip.js (75)) Message Accessibility has an unknown property type $w.CollapsibleText (ColumnStrip.js (75)) Message Accessibility has an unknown property type $w.CollapsibleText (Container.js (69)) Message Accessibility has an unknown property type $w.CollapsibleText (Container.js (69)) Message Accessibility has an unknown property type $w.CollapsibleText (DropDown.js (326)) Message Accessibility has an unknown property type $w.CollapsibleText (DropDown.js (326)) 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)) Message Scr ... --- js-wixcode-sdk/wix-site-frontend.service.json | 32 +++++++++++++++---- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/js-wixcode-sdk/wix-site-frontend.service.json b/js-wixcode-sdk/wix-site-frontend.service.json index f5ac246af9..1fd93646c9 100644 --- a/js-wixcode-sdk/wix-site-frontend.service.json +++ b/js-wixcode-sdk/wix-site-frontend.service.json @@ -276,7 +276,7 @@ [ "string" ] }, "doc": "Fulfilled - HTML element containing the CSS of the site's fonts." }, "locations": - [ { "lineno": 317, + [ { "lineno": 323, "filename": "site-frontend.js" } ], "docs": { "summary": "Gets the CSS code that loads the specified fonts.", @@ -574,12 +574,13 @@ "extra": { } }, { "name": "getSiteThemeHtml", - "labels": [], + "labels": + [ "changed" ], "nameParams": [], "params": - [ { "name": "testId", - "type": "string", - "doc": "An identifier that will be added in a `data-test-id` attribute on the returned HTML element. You can use this identifier to locate the HTML element when testing your cod." } ], + [ { "name": "options", + "type": "wix-site-frontend.getSiteThemeHtmlOptions", + "doc": "The options used when getting the HTML element." } ], "ret": { "type": { "name": "Promise", @@ -1471,7 +1472,24 @@ "labels": [] }, { "name": "getFontsHtmlOptions", "locations": - [ { "lineno": 331, + [ { "lineno": 337, + "filename": "site-frontend.js" } ], + "docs": + { "summary": "The options used when getting the font loader's HTML element.", + "links": [], + "examples": [], + "extra": + { } }, + "members": + [ { "name": "testId", + "type": "string", + "doc": "An identifier that is added in a `data-test-id` attribute on the returned HTML element. You can use this identifier to locate the HTML element when testing your code." } ], + "extra": + { }, + "labels": [] }, + { "name": "getSiteThemeHtmlOptions", + "locations": + [ { "lineno": 316, "filename": "site-frontend.js" } ], "docs": { "summary": "The options used when getting the font loader's HTML element.", @@ -1486,7 +1504,7 @@ "extra": { }, "labels": - [ "changed" ] } ], + [ "new" ] } ], "extra": { "scopes": [ "frontend" ] } } \ No newline at end of file From 35f79981d3ca21027a8dd5f2b8acb791000015e5 Mon Sep 17 00:00:00 2001 From: joshua-sc Date: Tue, 10 Dec 2024 09:03:46 +0200 Subject: [PATCH 07/11] DocWorks for js-wixcode-sdk - 2 changes detected, but 36 issue detected changes: Service wix-site-frontend operation getFontsHtml has changed param options doc Service wix-site-frontend operation getSiteThemeHtml has changed param options doc issues: Message ViewChangeEventOptions has an unknown property type * (ApppointmentFieldEvent.js (8)) Message Accessibility has an unknown property type $w.CollapsibleText (Box.js (76)) Message Accessibility has an unknown property type $w.CollapsibleText (Box.js (76)) Message Accessibility has an unknown property type $w.CollapsibleText (Button.js (280)) Message Accessibility has an unknown property type $w.CollapsibleText (Button.js (280)) Message Accessibility has an unknown property type $w.CollapsibleText (Checkbox.js (218)) Message Accessibility has an unknown property type $w.CollapsibleText (Checkbox.js (218)) Message Accessibility has an unknown property type $w.CollapsibleText (Column.js (44)) Message Accessibility has an unknown property type $w.CollapsibleText (Column.js (44)) Message Accessibility has an unknown property type $w.CollapsibleText (ColumnStrip.js (75)) Message Accessibility has an unknown property type $w.CollapsibleText (ColumnStrip.js (75)) Message Accessibility has an unknown property type $w.CollapsibleText (Container.js (69)) Message Accessibility has an unknown property type $w.CollapsibleText (Container.js (69)) Message Accessibility has an unknown property type $w.CollapsibleText (DropDown.js (326)) Message Accessibility has an unknown property type $w.CollapsibleText (DropDown.js (326)) 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)) Message ScreenReader is defined two or more times (ColumnStrip.js (97), Text.js (225)) Message Accessibility has an unknown property type $w.CollapsibleText (Text.js (202)) Message Ac ... --- js-wixcode-sdk/wix-site-frontend.service.json | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/js-wixcode-sdk/wix-site-frontend.service.json b/js-wixcode-sdk/wix-site-frontend.service.json index 1fd93646c9..b3d3805462 100644 --- a/js-wixcode-sdk/wix-site-frontend.service.json +++ b/js-wixcode-sdk/wix-site-frontend.service.json @@ -257,7 +257,8 @@ { } } ], "operations": [ { "name": "getFontsHtml", - "labels": [], + "labels": + [ "changed" ], "nameParams": [], "params": [ { "name": "fonts", @@ -268,7 +269,8 @@ "doc": "List of fonts." }, { "name": "options", "type": "wix-site-frontend.getFontsHtmlOptions", - "doc": "The options used when getting the HTML element." } ], + "doc": "The options used when getting the HTML element.", + "optional": true } ], "ret": { "type": { "name": "Promise", @@ -580,7 +582,8 @@ "params": [ { "name": "options", "type": "wix-site-frontend.getSiteThemeHtmlOptions", - "doc": "The options used when getting the HTML element." } ], + "doc": "The options used when getting the HTML element.", + "optional": true } ], "ret": { "type": { "name": "Promise", @@ -1503,8 +1506,7 @@ "doc": "An identifier that is added in a `data-test-id` attribute on the returned HTML element. You can use this identifier to locate the HTML element when testing your code." } ], "extra": { }, - "labels": - [ "new" ] } ], + "labels": [] } ], "extra": { "scopes": [ "frontend" ] } } \ No newline at end of file From 5e7f53acc748f61e1f766df94c6fc00e968afffb Mon Sep 17 00:00:00 2001 From: joshua-sc Date: Thu, 12 Dec 2024 15:40:00 +0200 Subject: [PATCH 08/11] DocWorks for js-wixcode-sdk - 8 changes detected, but 36 issue detected changes: Service wix-site-frontend operation getFontsHtml has changed return doc Service wix-site-frontend operation getFontsHtml has changed summary Service wix-site-frontend operation getFontsHtml has changed description Service wix-site-frontend operation getSiteThemeHtml has changed return doc Service wix-site-frontend operation getSiteThemeHtml has changed summary Service wix-site-frontend operation getSiteThemeHtml has changed description Service wix-site-frontend message getFontsHtmlOptions has changed summary Service wix-site-frontend message getSiteThemeHtmlOptions has changed summary issues: Message ViewChangeEventOptions has an unknown property type * (ApppointmentFieldEvent.js (8)) Message Accessibility has an unknown property type $w.CollapsibleText (Box.js (76)) Message Accessibility has an unknown property type $w.CollapsibleText (Box.js (76)) Message Accessibility has an unknown property type $w.CollapsibleText (Button.js (280)) Message Accessibility has an unknown property type $w.CollapsibleText (Button.js (280)) Message Accessibility has an unknown property type $w.CollapsibleText (Checkbox.js (218)) Message Accessibility has an unknown property type $w.CollapsibleText (Checkbox.js (218)) Message Accessibility has an unknown property type $w.CollapsibleText (Column.js (44)) Message Accessibility has an unknown property type $w.CollapsibleText (Column.js (44)) Message Accessibility has an unknown property type $w.CollapsibleText (ColumnStrip.js (75)) Message Accessibility has an unknown property type $w.CollapsibleText (ColumnStrip.js (75)) Message Accessibility has an unknown property type $w.CollapsibleText (Container.js (69)) Message Accessibility has an unknown property type $w.CollapsibleText (Container.js (69)) Message Accessibility has an unknown property type $w.CollapsibleText (DropDown.js (326)) Message Accessibility has an unknown property type $w.CollapsibleText (D ... --- js-wixcode-sdk/wix-site-frontend.service.json | 30 ++++++++++--------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/js-wixcode-sdk/wix-site-frontend.service.json b/js-wixcode-sdk/wix-site-frontend.service.json index b3d3805462..4ef43c79c7 100644 --- a/js-wixcode-sdk/wix-site-frontend.service.json +++ b/js-wixcode-sdk/wix-site-frontend.service.json @@ -276,14 +276,16 @@ { "name": "Promise", "typeParams": [ "string" ] }, - "doc": "Fulfilled - HTML element containing the CSS of the site's fonts." }, + "doc": "Fulfilled - HTML element containing the CSS code that loads the fonts." }, "locations": - [ { "lineno": 323, + [ { "lineno": 324, "filename": "site-frontend.js" } ], "docs": - { "summary": "Gets the CSS code that loads the specified fonts.", + { "summary": "Gets an HTML element containing CSS code to load fonts.", "description": - [ "Use the `getFontsHtml()` function to" ], + [ "Use the `getFontsHtml()` function to get an HTML element containing the CSS code that loads one or more fonts. ", + "This function is useful when embedding a custom element in a Wix site where the page's stylesheet fonts", + "are inaccessible, such as when using a shadow root or an internal iframe." ], "links": [], "examples": [ { "title": "Get the CSS that loads specific fonts", @@ -589,14 +591,12 @@ { "name": "Promise", "typeParams": [ "string" ] }, - "doc": "Fulfilled - HTML element containing the CSS of the site's theme." }, + "doc": "Fulfilled - HTML element containing site's theme CSS." }, "locations": [ { "lineno": 303, "filename": "site-frontend.js" } ], "docs": - { "summary": "Gets the CSS code of the site's theme.", - "description": - [ "Use the `getSiteThemeHtml()` function to" ], + { "summary": "Gets the CSS code of the site's theme.\nUse the `getSiteThemeHtml()` function to get an HTML element containing the CSS code of a site's \n[theme colors and fonts](https://support.wix.com/en/article/wix-editor-customizing-your-sites-theme-and-design). \nThis function is useful when embedding a custom element in a Wix site where the page's stylesheet \nis inaccessible, such as when using a shadow root or an internal iframe.", "links": [], "examples": [ { "title": "Get a site's theme CSS", @@ -1475,10 +1475,10 @@ "labels": [] }, { "name": "getFontsHtmlOptions", "locations": - [ { "lineno": 337, + [ { "lineno": 339, "filename": "site-frontend.js" } ], "docs": - { "summary": "The options used when getting the font loader's HTML element.", + { "summary": "The options used when getting the HTML element.", "links": [], "examples": [], "extra": @@ -1489,13 +1489,14 @@ "doc": "An identifier that is added in a `data-test-id` attribute on the returned HTML element. You can use this identifier to locate the HTML element when testing your code." } ], "extra": { }, - "labels": [] }, + "labels": + [ "changed" ] }, { "name": "getSiteThemeHtmlOptions", "locations": - [ { "lineno": 316, + [ { "lineno": 317, "filename": "site-frontend.js" } ], "docs": - { "summary": "The options used when getting the font loader's HTML element.", + { "summary": "The options used when getting HTML element.", "links": [], "examples": [], "extra": @@ -1506,7 +1507,8 @@ "doc": "An identifier that is added in a `data-test-id` attribute on the returned HTML element. You can use this identifier to locate the HTML element when testing your code." } ], "extra": { }, - "labels": [] } ], + "labels": + [ "changed" ] } ], "extra": { "scopes": [ "frontend" ] } } \ No newline at end of file From b91e541a38f1b3939188fc9b3055c5baa2ab8b98 Mon Sep 17 00:00:00 2001 From: joshua-sc Date: Thu, 12 Dec 2024 15:44:39 +0200 Subject: [PATCH 09/11] DocWorks for js-wixcode-sdk - 2 changes detected, but 36 issue detected changes: Service wix-site-frontend operation getFontsHtml.examples has 1 examples removed Service wix-site-frontend operation getSiteThemeHtml.examples has 1 examples removed issues: Message ViewChangeEventOptions has an unknown property type * (ApppointmentFieldEvent.js (8)) Message Accessibility has an unknown property type $w.CollapsibleText (Box.js (76)) Message Accessibility has an unknown property type $w.CollapsibleText (Box.js (76)) Message Accessibility has an unknown property type $w.CollapsibleText (Button.js (280)) Message Accessibility has an unknown property type $w.CollapsibleText (Button.js (280)) Message Accessibility has an unknown property type $w.CollapsibleText (Checkbox.js (218)) Message Accessibility has an unknown property type $w.CollapsibleText (Checkbox.js (218)) Message Accessibility has an unknown property type $w.CollapsibleText (Column.js (44)) Message Accessibility has an unknown property type $w.CollapsibleText (Column.js (44)) Message Accessibility has an unknown property type $w.CollapsibleText (ColumnStrip.js (75)) Message Accessibility has an unknown property type $w.CollapsibleText (ColumnStrip.js (75)) Message Accessibility has an unknown property type $w.CollapsibleText (Container.js (69)) Message Accessibility has an unknown property type $w.CollapsibleText (Container.js (69)) Message Accessibility has an unknown property type $w.CollapsibleText (DropDown.js (326)) Message Accessibility has an unknown property type $w.CollapsibleText (DropDown.js (326)) 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)) Message ScreenReader is defined two or more times (ColumnStrip.js (97), Text.js (225)) Message Accessibility has an unknown property type $w.CollapsibleText (Text.js (202)) Messag ... --- js-wixcode-sdk/wix-site-frontend.service.json | 198 +----------------- 1 file changed, 7 insertions(+), 191 deletions(-) diff --git a/js-wixcode-sdk/wix-site-frontend.service.json b/js-wixcode-sdk/wix-site-frontend.service.json index 4ef43c79c7..ed8d6bcd6f 100644 --- a/js-wixcode-sdk/wix-site-frontend.service.json +++ b/js-wixcode-sdk/wix-site-frontend.service.json @@ -278,7 +278,7 @@ [ "string" ] }, "doc": "Fulfilled - HTML element containing the CSS code that loads the fonts." }, "locations": - [ { "lineno": 324, + [ { "lineno": 323, "filename": "site-frontend.js" } ], "docs": { "summary": "Gets an HTML element containing CSS code to load fonts.", @@ -287,98 +287,7 @@ "This function is useful when embedding a custom element in a Wix site where the page's stylesheet fonts", "are inaccessible, such as when using a shadow root or an internal iframe." ], "links": [], - "examples": - [ { "title": "Get the CSS that loads specific fonts", - "body": - [ "import wixSiteFrontend from 'wix-site-frontend';", - "", - "// ...", - "", - "const structure = wixSiteFrontend.getSiteStructure();", - "const pages = structure.pages;", - "", - "/*", - " * pages:", - " * [", - " * {", - " * \"name\": \"Home\",", - " * \"type\": \"static\",", - " * \"url\": \"/home\",", - " * \"isHomePage\": true", - " * },", - " * {", - " * \"name\": \"Page 1\",", - " * \"type\": \"static\",", - " * \"url:\" /page-1\"", - " * },", - " * {", - " * \"name\": \"Page 2\",", - " * \"type\": \"static\",", - " * \"url\": \"/page-2\"", - " * },", - " * {", - " * \"name\": \"Parent Page\",", - " * \"type\": \"static\",", - " * \"url\": \"/parent-page\"", - " * },", - " * {", - " * \"name\": \"Child Page\",", - " * \"type\": \"static\",", - " * \"url\": \"/child-page\"", - " * },", - " * {", - " * \"name\": \"router-page\",", - " * \"type\": \"template\",", - " * \"prefix\": \"router\"", - " * },", - " * {", - " * \"name\": \"MyCollection (Title)\",", - " * \"type\": \"template\",", - " * \"prefix\": \"MyCollection\"", - " * },", - " * {", - " * \"name\": \"MyCollection (All)\",", - " * \"type\": \"template\",", - " * \"prefix\": \"MyCollection\"", - " * },", - " * {", - " * \"name\": \"Dashboard Page\",", - " * \"type\": \"static\"", - " * },", - " * {", - " * \"name\": \"Shop\",", - " * \"type\": \"template\",", - " * \"url\": \"/shop\",", - " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", - " * },", - " * {", - " * \"name\": \"Product Page\",", - " * \"type\": \"template\",", - " * \"url\": \"/product-page\",", - " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", - " * },", - " * {", - " * \"name\": \"Thank You Page\",", - " * \"type\": \"template\",", - " * \"url\": \"/thank-you-page\",", - " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", - " * },", - " * {", - " * \"name\": \"Cart\",", - " * \"type\": \"template\",", - " * \"url\": \"/cart\",", - " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", - " * },", - " * {", - " * \"name\": \"Members\",", - " * \"type\": \"template\",", - " * \"url\": \"/members\",", - " * \"applicationId\": \"14ad9202-3dd3-128a-57bd-e5675fd7e313\"", - " * }", - " * ]", - " */" ], - "extra": - { } } ], + "examples": [], "extra": { } }, "extra": @@ -598,98 +507,7 @@ "docs": { "summary": "Gets the CSS code of the site's theme.\nUse the `getSiteThemeHtml()` function to get an HTML element containing the CSS code of a site's \n[theme colors and fonts](https://support.wix.com/en/article/wix-editor-customizing-your-sites-theme-and-design). \nThis function is useful when embedding a custom element in a Wix site where the page's stylesheet \nis inaccessible, such as when using a shadow root or an internal iframe.", "links": [], - "examples": - [ { "title": "Get a site's theme CSS", - "body": - [ "import wixSiteFrontend from 'wix-site-frontend';", - "", - "// ...", - "", - "const structure = wixSiteFrontend.getSiteStructure();", - "const pages = structure.pages;", - "", - "/*", - " * pages:", - " * [", - " * {", - " * \"name\": \"Home\",", - " * \"type\": \"static\",", - " * \"url\": \"/home\",", - " * \"isHomePage\": true", - " * },", - " * {", - " * \"name\": \"Page 1\",", - " * \"type\": \"static\",", - " * \"url:\" /page-1\"", - " * },", - " * {", - " * \"name\": \"Page 2\",", - " * \"type\": \"static\",", - " * \"url\": \"/page-2\"", - " * },", - " * {", - " * \"name\": \"Parent Page\",", - " * \"type\": \"static\",", - " * \"url\": \"/parent-page\"", - " * },", - " * {", - " * \"name\": \"Child Page\",", - " * \"type\": \"static\",", - " * \"url\": \"/child-page\"", - " * },", - " * {", - " * \"name\": \"router-page\",", - " * \"type\": \"template\",", - " * \"prefix\": \"router\"", - " * },", - " * {", - " * \"name\": \"MyCollection (Title)\",", - " * \"type\": \"template\",", - " * \"prefix\": \"MyCollection\"", - " * },", - " * {", - " * \"name\": \"MyCollection (All)\",", - " * \"type\": \"template\",", - " * \"prefix\": \"MyCollection\"", - " * },", - " * {", - " * \"name\": \"Dashboard Page\",", - " * \"type\": \"static\"", - " * },", - " * {", - " * \"name\": \"Shop\",", - " * \"type\": \"template\",", - " * \"url\": \"/shop\",", - " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", - " * },", - " * {", - " * \"name\": \"Product Page\",", - " * \"type\": \"template\",", - " * \"url\": \"/product-page\",", - " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", - " * },", - " * {", - " * \"name\": \"Thank You Page\",", - " * \"type\": \"template\",", - " * \"url\": \"/thank-you-page\",", - " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", - " * },", - " * {", - " * \"name\": \"Cart\",", - " * \"type\": \"template\",", - " * \"url\": \"/cart\",", - " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", - " * },", - " * {", - " * \"name\": \"Members\",", - " * \"type\": \"template\",", - " * \"url\": \"/members\",", - " * \"applicationId\": \"14ad9202-3dd3-128a-57bd-e5675fd7e313\"", - " * }", - " * ]", - " */" ], - "extra": - { } } ], + "examples": [], "extra": { } }, "extra": @@ -1475,7 +1293,7 @@ "labels": [] }, { "name": "getFontsHtmlOptions", "locations": - [ { "lineno": 339, + [ { "lineno": 337, "filename": "site-frontend.js" } ], "docs": { "summary": "The options used when getting the HTML element.", @@ -1489,11 +1307,10 @@ "doc": "An identifier that is added in a `data-test-id` attribute on the returned HTML element. You can use this identifier to locate the HTML element when testing your code." } ], "extra": { }, - "labels": - [ "changed" ] }, + "labels": [] }, { "name": "getSiteThemeHtmlOptions", "locations": - [ { "lineno": 317, + [ { "lineno": 316, "filename": "site-frontend.js" } ], "docs": { "summary": "The options used when getting HTML element.", @@ -1507,8 +1324,7 @@ "doc": "An identifier that is added in a `data-test-id` attribute on the returned HTML element. You can use this identifier to locate the HTML element when testing your code." } ], "extra": { }, - "labels": - [ "changed" ] } ], + "labels": [] } ], "extra": { "scopes": [ "frontend" ] } } \ No newline at end of file From 7c58ead2b3823a7ab4ac40c32ab94bde88773ee3 Mon Sep 17 00:00:00 2001 From: joshua-sc Date: Thu, 12 Dec 2024 16:11:42 +0200 Subject: [PATCH 10/11] DocWorks for js-wixcode-sdk - 48 changes detected, but 36 issue detected changes: Service $w.Button property style has changed description Service $w.Style has changed description Service $w.Style property backgroundColor has changed description Service $w.Style property color has changed description Service $w.StyleMixin has changed description Service $w.Text has a new mixes $w.StyleMixin Service wix-site-frontend operation getFontsHtml has changed param fonts doc Service wix-site-frontend operation getSiteStructure.examples[0] has changed body Service wix-site-frontend message Prefix.examples[0] has changed body Service wix-site-frontend message SiteStructure.examples[0] has changed body Service wix-site-frontend message StructurePage.examples[1] has changed body Service wix-site operation getSiteStructure.examples[0] has changed body Service wix-site message Prefix.examples[0] has changed body Service wix-site message SiteStructure.examples[0] has changed body Service wix-site message StructurePage.examples[1] has changed body Service wix-window-frontend.Multilingual has changed summary Service wix-window-frontend.Multilingual has changed description Service wix-window-frontend.Multilingual property currentLanguage has changed summary Service wix-window-frontend.Multilingual property currentLanguage has changed description Service wix-window-frontend.Multilingual property currentLanguage.examples[0] has changed title Service wix-window-frontend.Multilingual property currentLanguage.examples[1] has changed title Service wix-window-frontend.Multilingual property currentLanguage.examples[2] has changed extra.description Service wix-window-frontend.Multilingual property currentLanguage.examples[3] has changed extra.description Service wix-window-frontend.Multilingual property currentLanguage.examples[4] has changed extra.description Service wix-window-frontend.Multilingual property isEnabled has changed summary Service wix-window-frontend.Multilingual property isEna ... --- js-wixcode-sdk/$w/Button.service.json | 44 +++++++------ js-wixcode-sdk/$w/Dataset.service.json | 2 +- js-wixcode-sdk/$w/Disabled.service.json | 2 +- js-wixcode-sdk/$w/DynamicDataset.service.json | 2 +- js-wixcode-sdk/$w/Hover.service.json | 2 +- js-wixcode-sdk/$w/LinkableMixin.service.json | 2 +- js-wixcode-sdk/$w/Style.service.json | 19 ++++-- .../$w/StyleDisabledState.service.json | 2 +- .../$w/StyleHoverState.service.json | 2 +- js-wixcode-sdk/$w/StyleMixin.service.json | 9 ++- js-wixcode-sdk/$w/Text.service.json | 26 ++++---- js-wixcode-sdk/$w/WixDataFilter.service.json | 2 +- js-wixcode-sdk/$w/WixDataSort.service.json | 2 +- js-wixcode-sdk/wix-site-frontend.service.json | 65 ++++++++++--------- js-wixcode-sdk/wix-site.service.json | 63 +++++++++--------- .../wix-window-frontend.service.json | 26 ++++---- .../Multilingual.service.json | 59 +++++++++-------- .../Rendering.service.json | 12 ++-- .../WarmupData.service.json | 41 ++++++------ 19 files changed, 210 insertions(+), 172 deletions(-) diff --git a/js-wixcode-sdk/$w/Button.service.json b/js-wixcode-sdk/$w/Button.service.json index 1fd09de404..bfb6f13c75 100644 --- a/js-wixcode-sdk/$w/Button.service.json +++ b/js-wixcode-sdk/$w/Button.service.json @@ -10,7 +10,8 @@ "$w.LabelMixin", "$w.EffectsMixin", "$w.FocusMixin" ], - "labels": [], + "labels": + [ "changed" ], "location": { "lineno": 1, "filename": "Button.js" }, @@ -29,7 +30,7 @@ "set": false, "type": "$w.Button.Accessibility", "locations": - [ { "lineno": 258, + [ { "lineno": 260, "filename": "Button.js" } ], "docs": { "summary": "Sets and gets the [Accessible Rich Internet Application (ARIA) attributes](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes) of the element.", @@ -66,9 +67,9 @@ "set": true, "type": "string", "locations": - [ { "lineno": 172, + [ { "lineno": 174, "filename": "Button.js" }, - { "lineno": 201, + { "lineno": 203, "filename": "Button.js" } ], "docs": { "summary": "Sets or gets the icon image displayed on the button.", @@ -126,7 +127,7 @@ "set": false, "type": "boolean", "locations": - [ { "lineno": 208, + [ { "lineno": 210, "filename": "Button.js" } ], "docs": { "summary": "Indicates if the button’s icon is collapsed or expanded.", @@ -177,9 +178,9 @@ "type": "string", "defaultValue": "Empty string", "locations": - [ { "lineno": 61, + [ { "lineno": 63, "filename": "Button.js" }, - { "lineno": 77, + { "lineno": 79, "filename": "Button.js" } ], "docs": { "summary": "Sets or gets a button's label.", @@ -206,9 +207,9 @@ "type": "string", "defaultValue": "An empty string", "locations": - [ { "lineno": 84, + [ { "lineno": 86, "filename": "Button.js" }, - { "lineno": 134, + { "lineno": 136, "filename": "Button.js" } ], "docs": { "summary": "Sets or gets the button's link.", @@ -284,7 +285,8 @@ "extra": { } }, { "name": "style", - "labels": [], + "labels": + [ "changed" ], "get": true, "set": false, "type": "$w.Style", @@ -301,11 +303,13 @@ " + [`borderRadius`]($w.Style.html#borderRadius)", " + [`borderWidth`]($w.Style.html#borderWidth)", " + [`color`]($w.Style.html#color)", + " + [`hover`]($w.Style.html#hover)", + " + [`disabled`]($w.Style.html#disabled)", "", "", - " Getting or setting a button's styles, gets or sets the styles of the", - " button's regular state. It does not set the styles of the button's hover", - " or disabled states.", + " Getting or setting a button's `hover` and `disabled` styles affects the button's ", + " appearance only in those respective states. All other available styles apply solely ", + " to the button's regular state. ", "", " > **Note:** Not all styles can be used on all button designs. To determine which styles", " work with a specific button design, go to the **Button Design** panel in", @@ -335,9 +339,9 @@ "type": "number", "defaultValue": "undefined", "locations": - [ { "lineno": 303, + [ { "lineno": 305, "filename": "Button.js" }, - { "lineno": 318, + { "lineno": 320, "filename": "Button.js" } ], "docs": { "summary": "Sets or gets the tab index of an element on a site page.", @@ -369,7 +373,7 @@ [ "void" ] }, "doc": "Fulfilled - when the element's `iconCollapsed` property is set to `true`." }, "locations": - [ { "lineno": 243, + [ { "lineno": 245, "filename": "Button.js" } ], "docs": { "summary": "Collapses the button’s icon and sets its `iconCollapsed` property to `true`.", @@ -405,7 +409,7 @@ [ "void" ] }, "doc": "Fulfilled - when the element's `iconCollapsed` property is set to `false`." }, "locations": - [ { "lineno": 231, + [ { "lineno": 233, "filename": "Button.js" } ], "docs": { "summary": "Expands the button’s icon and sets its `iconCollapsed` property to `false`.", @@ -441,7 +445,7 @@ { "type": "$w.Button", "doc": "The element to which the event handler was added." }, "locations": - [ { "lineno": 141, + [ { "lineno": 143, "filename": "Button.js" } ], "docs": { "summary": "Adds an event handler that runs when the pointer is moved\n onto the element.", @@ -484,7 +488,7 @@ { "type": "$w.Button", "doc": "The element to which the event handler was added." }, "locations": - [ { "lineno": 157, + [ { "lineno": 159, "filename": "Button.js" } ], "docs": { "summary": "Adds an event handler that runs when the pointer is moved\n off of the element.", @@ -520,7 +524,7 @@ "messages": [ { "name": "Accessibility", "locations": - [ { "lineno": 280, + [ { "lineno": 282, "filename": "Button.js" } ], "docs": { "summary": "An object containing attributes to make your Wix elements more accessible.", diff --git a/js-wixcode-sdk/$w/Dataset.service.json b/js-wixcode-sdk/$w/Dataset.service.json index 272703e18c..c63cc31b9d 100644 --- a/js-wixcode-sdk/$w/Dataset.service.json +++ b/js-wixcode-sdk/$w/Dataset.service.json @@ -2,7 +2,7 @@ "memberOf": "$w", "mixes": [], "labels": - [ "removed" ], + [ "new" ], "location": { "lineno": 1, "filename": "datasetApi.js" }, diff --git a/js-wixcode-sdk/$w/Disabled.service.json b/js-wixcode-sdk/$w/Disabled.service.json index f707563c73..976e36c22d 100644 --- a/js-wixcode-sdk/$w/Disabled.service.json +++ b/js-wixcode-sdk/$w/Disabled.service.json @@ -2,7 +2,7 @@ "memberOf": "$w", "mixes": [], "labels": - [ "removed" ], + [ "new" ], "location": { "lineno": 1, "filename": "StyleDisabledState.js" }, diff --git a/js-wixcode-sdk/$w/DynamicDataset.service.json b/js-wixcode-sdk/$w/DynamicDataset.service.json index 530cc9d47c..087fef0947 100644 --- a/js-wixcode-sdk/$w/DynamicDataset.service.json +++ b/js-wixcode-sdk/$w/DynamicDataset.service.json @@ -3,7 +3,7 @@ "mixes": [ "$w.Dataset" ], "labels": - [ "removed" ], + [ "new" ], "location": { "lineno": 1987, "filename": "datasetApi.js" }, diff --git a/js-wixcode-sdk/$w/Hover.service.json b/js-wixcode-sdk/$w/Hover.service.json index 3d4313214a..a8beb9a07b 100644 --- a/js-wixcode-sdk/$w/Hover.service.json +++ b/js-wixcode-sdk/$w/Hover.service.json @@ -2,7 +2,7 @@ "memberOf": "$w", "mixes": [], "labels": - [ "removed" ], + [ "new" ], "location": { "lineno": 1, "filename": "StyleHoverState.js" }, diff --git a/js-wixcode-sdk/$w/LinkableMixin.service.json b/js-wixcode-sdk/$w/LinkableMixin.service.json index 9d13855695..371e26a479 100644 --- a/js-wixcode-sdk/$w/LinkableMixin.service.json +++ b/js-wixcode-sdk/$w/LinkableMixin.service.json @@ -118,7 +118,7 @@ { } }, { "name": "rel", "labels": - [ "removed" ], + [ "new" ], "get": true, "set": true, "type": "string", diff --git a/js-wixcode-sdk/$w/Style.service.json b/js-wixcode-sdk/$w/Style.service.json index 7c7921ea2c..ee81247450 100644 --- a/js-wixcode-sdk/$w/Style.service.json +++ b/js-wixcode-sdk/$w/Style.service.json @@ -1,7 +1,8 @@ { "name": "Style", "memberOf": "$w", "mixes": [], - "labels": [], + "labels": + [ "changed" ], "location": { "lineno": 1, "filename": "StyleMixin.js" }, @@ -23,6 +24,8 @@ " + [`ProgressBar`]($w.ProgressBar.html)", " + [`QuickActionBar`]($w.QuickActionBar.html)", " + [`RadioButtonGroup`]($w.RadioButtonGroup.html)", + " + [`Section`]($w.Section.html)", + " + [`Text`]($w.Text.html)", " + [`TextBox`]($w.TextBox.html)", " + [`TextInput`]($w.TextInput.html)", " + [`UploadButton`]($w.UploadButton.html)" ], @@ -32,7 +35,8 @@ { } }, "properties": [ { "name": "backgroundColor", - "labels": [], + "labels": + [ "changed" ], "get": true, "set": true, "type": "string", @@ -65,6 +69,7 @@ " + [`Header`]($w.Header.html)", " + [`ProgressBar`]($w.ProgressBar.html)", " + [`RadioButtonGroup`]($w.RadioButtonGroup.html)", + " + [`Section`]($w.Section.html)", " + [`SignatureInput`]($w.SignatureInput.html)", " + [`TextBox`]($w.TextBox.html)", " + [`TextInput`]($w.TextInput.html)", @@ -224,7 +229,8 @@ "extra": { } }, { "name": "color", - "labels": [], + "labels": + [ "changed" ], "get": true, "set": true, "type": "string", @@ -249,6 +255,7 @@ " + [`CheckboxGroup`]($w.CheckboxGroup.html)", " + [`Dropdown`]($w.Dropdown.html)", " + [`RadioButtonGroup`]($w.RadioButtonGroup.html)", + " + [`Text`]($w.Text.html)", " + [`TextBox`]($w.TextBox.html)", " + [`TextInput`]($w.TextInput.html) ", " + [`UploadButton`]($w.UploadButton.html)" ], @@ -270,7 +277,7 @@ { } }, { "name": "disabled", "labels": - [ "removed" ], + [ "new" ], "get": true, "set": false, "type": "$w.Disabled", @@ -368,7 +375,7 @@ { } }, { "name": "hover", "labels": - [ "removed" ], + [ "new" ], "get": true, "set": false, "type": "$w.Hover", @@ -425,7 +432,7 @@ { } }, { "name": "iconColor", "labels": - [ "removed" ], + [ "new" ], "get": true, "set": true, "type": "string", diff --git a/js-wixcode-sdk/$w/StyleDisabledState.service.json b/js-wixcode-sdk/$w/StyleDisabledState.service.json index 39a907b7e5..e4e17f0463 100644 --- a/js-wixcode-sdk/$w/StyleDisabledState.service.json +++ b/js-wixcode-sdk/$w/StyleDisabledState.service.json @@ -2,7 +2,7 @@ "memberOf": "$w", "mixes": [], "labels": - [ "removed" ], + [ "new" ], "location": { "lineno": 15, "filename": "StyleDisabledState.js" }, diff --git a/js-wixcode-sdk/$w/StyleHoverState.service.json b/js-wixcode-sdk/$w/StyleHoverState.service.json index fb133e7ae3..06b9fc436f 100644 --- a/js-wixcode-sdk/$w/StyleHoverState.service.json +++ b/js-wixcode-sdk/$w/StyleHoverState.service.json @@ -2,7 +2,7 @@ "memberOf": "$w", "mixes": [], "labels": - [ "removed" ], + [ "new" ], "location": { "lineno": 15, "filename": "StyleHoverState.js" }, diff --git a/js-wixcode-sdk/$w/StyleMixin.service.json b/js-wixcode-sdk/$w/StyleMixin.service.json index d371a6f09b..2105d85b51 100644 --- a/js-wixcode-sdk/$w/StyleMixin.service.json +++ b/js-wixcode-sdk/$w/StyleMixin.service.json @@ -1,9 +1,10 @@ { "name": "StyleMixin", "memberOf": "$w", "mixes": [], - "labels": [], + "labels": + [ "changed" ], "location": - { "lineno": 27, + { "lineno": 29, "filename": "StyleMixin.js" }, "docs": { "summary": "Provides functionality for elements that can be styled.", @@ -22,6 +23,8 @@ " + [`ProgressBar`]($w.ProgressBar.html)", " + [`QuickActionBar`]($w.QuickActionBar.html)", " + [`RadioButtonGroup`]($w.RadioButtonGroup.html)", + " + [`Section`]($w.Section.html)", + " + [`Text`]($w.Text.html)", " + [`TextBox`]($w.TextBox.html)", " + [`TextInput`]($w.TextInput.html)", " + [`UploadButton`]($w.UploadButton.html)", @@ -57,7 +60,7 @@ "set": false, "type": "$w.Style", "locations": - [ { "lineno": 75, + [ { "lineno": 79, "filename": "StyleMixin.js" } ], "docs": { "summary": "Gets an object containing information about the element's styles.", diff --git a/js-wixcode-sdk/$w/Text.service.json b/js-wixcode-sdk/$w/Text.service.json index 2496dd51d0..87719f9543 100644 --- a/js-wixcode-sdk/$w/Text.service.json +++ b/js-wixcode-sdk/$w/Text.service.json @@ -5,8 +5,10 @@ "$w.HiddenCollapsedMixin", "$w.ClickableMixin", "$w.EffectsMixin", - "$w.FocusMixin" ], - "labels": [], + "$w.FocusMixin", + "$w.StyleMixin" ], + "labels": + [ "changed" ], "location": { "lineno": 1, "filename": "Text.js" }, @@ -105,7 +107,7 @@ "set": false, "type": "$w.Text.Accessibility", "locations": - [ { "lineno": 173, + [ { "lineno": 195, "filename": "Text.js" } ], "docs": { "summary": "Sets and gets the [Accessible Rich Internet Application (ARIA) attributes](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes) of the element.", @@ -145,9 +147,9 @@ "set": true, "type": "string", "locations": - [ { "lineno": 101, + [ { "lineno": 124, "filename": "Text.js" }, - { "lineno": 135, + { "lineno": 158, "filename": "Text.js" } ], "docs": { "summary": "Sets or gets the contents of a text element using standard HTML.", @@ -194,7 +196,7 @@ { } }, { "name": "style", "labels": - [ "removed" ], + [ "new" ], "get": true, "set": false, "type": "$w.Style", @@ -232,9 +234,9 @@ "type": "number", "defaultValue": "undefined", "locations": - [ { "lineno": 237, + [ { "lineno": 260, "filename": "Text.js" }, - { "lineno": 252, + { "lineno": 275, "filename": "Text.js" } ], "docs": { "summary": "Sets or gets the tab index of an element on a site page.", @@ -261,9 +263,9 @@ "type": "string", "defaultValue": "An empty string", "locations": - [ { "lineno": 142, + [ { "lineno": 165, "filename": "Text.js" }, - { "lineno": 171, + { "lineno": 194, "filename": "Text.js" } ], "docs": { "summary": "Sets or gets the plain-text contents of a text element.", @@ -300,7 +302,7 @@ "messages": [ { "name": "Accessibility", "locations": - [ { "lineno": 202, + [ { "lineno": 225, "filename": "Text.js" } ], "docs": { "summary": "An object containing attributes to make your Wix elements more accessible.", @@ -344,7 +346,7 @@ "locations": [ { "lineno": 97, "filename": "ColumnStrip.js" }, - { "lineno": 225, + { "lineno": 248, "filename": "Text.js" } ], "docs": { "summary": "Adds hidden text before or after a text element using the `screenReader.prefix` and `screenReader.suffix` properties. This helps screen readers better understand the content of your text element. For example, screen readers don't effectively communicate text styles such as strikethrough. Use `screenReader` to provide context for the styled text.", diff --git a/js-wixcode-sdk/$w/WixDataFilter.service.json b/js-wixcode-sdk/$w/WixDataFilter.service.json index cd29bcd10e..c95e944c11 100644 --- a/js-wixcode-sdk/$w/WixDataFilter.service.json +++ b/js-wixcode-sdk/$w/WixDataFilter.service.json @@ -2,7 +2,7 @@ "memberOf": "$w", "mixes": [], "labels": - [ "removed" ], + [ "new" ], "location": { "lineno": 1417, "filename": "datasetApi.js" }, diff --git a/js-wixcode-sdk/$w/WixDataSort.service.json b/js-wixcode-sdk/$w/WixDataSort.service.json index 5249dc9b4f..bd3aac9419 100644 --- a/js-wixcode-sdk/$w/WixDataSort.service.json +++ b/js-wixcode-sdk/$w/WixDataSort.service.json @@ -2,7 +2,7 @@ "memberOf": "$w", "mixes": [], "labels": - [ "removed" ], + [ "new" ], "location": { "lineno": 1920, "filename": "datasetApi.js" }, diff --git a/js-wixcode-sdk/wix-site-frontend.service.json b/js-wixcode-sdk/wix-site-frontend.service.json index ed8d6bcd6f..e23f2d43f9 100644 --- a/js-wixcode-sdk/wix-site-frontend.service.json +++ b/js-wixcode-sdk/wix-site-frontend.service.json @@ -266,7 +266,7 @@ { "name": "Array", "typeParams": [ "string" ] }, - "doc": "List of fonts." }, + "doc": "List of fonts to be loaded, where each font is a valid `font` CSS property." }, { "name": "options", "type": "wix-site-frontend.getFontsHtmlOptions", "doc": "The options used when getting the HTML element.", @@ -321,7 +321,8 @@ "extra": { } }, { "name": "getSiteStructure", - "labels": [], + "labels": + [ "changed" ], "nameParams": [], "params": [], "ret": @@ -398,25 +399,25 @@ "* \"name\": \"Shop\",", "* \"type\": \"template\",", "* \"url\": \"/shop\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Product Page\",", "* \"type\": \"template\",", "* \"url\": \"/product-page\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Thank You Page\",", "* \"type\": \"template\",", "* \"url\": \"/thank-you-page\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Cart\",", "* \"type\": \"template\",", "* \"url\": \"/cart\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Members\",", @@ -445,25 +446,25 @@ "* \"name\": \"Shop\",", "* \"type\": \"app\",", "* \"prefix: \"/shop\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Product Page\",", "* \"type\": \"app\",", "* \"prefix\": \"/product-page\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Thank You Page\",", "* \"type\": \"app\",", "* \"prefix\": \"/thank-you-page\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Cart\",", "* \"type\": \"app\",", "* \"url\": \"/cart\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Members\",", @@ -487,8 +488,7 @@ "extra": { } }, { "name": "getSiteThemeHtml", - "labels": - [ "changed" ], + "labels": [], "nameParams": [], "params": [ { "name": "options", @@ -861,25 +861,25 @@ " * \"name\": \"Shop\",", " * \"type\": \"app\",", " * \"prefix\": \"/shop\",", - " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", " * },", " * {", " * \"name\": \"Product Page\",", " * \"type\": \"app\",", " * \"prefix\": \"/product-page\",", - " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", " * },", " * {", " * \"name\": \"Thank You Page\",", " * \"type\": \"app\",", " * \"prefix\": \"/thank-you-page\",", - " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", " * },", " * {", " * \"name\": \"Cart\",", " * \"type\": \"app\",", " * \"prefix\": \"/cart\",", - " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", " * },", " * {", " * \"name\": \"Members\",", @@ -910,7 +910,8 @@ "optional": true } ], "extra": { }, - "labels": [] }, + "labels": + [ "changed" ] }, { "name": "SiteStructure", "locations": [ { "lineno": 17, @@ -980,25 +981,25 @@ "* \"name\": \"Shop\",", "* \"type\": \"template\",", "* \"url\": \"/shop\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Product Page\",", "* \"type\": \"template\",", "* \"url\": \"/product-page\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Thank You Page\",", "* \"type\": \"template\",", "* \"url\": \"/thank-you-page\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Cart\",", "* \"type\": \"template\",", "* \"url\": \"/cart\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Members\",", @@ -1027,25 +1028,25 @@ "* \"name\": \"Shop\",", "* \"type\": \"app\",", "* \"prefix: \"/shop\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Product Page\",", "* \"type\": \"app\",", "* \"prefix\": \"/product-page\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Thank You Page\",", "* \"type\": \"app\",", "* \"prefix\": \"/thank-you-page\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Cart\",", "* \"type\": \"app\",", "* \"url\": \"/cart\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Members\",", @@ -1087,7 +1088,8 @@ "doc": "The site's lightboxes." } ], "extra": { }, - "labels": [] }, + "labels": + [ "changed" ] }, { "name": "StructureLightbox", "locations": [ { "lineno": 74, @@ -1232,25 +1234,25 @@ " * \"name\": \"Shop\",", " * \"type\": \"template\",", " * \"url\": \"/shop\",", - " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", " * },", " * {", " * \"name\": \"Product Page\",", " * \"type\": \"template\",", " * \"url\": \"/product-page\",", - " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", " * },", " * {", " * \"name\": \"Thank You Page\",", " * \"type\": \"template\",", " * \"url\": \"/thank-you-page\",", - " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", " * },", " * {", " * \"name\": \"Cart\",", " * \"type\": \"template\",", " * \"url\": \"/cart\",", - " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", " * },", " * {", " * \"name\": \"Members\",", @@ -1290,7 +1292,8 @@ "optional": true } ], "extra": { }, - "labels": [] }, + "labels": + [ "changed" ] }, { "name": "getFontsHtmlOptions", "locations": [ { "lineno": 337, diff --git a/js-wixcode-sdk/wix-site.service.json b/js-wixcode-sdk/wix-site.service.json index 7c18dab7ce..a5800c3263 100644 --- a/js-wixcode-sdk/wix-site.service.json +++ b/js-wixcode-sdk/wix-site.service.json @@ -1,6 +1,7 @@ { "name": "wix-site", "mixes": [], - "labels": [], + "labels": + [ "changed" ], "location": { "lineno": 1, "filename": "site.js" }, @@ -284,7 +285,8 @@ "extra": { } }, { "name": "getSiteStructure", - "labels": [], + "labels": + [ "changed" ], "nameParams": [], "params": [], "ret": @@ -361,25 +363,25 @@ "* \"name\": \"Shop\",", "* \"type\": \"template\",", "* \"url\": \"/shop\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Product Page\",", "* \"type\": \"template\",", "* \"url\": \"/product-page\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Thank You Page\",", "* \"type\": \"template\",", "* \"url\": \"/thank-you-page\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Cart\",", "* \"type\": \"template\",", "* \"url\": \"/cart\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Members\",", @@ -408,25 +410,25 @@ "* \"name\": \"Shop\",", "* \"type\": \"app\",", "* \"prefix: \"/shop\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Product Page\",", "* \"type\": \"app\",", "* \"prefix\": \"/product-page\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Thank You Page\",", "* \"type\": \"app\",", "* \"prefix\": \"/thank-you-page\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Cart\",", "* \"type\": \"app\",", "* \"url\": \"/cart\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Members\",", @@ -798,25 +800,25 @@ " * \"name\": \"Shop\",", " * \"type\": \"app\",", " * \"prefix\": \"/shop\",", - " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", " * },", " * {", " * \"name\": \"Product Page\",", " * \"type\": \"app\",", " * \"prefix\": \"/product-page\",", - " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", " * },", " * {", " * \"name\": \"Thank You Page\",", " * \"type\": \"app\",", " * \"prefix\": \"/thank-you-page\",", - " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", " * },", " * {", " * \"name\": \"Cart\",", " * \"type\": \"app\",", " * \"prefix\": \"/cart\",", - " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", " * },", " * {", " * \"name\": \"Members\",", @@ -847,7 +849,8 @@ "optional": true } ], "extra": { }, - "labels": [] }, + "labels": + [ "changed" ] }, { "name": "SiteStructure", "locations": [ { "lineno": 17, @@ -917,25 +920,25 @@ "* \"name\": \"Shop\",", "* \"type\": \"template\",", "* \"url\": \"/shop\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Product Page\",", "* \"type\": \"template\",", "* \"url\": \"/product-page\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Thank You Page\",", "* \"type\": \"template\",", "* \"url\": \"/thank-you-page\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Cart\",", "* \"type\": \"template\",", "* \"url\": \"/cart\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Members\",", @@ -964,25 +967,25 @@ "* \"name\": \"Shop\",", "* \"type\": \"app\",", "* \"prefix: \"/shop\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Product Page\",", "* \"type\": \"app\",", "* \"prefix\": \"/product-page\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Thank You Page\",", "* \"type\": \"app\",", "* \"prefix\": \"/thank-you-page\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Cart\",", "* \"type\": \"app\",", "* \"url\": \"/cart\",", - "* \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + "* \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", "* },", "* {", "* \"name\": \"Members\",", @@ -1024,7 +1027,8 @@ "doc": "The site's lightboxes." } ], "extra": { }, - "labels": [] }, + "labels": + [ "changed" ] }, { "name": "StructureLightbox", "locations": [ { "lineno": 74, @@ -1169,25 +1173,25 @@ " * \"name\": \"Shop\",", " * \"type\": \"template\",", " * \"url\": \"/shop\",", - " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", " * },", " * {", " * \"name\": \"Product Page\",", " * \"type\": \"template\",", " * \"url\": \"/product-page\",", - " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", " * },", " * {", " * \"name\": \"Thank You Page\",", " * \"type\": \"template\",", " * \"url\": \"/thank-you-page\",", - " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", " * },", " * {", " * \"name\": \"Cart\",", " * \"type\": \"template\",", " * \"url\": \"/cart\",", - " * \"applicationId\": \"1380b703-ce81-ff05-f115-39571d94dfcd\"", + " * \"applicationId\": \"215238eb-22a5-4c36-9e7b-e7c08025e04e\"", " * },", " * {", " * \"name\": \"Members\",", @@ -1227,7 +1231,8 @@ "optional": true } ], "extra": { }, - "labels": [] } ], + "labels": + [ "changed" ] } ], "extra": { "scopes": [ "frontend" ] }, diff --git a/js-wixcode-sdk/wix-window-frontend.service.json b/js-wixcode-sdk/wix-window-frontend.service.json index f49dfde595..6a3d74b907 100644 --- a/js-wixcode-sdk/wix-window-frontend.service.json +++ b/js-wixcode-sdk/wix-window-frontend.service.json @@ -1,6 +1,7 @@ { "name": "wix-window-frontend", "mixes": [], - "labels": [], + "labels": + [ "changed" ], "location": { "lineno": 1, "filename": "window-frontend.js" }, @@ -170,7 +171,8 @@ "extra": { } }, { "name": "multilingual", - "labels": [], + "labels": + [ "changed" ], "get": true, "set": false, "type": "wix-window-frontend.Multilingual", @@ -178,10 +180,10 @@ [ { "lineno": 1118, "filename": "window-frontend.js" } ], "docs": - { "summary": "The Multilingual API is used when working with the languages in a multilingual site.", + { "summary": "The Multilingual API is used when working with languages in a multilingual site.", "description": [ "A multilingual site is a site that is set up to display in more than one", - " language. To learn more about enabling multilingual functionality in your", + " language. To learn more about enabling multilingual functionality in a", " site, see [About Wix Multilingual](https://support.wix.com/en/article/about-wix-multilingual).", "", " To use the Multilingual API, import `wixWindowFrontend` from the `wix-window-frontend` module:", @@ -249,7 +251,8 @@ "extra": { } }, { "name": "rendering", - "labels": [], + "labels": + [ "changed" ], "get": true, "set": false, "type": "wix-window-frontend.Rendering", @@ -259,7 +262,7 @@ "docs": { "summary": "The [Rendering API](wix-window-frontend.html#rendering) is used to control when code is run as a page is being loaded.", "description": - [ "When possible, the rendering process that runs when your page loads is", + [ "When possible, the rendering process that runs when a page loads is", " split in two in order to improve performance. The first cycle in the process", " happens server-side and the second cycle happens client-side. When not", " possible, all rendering happens client-side.", @@ -310,7 +313,8 @@ "extra": { } }, { "name": "warmupData", - "labels": [], + "labels": + [ "changed" ], "get": true, "set": false, "type": "wix-window-frontend.WarmupData", @@ -333,14 +337,14 @@ " + When browser rendering happens before server-side rendering.", " + When there is only browser rendering, for example in case visitors navigate from page to page within a site.", "", - " Your page code must check for these scenarios and provide a fallback alternative for getting the data.", + " The page code must check for these scenarios and provide a fallback alternative for getting the data.", "", - " Use the `warmupData` API and `env` property of the [Rendering API](https://www.wix.com/velo/reference/wix-window-frontend/rendering/env) ", + " Use the Warmup Data API and the `env` property of the Rendering API", " to track when and where your code is running. This lets you selectively run parts of your code.", "", " > **Notes:**", - " > + Rendering never occurs server-side when previewing your site.", - " > + Backend rendering only occurs when visitors initially enter the site, and not when visitors navigate from page-to-page within the site.", + " > + Rendering never occurs server-side when previewing a site.", + " > + Backend rendering only occurs when visitors initially enter a site, and not when visitors navigate from page-to-page within a site.", "", " To use the Warmup Data API, import `warmupData` from the `wix-window-frontend` module:", "", diff --git a/js-wixcode-sdk/wix-window-frontend/Multilingual.service.json b/js-wixcode-sdk/wix-window-frontend/Multilingual.service.json index 65a1a16840..8256ed1015 100644 --- a/js-wixcode-sdk/wix-window-frontend/Multilingual.service.json +++ b/js-wixcode-sdk/wix-window-frontend/Multilingual.service.json @@ -1,15 +1,16 @@ { "name": "Multilingual", "memberOf": "wix-window-frontend", "mixes": [], - "labels": [], + "labels": + [ "changed" ], "location": { "lineno": 1100, "filename": "window-frontend.js" }, "docs": - { "summary": "The Multilingual API is used when working with the languages in a multilingual site.", + { "summary": "The Multilingual API is used when working with languages in a multilingual site.", "description": [ "A multilingual site is a site that is set up to display in more than one", - " language. To learn more about enabling multilingual functionality in your", + " language. To learn more about enabling multilingual functionality in a", " site, see [About Wix Multilingual](https://support.wix.com/en/article/about-wix-multilingual).", "", " To use the Multilingual API, import `wixWindowFrontend` from the `wix-window-frontend` module:", @@ -25,7 +26,8 @@ { } }, "properties": [ { "name": "currentLanguage", - "labels": [], + "labels": + [ "changed" ], "get": true, "set": true, "type": "string", @@ -35,21 +37,21 @@ { "lineno": 1149, "filename": "window-frontend.js" } ], "docs": - { "summary": "Sets or gets the site's current display language.", + { "summary": "Sets or gets a site's current display language.", "description": - [ "Setting the `currentLanguage` property changes the site's display language.", + [ "Setting the `currentLanguage` property changes a site's display language.", " The current page is reloaded in the newly set language.", "", " Set the current language using a two-letter language code. The code must", - " represent one of [the languages set to show on your site](https://support.wix.com/en/article/managing-languages-in-a-multilingual-site).", - " You can retrieve your site's languages and corresponding language codes using", + " represent one of [the languages set to show on a site](https://support.wix.com/en/article/managing-languages-in-a-multilingual-site).", + " You can retrieve a site's languages and corresponding language codes using", " the [`siteLanguages`](#siteLanguages) property.", "", " Getting the `currentLanguage` property gets the two-letter language code", - " of the site's current display language." ], + " of a site's current display language." ], "links": [], "examples": - [ { "title": "Get the site's current display language", + [ { "title": "Get a site's current display language", "body": [ "import wixWindowFrontend from 'wix-window-frontend';", "", @@ -58,7 +60,7 @@ "let language = wixWindowFrontend.multilingual.currentLanguage; // \"en\"" ], "extra": { } }, - { "title": "Set the site's current display language", + { "title": "Set a site's current display language", "body": [ "import wixWindowFrontend from 'wix-window-frontend';", "", @@ -85,7 +87,7 @@ "} );", "" ], "extra": - { "description": "This example assumes you have a site set up to display in both English and\n Spanish. It also assumes you have a button with the ID **toggleLanguage**.\n\n An `onClick` event handler is registered for the button. The event handler\n checks the site's current language and then sets the site to change to the\n other available language." } }, + { "description": "This example assumes a site is set up to display in both English and\n Spanish. It also assumes this site has a button with the ID **toggleLanguage**.\n\n An `onClick` event handler is registered for the button. The event handler\n checks the site's current language and then sets the site to change to the\n other available language." } }, { "title": "Create a dropdown used to change between available languages", "body": [ "import wixWindowFrontend from 'wix-window-frontend';", @@ -110,7 +112,7 @@ "});", "" ], "extra": - { "description": "This example assumes you have a site set up to display in multiple languages.\n It also assumes you have a dropdown element with the ID **languageDropdown**.\n\n When the page loads, the site's available languages are retrieved. Then,\n the JavaScript `map()` function is used to change the retrieved language\n information into the format expected by the dropdown's `options` property.\n Next, the JavaScript `filter()` function is used remove the current language\n from the list. Finally, the dropdown's `options` property is set using the\n formatted language list.\n\n An `onChange` event handler is registered for the dropdown element. The event\n handler changes the site's current language based on the language chosen by\n the user." } }, + { "description": "This example assumes a site is set up to display in multiple languages.\n It also assumes this site has a dropdown element with the ID **languageDropdown**.\n\n When the page loads, the site's available languages are retrieved. Then,\n the JavaScript `map()` function is used to change the retrieved language\n information into the format expected by the dropdown's `options` property.\n Next, the JavaScript `filter()` function is used remove the current language\n from the list. Finally, the dropdown's `options` property is set using the\n formatted language list.\n\n An `onChange` event handler is registered for the dropdown element. The event\n handler changes the site's current language based on the language chosen by\n the user." } }, { "title": "Filter a dataset based on the site's current display language", "body": [ "import wixWindowFrontend from 'wix-window-frontend';", @@ -124,13 +126,14 @@ "} );", "" ], "extra": - { "description": "This example assumes you have a site set up to display in both English and\n Spanish. It also assumes you have a collection that contains data in both\n languages. The collection has a **language** field that indicates each item's\n language. The following code filters a dataset connected to the collection\n so it only contains items that correspond to the site's current language." } } ], + { "description": "This example assumes a site is set up to display in both English and\n Spanish. It also assumes this site has a collection that contains data in both\n languages. The collection has a **language** field that indicates each item's\n language. The following code filters a dataset connected to the collection\n so it only contains items that correspond to the site's current language." } } ], "extra": { } }, "extra": { } }, { "name": "isEnabled", - "labels": [], + "labels": + [ "changed" ], "get": true, "set": false, "type": "boolean", @@ -138,10 +141,10 @@ [ { "lineno": 1092, "filename": "window-frontend.js" } ], "docs": - { "summary": "Gets whether the site has been set up to be shown in multiple languages.", + { "summary": "Gets whether a site has been set up to be shown in multiple languages.", "links": [], "examples": - [ { "title": "Get whether the site is set up to be shown in multiple languages", + [ { "title": "Get whether a site is set up to be shown in multiple languages", "body": [ "import wixWindowFrontend from 'wix-window-frontend';", "", @@ -155,7 +158,8 @@ "extra": { } }, { "name": "siteLanguages", - "labels": [], + "labels": + [ "changed" ], "get": true, "set": false, "type": @@ -166,14 +170,14 @@ [ { "lineno": 1231, "filename": "window-frontend.js" } ], "docs": - { "summary": "Gets information about the site's languages.", + { "summary": "Gets information about a site's languages.", "description": [ "The `siteLanguages` property returns an array of `SiteLanguage`", - "objects containing information about all the languages that the site is set", + "objects containing information about all the languages that a site is set", "to display in." ], "links": [], "examples": - [ { "title": "Get information about the site's languages", + [ { "title": "Get information about a site's languages", "body": [ "import wixWindowFrontend from 'wix-window-frontend';", "", @@ -230,7 +234,7 @@ "});", "" ], "extra": - { "description": "This example assumes you have a site set up to display in multiple languages.\n It also assumes you have a dropdown element with the ID **languageDropdown**.\n\n When the page loads, the site's available languages are retrieved. Then,\n the JavaScript `map()` function is used to change the retrieved language\n information into the format expected by the dropdown's `options` property.\n Next, the JavaScript `filter()` function is used remove the current language\n from the list. Finally, the dropdown's `options` property is set using the\n formatted language list.\n\n An `onChange` event handler is registered for the dropdown element. The event\n handler changes the site's current language based on the language chosen by\n the user." } } ], + { "description": "This example assumes a site is set up to display in multiple languages.\n It also assumes this site has a dropdown element with the ID **languageDropdown**.\n\n When the page loads, the site's available languages are retrieved. Then,\n the JavaScript `map()` function is used to change the retrieved language\n information into the format expected by the dropdown's `options` property.\n Next, the JavaScript `filter()` function is used remove the current language\n from the list. Finally, the dropdown's `options` property is set using the\n formatted language list.\n\n An `onChange` event handler is registered for the dropdown element. The event\n handler changes the site's current language based on the language chosen by\n the user." } } ], "extra": { } }, "extra": @@ -243,11 +247,11 @@ [ { "lineno": 1204, "filename": "window-frontend.js" } ], "docs": - { "summary": "An object returned by the `siteLanguages` property that contains information about the site's languages.", + { "summary": "An object returned by the `siteLanguages` property that contains information about a site's languages.", "links": [ "[siteLanguages](#siteLanguages)" ], "examples": - [ { "title": "Get information about the site's languages", + [ { "title": "Get information about a site's languages", "body": [ "import wixWindowFrontend from 'wix-window-frontend';", "", @@ -304,7 +308,7 @@ "});", "" ], "extra": - { "description": "This example assumes you have a site set up to display in multiple languages.\n It also assumes you have a dropdown element with the ID **languageDropdown**.\n\n When the page loads, the site's available languages are retrieved. Then,\n the JavaScript `map()` function is used to change the retrieved language\n information into the format expected by the dropdown's `options` property.\n Next, the JavaScript `filter()` function is used remove the current language\n from the list. Finally, the dropdown's `options` property is set using the\n formatted language list.\n\n An `onChange` event handler is registered for the dropdown element. The event\n handler changes the site's current language based on the language chosen by\n the user." } } ], + { "description": "This example assumes a site is set up to display in multiple languages.\n It also assumes this site has a dropdown element with the ID **languageDropdown**.\n\n When the page loads, the site's available languages are retrieved. Then,\n the JavaScript `map()` function is used to change the retrieved language\n information into the format expected by the dropdown's `options` property.\n Next, the JavaScript `filter()` function is used remove the current language\n from the list. Finally, the dropdown's `options` property is set using the\n formatted language list.\n\n An `onChange` event handler is registered for the dropdown element. The event\n handler changes the site's current language based on the language chosen by\n the user." } } ], "extra": { } }, "members": @@ -322,9 +326,10 @@ "doc": "The language's three-letter country code." }, { "name": "isPrimaryLanguage", "type": "boolean", - "doc": "Whether the language is the site's primary language." } ], + "doc": "Whether the language is a site's primary language." } ], "extra": { }, - "labels": [] } ], + "labels": + [ "changed" ] } ], "extra": { } } \ No newline at end of file diff --git a/js-wixcode-sdk/wix-window-frontend/Rendering.service.json b/js-wixcode-sdk/wix-window-frontend/Rendering.service.json index 1fcc2ef878..07d24ce9e6 100644 --- a/js-wixcode-sdk/wix-window-frontend/Rendering.service.json +++ b/js-wixcode-sdk/wix-window-frontend/Rendering.service.json @@ -1,14 +1,15 @@ { "name": "Rendering", "memberOf": "wix-window-frontend", "mixes": [], - "labels": [], + "labels": + [ "changed" ], "location": { "lineno": 275, "filename": "window-frontend.js" }, "docs": { "summary": "The Rendering API is used to control when code is run as a page is being loaded.", "description": - [ "When possible, the rendering process that runs when your page loads is", + [ "When possible, the rendering process that runs when a page loads is", " split in two in order to improve performance. The first cycle in the process", " happens server-side and the second cycle happens client-side. When not", " possible, all rendering happens client-side.", @@ -27,7 +28,8 @@ { } }, "properties": [ { "name": "env", - "labels": [], + "labels": + [ "changed" ], "get": true, "set": false, "type": "string", @@ -45,11 +47,11 @@ " The `env` property returns `\"backend\"` when rendering on the server", " and `\"browser\"` when rendering on the client.", "", - " Use the `env` property in your page's [`onReady()`](https://dev.wix.com/docs/velo/api-reference/$w/on-ready)", + " Use the `env` property in the page's `onReady()`", " event handler to control where your code runs during the rendering", " process and to prevent code that causes side effects from running twice.", "", - " > **Note:** Rendering never occurs server-side when previewing your site." ], + " > **Note:** Rendering never occurs server-side when previewing a site." ], "links": [], "examples": [ { "title": "Use the Rendering API to avoid inserting an item twice", diff --git a/js-wixcode-sdk/wix-window-frontend/WarmupData.service.json b/js-wixcode-sdk/wix-window-frontend/WarmupData.service.json index f20f3899d8..76fe5ad5f5 100644 --- a/js-wixcode-sdk/wix-window-frontend/WarmupData.service.json +++ b/js-wixcode-sdk/wix-window-frontend/WarmupData.service.json @@ -1,7 +1,8 @@ { "name": "WarmupData", "memberOf": "wix-window-frontend", "mixes": [], - "labels": [], + "labels": + [ "changed" ], "location": { "lineno": 129, "filename": "window-frontend.js" }, @@ -21,14 +22,14 @@ " + When browser rendering happens before server-side rendering.", " + When there is only browser rendering, for example in case visitors navigate from page to page within a site.", "", - " Your page code must check for these scenarios and provide a fallback alternative for getting the data.", + " Page code must check for these scenarios and provide a fallback alternative for getting the data.", "", - " Use the `warmupData` API and `env` property of the [Rendering API](https://www.wix.com/velo/reference/wix-window-frontend/rendering/env) ", + " Use the Warmup Data API and `env` property of the Rendering API", " to track when and where your code is running. This lets you selectively run parts of your code.", "", " > **Notes:**", - " > + Rendering never occurs server-side when previewing your site.", - " > + Backend rendering only occurs when visitors initially enter the site, and not when visitors navigate from page-to-page within the site.", + " > + Rendering never occurs server-side when previewing a site.", + " > + Backend rendering only occurs when visitors initially enter a site, and not when visitors navigate from page-to-page within a site.", "", " To use the Warmup Data API, import `warmupData` from the `wix-window-frontend` module:", "", @@ -42,12 +43,13 @@ "properties": [], "operations": [ { "name": "get", - "labels": [], + "labels": + [ "changed" ], "nameParams": [], "params": [ { "name": "key", "type": "string", - "doc": "A name representing the data to return to the client-side. Until rendered, the data is `undefined`." } ], + "doc": "Name representing the data to return to the client-side. Until rendered, the data is `undefined`." } ], "ret": { "type": "*", "doc": "Returns one of the following: \n + The data corresponding to the `key` that was set with the `warmupData.set()` function in the backend.\n + `undefined` if not yet set.\n + `null` if called while on the server." }, @@ -62,16 +64,16 @@ " sets the data from these operations as warmup data on the server. The client-side code can then `get` that data without ", " performing the operations again. ", "", - " Getting the `warmupData` data retrieves data that was set on the server and makes the data accessible ", + " Getting the warmup data retrieves data that was set on the server and makes the data accessible ", " from the client-side.", "", - " You can only get `warmupData` in the client-side code. ", + " You can only get warmup data in the client-side code. ", " + This function returns `null` if called while on the server.", " + If this function runs before `warmupData.set()`, it returns `undefined`.", "", " > **Notes:** ", - " > + Rendering never occurs server-side when previewing your site.", - " > + Server-side rendering only occurs when visitors initially enter the site, and not when visitors navigate from page-to-page within the site." ], + " > + Rendering never occurs server-side when previewing a site.", + " > + Server-side rendering only occurs when visitors initially enter a site, and not when visitors navigate from page-to-page within a site." ], "links": [], "examples": [ { "title": "Get the warmup data on the client-side", @@ -108,21 +110,22 @@ " $w(\"#retrievedMessage\").text = message;", "});" ], "extra": - { "description": "This example demonstrates how to use `warmupData` to optimize performance between server-side and client-side page \n rendering.\n \n The example has a `getData()` function that performs a query on a `MyCollection` collection. \n\n If this operation happens to run on the server, the results are set for later client-side use. The `wixWindowFrontend.rendering.env` property\n indicates if the run is occurring on the server (`backend`) or on the client-side (`browser`). \n\n When rendering on the client-side, the client-side code checks if the query results already exist. If so, there is no need to perform the same query again. \n If not, the client-side code runs the query. \n\n Two text boxes are defined on the page: `retrievedMessage` displays a message about where the rendering occurred and `retrievedData` displays the query items." } } ], + { "description": "This example demonstrates how to use warmup data to optimize performance between server-side and client-side page \n rendering.\n \n The example has a `getData()` function that performs a query on a `MyCollection` collection. \n\n If this operation happens to run on the server, the results are set for later client-side use. The `wixWindowFrontend.rendering.env` property\n indicates if the run is occurring on the server (`backend`) or on the client-side (`browser`). \n\n When rendering on the client-side, the client-side code checks if the query results already exist. If so, there is no need to perform the same query again. \n If not, the client-side code runs the query. \n\n Two text boxes are defined on the page: `retrievedMessage` displays a message about where the rendering occurred and `retrievedData` displays the query items." } } ], "extra": { } }, "extra": { } }, { "name": "set", - "labels": [], + "labels": + [ "changed" ], "nameParams": [], "params": [ { "name": "key", "type": "string", - "doc": "A name representing the data to return to the client-side. Key names are unique within a site. Using the same key name within the same site code overwrites the corresponding data." }, + "doc": "Name representing the data to return to the client-side. Key names are unique within a site. Using the same key name within the same site code overwrites the corresponding data." }, { "name": "data", "type": "*", - "doc": "The data to return to the client-side." } ], + "doc": "Data to return to the client-side." } ], "ret": { "type": "void" }, "locations": @@ -136,11 +139,11 @@ " sets the data from these operations as warmup data on the server. The client-side code can then `get` that data without ", " performing the operations again. ", "", - " You can only set `warmupData` on the server. This function has no effect if called from client-side code.", + " You can only set warmup data on the server. This function has no effect if called from client-side code.", "", " > **Notes:** ", - " > + Rendering never occurs server-side when previewing your site.", - " > + Server-side rendering only occurs when visitors initially enter the site, and not when visitors navigate from page-to-page within the site." ], + " > + Rendering never occurs server-side when previewing a site.", + " > + Server-side rendering only occurs when visitors initially enter a site, and not when visitors navigate from page-to-page within a site." ], "links": [], "examples": [ { "title": "Set the warmup data on the server", @@ -177,7 +180,7 @@ " $w(\"#retrievedMessage\").text = message;", "});" ], "extra": - { "description": "This example demonstrates how to use `warmupData` to optimize performance between server-side and browser rendering.\n \n The example has a `getData()` function that performs a query on a `MyCollection` collection. \n\n If this operation happens to run on the server, the results are set for later browser use. The `wixWindowFrontend.rendering.env` property\n indicates if the run is occurring on the server (`backend`) or on the client-side (`browser`). \n\n When rendering in the browser, the client-side code checks if the query results already exist. If so, there is no need to perform the same query again. \n If not, the client-side code runs the query. \n\n Two text boxes are defined on the page: `retrievedMessage` displays a message about where the rendering occurred and `retrievedData` displays the query items." } } ], + { "description": "This example demonstrates how to use warmup data to optimize performance between server-side and browser rendering.\n \n The example has a `getData()` function that performs a query on a `MyCollection` collection. \n\n If this operation happens to run on the server, the results are set for later browser use. The `wixWindowFrontend.rendering.env` property\n indicates if the run is occurring on the server (`backend`) or on the client-side (`browser`). \n\n When rendering in the browser, the client-side code checks if the query results already exist. If so, there is no need to perform the same query again. \n If not, the client-side code runs the query. \n\n Two text boxes are defined on the page: `retrievedMessage` displays a message about where the rendering occurred and `retrievedData` displays the query items." } } ], "extra": { } }, "extra": From d536df1efef19897d2c09128335b29e4dd1a1738 Mon Sep 17 00:00:00 2001 From: joshua-sc Date: Thu, 12 Dec 2024 16:14:23 +0200 Subject: [PATCH 11/11] DocWorks for js-wixcode-sdk - 1 change detected, but 36 issue detected changes: Service wix-site-frontend operation getFontsHtml has changed param fonts doc issues: Message ViewChangeEventOptions has an unknown property type * (ApppointmentFieldEvent.js (8)) Message Accessibility has an unknown property type $w.CollapsibleText (Box.js (76)) Message Accessibility has an unknown property type $w.CollapsibleText (Box.js (76)) Message Accessibility has an unknown property type $w.CollapsibleText (Button.js (282)) Message Accessibility has an unknown property type $w.CollapsibleText (Button.js (282)) Message Accessibility has an unknown property type $w.CollapsibleText (Checkbox.js (218)) Message Accessibility has an unknown property type $w.CollapsibleText (Checkbox.js (218)) Message Accessibility has an unknown property type $w.CollapsibleText (Column.js (44)) Message Accessibility has an unknown property type $w.CollapsibleText (Column.js (44)) Message Accessibility has an unknown property type $w.CollapsibleText (ColumnStrip.js (75)) Message Accessibility has an unknown property type $w.CollapsibleText (ColumnStrip.js (75)) Message Accessibility has an unknown property type $w.CollapsibleText (Container.js (69)) Message Accessibility has an unknown property type $w.CollapsibleText (Container.js (69)) Message Accessibility has an unknown property type $w.CollapsibleText (DropDown.js (326)) Message Accessibility has an unknown property type $w.CollapsibleText (DropDown.js (326)) 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)) Message ScreenReader is defined two or more times (ColumnStrip.js (97), Text.js (248)) Message Accessibility has an unknown property type $w.CollapsibleText (Text.js (225)) Message Accessibility has an unknown property type $w.CollapsibleText (Text.js (225)) Message Ac ... --- js-wixcode-sdk/$w/Button.service.json | 6 ++---- js-wixcode-sdk/$w/Dataset.service.json | 3 +-- js-wixcode-sdk/$w/Disabled.service.json | 3 +-- js-wixcode-sdk/$w/DynamicDataset.service.json | 3 +-- js-wixcode-sdk/$w/Hover.service.json | 3 +-- js-wixcode-sdk/$w/LinkableMixin.service.json | 3 +-- js-wixcode-sdk/$w/Style.service.json | 18 ++++++------------ .../$w/StyleDisabledState.service.json | 3 +-- js-wixcode-sdk/$w/StyleHoverState.service.json | 3 +-- js-wixcode-sdk/$w/StyleMixin.service.json | 3 +-- js-wixcode-sdk/$w/Text.service.json | 6 ++---- js-wixcode-sdk/$w/WixDataFilter.service.json | 3 +-- js-wixcode-sdk/$w/WixDataSort.service.json | 3 +-- js-wixcode-sdk/wix-site-frontend.service.json | 14 +++++--------- js-wixcode-sdk/wix-site.service.json | 15 +++++---------- .../wix-window-frontend.service.json | 12 ++++-------- .../Multilingual.service.json | 15 +++++---------- .../wix-window-frontend/Rendering.service.json | 6 ++---- .../WarmupData.service.json | 9 +++------ 19 files changed, 44 insertions(+), 87 deletions(-) diff --git a/js-wixcode-sdk/$w/Button.service.json b/js-wixcode-sdk/$w/Button.service.json index bfb6f13c75..4b1c9b3ab7 100644 --- a/js-wixcode-sdk/$w/Button.service.json +++ b/js-wixcode-sdk/$w/Button.service.json @@ -10,8 +10,7 @@ "$w.LabelMixin", "$w.EffectsMixin", "$w.FocusMixin" ], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 1, "filename": "Button.js" }, @@ -285,8 +284,7 @@ "extra": { } }, { "name": "style", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": false, "type": "$w.Style", diff --git a/js-wixcode-sdk/$w/Dataset.service.json b/js-wixcode-sdk/$w/Dataset.service.json index c63cc31b9d..4b153e3692 100644 --- a/js-wixcode-sdk/$w/Dataset.service.json +++ b/js-wixcode-sdk/$w/Dataset.service.json @@ -1,8 +1,7 @@ { "name": "Dataset", "memberOf": "$w", "mixes": [], - "labels": - [ "new" ], + "labels": [], "location": { "lineno": 1, "filename": "datasetApi.js" }, diff --git a/js-wixcode-sdk/$w/Disabled.service.json b/js-wixcode-sdk/$w/Disabled.service.json index 976e36c22d..fd9d017ef4 100644 --- a/js-wixcode-sdk/$w/Disabled.service.json +++ b/js-wixcode-sdk/$w/Disabled.service.json @@ -1,8 +1,7 @@ { "name": "Disabled", "memberOf": "$w", "mixes": [], - "labels": - [ "new" ], + "labels": [], "location": { "lineno": 1, "filename": "StyleDisabledState.js" }, diff --git a/js-wixcode-sdk/$w/DynamicDataset.service.json b/js-wixcode-sdk/$w/DynamicDataset.service.json index 087fef0947..e9e7b08f4d 100644 --- a/js-wixcode-sdk/$w/DynamicDataset.service.json +++ b/js-wixcode-sdk/$w/DynamicDataset.service.json @@ -2,8 +2,7 @@ "memberOf": "$w", "mixes": [ "$w.Dataset" ], - "labels": - [ "new" ], + "labels": [], "location": { "lineno": 1987, "filename": "datasetApi.js" }, diff --git a/js-wixcode-sdk/$w/Hover.service.json b/js-wixcode-sdk/$w/Hover.service.json index a8beb9a07b..5ebe1f9fef 100644 --- a/js-wixcode-sdk/$w/Hover.service.json +++ b/js-wixcode-sdk/$w/Hover.service.json @@ -1,8 +1,7 @@ { "name": "Hover", "memberOf": "$w", "mixes": [], - "labels": - [ "new" ], + "labels": [], "location": { "lineno": 1, "filename": "StyleHoverState.js" }, diff --git a/js-wixcode-sdk/$w/LinkableMixin.service.json b/js-wixcode-sdk/$w/LinkableMixin.service.json index 371e26a479..2f64864358 100644 --- a/js-wixcode-sdk/$w/LinkableMixin.service.json +++ b/js-wixcode-sdk/$w/LinkableMixin.service.json @@ -117,8 +117,7 @@ "extra": { } }, { "name": "rel", - "labels": - [ "new" ], + "labels": [], "get": true, "set": true, "type": "string", diff --git a/js-wixcode-sdk/$w/Style.service.json b/js-wixcode-sdk/$w/Style.service.json index ee81247450..6e73a6638a 100644 --- a/js-wixcode-sdk/$w/Style.service.json +++ b/js-wixcode-sdk/$w/Style.service.json @@ -1,8 +1,7 @@ { "name": "Style", "memberOf": "$w", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 1, "filename": "StyleMixin.js" }, @@ -35,8 +34,7 @@ { } }, "properties": [ { "name": "backgroundColor", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": true, "type": "string", @@ -229,8 +227,7 @@ "extra": { } }, { "name": "color", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": true, "type": "string", @@ -276,8 +273,7 @@ "extra": { } }, { "name": "disabled", - "labels": - [ "new" ], + "labels": [], "get": true, "set": false, "type": "$w.Disabled", @@ -374,8 +370,7 @@ "extra": { } }, { "name": "hover", - "labels": - [ "new" ], + "labels": [], "get": true, "set": false, "type": "$w.Hover", @@ -431,8 +426,7 @@ "extra": { } }, { "name": "iconColor", - "labels": - [ "new" ], + "labels": [], "get": true, "set": true, "type": "string", diff --git a/js-wixcode-sdk/$w/StyleDisabledState.service.json b/js-wixcode-sdk/$w/StyleDisabledState.service.json index e4e17f0463..51067404d1 100644 --- a/js-wixcode-sdk/$w/StyleDisabledState.service.json +++ b/js-wixcode-sdk/$w/StyleDisabledState.service.json @@ -1,8 +1,7 @@ { "name": "StyleDisabledState", "memberOf": "$w", "mixes": [], - "labels": - [ "new" ], + "labels": [], "location": { "lineno": 15, "filename": "StyleDisabledState.js" }, diff --git a/js-wixcode-sdk/$w/StyleHoverState.service.json b/js-wixcode-sdk/$w/StyleHoverState.service.json index 06b9fc436f..0a592b9d52 100644 --- a/js-wixcode-sdk/$w/StyleHoverState.service.json +++ b/js-wixcode-sdk/$w/StyleHoverState.service.json @@ -1,8 +1,7 @@ { "name": "StyleHoverState", "memberOf": "$w", "mixes": [], - "labels": - [ "new" ], + "labels": [], "location": { "lineno": 15, "filename": "StyleHoverState.js" }, diff --git a/js-wixcode-sdk/$w/StyleMixin.service.json b/js-wixcode-sdk/$w/StyleMixin.service.json index 2105d85b51..828857e3e1 100644 --- a/js-wixcode-sdk/$w/StyleMixin.service.json +++ b/js-wixcode-sdk/$w/StyleMixin.service.json @@ -1,8 +1,7 @@ { "name": "StyleMixin", "memberOf": "$w", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 29, "filename": "StyleMixin.js" }, diff --git a/js-wixcode-sdk/$w/Text.service.json b/js-wixcode-sdk/$w/Text.service.json index 87719f9543..53b75a37e1 100644 --- a/js-wixcode-sdk/$w/Text.service.json +++ b/js-wixcode-sdk/$w/Text.service.json @@ -7,8 +7,7 @@ "$w.EffectsMixin", "$w.FocusMixin", "$w.StyleMixin" ], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 1, "filename": "Text.js" }, @@ -195,8 +194,7 @@ "extra": { } }, { "name": "style", - "labels": - [ "new" ], + "labels": [], "get": true, "set": false, "type": "$w.Style", diff --git a/js-wixcode-sdk/$w/WixDataFilter.service.json b/js-wixcode-sdk/$w/WixDataFilter.service.json index c95e944c11..7dce7a5ae5 100644 --- a/js-wixcode-sdk/$w/WixDataFilter.service.json +++ b/js-wixcode-sdk/$w/WixDataFilter.service.json @@ -1,8 +1,7 @@ { "name": "WixDataFilter", "memberOf": "$w", "mixes": [], - "labels": - [ "new" ], + "labels": [], "location": { "lineno": 1417, "filename": "datasetApi.js" }, diff --git a/js-wixcode-sdk/$w/WixDataSort.service.json b/js-wixcode-sdk/$w/WixDataSort.service.json index bd3aac9419..d24e6c7cfe 100644 --- a/js-wixcode-sdk/$w/WixDataSort.service.json +++ b/js-wixcode-sdk/$w/WixDataSort.service.json @@ -1,8 +1,7 @@ { "name": "WixDataSort", "memberOf": "$w", "mixes": [], - "labels": - [ "new" ], + "labels": [], "location": { "lineno": 1920, "filename": "datasetApi.js" }, diff --git a/js-wixcode-sdk/wix-site-frontend.service.json b/js-wixcode-sdk/wix-site-frontend.service.json index e23f2d43f9..e3a221d440 100644 --- a/js-wixcode-sdk/wix-site-frontend.service.json +++ b/js-wixcode-sdk/wix-site-frontend.service.json @@ -266,7 +266,7 @@ { "name": "Array", "typeParams": [ "string" ] }, - "doc": "List of fonts to be loaded, where each font is a valid `font` CSS property." }, + "doc": "List of fonts to be loaded, where each font is represented by a value of a `font` CSS property." }, { "name": "options", "type": "wix-site-frontend.getFontsHtmlOptions", "doc": "The options used when getting the HTML element.", @@ -321,8 +321,7 @@ "extra": { } }, { "name": "getSiteStructure", - "labels": - [ "changed" ], + "labels": [], "nameParams": [], "params": [], "ret": @@ -910,8 +909,7 @@ "optional": true } ], "extra": { }, - "labels": - [ "changed" ] }, + "labels": [] }, { "name": "SiteStructure", "locations": [ { "lineno": 17, @@ -1088,8 +1086,7 @@ "doc": "The site's lightboxes." } ], "extra": { }, - "labels": - [ "changed" ] }, + "labels": [] }, { "name": "StructureLightbox", "locations": [ { "lineno": 74, @@ -1292,8 +1289,7 @@ "optional": true } ], "extra": { }, - "labels": - [ "changed" ] }, + "labels": [] }, { "name": "getFontsHtmlOptions", "locations": [ { "lineno": 337, diff --git a/js-wixcode-sdk/wix-site.service.json b/js-wixcode-sdk/wix-site.service.json index a5800c3263..cd5c9519d0 100644 --- a/js-wixcode-sdk/wix-site.service.json +++ b/js-wixcode-sdk/wix-site.service.json @@ -1,7 +1,6 @@ { "name": "wix-site", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 1, "filename": "site.js" }, @@ -285,8 +284,7 @@ "extra": { } }, { "name": "getSiteStructure", - "labels": - [ "changed" ], + "labels": [], "nameParams": [], "params": [], "ret": @@ -849,8 +847,7 @@ "optional": true } ], "extra": { }, - "labels": - [ "changed" ] }, + "labels": [] }, { "name": "SiteStructure", "locations": [ { "lineno": 17, @@ -1027,8 +1024,7 @@ "doc": "The site's lightboxes." } ], "extra": { }, - "labels": - [ "changed" ] }, + "labels": [] }, { "name": "StructureLightbox", "locations": [ { "lineno": 74, @@ -1231,8 +1227,7 @@ "optional": true } ], "extra": { }, - "labels": - [ "changed" ] } ], + "labels": [] } ], "extra": { "scopes": [ "frontend" ] }, diff --git a/js-wixcode-sdk/wix-window-frontend.service.json b/js-wixcode-sdk/wix-window-frontend.service.json index 6a3d74b907..1c28c1e28e 100644 --- a/js-wixcode-sdk/wix-window-frontend.service.json +++ b/js-wixcode-sdk/wix-window-frontend.service.json @@ -1,7 +1,6 @@ { "name": "wix-window-frontend", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 1, "filename": "window-frontend.js" }, @@ -171,8 +170,7 @@ "extra": { } }, { "name": "multilingual", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": false, "type": "wix-window-frontend.Multilingual", @@ -251,8 +249,7 @@ "extra": { } }, { "name": "rendering", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": false, "type": "wix-window-frontend.Rendering", @@ -313,8 +310,7 @@ "extra": { } }, { "name": "warmupData", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": false, "type": "wix-window-frontend.WarmupData", diff --git a/js-wixcode-sdk/wix-window-frontend/Multilingual.service.json b/js-wixcode-sdk/wix-window-frontend/Multilingual.service.json index 8256ed1015..8f7c80c9f2 100644 --- a/js-wixcode-sdk/wix-window-frontend/Multilingual.service.json +++ b/js-wixcode-sdk/wix-window-frontend/Multilingual.service.json @@ -1,8 +1,7 @@ { "name": "Multilingual", "memberOf": "wix-window-frontend", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 1100, "filename": "window-frontend.js" }, @@ -26,8 +25,7 @@ { } }, "properties": [ { "name": "currentLanguage", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": true, "type": "string", @@ -132,8 +130,7 @@ "extra": { } }, { "name": "isEnabled", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": false, "type": "boolean", @@ -158,8 +155,7 @@ "extra": { } }, { "name": "siteLanguages", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": false, "type": @@ -329,7 +325,6 @@ "doc": "Whether the language is a site's primary language." } ], "extra": { }, - "labels": - [ "changed" ] } ], + "labels": [] } ], "extra": { } } \ No newline at end of file diff --git a/js-wixcode-sdk/wix-window-frontend/Rendering.service.json b/js-wixcode-sdk/wix-window-frontend/Rendering.service.json index 07d24ce9e6..59f7e22ffc 100644 --- a/js-wixcode-sdk/wix-window-frontend/Rendering.service.json +++ b/js-wixcode-sdk/wix-window-frontend/Rendering.service.json @@ -1,8 +1,7 @@ { "name": "Rendering", "memberOf": "wix-window-frontend", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 275, "filename": "window-frontend.js" }, @@ -28,8 +27,7 @@ { } }, "properties": [ { "name": "env", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": false, "type": "string", diff --git a/js-wixcode-sdk/wix-window-frontend/WarmupData.service.json b/js-wixcode-sdk/wix-window-frontend/WarmupData.service.json index 76fe5ad5f5..89eda48107 100644 --- a/js-wixcode-sdk/wix-window-frontend/WarmupData.service.json +++ b/js-wixcode-sdk/wix-window-frontend/WarmupData.service.json @@ -1,8 +1,7 @@ { "name": "WarmupData", "memberOf": "wix-window-frontend", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 129, "filename": "window-frontend.js" }, @@ -43,8 +42,7 @@ "properties": [], "operations": [ { "name": "get", - "labels": - [ "changed" ], + "labels": [], "nameParams": [], "params": [ { "name": "key", @@ -116,8 +114,7 @@ "extra": { } }, { "name": "set", - "labels": - [ "changed" ], + "labels": [], "nameParams": [], "params": [ { "name": "key",