@wix/auto_sdk_blog_posts 1.0.176 → 1.0.178
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.d.ts +15 -11
- package/build/cjs/index.js +16 -11
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +48 -17
- package/build/cjs/index.typings.js +6 -6
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +17 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +85 -82
- package/build/cjs/schemas.js +163 -154
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +15 -11
- package/build/es/index.mjs +16 -11
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +48 -17
- package/build/es/index.typings.mjs +6 -6
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +17 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +85 -82
- package/build/es/schemas.mjs +163 -154
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +15 -11
- package/build/internal/cjs/index.js +16 -11
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +48 -17
- package/build/internal/cjs/index.typings.js +6 -6
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +17 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +85 -82
- package/build/internal/cjs/schemas.js +163 -154
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +15 -11
- package/build/internal/es/index.mjs +16 -11
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +48 -17
- package/build/internal/es/index.typings.mjs +6 -6
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +17 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +85 -82
- package/build/internal/es/schemas.mjs +163 -154
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/meta.d.mts
CHANGED
|
@@ -255,6 +255,13 @@ interface Tag {
|
|
|
255
255
|
* `title`/`script`/`link` with a validation error even though they appear here —
|
|
256
256
|
* check the field description of the specific `tags`-typed field you're writing to
|
|
257
257
|
* for the types it actually supports and the error it returns.
|
|
258
|
+
*
|
|
259
|
+
* Limitation: `title` and `script` (e.g. a `script` tag with `props.type`
|
|
260
|
+
* `"application/ld+json"` carrying structured data) are supported only when
|
|
261
|
+
* `custom` is unset or `false`. Setting `custom: true` on a `title` or `script`
|
|
262
|
+
* tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the
|
|
263
|
+
* write through the site's Advanced/Custom Tags list. To write structured data,
|
|
264
|
+
* omit `custom` (or set it to `false`).
|
|
258
265
|
*/
|
|
259
266
|
type?: string;
|
|
260
267
|
/**
|
|
@@ -270,6 +277,12 @@ interface Tag {
|
|
|
270
277
|
* Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —
|
|
271
278
|
* i.e. an entry from the site's Advanced/Custom Tags list.
|
|
272
279
|
*
|
|
280
|
+
* Setting this to `true` on a write restricts which `type` values are accepted
|
|
281
|
+
* — the same restriction the Advanced/Custom Tags UI enforces. `title` and
|
|
282
|
+
* `script` tags (including JSON-LD structured data) must be sent with `custom`
|
|
283
|
+
* omitted or `false`; sending them with `custom: true` is rejected with
|
|
284
|
+
* `TAG_TYPE_NOT_ALLOWED`.
|
|
285
|
+
*
|
|
273
286
|
* Note this is a separate restriction from Site SEO Tags' own type restriction on
|
|
274
287
|
* `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.
|
|
275
288
|
* for site-wide structured data) unconditionally. There is currently no way to set
|
|
@@ -3922,6 +3935,8 @@ interface QueryPostsRequest {
|
|
|
3922
3935
|
* @maxSize 20
|
|
3923
3936
|
*/
|
|
3924
3937
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3938
|
+
/** When true, omit `pagingMetadata.total`. `hasNext` and next cursor still come from the extra fetched row. */
|
|
3939
|
+
skipCount?: boolean | null;
|
|
3925
3940
|
}
|
|
3926
3941
|
interface Sorting {
|
|
3927
3942
|
/**
|
|
@@ -4168,6 +4183,8 @@ interface ListPostsArchiveRequest {
|
|
|
4168
4183
|
* @maxSize 20
|
|
4169
4184
|
*/
|
|
4170
4185
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
4186
|
+
/** When true, omit `pagingMetadata.total`. `hasNext` and next cursor still come from the extra fetched row. */
|
|
4187
|
+
skipCount?: boolean | null;
|
|
4171
4188
|
}
|
|
4172
4189
|
interface ListPostsArchiveResponse {
|
|
4173
4190
|
/** List of posts. */
|