@wix/auto_sdk_blog_draft-posts 1.0.97 → 1.0.98

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.
@@ -3159,6 +3159,13 @@ interface Tag {
3159
3159
  * `title`/`script`/`link` with a validation error even though they appear here —
3160
3160
  * check the field description of the specific `tags`-typed field you're writing to
3161
3161
  * for the types it actually supports and the error it returns.
3162
+ *
3163
+ * Limitation: `title` and `script` (e.g. a `script` tag with `props.type`
3164
+ * `"application/ld+json"` carrying structured data) are supported only when
3165
+ * `custom` is unset or `false`. Setting `custom: true` on a `title` or `script`
3166
+ * tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the
3167
+ * write through the site's Advanced/Custom Tags list. To write structured data,
3168
+ * omit `custom` (or set it to `false`).
3162
3169
  */
3163
3170
  type?: string;
3164
3171
  /**
@@ -3174,6 +3181,12 @@ interface Tag {
3174
3181
  * Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —
3175
3182
  * i.e. an entry from the site's Advanced/Custom Tags list.
3176
3183
  *
3184
+ * Setting this to `true` on a write restricts which `type` values are accepted
3185
+ * — the same restriction the Advanced/Custom Tags UI enforces. `title` and
3186
+ * `script` tags (including JSON-LD structured data) must be sent with `custom`
3187
+ * omitted or `false`; sending them with `custom: true` is rejected with
3188
+ * `TAG_TYPE_NOT_ALLOWED`.
3189
+ *
3177
3190
  * Note this is a separate restriction from Site SEO Tags' own type restriction on
3178
3191
  * `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.
3179
3192
  * for site-wide structured data) unconditionally. There is currently no way to set