@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.
Files changed (45) hide show
  1. package/build/cjs/index.d.ts +15 -11
  2. package/build/cjs/index.js +16 -11
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +48 -17
  5. package/build/cjs/index.typings.js +6 -6
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +17 -0
  8. package/build/cjs/meta.js.map +1 -1
  9. package/build/cjs/schemas.d.ts +85 -82
  10. package/build/cjs/schemas.js +163 -154
  11. package/build/cjs/schemas.js.map +1 -1
  12. package/build/es/index.d.mts +15 -11
  13. package/build/es/index.mjs +16 -11
  14. package/build/es/index.mjs.map +1 -1
  15. package/build/es/index.typings.d.mts +48 -17
  16. package/build/es/index.typings.mjs +6 -6
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +17 -0
  19. package/build/es/meta.mjs.map +1 -1
  20. package/build/es/schemas.d.mts +85 -82
  21. package/build/es/schemas.mjs +163 -154
  22. package/build/es/schemas.mjs.map +1 -1
  23. package/build/internal/cjs/index.d.ts +15 -11
  24. package/build/internal/cjs/index.js +16 -11
  25. package/build/internal/cjs/index.js.map +1 -1
  26. package/build/internal/cjs/index.typings.d.ts +48 -17
  27. package/build/internal/cjs/index.typings.js +6 -6
  28. package/build/internal/cjs/index.typings.js.map +1 -1
  29. package/build/internal/cjs/meta.d.ts +17 -0
  30. package/build/internal/cjs/meta.js.map +1 -1
  31. package/build/internal/cjs/schemas.d.ts +85 -82
  32. package/build/internal/cjs/schemas.js +163 -154
  33. package/build/internal/cjs/schemas.js.map +1 -1
  34. package/build/internal/es/index.d.mts +15 -11
  35. package/build/internal/es/index.mjs +16 -11
  36. package/build/internal/es/index.mjs.map +1 -1
  37. package/build/internal/es/index.typings.d.mts +48 -17
  38. package/build/internal/es/index.typings.mjs +6 -6
  39. package/build/internal/es/index.typings.mjs.map +1 -1
  40. package/build/internal/es/meta.d.mts +17 -0
  41. package/build/internal/es/meta.mjs.map +1 -1
  42. package/build/internal/es/schemas.d.mts +85 -82
  43. package/build/internal/es/schemas.mjs +163 -154
  44. package/build/internal/es/schemas.mjs.map +1 -1
  45. package/package.json +2 -2
@@ -378,6 +378,13 @@ interface Tag {
378
378
  * `title`/`script`/`link` with a validation error even though they appear here —
379
379
  * check the field description of the specific `tags`-typed field you're writing to
380
380
  * for the types it actually supports and the error it returns.
381
+ *
382
+ * Limitation: `title` and `script` (e.g. a `script` tag with `props.type`
383
+ * `"application/ld+json"` carrying structured data) are supported only when
384
+ * `custom` is unset or `false`. Setting `custom: true` on a `title` or `script`
385
+ * tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the
386
+ * write through the site's Advanced/Custom Tags list. To write structured data,
387
+ * omit `custom` (or set it to `false`).
381
388
  */
382
389
  type?: string;
383
390
  /**
@@ -393,6 +400,12 @@ interface Tag {
393
400
  * Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —
394
401
  * i.e. an entry from the site's Advanced/Custom Tags list.
395
402
  *
403
+ * Setting this to `true` on a write restricts which `type` values are accepted
404
+ * — the same restriction the Advanced/Custom Tags UI enforces. `title` and
405
+ * `script` tags (including JSON-LD structured data) must be sent with `custom`
406
+ * omitted or `false`; sending them with `custom: true` is rejected with
407
+ * `TAG_TYPE_NOT_ALLOWED`.
408
+ *
396
409
  * Note this is a separate restriction from Site SEO Tags' own type restriction on
397
410
  * `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.
398
411
  * for site-wide structured data) unconditionally. There is currently no way to set
@@ -4403,6 +4416,8 @@ interface QueryPostsRequest {
4403
4416
  * @maxSize 20
4404
4417
  */
4405
4418
  fieldsets?: PostFieldFieldWithLiterals[];
4419
+ /** When true, omit `pagingMetadata.total`. `hasNext` and next cursor still come from the extra fetched row. */
4420
+ skipCount?: boolean | null;
4406
4421
  }
4407
4422
  interface Sorting {
4408
4423
  /**
@@ -4684,6 +4699,8 @@ interface ListPostsArchiveRequest {
4684
4699
  * @maxSize 20
4685
4700
  */
4686
4701
  fieldsets?: PostFieldFieldWithLiterals[];
4702
+ /** When true, omit `pagingMetadata.total`. `hasNext` and next cursor still come from the extra fetched row. */
4703
+ skipCount?: boolean | null;
4687
4704
  }
4688
4705
  interface ListPostsArchiveResponse {
4689
4706
  /** List of posts. */