@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.
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +13 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +13 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.js +30 -30
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +13 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +13 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.mjs +30 -30
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +13 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +13 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.js +30 -30
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +13 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +13 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.mjs +30 -30
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/meta.d.mts
CHANGED
|
@@ -3069,6 +3069,13 @@ interface Tag {
|
|
|
3069
3069
|
* `title`/`script`/`link` with a validation error even though they appear here —
|
|
3070
3070
|
* check the field description of the specific `tags`-typed field you're writing to
|
|
3071
3071
|
* for the types it actually supports and the error it returns.
|
|
3072
|
+
*
|
|
3073
|
+
* Limitation: `title` and `script` (e.g. a `script` tag with `props.type`
|
|
3074
|
+
* `"application/ld+json"` carrying structured data) are supported only when
|
|
3075
|
+
* `custom` is unset or `false`. Setting `custom: true` on a `title` or `script`
|
|
3076
|
+
* tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the
|
|
3077
|
+
* write through the site's Advanced/Custom Tags list. To write structured data,
|
|
3078
|
+
* omit `custom` (or set it to `false`).
|
|
3072
3079
|
*/
|
|
3073
3080
|
type?: string;
|
|
3074
3081
|
/**
|
|
@@ -3084,6 +3091,12 @@ interface Tag {
|
|
|
3084
3091
|
* Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —
|
|
3085
3092
|
* i.e. an entry from the site's Advanced/Custom Tags list.
|
|
3086
3093
|
*
|
|
3094
|
+
* Setting this to `true` on a write restricts which `type` values are accepted
|
|
3095
|
+
* — the same restriction the Advanced/Custom Tags UI enforces. `title` and
|
|
3096
|
+
* `script` tags (including JSON-LD structured data) must be sent with `custom`
|
|
3097
|
+
* omitted or `false`; sending them with `custom: true` is rejected with
|
|
3098
|
+
* `TAG_TYPE_NOT_ALLOWED`.
|
|
3099
|
+
*
|
|
3087
3100
|
* Note this is a separate restriction from Site SEO Tags' own type restriction on
|
|
3088
3101
|
* `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.
|
|
3089
3102
|
* for site-wide structured data) unconditionally. There is currently no way to set
|