@wix/auto_sdk_events_forms 1.0.108 → 1.0.110
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +26 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +26 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +26 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +26 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +26 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +26 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +26 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +26 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -1411,6 +1411,20 @@ interface Tag {
|
|
|
1411
1411
|
*
|
|
1412
1412
|
*
|
|
1413
1413
|
* Supported values: `title`, `meta`, `script`, `link`.
|
|
1414
|
+
*
|
|
1415
|
+
* Which of these an API actually accepts depends on where the tag is being set: this
|
|
1416
|
+
* list is not a blanket guarantee across every API that reuses this message. Site SEO
|
|
1417
|
+
* Tags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects
|
|
1418
|
+
* `title`/`script`/`link` with a validation error even though they appear here —
|
|
1419
|
+
* check the field description of the specific `tags`-typed field you're writing to
|
|
1420
|
+
* for the types it actually supports and the error it returns.
|
|
1421
|
+
*
|
|
1422
|
+
* Limitation: `title` and `script` (e.g. a `script` tag with `props.type`
|
|
1423
|
+
* `"application/ld+json"` carrying structured data) are supported only when
|
|
1424
|
+
* `custom` is unset or `false`. Setting `custom: true` on a `title` or `script`
|
|
1425
|
+
* tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the
|
|
1426
|
+
* write through the site's Advanced/Custom Tags list. To write structured data,
|
|
1427
|
+
* omit `custom` (or set it to `false`).
|
|
1414
1428
|
*/
|
|
1415
1429
|
type?: string;
|
|
1416
1430
|
/**
|
|
@@ -1426,6 +1440,18 @@ interface Tag {
|
|
|
1426
1440
|
* Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —
|
|
1427
1441
|
* i.e. an entry from the site's Advanced/Custom Tags list.
|
|
1428
1442
|
*
|
|
1443
|
+
* Setting this to `true` on a write restricts which `type` values are accepted
|
|
1444
|
+
* — the same restriction the Advanced/Custom Tags UI enforces. `title` and
|
|
1445
|
+
* `script` tags (including JSON-LD structured data) must be sent with `custom`
|
|
1446
|
+
* omitted or `false`; sending them with `custom: true` is rejected with
|
|
1447
|
+
* `TAG_TYPE_NOT_ALLOWED`.
|
|
1448
|
+
*
|
|
1449
|
+
* Note this is a separate restriction from Site SEO Tags' own type restriction on
|
|
1450
|
+
* `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.
|
|
1451
|
+
* for site-wide structured data) unconditionally. There is currently no way to set
|
|
1452
|
+
* site-wide, every-page structured data through any of these APIs — write a per-page
|
|
1453
|
+
* `script` tag through the Item SEO Tags API instead.
|
|
1454
|
+
*
|
|
1429
1455
|
* This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag
|
|
1430
1456
|
* (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed
|
|
1431
1457
|
* default/pattern — standard tags always resolve with `custom: false`, even when their content comes
|