@wix/auto_sdk_blog_posts 1.0.175 → 1.0.176

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.
@@ -219,6 +219,13 @@ interface Tag {
219
219
  *
220
220
  *
221
221
  * Supported values: `title`, `meta`, `script`, `link`.
222
+ *
223
+ * Which of these an API actually accepts depends on where the tag is being set: this
224
+ * list is not a blanket guarantee across every API that reuses this message. Site SEO
225
+ * Tags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects
226
+ * `title`/`script`/`link` with a validation error even though they appear here —
227
+ * check the field description of the specific `tags`-typed field you're writing to
228
+ * for the types it actually supports and the error it returns.
222
229
  */
223
230
  type?: string;
224
231
  /**
@@ -234,6 +241,12 @@ interface Tag {
234
241
  * Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —
235
242
  * i.e. an entry from the site's Advanced/Custom Tags list.
236
243
  *
244
+ * Note this is a separate restriction from Site SEO Tags' own type restriction on
245
+ * `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.
246
+ * for site-wide structured data) unconditionally. There is currently no way to set
247
+ * site-wide, every-page structured data through any of these APIs — write a per-page
248
+ * `script` tag through the Item SEO Tags API instead.
249
+ *
237
250
  * This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag
238
251
  * (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed
239
252
  * default/pattern — standard tags always resolve with `custom: false`, even when their content comes