@wix/auto_sdk_blog_draft-posts 1.0.96 → 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.
@@ -3152,6 +3152,20 @@ interface Tag {
3152
3152
  *
3153
3153
  *
3154
3154
  * Supported values: `title`, `meta`, `script`, `link`.
3155
+ *
3156
+ * Which of these an API actually accepts depends on where the tag is being set: this
3157
+ * list is not a blanket guarantee across every API that reuses this message. Site SEO
3158
+ * Tags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects
3159
+ * `title`/`script`/`link` with a validation error even though they appear here —
3160
+ * check the field description of the specific `tags`-typed field you're writing to
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`).
3155
3169
  */
3156
3170
  type?: string;
3157
3171
  /**
@@ -3167,6 +3181,18 @@ interface Tag {
3167
3181
  * Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —
3168
3182
  * i.e. an entry from the site's Advanced/Custom Tags list.
3169
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
+ *
3190
+ * Note this is a separate restriction from Site SEO Tags' own type restriction on
3191
+ * `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.
3192
+ * for site-wide structured data) unconditionally. There is currently no way to set
3193
+ * site-wide, every-page structured data through any of these APIs — write a per-page
3194
+ * `script` tag through the Item SEO Tags API instead.
3195
+ *
3170
3196
  * This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag
3171
3197
  * (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed
3172
3198
  * default/pattern — standard tags always resolve with `custom: false`, even when their content comes