@openrails/contentkit-ui 0.104.0-rc.1 → 0.104.0-rc.3

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 (217) hide show
  1. package/README.md +6 -6
  2. package/dist/client/beacons.js +4 -1
  3. package/dist/client/beacons.js.map +1 -1
  4. package/dist/client/contents.d.ts +9 -1
  5. package/dist/client/contents.js +73 -55
  6. package/dist/client/contents.js.map +1 -1
  7. package/dist/client/discovery.d.ts +6 -2
  8. package/dist/client/discovery.js +1 -1
  9. package/dist/client/discovery.js.map +1 -1
  10. package/dist/client/generated/error-codes.d.ts +1 -1
  11. package/dist/client/generated/error-codes.js +4 -0
  12. package/dist/client/generated/error-codes.js.map +1 -1
  13. package/dist/client/generated/routes.d.ts +43 -30
  14. package/dist/client/generated/routes.js +70 -63
  15. package/dist/client/generated/routes.js.map +1 -1
  16. package/dist/client/generated/wire.d.ts +36 -74
  17. package/dist/client/generated/wire.js.map +1 -1
  18. package/dist/client/index.d.ts +1 -1
  19. package/dist/client/media/windows.d.ts +2 -0
  20. package/dist/client/media/windows.js +4 -1
  21. package/dist/client/media/windows.js.map +1 -1
  22. package/dist/client/stats.d.ts +4 -20
  23. package/dist/client/stats.js +0 -11
  24. package/dist/client/stats.js.map +1 -1
  25. package/dist/client/versions.d.ts +8 -6
  26. package/dist/client/versions.js +15 -10
  27. package/dist/client/versions.js.map +1 -1
  28. package/dist/components/admin/bulk-drafts.d.ts +17 -0
  29. package/dist/components/admin/bulk-drafts.js +41 -0
  30. package/dist/components/admin/bulk-drafts.js.map +1 -0
  31. package/dist/components/admin/content-admin.d.ts +1 -1
  32. package/dist/components/admin/content-admin.js.map +1 -1
  33. package/dist/components/admin/content-manager.d.ts +11 -3
  34. package/dist/components/admin/content-manager.js +739 -380
  35. package/dist/components/admin/content-manager.js.map +1 -1
  36. package/dist/components/admin/group-manager.d.ts +8 -3
  37. package/dist/components/admin/group-manager.js +218 -146
  38. package/dist/components/admin/group-manager.js.map +1 -1
  39. package/dist/components/admin/page-notices.d.ts +16 -0
  40. package/dist/components/admin/page-notices.js +113 -0
  41. package/dist/components/admin/page-notices.js.map +1 -0
  42. package/dist/components/admin/page-picker.d.ts +38 -0
  43. package/dist/components/admin/page-picker.js +159 -0
  44. package/dist/components/admin/page-picker.js.map +1 -0
  45. package/dist/components/admin/reader-content-editor.js +537 -500
  46. package/dist/components/admin/reader-content-editor.js.map +1 -1
  47. package/dist/components/admin/reader-manifest.js +181 -179
  48. package/dist/components/admin/reader-manifest.js.map +1 -1
  49. package/dist/components/admin/shell.d.ts +10 -2
  50. package/dist/components/admin/shell.js +114 -42
  51. package/dist/components/admin/shell.js.map +1 -1
  52. package/dist/components/admin/stats-dashboard.d.ts +4 -9
  53. package/dist/components/admin/stats-dashboard.js +300 -202
  54. package/dist/components/admin/stats-dashboard.js.map +1 -1
  55. package/dist/components/admin/upload-queue.d.ts +14 -0
  56. package/dist/components/admin/upload-queue.js +115 -98
  57. package/dist/components/admin/upload-queue.js.map +1 -1
  58. package/dist/components/content/card.d.ts +31 -3
  59. package/dist/components/content/card.js +324 -158
  60. package/dist/components/content/card.js.map +1 -1
  61. package/dist/components/content/daily-releases.js +14 -12
  62. package/dist/components/content/daily-releases.js.map +1 -1
  63. package/dist/components/content/editor-save.js +27 -25
  64. package/dist/components/content/editor-save.js.map +1 -1
  65. package/dist/components/content/editors.js +274 -253
  66. package/dist/components/content/editors.js.map +1 -1
  67. package/dist/components/content/favorites.d.ts +1 -1
  68. package/dist/components/content/favorites.js +36 -22
  69. package/dist/components/content/favorites.js.map +1 -1
  70. package/dist/components/content/grid.d.ts +11 -4
  71. package/dist/components/content/grid.js +52 -43
  72. package/dist/components/content/grid.js.map +1 -1
  73. package/dist/components/content/history.js +83 -63
  74. package/dist/components/content/history.js.map +1 -1
  75. package/dist/components/content/index.d.ts +5 -3
  76. package/dist/components/content/listing.d.ts +14 -3
  77. package/dist/components/content/listing.js +65 -56
  78. package/dist/components/content/listing.js.map +1 -1
  79. package/dist/components/content/offer-fields.js +6 -6
  80. package/dist/components/content/paged-grid.d.ts +10 -0
  81. package/dist/components/content/paged-grid.js +116 -0
  82. package/dist/components/content/paged-grid.js.map +1 -0
  83. package/dist/components/content/pagination.d.ts +19 -0
  84. package/dist/components/content/pagination.js +97 -0
  85. package/dist/components/content/pagination.js.map +1 -0
  86. package/dist/components/content/paywall.d.ts +9 -0
  87. package/dist/components/content/paywall.js +27 -3
  88. package/dist/components/content/paywall.js.map +1 -1
  89. package/dist/components/content/post-list.d.ts +37 -0
  90. package/dist/components/content/post-list.js +203 -0
  91. package/dist/components/content/post-list.js.map +1 -0
  92. package/dist/components/content/reader-settings.d.ts +2 -0
  93. package/dist/components/content/reader-settings.js +1 -1
  94. package/dist/components/content/reader-settings.js.map +1 -1
  95. package/dist/components/groups/banner.d.ts +6 -2
  96. package/dist/components/groups/banner.js +79 -61
  97. package/dist/components/groups/banner.js.map +1 -1
  98. package/dist/components/groups/directory.d.ts +12 -2
  99. package/dist/components/groups/directory.js +168 -105
  100. package/dist/components/groups/directory.js.map +1 -1
  101. package/dist/components/groups/editor.js +10 -10
  102. package/dist/components/groups/editor.js.map +1 -1
  103. package/dist/components/groups/entity-chips.d.ts +61 -0
  104. package/dist/components/groups/entity-chips.js +382 -0
  105. package/dist/components/groups/entity-chips.js.map +1 -0
  106. package/dist/components/groups/group-members.d.ts +29 -0
  107. package/dist/components/groups/group-members.js +474 -0
  108. package/dist/components/groups/group-members.js.map +1 -0
  109. package/dist/components/groups/header.js +53 -45
  110. package/dist/components/groups/header.js.map +1 -1
  111. package/dist/components/groups/index.d.ts +3 -1
  112. package/dist/components/groups/memberships.d.ts +3 -36
  113. package/dist/components/groups/memberships.js +105 -480
  114. package/dist/components/groups/memberships.js.map +1 -1
  115. package/dist/components/groups/scoped.d.ts +23 -0
  116. package/dist/components/groups/scoped.js +92 -0
  117. package/dist/components/groups/scoped.js.map +1 -0
  118. package/dist/components/media-folder-editor.d.ts +5 -0
  119. package/dist/components/media-folder-editor.js +418 -230
  120. package/dist/components/media-folder-editor.js.map +1 -1
  121. package/dist/components/social/poll.js +57 -48
  122. package/dist/components/social/poll.js.map +1 -1
  123. package/dist/components/sortable-list.d.ts +5 -1
  124. package/dist/components/sortable-list.js +97 -81
  125. package/dist/components/sortable-list.js.map +1 -1
  126. package/dist/index.d.ts +1 -1
  127. package/dist/index.js +41 -37
  128. package/dist/locales/admin/de.js +78 -45
  129. package/dist/locales/admin/de.js.map +1 -1
  130. package/dist/locales/admin/en.d.ts +74 -41
  131. package/dist/locales/admin/en.js +78 -45
  132. package/dist/locales/admin/en.js.map +1 -1
  133. package/dist/locales/admin/es.js +78 -45
  134. package/dist/locales/admin/es.js.map +1 -1
  135. package/dist/locales/admin/ja.js +78 -45
  136. package/dist/locales/admin/ja.js.map +1 -1
  137. package/dist/locales/admin/ko.js +78 -45
  138. package/dist/locales/admin/ko.js.map +1 -1
  139. package/dist/locales/admin/zh.js +78 -45
  140. package/dist/locales/admin/zh.js.map +1 -1
  141. package/dist/locales/de.js +2 -0
  142. package/dist/locales/de.js.map +1 -1
  143. package/dist/locales/discovery/de.js +25 -1
  144. package/dist/locales/discovery/de.js.map +1 -1
  145. package/dist/locales/discovery/en.d.ts +24 -0
  146. package/dist/locales/discovery/en.js +25 -1
  147. package/dist/locales/discovery/en.js.map +1 -1
  148. package/dist/locales/discovery/es.js +25 -1
  149. package/dist/locales/discovery/es.js.map +1 -1
  150. package/dist/locales/discovery/ja.js +25 -1
  151. package/dist/locales/discovery/ja.js.map +1 -1
  152. package/dist/locales/discovery/ko.js +25 -1
  153. package/dist/locales/discovery/ko.js.map +1 -1
  154. package/dist/locales/discovery/zh.js +25 -1
  155. package/dist/locales/discovery/zh.js.map +1 -1
  156. package/dist/locales/en.d.ts +120 -43
  157. package/dist/locales/en.js +2 -0
  158. package/dist/locales/en.js.map +1 -1
  159. package/dist/locales/es.js +2 -0
  160. package/dist/locales/es.js.map +1 -1
  161. package/dist/locales/groups/de.js +22 -4
  162. package/dist/locales/groups/de.js.map +1 -1
  163. package/dist/locales/groups/en.d.ts +20 -2
  164. package/dist/locales/groups/en.js +22 -4
  165. package/dist/locales/groups/en.js.map +1 -1
  166. package/dist/locales/groups/es.js +22 -4
  167. package/dist/locales/groups/es.js.map +1 -1
  168. package/dist/locales/groups/ja.js +22 -4
  169. package/dist/locales/groups/ja.js.map +1 -1
  170. package/dist/locales/groups/ko.js +22 -4
  171. package/dist/locales/groups/ko.js.map +1 -1
  172. package/dist/locales/groups/zh.js +22 -4
  173. package/dist/locales/groups/zh.js.map +1 -1
  174. package/dist/locales/ja.js +2 -0
  175. package/dist/locales/ja.js.map +1 -1
  176. package/dist/locales/ko.js +2 -0
  177. package/dist/locales/ko.js.map +1 -1
  178. package/dist/locales/zh.js +2 -0
  179. package/dist/locales/zh.js.map +1 -1
  180. package/dist/react/contents.js +1 -1
  181. package/dist/react/contents.js.map +1 -1
  182. package/dist/react/discovery.d.ts +16 -0
  183. package/dist/react/discovery.js +69 -37
  184. package/dist/react/discovery.js.map +1 -1
  185. package/dist/react/groups.d.ts +19 -3
  186. package/dist/react/groups.js +49 -22
  187. package/dist/react/groups.js.map +1 -1
  188. package/dist/react/index.d.ts +6 -4
  189. package/dist/react/page-notices.d.ts +13 -0
  190. package/dist/react/page-notices.js +38 -0
  191. package/dist/react/page-notices.js.map +1 -0
  192. package/dist/react/post-reads.d.ts +23 -0
  193. package/dist/react/post-reads.js +90 -0
  194. package/dist/react/post-reads.js.map +1 -0
  195. package/dist/react/remembered-sort.d.ts +5 -0
  196. package/dist/react/remembered-sort.js +29 -0
  197. package/dist/react/remembered-sort.js.map +1 -0
  198. package/dist/react/resources.js +2 -2
  199. package/dist/react/resources.js.map +1 -1
  200. package/dist/react/stats.d.ts +3 -7
  201. package/dist/react/stats.js +2 -6
  202. package/dist/react/stats.js.map +1 -1
  203. package/dist/react/use-engagement.d.ts +2 -0
  204. package/dist/react/use-engagement.js +40 -34
  205. package/dist/react/use-engagement.js.map +1 -1
  206. package/dist/react.js +29 -27
  207. package/dist/styles.css +1 -1
  208. package/dist/urls/index.d.ts +1 -1
  209. package/dist/urls.js +2 -2
  210. package/dist/urls.js.map +1 -1
  211. package/package.json +1 -1
  212. package/dist/components/admin/page-review.d.ts +0 -13
  213. package/dist/components/admin/page-review.js +0 -225
  214. package/dist/components/admin/page-review.js.map +0 -1
  215. package/dist/react/page-review.d.ts +0 -14
  216. package/dist/react/page-review.js +0 -37
  217. package/dist/react/page-review.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"error-codes.js","names":[],"sources":["../../../src/client/generated/error-codes.ts"],"sourcesContent":["// Generated by `go generate ./internal/contract` from ContentKit's error-code registry. Do not edit.\n\nexport type ErrorCode =\n | \"ambiguous_entity\"\n | \"animation_not_allowed\"\n | \"animation_too_long\"\n | \"animation_unsupported\"\n | \"checksum_mismatch\"\n | \"comment_banned\"\n | \"comment_too_long\"\n | \"comments_closed\"\n | \"comments_locked\"\n | \"conflict\"\n | \"content_changed\"\n | \"download_unavailable\"\n | \"forbidden\"\n | \"gone\"\n | \"image_too_large\"\n | \"image_too_small\"\n | \"image_unreadable\"\n | \"incomplete\"\n | \"internal_error\"\n | \"invalid_archive\"\n | \"invalid_request\"\n | \"limit_reached\"\n | \"moderation_rejected\"\n | \"no_download\"\n | \"not_configured\"\n | \"not_found\"\n | \"not_joinable\"\n | \"not_uploaded\"\n | \"operation_busy\"\n | \"operation_conflict\"\n | \"quota_exceeded\"\n | \"rate_limited\"\n | \"source_conflict\"\n | \"tenant_mismatch\"\n | \"too_large\"\n | \"too_many_files\"\n | \"type_not_allowed\"\n | \"unauthorized\"\n | \"unavailable\"\n | \"unknown_entity\"\n | \"upgrade_required\"\n | \"video_aspect_unsupported\"\n | \"video_over_budget\"\n | \"video_too_large\"\n | \"video_too_long\"\n;\n\n// Each code's HTTP status and meaning. A message on the wire is for people;\n// classify by code.\nexport const CONTENTKIT_ERROR_CODES: Readonly<Record<ErrorCode, { status: number; meaning: string }>> = {\n ambiguous_entity: { status: 409, meaning: \"More than one entity matches the localized name or alias and scope; supply its ID.\" },\n animation_not_allowed: { status: 422, meaning: \"An animated image where the upload path refuses animation.\" },\n animation_too_long: { status: 422, meaning: \"The animation has more frames or seconds than the processor allows.\" },\n animation_unsupported: { status: 415, meaning: \"An AVIF or HEIF image sequence, which is decoded as one frame.\" },\n checksum_mismatch: { status: 422, meaning: \"The stored bytes differ from the declared SHA-256.\" },\n comment_banned: { status: 403, meaning: \"The actor is banned from commenting on this target; `ban` says the scope, the reason and when it ends.\" },\n comment_too_long: { status: 422, meaning: \"The comment is longer than the site allows; `details.max` is the limit in characters.\" },\n comments_closed: { status: 403, meaning: \"The target's comments are closed or hidden: existing ones may show, new ones and edits are refused.\" },\n comments_locked: { status: 403, meaning: \"The actor can't open the content (or the comment's version), so its comments take no writes from them; reads withhold them.\" },\n conflict: { status: 409, meaning: \"A concurrent change, a path or slug already taken, or an operation id already used for another commit.\" },\n content_changed: { status: 409, meaning: \"A publishing operation's content or version was edited after submission.\" },\n download_unavailable: { status: 403, meaning: \"The host's download policy refuses this download now: `reason` is its code, `available_at` when it opens if a matter of time. Nothing was charged.\" },\n forbidden: { status: 403, meaning: \"The actor may not do this.\" },\n gone: { status: 410, meaning: \"The content was removed.\" },\n image_too_large: { status: 413, meaning: \"The image has more pixels or frames than the processor decodes.\" },\n image_too_small: { status: 422, meaning: \"The edited image is narrower than its public preset's minimum width.\" },\n image_unreadable: { status: 422, meaning: \"The file is not a decodable image of its declared type.\" },\n incomplete: { status: 409, meaning: \"A multipart upload is missing parts.\" },\n internal_error: { status: 500, meaning: \"A server fault; the cause is in the server log.\" },\n invalid_archive: { status: 422, meaning: \"The publishing archive cannot produce the required supported pages.\" },\n invalid_request: { status: 400, meaning: \"The request is malformed: its body, a query parameter or a path value.\" },\n limit_reached: { status: 409, meaning: \"The owner already has as many groups of the kind as the site allows (max_per_owner).\" },\n moderation_rejected: { status: 422, meaning: \"The moderator refused the text; `error` says why.\" },\n no_download: { status: 409, meaning: \"The version has no file its kind's download serves: nothing uploaded, or its upload failed or was dropped.\" },\n not_configured: { status: 501, meaning: \"The capability needs a port the host did not configure; retrying does not help.\" },\n not_found: { status: 404, meaning: \"Nothing by that name, or nothing the actor may see.\" },\n not_joinable: { status: 409, meaning: \"The group has no free offer to join: it sells its membership, or nothing.\" },\n not_uploaded: { status: 409, meaning: \"A commit names an upload that has not landed; `blobs` lists the ones to upload again.\" },\n operation_busy: { status: 409, meaning: \"The publishing operation is preparing an upload or completing another request; retry.\" },\n operation_conflict: { status: 409, meaning: \"A publishing operation ID already names different immutable input.\" },\n quota_exceeded: { status: 413, meaning: \"The uploader's storage quota is used up.\" },\n rate_limited: { status: 429, meaning: \"Too many requests; retry after `retry_after` seconds (also the Retry-After header).\" },\n source_conflict: { status: 409, meaning: \"The external source already belongs to another publishing operation in this app.\" },\n tenant_mismatch: { status: 500, meaning: \"A host port answered with another tenant's data: a configuration fault.\" },\n too_large: { status: 413, meaning: \"The file is larger than its upload path allows; `details` has `size` and `max_bytes`.\" },\n too_many_files: { status: 409, meaning: \"The commit would put more files in an upload path, or the item, than allowed; `details.max` is the limit.\" },\n type_not_allowed: { status: 415, meaning: \"The file type is not allowed in the upload path; `details.allowed` lists the types.\" },\n unauthorized: { status: 401, meaning: \"The request needs a valid credential: it has none where the route needs one, or one that is expired, revoked or invalid. WWW-Authenticate says which.\" },\n unavailable: { status: 503, meaning: \"The host's auth, media storage or signal plane cannot be reached, or a commit's recovery is pending; retry.\" },\n unknown_entity: { status: 400, meaning: \"A publishing entity reference does not resolve in this app and entity creation is disabled.\" },\n upgrade_required: { status: 503, meaning: \"The media item was stored before v0.68 and is served once the host's media upgrade (contentkit_media_upgrade) has converted it.\" },\n video_aspect_unsupported: { status: 422, meaning: \"The video's display aspect is outside what its upload path accepts; `details` has `min_aspect` and `max_aspect` (width/height).\" },\n video_over_budget: { status: 422, meaning: \"The planned encode costs more than its upload path allows, or the source averages under a frame a second.\" },\n video_too_large: { status: 422, meaning: \"The video's frames are larger than its upload path allows.\" },\n video_too_long: { status: 422, meaning: \"The video or audio runs longer than its upload path allows.\" },\n};\n"],"mappings":";AAoDA,IAAa,IAA2F;CACtG,kBAAkB;EAAE,QAAQ;EAAK,SAAS;CAAqF;CAC/H,uBAAuB;EAAE,QAAQ;EAAK,SAAS;CAA6D;CAC5G,oBAAoB;EAAE,QAAQ;EAAK,SAAS;CAAsE;CAClH,uBAAuB;EAAE,QAAQ;EAAK,SAAS;CAAiE;CAChH,mBAAmB;EAAE,QAAQ;EAAK,SAAS;CAAqD;CAChG,gBAAgB;EAAE,QAAQ;EAAK,SAAS;CAAyG;CACjJ,kBAAkB;EAAE,QAAQ;EAAK,SAAS;CAAwF;CAClI,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAAsG;CAC/I,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAA8H;CACvK,UAAU;EAAE,QAAQ;EAAK,SAAS;CAAyG;CAC3I,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAA2E;CACpH,sBAAsB;EAAE,QAAQ;EAAK,SAAS;CAAqJ;CACnM,WAAW;EAAE,QAAQ;EAAK,SAAS;CAA6B;CAChE,MAAM;EAAE,QAAQ;EAAK,SAAS;CAA2B;CACzD,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAAkE;CAC3G,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAAuE;CAChH,kBAAkB;EAAE,QAAQ;EAAK,SAAS;CAA0D;CACpG,YAAY;EAAE,QAAQ;EAAK,SAAS;CAAuC;CAC3E,gBAAgB;EAAE,QAAQ;EAAK,SAAS;CAAkD;CAC1F,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAAsE;CAC/G,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAAyE;CAClH,eAAe;EAAE,QAAQ;EAAK,SAAS;CAAuF;CAC9H,qBAAqB;EAAE,QAAQ;EAAK,SAAS;CAAoD;CACjG,aAAa;EAAE,QAAQ;EAAK,SAAS;CAA6G;CAClJ,gBAAgB;EAAE,QAAQ;EAAK,SAAS;CAAkF;CAC1H,WAAW;EAAE,QAAQ;EAAK,SAAS;CAAsD;CACzF,cAAc;EAAE,QAAQ;EAAK,SAAS;CAA4E;CAClH,cAAc;EAAE,QAAQ;EAAK,SAAS;CAAwF;CAC9H,gBAAgB;EAAE,QAAQ;EAAK,SAAS;CAAwF;CAChI,oBAAoB;EAAE,QAAQ;EAAK,SAAS;CAAqE;CACjH,gBAAgB;EAAE,QAAQ;EAAK,SAAS;CAA2C;CACnF,cAAc;EAAE,QAAQ;EAAK,SAAS;CAAsF;CAC5H,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAAmF;CAC5H,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAA0E;CACnH,WAAW;EAAE,QAAQ;EAAK,SAAS;CAAwF;CAC3H,gBAAgB;EAAE,QAAQ;EAAK,SAAS;CAA4G;CACpJ,kBAAkB;EAAE,QAAQ;EAAK,SAAS;CAAsF;CAChI,cAAc;EAAE,QAAQ;EAAK,SAAS;CAAwJ;CAC9L,aAAa;EAAE,QAAQ;EAAK,SAAS;CAA8G;CACnJ,gBAAgB;EAAE,QAAQ;EAAK,SAAS;CAA8F;CACtI,kBAAkB;EAAE,QAAQ;EAAK,SAAS;CAAkI;CAC5K,0BAA0B;EAAE,QAAQ;EAAK,SAAS;CAAkI;CACpL,mBAAmB;EAAE,QAAQ;EAAK,SAAS;CAA4G;CACvJ,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAA6D;CACtG,gBAAgB;EAAE,QAAQ;EAAK,SAAS;CAA8D;AACxG"}
1
+ {"version":3,"file":"error-codes.js","names":[],"sources":["../../../src/client/generated/error-codes.ts"],"sourcesContent":["// Generated by `go generate ./internal/contract` from ContentKit's error-code registry. Do not edit.\n\nexport type ErrorCode =\n | \"ambiguous_entity\"\n | \"animation_not_allowed\"\n | \"animation_too_long\"\n | \"animation_unsupported\"\n | \"checksum_mismatch\"\n | \"comment_banned\"\n | \"comment_too_long\"\n | \"comments_closed\"\n | \"comments_locked\"\n | \"conflict\"\n | \"content_changed\"\n | \"download_unavailable\"\n | \"forbidden\"\n | \"gone\"\n | \"image_too_large\"\n | \"image_too_small\"\n | \"image_unreadable\"\n | \"incomplete\"\n | \"internal_error\"\n | \"invalid_archive\"\n | \"invalid_request\"\n | \"limit_reached\"\n | \"moderation_rejected\"\n | \"no_download\"\n | \"not_configured\"\n | \"not_found\"\n | \"not_joinable\"\n | \"not_ready\"\n | \"not_uploaded\"\n | \"operation_busy\"\n | \"operation_conflict\"\n | \"quota_exceeded\"\n | \"rate_limited\"\n | \"source_conflict\"\n | \"tenant_mismatch\"\n | \"too_large\"\n | \"too_many_files\"\n | \"type_not_allowed\"\n | \"unauthorized\"\n | \"unavailable\"\n | \"unknown_entity\"\n | \"upgrade_required\"\n | \"video_aspect_unsupported\"\n | \"video_over_budget\"\n | \"video_too_large\"\n | \"video_too_long\"\n;\n\n// Each code's HTTP status and meaning. A message on the wire is for people;\n// classify by code.\nexport const CONTENTKIT_ERROR_CODES: Readonly<Record<ErrorCode, { status: number; meaning: string }>> = {\n ambiguous_entity: { status: 409, meaning: \"More than one entity matches the localized name or alias and scope; supply its ID.\" },\n animation_not_allowed: { status: 422, meaning: \"An animated image where the upload path refuses animation.\" },\n animation_too_long: { status: 422, meaning: \"The animation has more frames or seconds than the processor allows.\" },\n animation_unsupported: { status: 415, meaning: \"An AVIF or HEIF image sequence, which is decoded as one frame.\" },\n checksum_mismatch: { status: 422, meaning: \"The stored bytes differ from the declared SHA-256.\" },\n comment_banned: { status: 403, meaning: \"The actor is banned from commenting on this target; `ban` says the scope, the reason and when it ends.\" },\n comment_too_long: { status: 422, meaning: \"The comment is longer than the site allows; `details.max` is the limit in characters.\" },\n comments_closed: { status: 403, meaning: \"The target's comments are closed or hidden: existing ones may show, new ones and edits are refused.\" },\n comments_locked: { status: 403, meaning: \"The actor can't open the content (or the comment's version), so its comments take no writes from them; reads withhold them.\" },\n conflict: { status: 409, meaning: \"A concurrent change, a path or slug already taken, or an operation id already used for another commit.\" },\n content_changed: { status: 409, meaning: \"A publishing operation's content or version was edited after submission.\" },\n download_unavailable: { status: 403, meaning: \"The host's download policy refuses this download now: `reason` is its code, `available_at` when it opens if a matter of time. Nothing was charged.\" },\n forbidden: { status: 403, meaning: \"The actor may not do this.\" },\n gone: { status: 410, meaning: \"The content was removed.\" },\n image_too_large: { status: 413, meaning: \"The image has more pixels or frames than the processor decodes.\" },\n image_too_small: { status: 422, meaning: \"The edited image is narrower than its public preset's minimum width.\" },\n image_unreadable: { status: 422, meaning: \"The file is not a decodable image of its declared type.\" },\n incomplete: { status: 409, meaning: \"A multipart upload is missing parts.\" },\n internal_error: { status: 500, meaning: \"A server fault; the cause is in the server log.\" },\n invalid_archive: { status: 422, meaning: \"The publishing archive cannot produce the required supported pages.\" },\n invalid_request: { status: 400, meaning: \"The request is malformed: its body, a query parameter or a path value.\" },\n limit_reached: { status: 409, meaning: \"The owner already has as many groups of the kind as the site allows (max_per_owner).\" },\n moderation_rejected: { status: 422, meaning: \"The moderator refused the text; `error` says why.\" },\n no_download: { status: 409, meaning: \"The version has no file its kind's download serves: nothing uploaded, or its upload failed or was dropped.\" },\n not_configured: { status: 501, meaning: \"The capability needs a port the host did not configure; retrying does not help.\" },\n not_found: { status: 404, meaning: \"Nothing by that name, or nothing the actor may see.\" },\n not_joinable: { status: 409, meaning: \"The group has no free offer to join: it sells its membership, or nothing.\" },\n not_ready: { status: 409, meaning: \"A version that would go live still has files processing or a publication not yet current; `error` says what. Retry once processing finishes.\" },\n not_uploaded: { status: 409, meaning: \"A commit names an upload that has not landed; `blobs` lists the ones to upload again.\" },\n operation_busy: { status: 409, meaning: \"The publishing operation is preparing an upload or completing another request; retry.\" },\n operation_conflict: { status: 409, meaning: \"A publishing operation ID already names different immutable input.\" },\n quota_exceeded: { status: 413, meaning: \"The uploader's storage quota is used up.\" },\n rate_limited: { status: 429, meaning: \"Too many requests; retry after `retry_after` seconds (also the Retry-After header).\" },\n source_conflict: { status: 409, meaning: \"The external source already belongs to another publishing operation in this app.\" },\n tenant_mismatch: { status: 500, meaning: \"A host port answered with another tenant's data: a configuration fault.\" },\n too_large: { status: 413, meaning: \"The file is larger than its upload path allows; `details` has `size` and `max_bytes`.\" },\n too_many_files: { status: 409, meaning: \"The commit would put more files in an upload path, or the item, than allowed; `details.max` is the limit.\" },\n type_not_allowed: { status: 415, meaning: \"The file type is not allowed in the upload path; `details.allowed` lists the types.\" },\n unauthorized: { status: 401, meaning: \"The request needs a valid credential: it has none where the route needs one, or one that is expired, revoked or invalid. WWW-Authenticate says which.\" },\n unavailable: { status: 503, meaning: \"The host's auth, media storage or signal plane cannot be reached, or a commit's recovery is pending; retry.\" },\n unknown_entity: { status: 400, meaning: \"A publishing entity reference does not resolve in this app and entity creation is disabled.\" },\n upgrade_required: { status: 503, meaning: \"The media item was stored before v0.68 and is served once the host's media upgrade (contentkit_media_upgrade) has converted it.\" },\n video_aspect_unsupported: { status: 422, meaning: \"The video's display aspect is outside what its upload path accepts; `details` has `min_aspect` and `max_aspect` (width/height).\" },\n video_over_budget: { status: 422, meaning: \"The planned encode costs more than its upload path allows, or the source averages under a frame a second.\" },\n video_too_large: { status: 422, meaning: \"The video's frames are larger than its upload path allows.\" },\n video_too_long: { status: 422, meaning: \"The video or audio runs longer than its upload path allows.\" },\n};\n"],"mappings":";AAqDA,IAAa,IAA2F;CACtG,kBAAkB;EAAE,QAAQ;EAAK,SAAS;CAAqF;CAC/H,uBAAuB;EAAE,QAAQ;EAAK,SAAS;CAA6D;CAC5G,oBAAoB;EAAE,QAAQ;EAAK,SAAS;CAAsE;CAClH,uBAAuB;EAAE,QAAQ;EAAK,SAAS;CAAiE;CAChH,mBAAmB;EAAE,QAAQ;EAAK,SAAS;CAAqD;CAChG,gBAAgB;EAAE,QAAQ;EAAK,SAAS;CAAyG;CACjJ,kBAAkB;EAAE,QAAQ;EAAK,SAAS;CAAwF;CAClI,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAAsG;CAC/I,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAA8H;CACvK,UAAU;EAAE,QAAQ;EAAK,SAAS;CAAyG;CAC3I,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAA2E;CACpH,sBAAsB;EAAE,QAAQ;EAAK,SAAS;CAAqJ;CACnM,WAAW;EAAE,QAAQ;EAAK,SAAS;CAA6B;CAChE,MAAM;EAAE,QAAQ;EAAK,SAAS;CAA2B;CACzD,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAAkE;CAC3G,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAAuE;CAChH,kBAAkB;EAAE,QAAQ;EAAK,SAAS;CAA0D;CACpG,YAAY;EAAE,QAAQ;EAAK,SAAS;CAAuC;CAC3E,gBAAgB;EAAE,QAAQ;EAAK,SAAS;CAAkD;CAC1F,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAAsE;CAC/G,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAAyE;CAClH,eAAe;EAAE,QAAQ;EAAK,SAAS;CAAuF;CAC9H,qBAAqB;EAAE,QAAQ;EAAK,SAAS;CAAoD;CACjG,aAAa;EAAE,QAAQ;EAAK,SAAS;CAA6G;CAClJ,gBAAgB;EAAE,QAAQ;EAAK,SAAS;CAAkF;CAC1H,WAAW;EAAE,QAAQ;EAAK,SAAS;CAAsD;CACzF,cAAc;EAAE,QAAQ;EAAK,SAAS;CAA4E;CAClH,WAAW;EAAE,QAAQ;EAAK,SAAS;CAA+I;CAClL,cAAc;EAAE,QAAQ;EAAK,SAAS;CAAwF;CAC9H,gBAAgB;EAAE,QAAQ;EAAK,SAAS;CAAwF;CAChI,oBAAoB;EAAE,QAAQ;EAAK,SAAS;CAAqE;CACjH,gBAAgB;EAAE,QAAQ;EAAK,SAAS;CAA2C;CACnF,cAAc;EAAE,QAAQ;EAAK,SAAS;CAAsF;CAC5H,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAAmF;CAC5H,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAA0E;CACnH,WAAW;EAAE,QAAQ;EAAK,SAAS;CAAwF;CAC3H,gBAAgB;EAAE,QAAQ;EAAK,SAAS;CAA4G;CACpJ,kBAAkB;EAAE,QAAQ;EAAK,SAAS;CAAsF;CAChI,cAAc;EAAE,QAAQ;EAAK,SAAS;CAAwJ;CAC9L,aAAa;EAAE,QAAQ;EAAK,SAAS;CAA8G;CACnJ,gBAAgB;EAAE,QAAQ;EAAK,SAAS;CAA8F;CACtI,kBAAkB;EAAE,QAAQ;EAAK,SAAS;CAAkI;CAC5K,0BAA0B;EAAE,QAAQ;EAAK,SAAS;CAAkI;CACpL,mBAAmB;EAAE,QAAQ;EAAK,SAAS;CAA4G;CACvJ,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAA6D;CACtG,gBAAgB;EAAE,QAAQ;EAAK,SAAS;CAA8D;AACxG"}
@@ -905,7 +905,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
905
905
  readonly path: "/manage";
906
906
  readonly auth: "public";
907
907
  readonly permission: null;
908
- readonly query: readonly ["state", "owner_group", "q", "language", "limit", "offset"];
908
+ readonly query: readonly ["state", "owner_group", "access", "tier", "q", "code", "ids", "language", "limit", "offset"];
909
909
  readonly request: null;
910
910
  readonly responses: {
911
911
  readonly 200: "Content[]";
@@ -918,13 +918,26 @@ export declare const CONTENTKIT_ROUTES: readonly [{
918
918
  readonly path: "/manage/{kind}";
919
919
  readonly auth: "public";
920
920
  readonly permission: null;
921
- readonly query: readonly ["state", "owner_group", "q", "language", "limit", "offset"];
921
+ readonly query: readonly ["state", "owner_group", "access", "tier", "q", "code", "ids", "language", "limit", "offset"];
922
922
  readonly request: null;
923
923
  readonly responses: {
924
924
  readonly 200: "Content[]";
925
925
  };
926
926
  readonly errors: readonly ["not_found"];
927
927
  readonly errorSets: readonly ["module:contents", "auth", "request"];
928
+ }, {
929
+ readonly method: "GET";
930
+ readonly module: "contents";
931
+ readonly path: "/manage/{kind}/count";
932
+ readonly auth: "public";
933
+ readonly permission: null;
934
+ readonly query: readonly ["state", "owner_group", "access", "tier", "q"];
935
+ readonly request: null;
936
+ readonly responses: {
937
+ readonly 200: "ManageCount";
938
+ };
939
+ readonly errors: readonly ["not_found"];
940
+ readonly errorSets: readonly ["module:contents", "auth", "request"];
928
941
  }, {
929
942
  readonly method: "POST";
930
943
  readonly module: "contents";
@@ -989,7 +1002,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
989
1002
  readonly 200: "Content";
990
1003
  readonly 202: "Content";
991
1004
  };
992
- readonly errors: readonly ["conflict", "forbidden", "not_found", "moderation_rejected"];
1005
+ readonly errors: readonly ["conflict", "forbidden", "not_found", "moderation_rejected", "not_ready"];
993
1006
  readonly errorSets: readonly ["module:contents", "auth", "request"];
994
1007
  }, {
995
1008
  readonly method: "POST";
@@ -1094,7 +1107,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
1094
1107
  readonly responses: {
1095
1108
  readonly 200: "Version";
1096
1109
  };
1097
- readonly errors: readonly ["forbidden", "not_found"];
1110
+ readonly errors: readonly ["forbidden", "not_found", "not_ready"];
1098
1111
  readonly errorSets: readonly ["module:contents", "auth", "request"];
1099
1112
  }, {
1100
1113
  readonly method: "DELETE";
@@ -1295,7 +1308,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
1295
1308
  readonly method: "GET";
1296
1309
  readonly module: "codes";
1297
1310
  readonly path: "/{code}";
1298
- readonly auth: "open";
1311
+ readonly auth: "public";
1299
1312
  readonly permission: null;
1300
1313
  readonly query: readonly ["lang", "v"];
1301
1314
  readonly request: null;
@@ -1303,7 +1316,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
1303
1316
  readonly 200: "Resolved";
1304
1317
  };
1305
1318
  readonly errors: readonly ["gone", "not_found"];
1306
- readonly errorSets: readonly ["module:codes", "request"];
1319
+ readonly errorSets: readonly ["module:codes", "auth", "request"];
1307
1320
  }, {
1308
1321
  readonly method: "POST";
1309
1322
  readonly module: "codes";
@@ -1323,7 +1336,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
1323
1336
  readonly path: "/entities";
1324
1337
  readonly auth: "public";
1325
1338
  readonly permission: null;
1326
- readonly query: readonly ["kind", "parent", "scope", "slug", "letter", "language", "content_kind", "sort", "cursor", "limit"];
1339
+ readonly query: readonly ["kind", "parent", "scope", "slug", "letter", "language", "content_kind", "sort", "cursor", "page", "limit"];
1327
1340
  readonly request: null;
1328
1341
  readonly responses: {
1329
1342
  readonly 200: "GroupPage";
@@ -1349,7 +1362,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
1349
1362
  readonly path: "/manage/entities";
1350
1363
  readonly auth: "staff";
1351
1364
  readonly permission: "root:entities:write";
1352
- readonly query: readonly ["kind", "parent", "scope", "slug", "q", "letter", "language", "content_kind", "sort", "cursor", "limit"];
1365
+ readonly query: readonly ["state", "kind", "parent", "scope", "slug", "q", "letter", "language", "content_kind", "sort", "cursor", "limit"];
1353
1366
  readonly request: null;
1354
1367
  readonly responses: {
1355
1368
  readonly 200: "GroupPage";
@@ -1658,28 +1671,41 @@ export declare const CONTENTKIT_ROUTES: readonly [{
1658
1671
  }, {
1659
1672
  readonly method: "GET";
1660
1673
  readonly module: "versions";
1661
- readonly path: "/contents/{id}/versions/{version}/pages";
1674
+ readonly path: "/contents/{id}/versions/{version}/page-notices";
1662
1675
  readonly auth: "editor";
1663
1676
  readonly permission: "root:content:write";
1664
1677
  readonly query: readonly [];
1665
1678
  readonly request: null;
1666
1679
  readonly responses: {
1667
- readonly 200: "PageReview";
1680
+ readonly 200: "PageNotices";
1668
1681
  };
1669
1682
  readonly errors: readonly ["not_found", "forbidden"];
1670
1683
  readonly errorSets: readonly ["module:versions", "auth", "request"];
1671
1684
  }, {
1672
- readonly method: "PATCH";
1685
+ readonly method: "POST";
1686
+ readonly module: "versions";
1687
+ readonly path: "/contents/{id}/versions/{version}/page-notices/{notice}/dismiss";
1688
+ readonly auth: "editor";
1689
+ readonly permission: "root:content:write";
1690
+ readonly query: readonly [];
1691
+ readonly request: null;
1692
+ readonly responses: {
1693
+ readonly 204: null;
1694
+ };
1695
+ readonly errors: readonly ["not_found", "forbidden"];
1696
+ readonly errorSets: readonly ["module:versions", "auth", "request"];
1697
+ }, {
1698
+ readonly method: "POST";
1673
1699
  readonly module: "versions";
1674
- readonly path: "/contents/{id}/versions/{version}/pages";
1700
+ readonly path: "/contents/{id}/versions/{version}/page-notices/{notice}/restore";
1675
1701
  readonly auth: "editor";
1676
1702
  readonly permission: "root:content:write";
1677
1703
  readonly query: readonly [];
1678
- readonly request: "PageReviewPatch";
1704
+ readonly request: null;
1679
1705
  readonly responses: {
1680
- readonly 200: "PageReview";
1706
+ readonly 200: "PageNotices";
1681
1707
  };
1682
- readonly errors: readonly ["conflict", "invalid_request", "not_found", "forbidden"];
1708
+ readonly errors: readonly ["invalid_request", "not_found", "forbidden"];
1683
1709
  readonly errorSets: readonly ["module:versions", "auth", "request"];
1684
1710
  }, {
1685
1711
  readonly method: "GET";
@@ -1923,7 +1949,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
1923
1949
  readonly path: "/contents";
1924
1950
  readonly auth: "public";
1925
1951
  readonly permission: null;
1926
- readonly query: readonly ["kind", "ids", "groups", "exclude_groups", "owner_group", "creators", "access", "tiers", "traits", "attribute", "released_on", "published_within", "tz", "view_status", "language", "display_language", "mode", "sort", "card_entities", "summary", "activity_from", "activity_until", "cursor", "limit"];
1952
+ readonly query: readonly ["kind", "ids", "groups", "exclude_groups", "owner_group", "creators", "access", "tiers", "traits", "attribute", "released_on", "published_within", "tz", "view_status", "language", "display_language", "mode", "sort", "card_entities", "summary", "activity_from", "activity_until", "cursor", "limit", "page"];
1927
1953
  readonly request: null;
1928
1954
  readonly responses: {
1929
1955
  readonly 200: "ContentPage";
@@ -1936,7 +1962,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
1936
1962
  readonly path: "/search";
1937
1963
  readonly auth: "public";
1938
1964
  readonly permission: null;
1939
- readonly query: readonly ["q", "kind", "ids", "groups", "exclude_groups", "owner_group", "creators", "access", "tiers", "traits", "attribute", "released_on", "published_within", "tz", "view_status", "language", "display_language", "mode", "sort", "card_entities", "summary", "personalize", "session", "cursor", "limit"];
1965
+ readonly query: readonly ["q", "kind", "ids", "groups", "exclude_groups", "owner_group", "creators", "access", "tiers", "traits", "attribute", "released_on", "published_within", "tz", "view_status", "language", "display_language", "mode", "sort", "card_entities", "summary", "personalize", "session", "cursor", "limit", "page"];
1940
1966
  readonly request: null;
1941
1967
  readonly responses: {
1942
1968
  readonly 200: "ContentPage";
@@ -2177,19 +2203,6 @@ export declare const CONTENTKIT_ROUTES: readonly [{
2177
2203
  };
2178
2204
  readonly errors: readonly ["not_configured"];
2179
2205
  readonly errorSets: readonly ["module:discovery", "auth", "request"];
2180
- }, {
2181
- readonly method: "GET";
2182
- readonly module: "discovery";
2183
- readonly path: "/stats/top";
2184
- readonly auth: "staff";
2185
- readonly permission: "root:content:view-restricted";
2186
- readonly query: readonly ["kind", "metric", "period", "access", "tiers", "language", "limit"];
2187
- readonly request: null;
2188
- readonly responses: {
2189
- readonly 200: "TopContents";
2190
- };
2191
- readonly errors: readonly ["not_configured"];
2192
- readonly errorSets: readonly ["module:discovery", "auth", "request"];
2193
2206
  }, {
2194
2207
  readonly method: "GET";
2195
2208
  readonly module: "discovery";
@@ -1257,7 +1257,11 @@ var e = {
1257
1257
  query: [
1258
1258
  "state",
1259
1259
  "owner_group",
1260
+ "access",
1261
+ "tier",
1260
1262
  "q",
1263
+ "code",
1264
+ "ids",
1261
1265
  "language",
1262
1266
  "limit",
1263
1267
  "offset"
@@ -1280,7 +1284,11 @@ var e = {
1280
1284
  query: [
1281
1285
  "state",
1282
1286
  "owner_group",
1287
+ "access",
1288
+ "tier",
1283
1289
  "q",
1290
+ "code",
1291
+ "ids",
1284
1292
  "language",
1285
1293
  "limit",
1286
1294
  "offset"
@@ -1294,6 +1302,28 @@ var e = {
1294
1302
  "request"
1295
1303
  ]
1296
1304
  },
1305
+ {
1306
+ method: "GET",
1307
+ module: "contents",
1308
+ path: "/manage/{kind}/count",
1309
+ auth: "public",
1310
+ permission: null,
1311
+ query: [
1312
+ "state",
1313
+ "owner_group",
1314
+ "access",
1315
+ "tier",
1316
+ "q"
1317
+ ],
1318
+ request: null,
1319
+ responses: { 200: "ManageCount" },
1320
+ errors: ["not_found"],
1321
+ errorSets: [
1322
+ "module:contents",
1323
+ "auth",
1324
+ "request"
1325
+ ]
1326
+ },
1297
1327
  {
1298
1328
  method: "POST",
1299
1329
  module: "contents",
@@ -1379,7 +1409,8 @@ var e = {
1379
1409
  "conflict",
1380
1410
  "forbidden",
1381
1411
  "not_found",
1382
- "moderation_rejected"
1412
+ "moderation_rejected",
1413
+ "not_ready"
1383
1414
  ],
1384
1415
  errorSets: [
1385
1416
  "module:contents",
@@ -1528,7 +1559,11 @@ var e = {
1528
1559
  query: [],
1529
1560
  request: "VersionInput",
1530
1561
  responses: { 200: "Version" },
1531
- errors: ["forbidden", "not_found"],
1562
+ errors: [
1563
+ "forbidden",
1564
+ "not_found",
1565
+ "not_ready"
1566
+ ],
1532
1567
  errorSets: [
1533
1568
  "module:contents",
1534
1569
  "auth",
@@ -1830,13 +1865,17 @@ var e = {
1830
1865
  method: "GET",
1831
1866
  module: "codes",
1832
1867
  path: "/{code}",
1833
- auth: "open",
1868
+ auth: "public",
1834
1869
  permission: null,
1835
1870
  query: ["lang", "v"],
1836
1871
  request: null,
1837
1872
  responses: { 200: "Resolved" },
1838
1873
  errors: ["gone", "not_found"],
1839
- errorSets: ["module:codes", "request"]
1874
+ errorSets: [
1875
+ "module:codes",
1876
+ "auth",
1877
+ "request"
1878
+ ]
1840
1879
  },
1841
1880
  {
1842
1881
  method: "POST",
@@ -1866,6 +1905,7 @@ var e = {
1866
1905
  "content_kind",
1867
1906
  "sort",
1868
1907
  "cursor",
1908
+ "page",
1869
1909
  "limit"
1870
1910
  ],
1871
1911
  request: null,
@@ -1900,6 +1940,7 @@ var e = {
1900
1940
  auth: "staff",
1901
1941
  permission: "root:entities:write",
1902
1942
  query: [
1943
+ "state",
1903
1944
  "kind",
1904
1945
  "parent",
1905
1946
  "scope",
@@ -2311,12 +2352,12 @@ var e = {
2311
2352
  {
2312
2353
  method: "GET",
2313
2354
  module: "versions",
2314
- path: "/contents/{id}/versions/{version}/pages",
2355
+ path: "/contents/{id}/versions/{version}/page-notices",
2315
2356
  auth: "editor",
2316
2357
  permission: "root:content:write",
2317
2358
  query: [],
2318
2359
  request: null,
2319
- responses: { 200: "PageReview" },
2360
+ responses: { 200: "PageNotices" },
2320
2361
  errors: ["not_found", "forbidden"],
2321
2362
  errorSets: [
2322
2363
  "module:versions",
@@ -2325,16 +2366,31 @@ var e = {
2325
2366
  ]
2326
2367
  },
2327
2368
  {
2328
- method: "PATCH",
2369
+ method: "POST",
2329
2370
  module: "versions",
2330
- path: "/contents/{id}/versions/{version}/pages",
2371
+ path: "/contents/{id}/versions/{version}/page-notices/{notice}/dismiss",
2331
2372
  auth: "editor",
2332
2373
  permission: "root:content:write",
2333
2374
  query: [],
2334
- request: "PageReviewPatch",
2335
- responses: { 200: "PageReview" },
2375
+ request: null,
2376
+ responses: { 204: null },
2377
+ errors: ["not_found", "forbidden"],
2378
+ errorSets: [
2379
+ "module:versions",
2380
+ "auth",
2381
+ "request"
2382
+ ]
2383
+ },
2384
+ {
2385
+ method: "POST",
2386
+ module: "versions",
2387
+ path: "/contents/{id}/versions/{version}/page-notices/{notice}/restore",
2388
+ auth: "editor",
2389
+ permission: "root:content:write",
2390
+ query: [],
2391
+ request: null,
2392
+ responses: { 200: "PageNotices" },
2336
2393
  errors: [
2337
- "conflict",
2338
2394
  "invalid_request",
2339
2395
  "not_found",
2340
2396
  "forbidden"
@@ -2708,7 +2764,8 @@ var e = {
2708
2764
  "activity_from",
2709
2765
  "activity_until",
2710
2766
  "cursor",
2711
- "limit"
2767
+ "limit",
2768
+ "page"
2712
2769
  ],
2713
2770
  request: null,
2714
2771
  responses: { 200: "ContentPage" },
@@ -2725,33 +2782,7 @@ var e = {
2725
2782
  path: "/search",
2726
2783
  auth: "public",
2727
2784
  permission: null,
2728
- query: [
2729
- "q",
2730
- "kind",
2731
- "ids",
2732
- "groups",
2733
- "exclude_groups",
2734
- "owner_group",
2735
- "creators",
2736
- "access",
2737
- "tiers",
2738
- "traits",
2739
- "attribute",
2740
- "released_on",
2741
- "published_within",
2742
- "tz",
2743
- "view_status",
2744
- "language",
2745
- "display_language",
2746
- "mode",
2747
- "sort",
2748
- "card_entities",
2749
- "summary",
2750
- "personalize",
2751
- "session",
2752
- "cursor",
2753
- "limit"
2754
- ],
2785
+ query: /* @__PURE__ */ "q.kind.ids.groups.exclude_groups.owner_group.creators.access.tiers.traits.attribute.released_on.published_within.tz.view_status.language.display_language.mode.sort.card_entities.summary.personalize.session.cursor.limit.page".split("."),
2755
2786
  request: null,
2756
2787
  responses: { 200: "ContentPage" },
2757
2788
  errors: ["not_configured"],
@@ -3151,30 +3182,6 @@ var e = {
3151
3182
  "request"
3152
3183
  ]
3153
3184
  },
3154
- {
3155
- method: "GET",
3156
- module: "discovery",
3157
- path: "/stats/top",
3158
- auth: "staff",
3159
- permission: "root:content:view-restricted",
3160
- query: [
3161
- "kind",
3162
- "metric",
3163
- "period",
3164
- "access",
3165
- "tiers",
3166
- "language",
3167
- "limit"
3168
- ],
3169
- request: null,
3170
- responses: { 200: "TopContents" },
3171
- errors: ["not_configured"],
3172
- errorSets: [
3173
- "module:discovery",
3174
- "auth",
3175
- "request"
3176
- ]
3177
- },
3178
3185
  {
3179
3186
  method: "GET",
3180
3187
  module: "discovery",