@kardalum/plugin-sdk 0.17.0 → 0.19.0

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 (247) hide show
  1. package/CHANGELOG.md +109 -0
  2. package/README.md +4 -3
  3. package/dist/assets/asset-picker.d.ts +11 -0
  4. package/dist/assets/asset-picker.js +109 -0
  5. package/dist/assets/asset-tree.d.ts +30 -0
  6. package/dist/assets/asset-tree.js +150 -0
  7. package/dist/built-in-editor-ids.d.ts +1 -0
  8. package/dist/built-in-editor-ids.js +20 -0
  9. package/dist/built-in-serializers.js +1 -1
  10. package/dist/built-in-settings-schemas.d.ts +2 -0
  11. package/dist/built-in-settings-schemas.js +31 -4
  12. package/dist/built-in-value-schemas.js +3 -0
  13. package/dist/built-ins.js +20 -11
  14. package/dist/capabilities.js +5 -0
  15. package/dist/data-type-plugin.d.ts +2 -2
  16. package/dist/datatype-validation.d.ts +2 -2
  17. package/dist/datatype-validation.js +20 -6
  18. package/dist/datatypes-entry.d.ts +1 -0
  19. package/dist/datatypes-entry.js +1 -0
  20. package/dist/define-plugin.d.ts +4 -4
  21. package/dist/define-plugin.js +5 -5
  22. package/dist/entitlement-entry.d.ts +3 -2
  23. package/dist/entitlement-entry.js +13 -1
  24. package/dist/entitlement-gate.d.ts +18 -0
  25. package/dist/entitlement-gate.js +95 -21
  26. package/dist/entitlement-plan.d.ts +21 -0
  27. package/dist/entitlement-plan.js +26 -0
  28. package/dist/entitlement-types.d.ts +21 -4
  29. package/dist/entitlement.d.ts +29 -1
  30. package/dist/entitlement.js +39 -0
  31. package/dist/grid-arrow-step.d.ts +7 -0
  32. package/dist/grid-arrow-step.js +20 -0
  33. package/dist/index.d.ts +8 -1
  34. package/dist/index.js +11 -12
  35. package/dist/manifest-entry.d.ts +4 -0
  36. package/dist/manifest-entry.js +4 -0
  37. package/dist/manifest-schema.d.ts +5 -1
  38. package/dist/manifest-schema.js +14 -2
  39. package/dist/manifest.d.ts +21 -1
  40. package/dist/media/media-picker.js +34 -34
  41. package/dist/notify.d.ts +17 -0
  42. package/dist/notify.js +17 -0
  43. package/dist/plugin-context.js +3 -3
  44. package/dist/register-built-ins.js +6 -6
  45. package/dist/registry.js +1 -1
  46. package/dist/richtext/block-panel.js +19 -20
  47. package/dist/richtext/extensions.js +17 -8
  48. package/dist/richtext/insert-menu.js +4 -4
  49. package/dist/richtext/kardalum-block.js +17 -17
  50. package/dist/richtext/style-listbox.js +2 -2
  51. package/dist/richtext/text-style-class.js +1 -1
  52. package/dist/richtext-html-entry.d.ts +35 -0
  53. package/dist/richtext-html-entry.js +73 -0
  54. package/dist/simple-storage-value-provider.js +3 -3
  55. package/dist/structured-storage-types.d.ts +12 -1
  56. package/dist/structured-storage-types.js +2 -2
  57. package/dist/tailwind.js +10 -3
  58. package/dist/tokens/tailwind-theme.css +176 -0
  59. package/dist/tokens/tokens.css +1 -0
  60. package/dist/tokens/tokens.json +2 -1
  61. package/dist/ui-entry.js +3 -3
  62. package/dist/vendor-check.d.ts +39 -0
  63. package/dist/vendor-check.js +79 -0
  64. package/dist/vendor-entry.d.ts +3 -0
  65. package/dist/vendor-entry.js +9 -0
  66. package/dist/vendor-service.d.ts +20 -0
  67. package/dist/vendor-service.js +20 -0
  68. package/dist/views/asset-view.d.ts +6 -0
  69. package/dist/views/asset-view.js +55 -0
  70. package/dist/views/content-list-settings-view.js +1 -1
  71. package/dist/views/content-list-view.js +1 -1
  72. package/dist/views/date-range-view.js +5 -5
  73. package/dist/views/html-code-editor.js +2 -3
  74. package/dist/views/html-view.js +7 -7
  75. package/dist/views/image-view.js +5 -5
  76. package/dist/views/rich-text-view.js +33 -32
  77. package/node_modules/@kardalum/api-schemas/README.md +1 -1
  78. package/node_modules/@kardalum/api-schemas/dist/api-error.schema.js +1 -1
  79. package/node_modules/@kardalum/api-schemas/dist/asset-api.schema.js +17 -15
  80. package/node_modules/@kardalum/api-schemas/dist/asset-field.schema.d.ts +21 -0
  81. package/node_modules/@kardalum/api-schemas/dist/asset-field.schema.js +42 -0
  82. package/node_modules/@kardalum/api-schemas/dist/asset.schema.d.ts +1 -0
  83. package/node_modules/@kardalum/api-schemas/dist/asset.schema.js +10 -3
  84. package/node_modules/@kardalum/api-schemas/dist/auth.schema.js +1 -1
  85. package/node_modules/@kardalum/api-schemas/dist/checkout-shown.schema.d.ts +36 -0
  86. package/node_modules/@kardalum/api-schemas/dist/checkout-shown.schema.js +46 -0
  87. package/node_modules/@kardalum/api-schemas/dist/content-api.schema.d.ts +13 -0
  88. package/node_modules/@kardalum/api-schemas/dist/content-api.schema.js +30 -9
  89. package/node_modules/@kardalum/api-schemas/dist/content-trash-api.schema.js +3 -3
  90. package/node_modules/@kardalum/api-schemas/dist/content-trash.schema.js +1 -1
  91. package/node_modules/@kardalum/api-schemas/dist/core-actions.d.ts +12 -6
  92. package/node_modules/@kardalum/api-schemas/dist/core-actions.js +11 -6
  93. package/node_modules/@kardalum/api-schemas/dist/data-type-api.schema.d.ts +50 -0
  94. package/node_modules/@kardalum/api-schemas/dist/data-type-api.schema.js +26 -6
  95. package/node_modules/@kardalum/api-schemas/dist/data-type-config.schema.d.ts +1 -0
  96. package/node_modules/@kardalum/api-schemas/dist/data-type-config.schema.js +6 -3
  97. package/node_modules/@kardalum/api-schemas/dist/data-type-cursor.d.ts +11 -0
  98. package/node_modules/@kardalum/api-schemas/dist/data-type-cursor.js +28 -0
  99. package/node_modules/@kardalum/api-schemas/dist/document-type-api.schema.d.ts +90 -0
  100. package/node_modules/@kardalum/api-schemas/dist/document-type-api.schema.js +56 -6
  101. package/node_modules/@kardalum/api-schemas/dist/document-type.schema.js +8 -8
  102. package/node_modules/@kardalum/api-schemas/dist/home.schema.d.ts +130 -0
  103. package/node_modules/@kardalum/api-schemas/dist/home.schema.js +87 -0
  104. package/node_modules/@kardalum/api-schemas/dist/index.d.ts +48 -19
  105. package/node_modules/@kardalum/api-schemas/dist/index.js +34 -12
  106. package/node_modules/@kardalum/api-schemas/dist/kardalum-latest.schema.d.ts +7 -0
  107. package/node_modules/@kardalum/api-schemas/dist/kardalum-latest.schema.js +9 -0
  108. package/node_modules/@kardalum/api-schemas/dist/listing-categories.schema.d.ts +46 -0
  109. package/node_modules/@kardalum/api-schemas/dist/listing-categories.schema.js +52 -0
  110. package/node_modules/@kardalum/api-schemas/dist/marketplace-listing-api.schema.d.ts +162 -1
  111. package/node_modules/@kardalum/api-schemas/dist/marketplace-listing-api.schema.js +144 -9
  112. package/node_modules/@kardalum/api-schemas/dist/marketplace-package-api.schema.d.ts +17 -0
  113. package/node_modules/@kardalum/api-schemas/dist/marketplace-package-api.schema.js +16 -0
  114. package/node_modules/@kardalum/api-schemas/dist/media-api.schema.d.ts +26 -0
  115. package/node_modules/@kardalum/api-schemas/dist/media-api.schema.js +15 -9
  116. package/node_modules/@kardalum/api-schemas/dist/media-reference-use.d.ts +10 -0
  117. package/node_modules/@kardalum/api-schemas/dist/media-reference-use.js +4 -4
  118. package/node_modules/@kardalum/api-schemas/dist/media.schema.js +5 -5
  119. package/node_modules/@kardalum/api-schemas/dist/news.schema.d.ts +93 -0
  120. package/node_modules/@kardalum/api-schemas/dist/news.schema.js +86 -0
  121. package/node_modules/@kardalum/api-schemas/dist/node-access.schema.js +13 -0
  122. package/node_modules/@kardalum/api-schemas/dist/notification.schema.d.ts +410 -0
  123. package/node_modules/@kardalum/api-schemas/dist/notification.schema.js +193 -0
  124. package/node_modules/@kardalum/api-schemas/dist/plan-editor.schema.d.ts +86 -0
  125. package/node_modules/@kardalum/api-schemas/dist/plan-editor.schema.js +92 -0
  126. package/node_modules/@kardalum/api-schemas/dist/plugin-docs-api.schema.d.ts +7 -2
  127. package/node_modules/@kardalum/api-schemas/dist/plugin-docs-api.schema.js +7 -0
  128. package/node_modules/@kardalum/api-schemas/dist/plugin-docs-text.js +1 -0
  129. package/node_modules/@kardalum/api-schemas/dist/plugin-management-api.schema.d.ts +251 -0
  130. package/node_modules/@kardalum/api-schemas/dist/plugin-management-api.schema.js +196 -31
  131. package/node_modules/@kardalum/api-schemas/dist/plugin-read-only.schema.d.ts +19 -0
  132. package/node_modules/@kardalum/api-schemas/dist/plugin-read-only.schema.js +33 -0
  133. package/node_modules/@kardalum/api-schemas/dist/plugin-registry-api.schema.js +1 -1
  134. package/node_modules/@kardalum/api-schemas/dist/plugin-storage-api.schema.js +3 -3
  135. package/node_modules/@kardalum/api-schemas/dist/plugin-template-payload.d.ts +10 -1
  136. package/node_modules/@kardalum/api-schemas/dist/plugin-template-payload.js +24 -4
  137. package/node_modules/@kardalum/api-schemas/dist/public-api.schema.d.ts +5 -0
  138. package/node_modules/@kardalum/api-schemas/dist/public-api.schema.js +23 -20
  139. package/node_modules/@kardalum/api-schemas/dist/render-editing.js +4 -4
  140. package/node_modules/@kardalum/api-schemas/dist/render-settings-api.schema.js +1 -1
  141. package/node_modules/@kardalum/api-schemas/dist/revenue-view.schema.d.ts +83 -0
  142. package/node_modules/@kardalum/api-schemas/dist/revenue-view.schema.js +73 -0
  143. package/node_modules/@kardalum/api-schemas/dist/server-settings-api.schema.d.ts +207 -0
  144. package/node_modules/@kardalum/api-schemas/dist/server-settings-api.schema.js +147 -0
  145. package/node_modules/@kardalum/api-schemas/dist/setup-api.schema.d.ts +11 -0
  146. package/node_modules/@kardalum/api-schemas/dist/setup-api.schema.js +17 -8
  147. package/node_modules/@kardalum/api-schemas/dist/sites.schema.d.ts +14 -0
  148. package/node_modules/@kardalum/api-schemas/dist/sites.schema.js +7 -0
  149. package/node_modules/@kardalum/api-schemas/dist/snapshot-api.schema.d.ts +3 -3
  150. package/node_modules/@kardalum/api-schemas/dist/snapshot.schema.d.ts +1 -1
  151. package/node_modules/@kardalum/api-schemas/dist/snapshot.schema.js +1 -1
  152. package/node_modules/@kardalum/api-schemas/dist/template-api.schema.d.ts +10 -0
  153. package/node_modules/@kardalum/api-schemas/dist/template-api.schema.js +27 -12
  154. package/node_modules/@kardalum/api-schemas/dist/template.schema.d.ts +7 -0
  155. package/node_modules/@kardalum/api-schemas/dist/template.schema.js +22 -10
  156. package/node_modules/@kardalum/api-schemas/dist/theme-api.schema.d.ts +1 -1
  157. package/node_modules/@kardalum/api-schemas/dist/theme-api.schema.js +1 -1
  158. package/node_modules/@kardalum/api-schemas/dist/user-api.schema.d.ts +12 -0
  159. package/node_modules/@kardalum/api-schemas/dist/user-api.schema.js +6 -1
  160. package/node_modules/@kardalum/api-schemas/dist/uuid.schema.d.ts +2 -0
  161. package/node_modules/@kardalum/api-schemas/dist/uuid.schema.js +4 -0
  162. package/node_modules/@kardalum/api-schemas/dist/vendor-service.schema.d.ts +88 -0
  163. package/node_modules/@kardalum/api-schemas/dist/vendor-service.schema.js +100 -0
  164. package/node_modules/@kardalum/api-schemas/dist/whoami-api.schema.d.ts +13 -0
  165. package/node_modules/@kardalum/api-schemas/dist/whoami-api.schema.js +5 -0
  166. package/node_modules/@kardalum/design-tokens/README.md +1 -1
  167. package/node_modules/@kardalum/design-tokens/dist/build-css.d.ts +1 -1
  168. package/node_modules/@kardalum/design-tokens/dist/build-css.js +2 -2
  169. package/node_modules/@kardalum/design-tokens/dist/build-theme-css.d.ts +16 -0
  170. package/node_modules/@kardalum/design-tokens/dist/build-theme-css.js +76 -0
  171. package/node_modules/@kardalum/design-tokens/dist/generate.js +4 -1
  172. package/node_modules/@kardalum/design-tokens/dist/tailwind-theme.css +176 -0
  173. package/node_modules/@kardalum/design-tokens/dist/tailwind-theme.d.ts +1 -1
  174. package/node_modules/@kardalum/design-tokens/dist/tailwind-theme.js +3 -3
  175. package/node_modules/@kardalum/design-tokens/dist/theme-css.d.ts +2 -2
  176. package/node_modules/@kardalum/design-tokens/dist/theme-css.js +2 -2
  177. package/node_modules/@kardalum/design-tokens/dist/theme-types.d.ts +2 -2
  178. package/node_modules/@kardalum/design-tokens/dist/themes/dark.d.ts +3 -3
  179. package/node_modules/@kardalum/design-tokens/dist/themes/dark.js +3 -3
  180. package/node_modules/@kardalum/design-tokens/dist/themes/light.d.ts +1 -1
  181. package/node_modules/@kardalum/design-tokens/dist/themes/light.js +1 -1
  182. package/node_modules/@kardalum/design-tokens/dist/tokens.css +1 -0
  183. package/node_modules/@kardalum/design-tokens/dist/tokens.d.ts +3 -3
  184. package/node_modules/@kardalum/design-tokens/dist/tokens.js +6 -5
  185. package/node_modules/@kardalum/design-tokens/dist/tokens.json +2 -1
  186. package/node_modules/@kardalum/design-tokens/dist/types.d.ts +2 -1
  187. package/node_modules/@kardalum/design-tokens/dist/types.js +1 -1
  188. package/node_modules/@kardalum/design-tokens/package.json +6 -3
  189. package/node_modules/@kardalum/plugin-package/README.md +1 -1
  190. package/node_modules/@kardalum/plugin-package/dist/capabilities.d.ts +4 -4
  191. package/node_modules/@kardalum/plugin-package/dist/capabilities.js +54 -6
  192. package/node_modules/@kardalum/plugin-package/dist/delivery/bundle.js +1 -1
  193. package/node_modules/@kardalum/plugin-package/dist/delivery/contributions.d.ts +3 -0
  194. package/node_modules/@kardalum/plugin-package/dist/delivery/contributions.js +18 -1
  195. package/node_modules/@kardalum/plugin-package/dist/delivery/limits.d.ts +1 -1
  196. package/node_modules/@kardalum/plugin-package/dist/delivery/limits.js +1 -1
  197. package/node_modules/@kardalum/plugin-package/dist/delivery/registry.js +9 -4
  198. package/node_modules/@kardalum/plugin-package/dist/delivery/templates.d.ts +1 -0
  199. package/node_modules/@kardalum/plugin-package/dist/delivery/templates.js +58 -1
  200. package/node_modules/@kardalum/plugin-package/dist/envelope.d.ts +2 -2
  201. package/node_modules/@kardalum/plugin-package/dist/envelope.js +2 -2
  202. package/node_modules/@kardalum/plugin-package/dist/extract.d.ts +3 -3
  203. package/node_modules/@kardalum/plugin-package/dist/extract.js +10 -10
  204. package/node_modules/@kardalum/plugin-package/dist/hash.d.ts +1 -1
  205. package/node_modules/@kardalum/plugin-package/dist/hash.js +1 -1
  206. package/node_modules/@kardalum/plugin-package/dist/index.d.ts +4 -2
  207. package/node_modules/@kardalum/plugin-package/dist/index.js +3 -1
  208. package/node_modules/@kardalum/plugin-package/dist/license-verdict.d.ts +56 -19
  209. package/node_modules/@kardalum/plugin-package/dist/license-verdict.js +119 -25
  210. package/node_modules/@kardalum/plugin-package/dist/package-contract.d.ts +2 -2
  211. package/node_modules/@kardalum/plugin-package/dist/package-contract.js +5 -5
  212. package/node_modules/@kardalum/plugin-package/dist/types.d.ts +1 -1
  213. package/node_modules/@kardalum/plugin-package/dist/vendor-token.d.ts +24 -0
  214. package/node_modules/@kardalum/plugin-package/dist/vendor-token.js +118 -0
  215. package/node_modules/@kardalum/ui/README.md +1 -1
  216. package/node_modules/@kardalum/ui/dist/components/alert-dialog.d.ts +1 -1
  217. package/node_modules/@kardalum/ui/dist/components/alert-dialog.js +8 -3
  218. package/node_modules/@kardalum/ui/dist/components/badge.js +1 -1
  219. package/node_modules/@kardalum/ui/dist/components/button.js +2 -2
  220. package/node_modules/@kardalum/ui/dist/components/checkbox.js +1 -1
  221. package/node_modules/@kardalum/ui/dist/components/dialog.d.ts +1 -1
  222. package/node_modules/@kardalum/ui/dist/components/dialog.js +52 -4
  223. package/node_modules/@kardalum/ui/dist/components/dropdown-menu.d.ts +5 -1
  224. package/node_modules/@kardalum/ui/dist/components/dropdown-menu.js +20 -7
  225. package/node_modules/@kardalum/ui/dist/components/empty-state.d.ts +4 -4
  226. package/node_modules/@kardalum/ui/dist/components/input.js +6 -1
  227. package/node_modules/@kardalum/ui/dist/components/popover-panel.d.ts +4 -0
  228. package/node_modules/@kardalum/ui/dist/components/popover-panel.js +13 -0
  229. package/node_modules/@kardalum/ui/dist/components/property-field.js +3 -3
  230. package/node_modules/@kardalum/ui/dist/components/sheet.d.ts +1 -1
  231. package/node_modules/@kardalum/ui/dist/components/sheet.js +15 -9
  232. package/node_modules/@kardalum/ui/dist/components/skeleton.js +1 -1
  233. package/node_modules/@kardalum/ui/dist/components/switch.js +1 -1
  234. package/node_modules/@kardalum/ui/dist/components/tab-strip.d.ts +3 -3
  235. package/node_modules/@kardalum/ui/dist/components/tab-strip.js +1 -1
  236. package/node_modules/@kardalum/ui/dist/components/toast.js +4 -3
  237. package/node_modules/@kardalum/ui/dist/components/tooltip.d.ts +27 -0
  238. package/node_modules/@kardalum/ui/dist/components/tooltip.js +82 -0
  239. package/node_modules/@kardalum/ui/dist/components/truncated-text.d.ts +11 -0
  240. package/node_modules/@kardalum/ui/dist/components/truncated-text.js +94 -0
  241. package/node_modules/@kardalum/ui/dist/components/use-toast.js +2 -2
  242. package/node_modules/@kardalum/ui/dist/index.d.ts +4 -1
  243. package/node_modules/@kardalum/ui/dist/index.js +4 -1
  244. package/node_modules/@kardalum/ui/dist/lib/menu-host.d.ts +5 -0
  245. package/node_modules/@kardalum/ui/dist/lib/menu-host.js +17 -0
  246. package/node_modules/@kardalum/ui/package.json +8 -6
  247. package/package.json +21 -7
@@ -13,10 +13,12 @@ export { LicensingSettingsSchema } from "./licensing.schema.js";
13
13
  export { MANIFEST_ID_SEGMENT_MAX, PLUGIN_ID_REGEX, SLOT_ID_MAX, SLOT_ID_REGEX, isPluginManifestId } from "./plugin-id-rules.js";
14
14
  export { PLUGIN_AUTHOR_MAX, PLUGIN_CMS_VERSION_MAX, PLUGIN_DESCRIPTION_MAX, PLUGIN_ID_MAX, PLUGIN_ID_MESSAGE, PLUGIN_ID_SEGMENTS_MESSAGE, PLUGIN_LICENSE_MAX, PLUGIN_NAME_MAX, PLUGIN_VERSION_MAX, PLUGIN_VERSION_MESSAGE, PluginAuthorSchema, PluginCmsVersionSchema, PluginDescriptionSchema, PluginLicenseSchema, PluginManifestIdSchema, PluginNameSchema, PluginVersionSchema, checkPluginListingFields, isPluginVersion, pluginManifestFields, } from "./plugin-manifest-fields.js";
15
15
  export { API_ROUTE_ACCESS_TIERS, DATABASE_DIALECTS, PLUGIN_TYPES, STORAGE_TYPES, TEMPLATE_KINDS, TIER1_DIALECTS, } from "./plugin-vocabulary.js";
16
+ export { CATEGORY_FROM_TYPE, LISTING_CATEGORIES, LISTING_CATEGORIES_MAX, LISTING_CATEGORY_LABELS, ListingCategoriesInputSchema, ListingCategoriesSchema, ListingCategorySchema, categoryFromType, isListingCategory, } from "./listing-categories.schema.js";
16
17
  export { cultureDirection } from "./culture-direction.js";
17
18
  export { ContentVersionSchema, flattenForCulture } from "./content-version.schema.js";
18
19
  export { mediaReferencesIn } from "./media-reference.js";
19
20
  export { mediaReferenceCursor, decodeMediaReferenceCursor } from "./media-reference-use.js";
21
+ export { DATA_TYPE_CURSOR_MAX, dataTypeCursor, decodeDataTypeCursor } from "./data-type-cursor.js";
20
22
  // MediaReferenceUseSchema's own inferred type is deliberately not
21
23
  // re-exported here: it is the same shape as MediaReferenceUse above (the
22
24
  // adapter-facing plain interface), and only one of the two names should
@@ -25,36 +27,39 @@ export { mediaReferenceCursor, decodeMediaReferenceCursor } from "./media-refere
25
27
  export { MediaReferenceCountsSchema, MediaReferenceUseSchema, MediaReferenceListQuerySchema, MediaReferenceListResponseSchema, MediaTrashReferenceSummarySchema, } from "./media-reference-api.schema.js";
26
28
  export { SnapshotSchema, SnapshotItemSchema, SnapshotMetaSchema } from "./snapshot.schema.js";
27
29
  export { ApiErrorSchema, BodyTooLargeErrorSchema, RateLimitErrorSchema } from "./api-error.schema.js";
28
- export { BundledTemplateSchema, SetupStatusResponseSchema, SetupStarterSelectionSchema, SetupStarterResultSchema, SetupCompleteRequestSchema, SetupCompleteResponseSchema, } from "./setup-api.schema.js";
30
+ export { BundledTemplateSchema, SetupHandoffFailedStageSchema, SetupStatusResponseSchema, SetupStarterSelectionSchema, SetupStarterResultSchema, SetupCompleteRequestSchema, SetupCompleteResponseSchema, } from "./setup-api.schema.js";
29
31
  export { CreateContentRequestSchema, ContentItemQuerySchema, ContentItemResponseSchema, ContentByAddressQuerySchema, ContentByAddressResponseSchema, ContentByPathQuerySchema, ContentByPathResponseSchema, SaveContentRequestSchema, SaveContentResponseSchema, LatestVersionQuerySchema, LatestVersionResponseSchema, VersionQuerySchema, ContentVersionMetaSchema, VersionListQuerySchema, VersionListResponseSchema, PublishContentRequestSchema, PublishContentResponseSchema, PublishAllRequestSchema, PublishAllResultSchema, PublishAllResponseSchema, PreviewTokenResponseSchema, ContentUrlImpactResponseSchema, ContentChildrenQuerySchema, ContentChildrenResponseSchema, ContentNodeWithNameSchema, ContentPathConflictSchema, CopyContentRequestSchema, CultureSchema, CultureSettingsSchema, MoveContentRequestSchema, MoveContentResponseSchema, ReorderNodesRequestSchema, ReorderNodesResponseSchema, FieldValidationFailureSchema, ContentValidationErrorSchema, TranslationIncompleteResponseSchema, } from "./content-api.schema.js";
30
32
  export { FieldValidationSchema, FieldDefinitionSchema, TabDefinitionSchema, TreeRulesSchema, DocumentTypeDefinitionSchema, } from "./document-type.schema.js";
31
- export { CreateDocumentTypeRequestSchema, UpdateDocumentTypeRequestSchema, CreateDocumentTypeResponseSchema, DocumentTypeListQuerySchema, DocumentTypeListResponseSchema, DeleteDocumentTypeResponseSchema, } from "./document-type-api.schema.js";
32
- export { TEMPLATE_ALIAS_MAX_SEGMENTS, TemplateAliasSchema, TemplateDefinitionSchema, TemplateKindSchema, TemplateVersionMetaSchema, TemplateVersionSchema, TemplateVersionSourceSchema, TrashedTemplateSchema, } from "./template.schema.js";
33
+ export { CreateDocumentTypeRequestSchema, UpdateDocumentTypeRequestSchema, CreateDocumentTypeResponseSchema, DocumentTypeListQuerySchema, DocumentTypeListResponseSchema, DocumentTypeListItemSchema, DeleteDocumentTypeResponseSchema, } from "./document-type-api.schema.js";
34
+ export { TEMPLATE_ALIAS_MAX_SEGMENTS, TEMPLATE_KIND_FOLDERS, TemplateAliasSchema, TemplateDefinitionSchema, templateFilePath, TemplateKindSchema, TemplateVersionMetaSchema, TemplateVersionSchema, TemplateVersionSourceSchema, TrashedTemplateSchema, } from "./template.schema.js";
33
35
  export { CreateTemplateRequestSchema, CreateTemplateResponseSchema, DeleteTemplateQuerySchema, MAX_TEMPLATE_CONTENT_BYTES, SetDefaultTemplateRequestSchema, TemplateConflictResponseSchema, TemplateDeleteBlockedResponseSchema, TemplateListItemSchema, TemplateListQuerySchema, TemplateListResponseSchema, TemplateResponseSchema, RestoreTemplateResponseSchema, TemplateSyncReportSchema, TemplateTrashListQuerySchema, TemplateTrashListResponseSchema, TemplateVersionListResponseSchema, TemplateVersionParamsSchema, TemplateVersionResponseSchema, UpdateTemplateRequestSchema, } from "./template-api.schema.js";
34
- export { AssetDefinitionSchema, AssetPathSchema, AssetVersionMetaSchema, AssetVersionSchema, MAX_ASSET_CONTENT_BYTES, TrashedAssetSchema } from "./asset.schema.js";
36
+ export { AssetDefinitionSchema, AssetPathSchema, AssetRoutePathSchema, AssetVersionMetaSchema, AssetVersionSchema, MAX_ASSET_CONTENT_BYTES, TrashedAssetSchema } from "./asset.schema.js";
35
37
  export { ASSET_TREE_MAX_DEPTH, ASSET_TREE_MAX_ENTRIES, AssetTreeEntrySchema, AssetTreeSkipSchema, AssetTreeResponseSchema, AssetContentResponseSchema, WriteAssetContentRequestSchema, CreateAssetFolderRequestSchema, RenameAssetRequestSchema, DeleteAssetQuerySchema, AssetDeleteBlockedResponseSchema, ZipExtractReportSchema, AssetSyncReportSchema, AssetVersionParamsSchema, AssetVersionListQuerySchema, AssetVersionQuerySchema, AssetVersionListResponseSchema, AssetVersionResponseSchema, MakeAssetVersionCurrentRequestSchema, RestoreAssetRequestSchema, RestoreAssetResponseSchema, AssetTrashListQuerySchema, AssetTrashListResponseSchema, } from "./asset-api.schema.js";
36
38
  export { RenderSettingsSchema, UpdateRenderSettingsRequestSchema } from "./render-settings-api.schema.js";
37
39
  export { MediaFileSchema, MediaVisibilitySchema, MediaFolderSchema, MediaVersionSchema, MEDIA_PRIVATE_ALIAS, IMAGE_MEDIA_TYPE_ID, FILE_MEDIA_TYPE_ID, IMAGE_FILE_DATA_TYPE_ID, ANY_FILE_DATA_TYPE_ID, } from "./media.schema.js";
38
- export { MediaFileResponseSchema, MediaDeleteResponseSchema, MediaLinkResponseSchema, MediaListQuerySchema, MediaListResponseSchema, MediaVersionListResponseSchema, MediaRenditionListResponseSchema, UpdateMediaRequestSchema, CreateMediaFolderRequestSchema, UpdateMediaFolderRequestSchema, MediaFolderListResponseSchema, MEDIA_NESTED_LIST_PAGE_MAX, MediaNestedListQuerySchema, MediaTrashListQuerySchema, MediaTrashListResponseSchema, MediaEmptyTrashResponseSchema, MediaReadQuerySchema, } from "./media-api.schema.js";
40
+ export { MediaFileResponseSchema, MediaItemSaveResponseSchema, MediaDeleteResponseSchema, MediaLinkResponseSchema, MediaListQuerySchema, MediaListResponseSchema, MediaVersionListResponseSchema, MediaRenditionListResponseSchema, UpdateMediaRequestSchema, CreateMediaFolderRequestSchema, UpdateMediaFolderRequestSchema, MediaFolderListResponseSchema, MEDIA_NESTED_LIST_PAGE_MAX, MediaNestedListQuerySchema, MediaTrashListQuerySchema, MediaTrashListResponseSchema, MediaEmptyTrashResponseSchema, MediaReadQuerySchema, } from "./media-api.schema.js";
39
41
  export { CROP_EDITOR_ID, THUMBNAIL_EDITOR_ID, CROP_DATA_TYPE_ID, THUMBNAIL_DATA_TYPE_ID, CropRectSchema, CropSettingsSchema, ThumbnailSettingsSchema, ImageSettingsSchema, MediaRenditionSchema, renditionName, renditionShape, renditionFilename, } from "./media-rendition.schema.js";
40
42
  export { HealthCheckSchema } from "./health.schema.js";
41
43
  export { LoginRequestSchema, LoginResponseSchema, RefreshResponseSchema, LogoutResponseSchema, AuthErrorSchema, } from "./auth.schema.js";
42
44
  export { UserSummarySchema, UserListQuerySchema, UserListResponseSchema, CreateUserRequestSchema, CreateUserResponseSchema, UpdateUserRoleRequestSchema, UpdateUserRoleResponseSchema, DeleteUserResponseSchema, UserParamsSchema, ADMIN_LOCALES, ThemeModeSchema, UserPreferencesSchema, UpdateUserPreferencesSchema, } from "./user-api.schema.js";
43
45
  export { DEFAULT_DOCS_LANGUAGE, DOCS_LANGUAGE_MAX_LENGTH, DocsLanguageSchema, PLUGIN_LOCALE_MAX_BYTES, PLUGIN_LOCALE_MAX_KEYS, PLUGIN_LOCALE_KEY_MAX_LENGTH, PLUGIN_LOCALE_VALUE_MAX_LENGTH, PluginLanguagesSchema, PluginLocaleFileSchema, compareLocaleFiles, isPluginLocaleKey, localePlaceholders, parsePluginLocaleFile, pluginLocaleFileLanguage, summarizePluginLanguages, } from "./plugin-locales.js";
44
46
  export { CreateSnapshotRequestSchema, SnapshotResponseSchema, SnapshotListQuerySchema, SnapshotListResponseSchema, RestoreSnapshotResponseSchema, RestoreSnapshotRequestSchema, RestoreSnapshotConfirmationSchema, SnapshotParamsSchema, } from "./snapshot-api.schema.js";
45
- export { DataTypeConfigSchema, BUILT_IN_DATA_TYPE_CONFIGS } from "./data-type-config.schema.js";
47
+ export { DataTypeConfigSchema, BUILT_IN_DATA_TYPE_CONFIGS, RICHTEXT_EDITOR_ID } from "./data-type-config.schema.js";
48
+ export { ASSET_ACCEPTS, ASSET_DATA_TYPE_CONFIG, ASSET_DATA_TYPE_ID, ASSET_EDITOR_ID, ASSET_IMAGE_EXTENSIONS, AssetFieldSettingsSchema, assetExtension, assetPathAccepted, assetPathIsImage, } from "./asset-field.schema.js";
49
+ export { UuidStringSchema } from "./uuid.schema.js";
46
50
  export { CONTENT_TREE_HINT_THRESHOLD, CONTENT_LIST_EDITOR_ID, CONTENT_LIST_PROPERTIES, ContentListColumnSchema, ContentListSettingsSchema, CONTENT_LIST_DEFAULT_SETTINGS, ContentListQuerySchema, ContentListRowSchema, ContentListResponseSchema, CONTENT_LIST_DATA_TYPE_CONFIG, FILE_UPLOAD_EDITOR_ID, FileUploadSettingsSchema, VALUELESS_EDITOR_IDS, } from "./content-list.schema.js";
47
- export { CreateDataTypeRequestSchema, UpdateDataTypeRequestSchema, DataTypeResponseSchema, DataTypeListQuerySchema, DataTypeListResponseSchema, } from "./data-type-api.schema.js";
51
+ export { CreateDataTypeRequestSchema, UpdateDataTypeRequestSchema, DataTypeResponseSchema, DataTypeListQuerySchema, DataTypeListResponseSchema, DataTypeEditorPluginSchema, DataTypeListItemSchema, } from "./data-type-api.schema.js";
48
52
  export { PluginStorageParamsSchema, SetPluginFieldValueRequestSchema, PluginFieldValueResponseSchema, } from "./plugin-storage-api.schema.js";
49
53
  export { PluginSchema, PluginListQuerySchema, PluginListResponseSchema } from "./plugin-registry-api.schema.js";
50
- export { ManagedPluginSchema, PluginTamperKindSchema, ManagedPluginRoleOfferSchema, ManagedPluginListQuerySchema, ManagedPluginListResponseSchema, PluginIdParamsSchema, UninstallPluginBodySchema, UninstallConfirmationRequiredSchema, BundleUninstallConfirmationRequiredSchema, UninstallBlockedByDocumentTypesSchema, UninstallSucceededSchema, BundleUninstallSucceededSchema, LicenseRecheckResponseSchema, LicenseVerdictEnvelopeSchema, EntitlementSchema, EntitlementResponseSchema, EntitlementRefusalSchema, MarketplaceStatusResponseSchema, SnapshotGroupSchema, SnapshotGroupListQuerySchema, SnapshotGroupListResponseSchema, RestorePlanEntrySchema, RestoreConfirmationRequiredSchema, RestoreSucceededSchema, RestoreBodySchema, PackageRefusedSchema, PluginUploadResponseSchema, PluginUploadQuerySchema, TrustDowngradeConfirmationSchema, } from "./plugin-management-api.schema.js";
54
+ export { ManagedPluginSchema, PluginTamperKindSchema, ManagedPluginRoleOfferSchema, ManagedPluginListQuerySchema, ManagedPluginListResponseSchema, PluginIdParamsSchema, UninstallPluginBodySchema, UninstallConfirmationRequiredSchema, BundleUninstallConfirmationRequiredSchema, UninstallBlockedByDocumentTypesSchema, DataTypeFieldBlockerSchema, PluginDataTypesInUseSchema, UninstallSucceededSchema, BundleUninstallSucceededSchema, LicenseRecheckResponseSchema, LicenseVerdictEnvelopeSchema, EntitlementSchema, EntitlementResponseSchema, LicenseVerdictTermSchema, ListingPlanSummarySchema, EntitlementRefusalSchema, MarketplaceStatusResponseSchema, SnapshotGroupSchema, SnapshotGroupListQuerySchema, SnapshotGroupListResponseSchema, RestorePlanEntrySchema, RestoreConfirmationRequiredSchema, RestoreSucceededSchema, RestoreBodySchema, DataTypeRestoreSkipReasonSchema, DataTypeRestoreEntrySchema, DataTypeRestoreSkipSchema, DataTypeRestorePlanSchema, DataTypeRestoreConfirmationRequiredSchema, DataTypeRestoreSucceededSchema, DataTypeRestoreBodySchema, PackageRefusedSchema, PluginRollbackIncompleteSchema, PluginUploadResponseSchema, PluginUploadQuerySchema, TrustDowngradeConfirmationSchema, } from "./plugin-management-api.schema.js";
51
55
  export { SampleContentOutcomeSchema } from "./sample-content-outcome.schema.js";
52
56
  export { INSTALL_WARNINGS_MAX, INSTALL_WARNING_MAX_LENGTH, InstallWarningsSchema } from "./install-warnings.schema.js";
53
57
  export { SANDBOX_ATTACH_OUTCOMES, SandboxAttachRequestSchema, SandboxAttachResponseSchema, SandboxLocalPluginInstallRequestSchema, SandboxLocalPluginSchema, } from "./sandbox-attach.schema.js";
54
58
  export { PublicContentItemSchema, PublicContentItemQuerySchema, PublicContentByPathQuerySchema, PublicContentByAddressQuerySchema, PublicContentByAddressResponseSchema, PublicSiteSchema, PublicSitesQuerySchema, PublicSitesResponseSchema, PublicContentListQuerySchema, PublicContentNodeSummarySchema, PublicContentListResponseSchema, PublicContentSearchQuerySchema, PublicContentExtensionsSchema, PublicContentFormatResponseSchema, PublicMediaFileSchema, PublicMediaListQuerySchema, PublicMediaListResponseSchema, PublicFieldDefinitionSchema, PublicDocumentTypeSchema, PublicDocumentTypeListQuerySchema, PublicDocumentTypeListResponseSchema, PublicTemplateSchema, PublicTemplateListQuerySchema, PublicTemplateListResponseSchema, PublicContentWriteResponseSchema, PublicCreateContentRequestSchema, PublicUpdateContentRequestSchema, PublicContentDeleteResponseSchema, PublicContentDeleteQuerySchema, PublicContentDeleteConfirmationSchema, PublicMediaUploadFieldsSchema, PublicMediaUploadBodySchema, PublicMediaUpdateRequestSchema, PublicMediaWriteResponseSchema, PublicMediaDeleteResponseSchema, } from "./public-api.schema.js";
55
- export { MarketplaceCapabilitySchema, MarketplaceListingVersionSchema, MarketplaceListingSchema, MarketplaceStarterSchema, MarketplaceDocumentTypeSummarySchema, MarketplaceBundleMemberSchema, MarketplaceListingDetailVersionSchema, MarketplaceListingDetailSchema, MarketplaceListQuerySchema, MarketplaceListResponseSchema, MARKETPLACE_VERSIONS_MAX_IDS, MARKETPLACE_VERSIONS_IDS_MAX_LENGTH, MarketplaceLatestVersionSchema, MarketplaceVersionsResponseSchema, parseMarketplaceVersionsIds, MarketplacePluginIdParamsSchema, MarketplaceInstallBodySchema, MarketplaceInstallMemberSchema, MarketplaceInstallResponseSchema, MarketplaceInstallConflictSchema, MarketplacePublicBaseSchema, } from "./marketplace-listing-api.schema.js";
59
+ export { MarketplaceCapabilitySchema, MarketplaceListingVersionSchema, MarketplacePlanSchema, MarketplaceListingSchema, MarketplaceStarterSchema, MarketplaceDocumentTypeSummarySchema, MarketplaceBundleMemberSchema, MarketplaceListingDetailVersionSchema, MarketplaceListingDetailSchema, MarketplaceListQuerySchema, MarketplaceListResponseSchema, MARKETPLACE_VERSIONS_MAX_IDS, MARKETPLACE_VERSIONS_IDS_MAX_LENGTH, MARKETPLACE_PLAN_NAMES_MAX, MarketplacePlanNameSchema, MarketplaceLatestVersionSchema, MarketplaceVersionsResponseSchema, parseMarketplaceVersionsIds, MarketplacePluginIdParamsSchema, MarketplaceInstallBodySchema, MarketplaceInstallMemberSchema, MarketplaceInstallResponseSchema, MarketplaceInstallConflictSchema, MarketplaceInstallHeldBackSchema, MarketplaceInstallRenewRequiredSchema, MARKETPLACE_MISSING_PLUGINS_MAX, MarketplaceMissingPluginSchema, MarketplaceInstallDependenciesMissingSchema, MarketplacePublicBaseSchema, OfficialPriceSchema, } from "./marketplace-listing-api.schema.js";
60
+ export { PACKAGE_TERM_LAPSED_CODE, PackageTermLapsedSchema } from "./marketplace-package-api.schema.js";
56
61
  export { ApiKeySummarySchema, ApiKeyListQuerySchema, ApiKeyListResponseSchema, CreateApiKeyRequestSchema, CreateApiKeyResponseSchema, ApiKeyRefusalSchema, ApiKeyCreateForbiddenSchema, RevokeApiKeyResponseSchema, API_KEY_PRESETS, API_KEY_MAX_ACTIONS, ApiKeyParamsSchema, } from "./api-key-api.schema.js";
57
- export { WhoamiResponseSchema } from "./whoami-api.schema.js";
62
+ export { WhoamiResponseSchema, ContentLimitsSchema } from "./whoami-api.schema.js";
58
63
  export { AUDIT_IP_MAX, AUDIT_METHOD_MAX, AUDIT_PERIOD_PATTERN, AUDIT_REQUEST_ID_MAX, AUDIT_RETENTION_MAX_MONTHS, AUDIT_SUMMARY_MAX_BYTES, AUDIT_TEXT_MAX, AuditActorKindSchema, AuditEntrySchema, AuditExportQuerySchema, AuditListQuerySchema, AuditListResponseSchema, AuditOutcomeSchema, AuditPruneBusySchema, AuditPruneResponseSchema, AuditRetentionReasonSchema, AuditRetentionResponseSchema, AuditRetentionSchema, AuditSummaryValueSchema, } from "./audit-api.schema.js";
59
64
  export { ThemeListItemSchema, ThemeListResponseSchema } from "./theme-api.schema.js";
60
65
  export { ContentTrashBodySchema, ContentTrashConfirmationSchema, ContentTrashResultSchema, ContentRestoreResultSchema, ContentRestoreRequestSchema, } from "./content-trash-api.schema.js";
@@ -66,9 +71,26 @@ export { ACTION_GATED_CONTRIBUTION_KEYS, OFFERABLE_BUILT_IN_ACTIONS, checkAction
66
71
  export { API_ROUTE_METHODS, API_ROUTE_PATH_MAX, API_ROUTE_RESPONSE_STATUSES_MAX, API_ROUTES_MAX, isApiRouteResponseStatus, apiRoutePathProblem, apiRoutePathParams, checkApiRouteActions, checkApiRouteDeclarations, checkApiRouteTiers, isApiRouteMethod } from "./plugin-manifest-api-routes.js";
67
72
  export { PLUGIN_DOC_ROLES, PluginDocsPageSchema, MAX_DOC_PAGES, MAX_DOC_PAGE_BYTES, RESERVED_DOC_SLUGS, docSlug, effectiveDocsPages, checkDocsDeclaration, docsFactsFrom, requiredDocRoles, ReferenceLabelMapSchema, PluginReferenceSchema, emptyPluginReference, REFERENCE_PAGE_SLUGS, REFERENCE_PAGE_TABLES, isReferencePageSlug, referencePageHasContent, referencePageSlugs, } from "./plugin-docs.js";
68
73
  export { HOSTILE_CHARS_MESSAGE, MAX_DOCS_TARGET_LENGTH, docHeadingId, docHeadingKey, docSearchEntry, extractDocHeadings, hasHostileChars, isRenderableExternalHref, resolveDocsPath, resolveDocsLink, } from "./plugin-docs-text.js";
69
- export { PluginDocsPageRefSchema, PluginDocsIndexItemSchema, PluginDocsIndexResponseSchema, PluginDocsPageParamsSchema, PluginDocsPluginParamsSchema, PluginDocsPageResponseSchema, PluginDocsReferenceResponseSchema, PluginReferenceSourceSchema, PluginDocsSearchItemSchema, PluginDocsSearchIndexResponseSchema, MARKETPLACE_DOCS_SEARCH_MAX_QUERY, MARKETPLACE_DOCS_SEARCH_MAX_RESULTS, MarketplaceDocsSearchQuerySchema, MarketplaceDocsSearchResultSchema, MarketplaceDocsSearchResponseSchema, } from "./plugin-docs-api.schema.js";
74
+ export { PluginDocsPageRefSchema, PluginDocsIndexItemSchema, PluginDocsIndexResponseSchema, PluginDocsPageParamsSchema, PluginDocsPluginParamsSchema, PluginDocsImageParamsSchema, PluginDocsPageResponseSchema, PluginDocsReferenceResponseSchema, PluginReferenceSourceSchema, PluginDocsSearchItemSchema, PluginDocsSearchIndexResponseSchema, MARKETPLACE_DOCS_SEARCH_MAX_QUERY, MARKETPLACE_DOCS_SEARCH_MAX_RESULTS, MarketplaceDocsSearchQuerySchema, MarketplaceDocsSearchResultSchema, MarketplaceDocsSearchResponseSchema, } from "./plugin-docs-api.schema.js";
70
75
  export { INSTALL_CONSENT_IDS, INSTALL_DESCRIPTION_MAX_LENGTH, INSTALL_LABEL_KEY_MAX_LENGTH, INSTALL_LABEL_MAX_LANGUAGES, INSTALL_LABEL_MAX_LENGTH, INSTALL_MAX_CHOICES_PER_OPTION, INSTALL_MAX_OPTION_ANSWERS, INSTALL_MAX_OPTIONS_PER_STEP, INSTALL_MAX_ROLE_ANSWERS, INSTALL_MAX_STEPS, INSTALL_OPTION_KINDS, InstallAnswerValueSchema, InstallAnswersManifestSchema, InstallAnswersSchema, InstallDescriptionSchema, InstallIdSchema, InstallInterfaceSchema, InstallInterfaceWireSchema, InstallLabelSchema, InstallOptionSchema, InstallStepSchema, PluginInstallDeclarationSchema, ResolvedInstallAnswersSchema, checkInstallDeclaration, installInterfaceFor, installOptionNeedsAnswer, parseInstallAnswersManifest, resolveInstallAnswers, resolveUpdateAnswers, stepsNotCoveredBy, } from "./plugin-install.js";
71
76
  export { SAMPLE_CONTENT_MAX_MEDIA, SAMPLE_CONTENT_MAX_NODES, SAMPLE_CONTENT_MEDIA_FILE_PATTERN, SampleContentFileSchema, parseSampleContentFile, } from "./sample-content.schema.js";
72
77
  export { INSTALL_RECORD_SUMMARY_TITLES, INSTALL_ROLE_OUTCOMES, InstallAnswersRefusedSchema, InstallRoleOutcomeSchema, PluginInstallCreatedSchema, PluginInstallRecordSchema, PluginInstallRecordSummarySchema, emptyInstallCreated, readInstallRecord, } from "./plugin-install-record.schema.js";
73
78
  export { listIssues } from "./issue-list.js";
74
- export { ASSET_PATH_MAX, FILE_NAME_MAX, PACKAGE_PATH_MAX, MAX_TEMPLATE_PAYLOAD_ENTRIES, PluginAssetPathSchema, PluginTemplateAliasSchema, PluginTemplateEntrySchema, PluginTemplateFileSchema, PluginTemplatePayloadSchema, REGISTERED_ASSET_TEXT_EXTENSIONS, RESERVED_ASSET_ROOTS, TEMPLATE_ALIAS_MAX, TEMPLATE_FILE_MAX, checkTemplateAndAssetDeclarations, hasRegisteredAssetTextExtension, } from "./plugin-template-payload.js";
79
+ export { ASSET_PATH_MAX, ASSET_TEXT_EXTENSIONS, FILE_NAME_MAX, PACKAGE_PATH_MAX, MAX_TEMPLATE_PAYLOAD_ENTRIES, PluginAssetPathSchema, PluginTemplateAliasSchema, PluginTemplateEntrySchema, PluginTemplateFileSchema, PluginTemplatePayloadSchema, REGISTERED_ASSET_TEXT_EXTENSIONS, RESERVED_ASSET_ROOTS, TEMPLATE_ALIAS_MAX, TEMPLATE_FILE_MAX, checkTemplateAndAssetDeclarations, hasRegisteredAssetTextExtension, isAssetTextPath, } from "./plugin-template-payload.js";
80
+ // S314n: Home's widgets and the Home layout.
81
+ export { HOME_COUNT_CAP, HOME_LAYOUT_MAX, HOME_LIST_ROWS, HomeCountSchema, HomeDraftRowSchema, HomeDraftsResponseSchema, HomeLayoutEntrySchema, HomeLayoutSchema, HomePublishedRowSchema, HomePublishedResponseSchema, HomeRecentEditRowSchema, HomeRecentEditsResponseSchema, HomeTrashCountResponseSchema, HOME_PLUGIN_FEES_MAX, HomePluginFeeSchema, HomePluginFeesResponseSchema, } from "./home.schema.js";
82
+ // S314n (C4): News from Kardalum, written by the marketplace operator.
83
+ export { NEWS_ITEMS_MAX, NEWS_KINDS, NEWS_STATES, NEWS_TEXT_MAX, NEWS_TITLE_MAX, NEWS_URL_MAX, HomeNewsResponseSchema, MarketplaceNewsItemSchema, MarketplaceNewsResponseSchema, NewsItemInputSchema, NewsKindSchema, NewsStateSchema, } from "./news.schema.js";
84
+ export { SiteRenderingSchema } from "./sites.schema.js";
85
+ // S314n2: notifications and the inbox.
86
+ export { NOTIFICATION_ACTIONS_MAX, NOTIFICATION_AUDIENCE_SEARCH_MAX, NOTIFICATION_BOXES, NOTIFICATION_KINDS, NOTIFICATION_PAGE_SIZE, NOTIFICATION_PAGE_STATES, NOTIFICATION_POLL_MS, NOTIFICATION_PREVIEW_ROWS, NOTIFICATION_RECIPIENTS_MAX, NOTIFICATION_RETENTION_DEFAULT_DAYS, NOTIFICATION_RETENTION_MAX_DAYS, NOTIFICATION_RETENTION_MIN_DAYS, NOTIFICATION_ROLES_MAX, NOTIFICATION_SENDER_KINDS, NOTIFICATION_TEXT_MAX, NOTIFICATION_TITLE_MAX, NOTIFICATION_UNREAD_CAP, NOTIFICATION_URL_MAX, NOTIFICATION_USERS_MAX, NotificationAudienceEntrySchema, NotificationAudienceQuerySchema, NotificationAudienceResponseSchema, NotificationAudienceSchema, NotificationBoxSchema, NotificationDataSchema, NotificationInboxPageSchema, NotificationInboxQuerySchema, NotificationItemSchema, NotificationKardalumUpdateDataSchema, NotificationKindSchema, NotificationLinkInputSchema, NotificationLinkSchema, NotificationPageStateSchema, NotificationPageSummarySchema, NotificationParamsSchema, NotificationPluginUpdateDataSchema, NotificationReachRequestSchema, NotificationReachResponseSchema, NotificationReadAllResponseSchema, NotificationRetentionSchema, NotificationSenderKindSchema, NotificationSenderSchema, NotificationStateSchema, NotificationTargetsSchema, NotificationUnreadCountSchema, SendNotificationRequestSchema, SendNotificationResponseSchema, kardalumUpdateDedupeKey, pluginUpdateDedupeKey, } from "./notification.schema.js";
87
+ // S314n3: the newest published Kardalum, served by the marketplace.
88
+ export { KARDALUM_LATEST_CACHE_MS, KardalumLatestResponseSchema } from "./kardalum-latest.schema.js";
89
+ // S318: the read-only notice of a plugin whose licence term lapsed.
90
+ export { PLUGIN_READ_ONLY_CODE, PluginReadOnlyNoticeSchema, ReadOnlyFieldSchema, isPluginReadOnlyNotice, } from "./plugin-read-only.schema.js";
91
+ // S320: the vendor service: the manifest declaration, the origin rule and the token's wire shapes.
92
+ export { PluginVendorServiceSchema, VENDOR_SERVICE_ORIGIN_MAX, VENDOR_TOKEN_LIVE_STATES, VENDOR_TOKEN_MAX_LENGTH, VENDOR_TOKEN_PAYLOAD_MAX_BYTES, VENDOR_TOKEN_REFUSAL_CODE, VENDOR_TOKEN_TERM_STATES, VENDOR_TOKEN_TTL_SECONDS, VENDOR_TOKEN_TYPE, VendorTokenPayloadSchema, VendorTokenRefusalSchema, VendorTokenRequestSchema, VendorTokenResponseSchema, isLocalVendorHost, parseVendorServiceOrigin, } from "./vendor-service.schema.js";
93
+ export { PLAN_DESCRIPTION_MAX, PLAN_KEY_MAX, PLAN_MAX_PRICE_CENTS, PLAN_MIN_PRICE_CENTS, PLAN_NAME_MAX, PLAN_SHAPE_VALUES, PlanAddInputSchema, PlanDescriptionSchema, PlanEditInputSchema, PlanKeySchema, PlanMoveInputSchema, PlanNameSchema, PlanPriceInputSchema, PlanRefInputSchema, PlanShapeSchema, PriceSweepProgressSchema, isPlanKey, planPriceAgrees, } from "./plan-editor.schema.js";
94
+ export { REVENUE_PLUGIN_PARAM_MAX, RevenueMonthKeySchema, RevenueMonthSchema, RevenueNowSchema, RevenuePlanMonthSchema, RevenuePluginParamSchema, RevenueViewSchema, isRevenueMonthKey, } from "./revenue-view.schema.js";
95
+ export { SHOWN_PRICE_DIGITS_MAX, ShownPlanFieldsSchema, parseShownCents, readShownPlan, shownPlanMatches, } from "./checkout-shown.schema.js";
96
+ export * from "./server-settings-api.schema.js";
@@ -0,0 +1,7 @@
1
+ import { z } from "zod";
2
+ /** How long the marketplace keeps an answer from npm. */
3
+ export declare const KARDALUM_LATEST_CACHE_MS: number;
4
+ export declare const KardalumLatestResponseSchema: z.ZodObject<{
5
+ version: z.ZodString;
6
+ }, z.core.$strip>;
7
+ export type KardalumLatestResponse = z.infer<typeof KardalumLatestResponseSchema>;
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+ import { PluginVersionSchema } from "./plugin-manifest-fields.js";
3
+ // S314n3 (D3, 3d): the newest published Kardalum, as the marketplace serves it at
4
+ // GET /api/v1/kardalum/latest. The marketplace reads npm's `latest` tag of
5
+ // @kardalum/server, keeps it for a day and serves the last good answer when npm
6
+ // cannot be read; the CMS compares it with the version it runs.
7
+ /** How long the marketplace keeps an answer from npm. */
8
+ export const KARDALUM_LATEST_CACHE_MS = 24 * 60 * 60 * 1000;
9
+ export const KardalumLatestResponseSchema = z.object({ version: PluginVersionSchema });
@@ -0,0 +1,46 @@
1
+ import { z } from "zod";
2
+ import { type PluginTypeValue } from "./plugin-vocabulary.js";
3
+ export declare const LISTING_CATEGORIES: readonly ["content", "seo", "commerce", "design", "media", "integrations", "analytics", "developer"];
4
+ export type ListingCategory = (typeof LISTING_CATEGORIES)[number];
5
+ export declare const LISTING_CATEGORY_LABELS: Readonly<Record<ListingCategory, string>>;
6
+ export declare const LISTING_CATEGORIES_MAX = 3;
7
+ export declare function isListingCategory(value: string): value is ListingCategory;
8
+ export declare const ListingCategorySchema: z.ZodEnum<{
9
+ media: "media";
10
+ content: "content";
11
+ seo: "seo";
12
+ commerce: "commerce";
13
+ design: "design";
14
+ integrations: "integrations";
15
+ analytics: "analytics";
16
+ developer: "developer";
17
+ }>;
18
+ export declare const ListingCategoriesSchema: z.ZodArray<z.ZodEnum<{
19
+ media: "media";
20
+ content: "content";
21
+ seo: "seo";
22
+ commerce: "commerce";
23
+ design: "design";
24
+ integrations: "integrations";
25
+ analytics: "analytics";
26
+ developer: "developer";
27
+ }>>;
28
+ /** The portal's category form. The listing id is checked by the owner-scoped
29
+ * write (another author's listing reads as not found), like a plan's. */
30
+ export declare const ListingCategoriesInputSchema: z.ZodObject<{
31
+ listingId: z.ZodString;
32
+ categories: z.ZodArray<z.ZodEnum<{
33
+ media: "media";
34
+ content: "content";
35
+ seo: "seo";
36
+ commerce: "commerce";
37
+ design: "design";
38
+ integrations: "integrations";
39
+ analytics: "analytics";
40
+ developer: "developer";
41
+ }>>;
42
+ }, z.core.$strict>;
43
+ export type ListingCategoriesInput = z.infer<typeof ListingCategoriesInputSchema>;
44
+ export declare const CATEGORY_FROM_TYPE: Readonly<Record<PluginTypeValue, ListingCategory>>;
45
+ /** D3 for any label: one outside PLUGIN_TYPES files under content. */
46
+ export declare function categoryFromType(type: string): ListingCategory;
@@ -0,0 +1,52 @@
1
+ import { z } from "zod";
2
+ import { PLUGIN_TYPES } from "./plugin-vocabulary.js";
3
+ // S352 (D1, D2): the categories a shopper filters the marketplace by. A
4
+ // listing carries one to three, chosen by its author in the developer portal.
5
+ // The manifest's `type` stays the listing's filing label and is not one of
6
+ // them. The keys are stable: they are in URLs and in the listing API. The
7
+ // English labels are the marketplace's words; the admin's locale files carry
8
+ // the same English beside the German, and an admin test pins the English to
9
+ // these.
10
+ export const LISTING_CATEGORIES = ["content", "seo", "commerce", "design", "media", "integrations", "analytics", "developer"];
11
+ export const LISTING_CATEGORY_LABELS = {
12
+ content: "Content and editing",
13
+ seo: "SEO and marketing",
14
+ commerce: "Commerce",
15
+ design: "Themes and design",
16
+ media: "Media",
17
+ integrations: "Integrations",
18
+ analytics: "Analytics",
19
+ developer: "Developer tools",
20
+ };
21
+ export const LISTING_CATEGORIES_MAX = 3;
22
+ export function isListingCategory(value) {
23
+ return LISTING_CATEGORIES.includes(value);
24
+ }
25
+ export const ListingCategorySchema = z.enum(LISTING_CATEGORIES, "Choose categories from the list");
26
+ export const ListingCategoriesSchema = z
27
+ .array(ListingCategorySchema)
28
+ .min(1, "Choose at least one category")
29
+ .max(LISTING_CATEGORIES_MAX, "Choose at most three categories")
30
+ .refine((list) => new Set(list).size === list.length, "Choose each category once");
31
+ /** The portal's category form. The listing id is checked by the owner-scoped
32
+ * write (another author's listing reads as not found), like a plan's. */
33
+ export const ListingCategoriesInputSchema = z
34
+ .object({ listingId: z.string().min(1).max(64), categories: ListingCategoriesSchema })
35
+ .strict();
36
+ // S352 (D3): the category a listing with none is filed under until its author
37
+ // chooses. A listing that declares members takes its first member's category
38
+ // when it is created (the marketplace's initialListingCategories); `bundle`
39
+ // here is the label's own fallback.
40
+ export const CATEGORY_FROM_TYPE = {
41
+ datatype: "content",
42
+ section: "content",
43
+ template: "content",
44
+ theme: "design",
45
+ integration: "integrations",
46
+ utility: "developer",
47
+ bundle: "content",
48
+ };
49
+ /** D3 for any label: one outside PLUGIN_TYPES files under content. */
50
+ export function categoryFromType(type) {
51
+ return PLUGIN_TYPES.includes(type) ? CATEGORY_FROM_TYPE[type] : "content";
52
+ }
@@ -42,8 +42,24 @@ export declare const MarketplaceListingVersionSchema: z.ZodObject<{
42
42
  cmsVersion: z.ZodString;
43
43
  verified: z.ZodBoolean;
44
44
  createdAt: z.ZodString;
45
+ publishedAt: z.ZodOptional<z.ZodString>;
45
46
  hasArtifact: z.ZodBoolean;
47
+ declaresMembers: z.ZodOptional<z.ZodBoolean>;
46
48
  }, z.core.$strip>;
49
+ export declare const MarketplacePlanSchema: z.ZodObject<{
50
+ key: z.ZodString;
51
+ name: z.ZodString;
52
+ description: z.ZodString;
53
+ shape: z.ZodString;
54
+ priceCents: z.ZodNumber;
55
+ position: z.ZodNumber;
56
+ }, z.core.$strip>;
57
+ export type MarketplacePlan = z.infer<typeof MarketplacePlanSchema>;
58
+ export declare const OfficialPriceSchema: z.ZodEnum<{
59
+ free: "free";
60
+ paid: "paid";
61
+ }>;
62
+ export type OfficialPrice = z.infer<typeof OfficialPriceSchema>;
47
63
  export declare const MarketplaceListingSchema: z.ZodObject<{
48
64
  pluginId: z.ZodString;
49
65
  name: z.ZodString;
@@ -51,6 +67,14 @@ export declare const MarketplaceListingSchema: z.ZodObject<{
51
67
  description: z.ZodString;
52
68
  author: z.ZodString;
53
69
  priceCents: z.ZodNumber;
70
+ plans: z.ZodOptional<z.ZodArray<z.ZodObject<{
71
+ key: z.ZodString;
72
+ name: z.ZodString;
73
+ description: z.ZodString;
74
+ shape: z.ZodString;
75
+ priceCents: z.ZodNumber;
76
+ position: z.ZodNumber;
77
+ }, z.core.$strip>>>;
54
78
  coverImagePath: z.ZodNullable<z.ZodString>;
55
79
  latestVersion: z.ZodNullable<z.ZodObject<{
56
80
  version: z.ZodString;
@@ -83,12 +107,21 @@ export declare const MarketplaceListingSchema: z.ZodObject<{
83
107
  cmsVersion: z.ZodString;
84
108
  verified: z.ZodBoolean;
85
109
  createdAt: z.ZodString;
110
+ publishedAt: z.ZodOptional<z.ZodString>;
86
111
  hasArtifact: z.ZodBoolean;
112
+ declaresMembers: z.ZodOptional<z.ZodBoolean>;
87
113
  }, z.core.$strip>>;
88
114
  compatible: z.ZodBoolean;
89
115
  cmsCompatible: z.ZodBoolean;
90
116
  installedVersion: z.ZodNullable<z.ZodString>;
91
117
  updateAvailable: z.ZodBoolean;
118
+ renewToUpdate: z.ZodOptional<z.ZodLiteral<true>>;
119
+ licenseBundlePluginId: z.ZodOptional<z.ZodString>;
120
+ officialPrice: z.ZodOptional<z.ZodEnum<{
121
+ free: "free";
122
+ paid: "paid";
123
+ }>>;
124
+ categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
92
125
  }, z.core.$strip>;
93
126
  export type MarketplaceListing = z.infer<typeof MarketplaceListingSchema>;
94
127
  export declare const MarketplaceStarterSchema: z.ZodObject<{
@@ -109,6 +142,11 @@ export declare const MarketplaceBundleMemberSchema: z.ZodObject<{
109
142
  description: z.ZodNullable<z.ZodString>;
110
143
  type: z.ZodString;
111
144
  priceCents: z.ZodNumber;
145
+ priceShape: z.ZodOptional<z.ZodString>;
146
+ officialPrice: z.ZodOptional<z.ZodEnum<{
147
+ free: "free";
148
+ paid: "paid";
149
+ }>>;
112
150
  }, z.core.$strip>;
113
151
  export type MarketplaceBundleMember = z.infer<typeof MarketplaceBundleMemberSchema>;
114
152
  export declare const MarketplaceListingDetailVersionSchema: z.ZodObject<{
@@ -142,7 +180,9 @@ export declare const MarketplaceListingDetailVersionSchema: z.ZodObject<{
142
180
  cmsVersion: z.ZodString;
143
181
  verified: z.ZodBoolean;
144
182
  createdAt: z.ZodString;
183
+ publishedAt: z.ZodOptional<z.ZodString>;
145
184
  hasArtifact: z.ZodBoolean;
185
+ declaresMembers: z.ZodOptional<z.ZodBoolean>;
146
186
  starter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
147
187
  name: z.ZodString;
148
188
  description: z.ZodNullable<z.ZodString>;
@@ -159,6 +199,11 @@ export declare const MarketplaceListingDetailVersionSchema: z.ZodObject<{
159
199
  description: z.ZodNullable<z.ZodString>;
160
200
  type: z.ZodString;
161
201
  priceCents: z.ZodNumber;
202
+ priceShape: z.ZodOptional<z.ZodString>;
203
+ officialPrice: z.ZodOptional<z.ZodEnum<{
204
+ free: "free";
205
+ paid: "paid";
206
+ }>>;
162
207
  }, z.core.$strip>>>>;
163
208
  readme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
164
209
  installInterface: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -251,11 +296,26 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
251
296
  description: z.ZodString;
252
297
  author: z.ZodString;
253
298
  priceCents: z.ZodNumber;
299
+ plans: z.ZodOptional<z.ZodArray<z.ZodObject<{
300
+ key: z.ZodString;
301
+ name: z.ZodString;
302
+ description: z.ZodString;
303
+ shape: z.ZodString;
304
+ priceCents: z.ZodNumber;
305
+ position: z.ZodNumber;
306
+ }, z.core.$strip>>>;
254
307
  coverImagePath: z.ZodNullable<z.ZodString>;
255
308
  compatible: z.ZodBoolean;
256
309
  cmsCompatible: z.ZodBoolean;
257
310
  installedVersion: z.ZodNullable<z.ZodString>;
258
311
  updateAvailable: z.ZodBoolean;
312
+ renewToUpdate: z.ZodOptional<z.ZodLiteral<true>>;
313
+ licenseBundlePluginId: z.ZodOptional<z.ZodString>;
314
+ officialPrice: z.ZodOptional<z.ZodEnum<{
315
+ free: "free";
316
+ paid: "paid";
317
+ }>>;
318
+ categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
259
319
  latestVersion: z.ZodNullable<z.ZodObject<{
260
320
  version: z.ZodString;
261
321
  supportedDialects: z.ZodArray<z.ZodString>;
@@ -287,7 +347,9 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
287
347
  cmsVersion: z.ZodString;
288
348
  verified: z.ZodBoolean;
289
349
  createdAt: z.ZodString;
350
+ publishedAt: z.ZodOptional<z.ZodString>;
290
351
  hasArtifact: z.ZodBoolean;
352
+ declaresMembers: z.ZodOptional<z.ZodBoolean>;
291
353
  starter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
292
354
  name: z.ZodString;
293
355
  description: z.ZodNullable<z.ZodString>;
@@ -304,6 +366,11 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
304
366
  description: z.ZodNullable<z.ZodString>;
305
367
  type: z.ZodString;
306
368
  priceCents: z.ZodNumber;
369
+ priceShape: z.ZodOptional<z.ZodString>;
370
+ officialPrice: z.ZodOptional<z.ZodEnum<{
371
+ free: "free";
372
+ paid: "paid";
373
+ }>>;
307
374
  }, z.core.$strip>>>>;
308
375
  readme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
309
376
  installInterface: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -419,7 +486,9 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
419
486
  cmsVersion: z.ZodString;
420
487
  verified: z.ZodBoolean;
421
488
  createdAt: z.ZodString;
489
+ publishedAt: z.ZodOptional<z.ZodString>;
422
490
  hasArtifact: z.ZodBoolean;
491
+ declaresMembers: z.ZodOptional<z.ZodBoolean>;
423
492
  starter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
424
493
  name: z.ZodString;
425
494
  description: z.ZodNullable<z.ZodString>;
@@ -436,6 +505,11 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
436
505
  description: z.ZodNullable<z.ZodString>;
437
506
  type: z.ZodString;
438
507
  priceCents: z.ZodNumber;
508
+ priceShape: z.ZodOptional<z.ZodString>;
509
+ officialPrice: z.ZodOptional<z.ZodEnum<{
510
+ free: "free";
511
+ paid: "paid";
512
+ }>>;
439
513
  }, z.core.$strip>>>>;
440
514
  readme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
441
515
  installInterface: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -522,6 +596,7 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
522
596
  }, z.core.$strip>>;
523
597
  activeDialect: z.ZodString;
524
598
  marketplaceBaseUrl: z.ZodString;
599
+ officialMarketplaceBaseUrl: z.ZodOptional<z.ZodString>;
525
600
  }, z.core.$strip>;
526
601
  export type MarketplaceListingDetail = z.infer<typeof MarketplaceListingDetailSchema>;
527
602
  export declare const MarketplacePublicBaseSchema: z.ZodObject<{
@@ -531,6 +606,7 @@ export type MarketplacePublicBase = z.infer<typeof MarketplacePublicBaseSchema>;
531
606
  export declare const MarketplaceListQuerySchema: z.ZodObject<{
532
607
  q: z.ZodOptional<z.ZodString>;
533
608
  type: z.ZodOptional<z.ZodString>;
609
+ category: z.ZodOptional<z.ZodString>;
534
610
  db: z.ZodOptional<z.ZodString>;
535
611
  cursor: z.ZodOptional<z.ZodString>;
536
612
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -543,6 +619,14 @@ export declare const MarketplaceListResponseSchema: z.ZodObject<{
543
619
  description: z.ZodString;
544
620
  author: z.ZodString;
545
621
  priceCents: z.ZodNumber;
622
+ plans: z.ZodOptional<z.ZodArray<z.ZodObject<{
623
+ key: z.ZodString;
624
+ name: z.ZodString;
625
+ description: z.ZodString;
626
+ shape: z.ZodString;
627
+ priceCents: z.ZodNumber;
628
+ position: z.ZodNumber;
629
+ }, z.core.$strip>>>;
546
630
  coverImagePath: z.ZodNullable<z.ZodString>;
547
631
  latestVersion: z.ZodNullable<z.ZodObject<{
548
632
  version: z.ZodString;
@@ -575,12 +659,21 @@ export declare const MarketplaceListResponseSchema: z.ZodObject<{
575
659
  cmsVersion: z.ZodString;
576
660
  verified: z.ZodBoolean;
577
661
  createdAt: z.ZodString;
662
+ publishedAt: z.ZodOptional<z.ZodString>;
578
663
  hasArtifact: z.ZodBoolean;
664
+ declaresMembers: z.ZodOptional<z.ZodBoolean>;
579
665
  }, z.core.$strip>>;
580
666
  compatible: z.ZodBoolean;
581
667
  cmsCompatible: z.ZodBoolean;
582
668
  installedVersion: z.ZodNullable<z.ZodString>;
583
669
  updateAvailable: z.ZodBoolean;
670
+ renewToUpdate: z.ZodOptional<z.ZodLiteral<true>>;
671
+ licenseBundlePluginId: z.ZodOptional<z.ZodString>;
672
+ officialPrice: z.ZodOptional<z.ZodEnum<{
673
+ free: "free";
674
+ paid: "paid";
675
+ }>>;
676
+ categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
584
677
  }, z.core.$strip>>;
585
678
  nextCursor: z.ZodNullable<z.ZodString>;
586
679
  activeDialect: z.ZodString;
@@ -595,13 +688,28 @@ export declare const MARKETPLACE_VERSIONS_MAX_IDS = 50;
595
688
  * this; the CMS's client therefore sends no id longer than 199 characters,
596
689
  * so that fifty of them and their 49 commas (9,999 characters) always fit. */
597
690
  export declare const MARKETPLACE_VERSIONS_IDS_MAX_LENGTH = 10000;
691
+ /** S322b (P15): the most plan names one versions answer item carries. */
692
+ export declare const MARKETPLACE_PLAN_NAMES_MAX = 32;
693
+ /** S322b (P15): a plan's key and name, so a CMS can name the plan its stored
694
+ * licence verdict carries (the verdict carries the key only). */
695
+ export declare const MarketplacePlanNameSchema: z.ZodObject<{
696
+ key: z.ZodString;
697
+ name: z.ZodString;
698
+ }, z.core.$strip>;
699
+ export type MarketplacePlanName = z.infer<typeof MarketplacePlanNameSchema>;
598
700
  /** What a CMS decides an update with: a listing's latest published version,
599
- * reduced to four facts. */
701
+ * reduced to the facts it compares (S319: and its release date). */
600
702
  export declare const MarketplaceLatestVersionSchema: z.ZodObject<{
601
703
  version: z.ZodString;
704
+ publishedAt: z.ZodOptional<z.ZodString>;
602
705
  supportedDialects: z.ZodArray<z.ZodString>;
603
706
  cmsVersion: z.ZodString;
604
707
  hasArtifact: z.ZodBoolean;
708
+ declaresMembers: z.ZodOptional<z.ZodBoolean>;
709
+ planNames: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodObject<{
710
+ key: z.ZodString;
711
+ name: z.ZodString;
712
+ }, z.core.$strip>>, unknown>>;
605
713
  }, z.core.$strip>;
606
714
  export type MarketplaceLatestVersion = z.infer<typeof MarketplaceLatestVersionSchema>;
607
715
  /** One item per published listing among the ids asked, in the order asked; an
@@ -612,9 +720,15 @@ export declare const MarketplaceVersionsResponseSchema: z.ZodObject<{
612
720
  pluginId: z.ZodString;
613
721
  latestVersion: z.ZodObject<{
614
722
  version: z.ZodString;
723
+ publishedAt: z.ZodOptional<z.ZodString>;
615
724
  supportedDialects: z.ZodArray<z.ZodString>;
616
725
  cmsVersion: z.ZodString;
617
726
  hasArtifact: z.ZodBoolean;
727
+ declaresMembers: z.ZodOptional<z.ZodBoolean>;
728
+ planNames: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodObject<{
729
+ key: z.ZodString;
730
+ name: z.ZodString;
731
+ }, z.core.$strip>>, unknown>>;
618
732
  }, z.core.$strip>;
619
733
  }, z.core.$strip>>;
620
734
  }, z.core.$strip>;
@@ -658,6 +772,14 @@ export declare const MarketplaceInstallMemberSchema: z.ZodObject<{
658
772
  }>;
659
773
  }, z.core.$strip>;
660
774
  export type MarketplaceInstallMember = z.infer<typeof MarketplaceInstallMemberSchema>;
775
+ /** S319 (spec 3c, plan P8): a fresh install of a version the licence's
776
+ * lapsed term does not cover installed the newest version it does cover
777
+ * instead; this names the version that was asked for and why. */
778
+ export declare const MarketplaceInstallHeldBackSchema: z.ZodObject<{
779
+ requestedVersion: z.ZodString;
780
+ reason: z.ZodLiteral<"term_lapsed">;
781
+ }, z.core.$strip>;
782
+ export type MarketplaceInstallHeldBack = z.infer<typeof MarketplaceInstallHeldBackSchema>;
661
783
  export declare const MarketplaceInstallResponseSchema: z.ZodObject<{
662
784
  pluginId: z.ZodString;
663
785
  version: z.ZodString;
@@ -700,6 +822,10 @@ export declare const MarketplaceInstallResponseSchema: z.ZodObject<{
700
822
  }>;
701
823
  }, z.core.$strip>>>;
702
824
  warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
825
+ heldBack: z.ZodOptional<z.ZodObject<{
826
+ requestedVersion: z.ZodString;
827
+ reason: z.ZodLiteral<"term_lapsed">;
828
+ }, z.core.$strip>>;
703
829
  }, z.core.$strip>;
704
830
  export type MarketplaceInstallResponse = z.infer<typeof MarketplaceInstallResponseSchema>;
705
831
  /** The 409 a marketplace install or update answers. `reason` is present
@@ -714,6 +840,41 @@ export declare const MarketplaceInstallConflictSchema: z.ZodObject<{
714
840
  warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
715
841
  }, z.core.$strip>;
716
842
  export type MarketplaceInstallConflict = z.infer<typeof MarketplaceInstallConflictSchema>;
843
+ /** S319 (spec 3c): the 402 a marketplace install answers when the licence's
844
+ * lapsed term does not cover the version: always for an update, which is
845
+ * never downgraded, and for a fresh install with no older covered version
846
+ * to fall back to. Nothing was installed or changed. */
847
+ export declare const MarketplaceInstallRenewRequiredSchema: z.ZodObject<{
848
+ message: z.ZodString;
849
+ reason: z.ZodLiteral<"renew-required">;
850
+ }, z.core.$strip>;
851
+ export type MarketplaceInstallRenewRequired = z.infer<typeof MarketplaceInstallRenewRequiredSchema>;
852
+ /** S322c (D5, plan P14): the most plugins a missing-dependency answer names. */
853
+ export declare const MARKETPLACE_MISSING_PLUGINS_MAX = 32;
854
+ /** One plugin a bundle install needs and the site does not have. `author`
855
+ * and `listingUrl` are null when the marketplace could not say. */
856
+ export declare const MarketplaceMissingPluginSchema: z.ZodObject<{
857
+ pluginId: z.ZodString;
858
+ name: z.ZodString;
859
+ author: z.ZodNullable<z.ZodString>;
860
+ listingUrl: z.ZodNullable<z.ZodString>;
861
+ }, z.core.$strip>;
862
+ export type MarketplaceMissingPlugin = z.infer<typeof MarketplaceMissingPluginSchema>;
863
+ /** S322c (D5): the 422 a bundle install answers when a member needs a plugin
864
+ * outside the bundle. Nothing was installed; `message` is the whole sentence,
865
+ * `missing` names each plugin for a client that links to it. */
866
+ export declare const MarketplaceInstallDependenciesMissingSchema: z.ZodObject<{
867
+ message: z.ZodString;
868
+ reason: z.ZodLiteral<"dependencies-missing">;
869
+ missing: z.ZodArray<z.ZodObject<{
870
+ pluginId: z.ZodString;
871
+ name: z.ZodString;
872
+ author: z.ZodNullable<z.ZodString>;
873
+ listingUrl: z.ZodNullable<z.ZodString>;
874
+ }, z.core.$strip>>;
875
+ rollbackFailures: z.ZodOptional<z.ZodNumber>;
876
+ }, z.core.$strip>;
877
+ export type MarketplaceInstallDependenciesMissing = z.infer<typeof MarketplaceInstallDependenciesMissingSchema>;
717
878
  export type MarketplaceListQuery = z.infer<typeof MarketplaceListQuerySchema>;
718
879
  /** The parsed side, which is also what a client sends: the schema has no defaults, so `licenseKey` and
719
880
  * `answers` stay optional, and `answers.options` keeps its record type (the z.input side of its preprocess