@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.
@@ -3039,6 +3039,20 @@ interface Tag {
3039
3039
  *
3040
3040
  *
3041
3041
  * Supported values: `title`, `meta`, `script`, `link`.
3042
+ *
3043
+ * Which of these an API actually accepts depends on where the tag is being set: this
3044
+ * list is not a blanket guarantee across every API that reuses this message. Site SEO
3045
+ * Tags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects
3046
+ * `title`/`script`/`link` with a validation error even though they appear here —
3047
+ * check the field description of the specific `tags`-typed field you're writing to
3048
+ * for the types it actually supports and the error it returns.
3049
+ *
3050
+ * Limitation: `title` and `script` (e.g. a `script` tag with `props.type`
3051
+ * `"application/ld+json"` carrying structured data) are supported only when
3052
+ * `custom` is unset or `false`. Setting `custom: true` on a `title` or `script`
3053
+ * tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the
3054
+ * write through the site's Advanced/Custom Tags list. To write structured data,
3055
+ * omit `custom` (or set it to `false`).
3042
3056
  */
3043
3057
  type?: string;
3044
3058
  /**
@@ -3054,6 +3068,18 @@ interface Tag {
3054
3068
  * Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —
3055
3069
  * i.e. an entry from the site's Advanced/Custom Tags list.
3056
3070
  *
3071
+ * Setting this to `true` on a write restricts which `type` values are accepted
3072
+ * — the same restriction the Advanced/Custom Tags UI enforces. `title` and
3073
+ * `script` tags (including JSON-LD structured data) must be sent with `custom`
3074
+ * omitted or `false`; sending them with `custom: true` is rejected with
3075
+ * `TAG_TYPE_NOT_ALLOWED`.
3076
+ *
3077
+ * Note this is a separate restriction from Site SEO Tags' own type restriction on
3078
+ * `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.
3079
+ * for site-wide structured data) unconditionally. There is currently no way to set
3080
+ * site-wide, every-page structured data through any of these APIs — write a per-page
3081
+ * `script` tag through the Item SEO Tags API instead.
3082
+ *
3057
3083
  * This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag
3058
3084
  * (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed
3059
3085
  * default/pattern — standard tags always resolve with `custom: false`, even when their content comes