@kardalum/plugin-sdk 0.0.0-stage → 0.15.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.
- package/CHANGELOG.md +108 -0
- package/LICENSE +202 -0
- package/README.md +70 -2
- package/dist/admin-section-registry.d.ts +34 -0
- package/dist/admin-section-registry.js +49 -0
- package/dist/built-in-serializers.d.ts +3 -0
- package/dist/built-in-serializers.js +18 -0
- package/dist/built-in-settings-schemas.d.ts +14 -0
- package/dist/built-in-settings-schemas.js +225 -0
- package/dist/built-in-value-schemas.d.ts +4 -0
- package/dist/built-in-value-schemas.js +47 -0
- package/dist/built-ins.d.ts +1 -0
- package/dist/built-ins.js +257 -0
- package/dist/capabilities.d.ts +99 -0
- package/dist/capabilities.js +363 -0
- package/dist/data-type-plugin.d.ts +28 -0
- package/dist/data-type-plugin.js +1 -0
- package/dist/datatype-validation.d.ts +26 -0
- package/dist/datatype-validation.js +110 -0
- package/dist/datatypes-entry.d.ts +4 -0
- package/dist/datatypes-entry.js +18 -0
- package/dist/define-plugin.d.ts +25 -0
- package/dist/define-plugin.js +51 -0
- package/dist/entitlement-entry.d.ts +5 -0
- package/dist/entitlement-entry.js +24 -0
- package/dist/entitlement-gate.d.ts +36 -0
- package/dist/entitlement-gate.js +201 -0
- package/dist/entitlement-types.d.ts +39 -0
- package/dist/entitlement-types.js +1 -0
- package/dist/entitlement.d.ts +57 -0
- package/dist/entitlement.js +170 -0
- package/dist/host-entry.d.ts +1 -0
- package/dist/host-entry.js +11 -0
- package/dist/icon-name.d.ts +1 -0
- package/dist/icon-name.js +1 -0
- package/dist/icons.d.ts +2 -0
- package/dist/icons.js +10 -0
- package/dist/index.d.ts +28 -0
- package/dist/index.js +93 -0
- package/dist/license-verdict-keys.d.ts +18 -0
- package/dist/license-verdict-keys.js +22 -0
- package/dist/local-host.d.ts +3 -0
- package/dist/local-host.js +38 -0
- package/dist/manifest-entry.d.ts +8 -0
- package/dist/manifest-entry.js +13 -0
- package/dist/manifest-schema.d.ts +408 -0
- package/dist/manifest-schema.js +774 -0
- package/dist/manifest.d.ts +546 -0
- package/dist/manifest.js +86 -0
- package/dist/media/media-picker.d.ts +39 -0
- package/dist/media/media-picker.js +438 -0
- package/dist/media/upload-error.d.ts +12 -0
- package/dist/media/upload-error.js +30 -0
- package/dist/plugin-context.d.ts +75 -0
- package/dist/plugin-context.js +70 -0
- package/dist/plugin-screen-context.d.ts +40 -0
- package/dist/plugin-screen-context.js +16 -0
- package/dist/register-built-ins.d.ts +1 -0
- package/dist/register-built-ins.js +41 -0
- package/dist/registry.d.ts +4 -0
- package/dist/registry.js +17 -0
- package/dist/rendition-eligibility.d.ts +24 -0
- package/dist/rendition-eligibility.js +40 -0
- package/dist/richtext/block-panel.d.ts +27 -0
- package/dist/richtext/block-panel.js +232 -0
- package/dist/richtext/extensions.d.ts +19 -0
- package/dist/richtext/extensions.js +56 -0
- package/dist/richtext/insert-menu.d.ts +24 -0
- package/dist/richtext/insert-menu.js +142 -0
- package/dist/richtext/kardalum-block.d.ts +33 -0
- package/dist/richtext/kardalum-block.js +282 -0
- package/dist/richtext/style-listbox.d.ts +10 -0
- package/dist/richtext/style-listbox.js +69 -0
- package/dist/richtext/text-style-class.d.ts +18 -0
- package/dist/richtext/text-style-class.js +36 -0
- package/dist/simple-storage-value-provider.d.ts +9 -0
- package/dist/simple-storage-value-provider.js +96 -0
- package/dist/structured-storage-types.d.ts +61 -0
- package/dist/structured-storage-types.js +11 -0
- package/dist/tailwind.d.ts +1 -0
- package/dist/tailwind.js +5 -0
- package/dist/tokens/system-dark.css +75 -0
- package/dist/tokens/tokens.css +239 -0
- package/dist/tokens/tokens.json +212 -0
- package/dist/tokens.d.ts +1 -0
- package/dist/tokens.js +11 -0
- package/dist/ui-entry.d.ts +5 -0
- package/dist/ui-entry.js +42 -0
- package/dist/views/content-list-preview.d.ts +1 -0
- package/dist/views/content-list-preview.js +14 -0
- package/dist/views/content-list-settings-view.d.ts +1 -0
- package/dist/views/content-list-settings-view.js +97 -0
- package/dist/views/content-list-view.d.ts +19 -0
- package/dist/views/content-list-view.js +248 -0
- package/dist/views/crop-view.d.ts +55 -0
- package/dist/views/crop-view.js +161 -0
- package/dist/views/date-range-view.d.ts +6 -0
- package/dist/views/date-range-view.js +55 -0
- package/dist/views/file-upload-view.d.ts +43 -0
- package/dist/views/file-upload-view.js +104 -0
- package/dist/views/html-code-editor.d.ts +10 -0
- package/dist/views/html-code-editor.js +101 -0
- package/dist/views/html-view.d.ts +3 -0
- package/dist/views/html-view.js +53 -0
- package/dist/views/image-view.d.ts +3 -0
- package/dist/views/image-view.js +387 -0
- package/dist/views/rich-text-view.d.ts +2 -0
- package/dist/views/rich-text-view.js +429 -0
- package/node_modules/@kardalum/api-schemas/LICENSE +202 -0
- package/node_modules/@kardalum/api-schemas/README.md +56 -0
- package/node_modules/@kardalum/api-schemas/dist/action.schema.d.ts +30 -0
- package/node_modules/@kardalum/api-schemas/dist/action.schema.js +88 -0
- package/node_modules/@kardalum/api-schemas/dist/api-error.schema.d.ts +5 -0
- package/node_modules/@kardalum/api-schemas/dist/api-error.schema.js +6 -0
- package/node_modules/@kardalum/api-schemas/dist/api-key-api.schema.d.ts +75 -0
- package/node_modules/@kardalum/api-schemas/dist/api-key-api.schema.js +36 -0
- package/node_modules/@kardalum/api-schemas/dist/asset-api.schema.d.ts +89 -0
- package/node_modules/@kardalum/api-schemas/dist/asset-api.schema.js +60 -0
- package/node_modules/@kardalum/api-schemas/dist/asset.schema.d.ts +24 -0
- package/node_modules/@kardalum/api-schemas/dist/asset.schema.js +47 -0
- package/node_modules/@kardalum/api-schemas/dist/auth.schema.d.ts +38 -0
- package/node_modules/@kardalum/api-schemas/dist/auth.schema.js +38 -0
- package/node_modules/@kardalum/api-schemas/dist/content-api.schema.d.ts +537 -0
- package/node_modules/@kardalum/api-schemas/dist/content-api.schema.js +353 -0
- package/node_modules/@kardalum/api-schemas/dist/content-list.schema.d.ts +158 -0
- package/node_modules/@kardalum/api-schemas/dist/content-list.schema.js +139 -0
- package/node_modules/@kardalum/api-schemas/dist/content-path.d.ts +125 -0
- package/node_modules/@kardalum/api-schemas/dist/content-path.js +256 -0
- package/node_modules/@kardalum/api-schemas/dist/content-trash-api.schema.d.ts +20 -0
- package/node_modules/@kardalum/api-schemas/dist/content-trash-api.schema.js +23 -0
- package/node_modules/@kardalum/api-schemas/dist/content-trash.schema.d.ts +151 -0
- package/node_modules/@kardalum/api-schemas/dist/content-trash.schema.js +82 -0
- package/node_modules/@kardalum/api-schemas/dist/content-version.schema.d.ts +18 -0
- package/node_modules/@kardalum/api-schemas/dist/content-version.schema.js +22 -0
- package/node_modules/@kardalum/api-schemas/dist/content.schema.d.ts +17 -0
- package/node_modules/@kardalum/api-schemas/dist/content.schema.js +20 -0
- package/node_modules/@kardalum/api-schemas/dist/core-actions.d.ts +302 -0
- package/node_modules/@kardalum/api-schemas/dist/core-actions.js +97 -0
- package/node_modules/@kardalum/api-schemas/dist/culture-direction.d.ts +1 -0
- package/node_modules/@kardalum/api-schemas/dist/culture-direction.js +9 -0
- package/node_modules/@kardalum/api-schemas/dist/data-type-api.schema.d.ts +36 -0
- package/node_modules/@kardalum/api-schemas/dist/data-type-api.schema.js +32 -0
- package/node_modules/@kardalum/api-schemas/dist/data-type-config.schema.d.ts +9 -0
- package/node_modules/@kardalum/api-schemas/dist/data-type-config.schema.js +32 -0
- package/node_modules/@kardalum/api-schemas/dist/document-type-api.schema.d.ts +296 -0
- package/node_modules/@kardalum/api-schemas/dist/document-type-api.schema.js +138 -0
- package/node_modules/@kardalum/api-schemas/dist/document-type.schema.d.ts +121 -0
- package/node_modules/@kardalum/api-schemas/dist/document-type.schema.js +147 -0
- package/node_modules/@kardalum/api-schemas/dist/health.schema.d.ts +6 -0
- package/node_modules/@kardalum/api-schemas/dist/health.schema.js +5 -0
- package/node_modules/@kardalum/api-schemas/dist/html-entities.d.ts +4 -0
- package/node_modules/@kardalum/api-schemas/dist/html-entities.js +250 -0
- package/node_modules/@kardalum/api-schemas/dist/index.d.ts +102 -0
- package/node_modules/@kardalum/api-schemas/dist/index.js +58 -0
- package/node_modules/@kardalum/api-schemas/dist/licensing.schema.d.ts +15 -0
- package/node_modules/@kardalum/api-schemas/dist/licensing.schema.js +14 -0
- package/node_modules/@kardalum/api-schemas/dist/marketplace-listing-api.schema.d.ts +381 -0
- package/node_modules/@kardalum/api-schemas/dist/marketplace-listing-api.schema.js +197 -0
- package/node_modules/@kardalum/api-schemas/dist/media-api.schema.d.ts +167 -0
- package/node_modules/@kardalum/api-schemas/dist/media-api.schema.js +214 -0
- package/node_modules/@kardalum/api-schemas/dist/media-reference-api.schema.d.ts +77 -0
- package/node_modules/@kardalum/api-schemas/dist/media-reference-api.schema.js +53 -0
- package/node_modules/@kardalum/api-schemas/dist/media-reference-use.d.ts +75 -0
- package/node_modules/@kardalum/api-schemas/dist/media-reference-use.js +117 -0
- package/node_modules/@kardalum/api-schemas/dist/media-reference.d.ts +27 -0
- package/node_modules/@kardalum/api-schemas/dist/media-reference.js +279 -0
- package/node_modules/@kardalum/api-schemas/dist/media-rendition.schema.d.ts +74 -0
- package/node_modules/@kardalum/api-schemas/dist/media-rendition.schema.js +157 -0
- package/node_modules/@kardalum/api-schemas/dist/media.schema.d.ts +80 -0
- package/node_modules/@kardalum/api-schemas/dist/media.schema.js +156 -0
- package/node_modules/@kardalum/api-schemas/dist/nav.schema.d.ts +23 -0
- package/node_modules/@kardalum/api-schemas/dist/nav.schema.js +55 -0
- package/node_modules/@kardalum/api-schemas/dist/node-access.schema.d.ts +846 -0
- package/node_modules/@kardalum/api-schemas/dist/node-access.schema.js +356 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-actions.schema.d.ts +20 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-actions.schema.js +27 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs-api.schema.d.ts +169 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs-api.schema.js +80 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs-text.d.ts +65 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs-text.js +889 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs.d.ts +89 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs.js +134 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-id-rules.d.ts +31 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-id-rules.js +38 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-management-api.schema.d.ts +369 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-management-api.schema.js +393 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-actions.d.ts +22 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-actions.js +87 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-registry-api.schema.d.ts +31 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-registry-api.schema.js +25 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-storage-api.schema.d.ts +15 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-storage-api.schema.js +24 -0
- package/node_modules/@kardalum/api-schemas/dist/public-api.schema.d.ts +306 -0
- package/node_modules/@kardalum/api-schemas/dist/public-api.schema.js +328 -0
- package/node_modules/@kardalum/api-schemas/dist/render-editing.d.ts +79 -0
- package/node_modules/@kardalum/api-schemas/dist/render-editing.js +50 -0
- package/node_modules/@kardalum/api-schemas/dist/render-settings-api.schema.d.ts +9 -0
- package/node_modules/@kardalum/api-schemas/dist/render-settings-api.schema.js +13 -0
- package/node_modules/@kardalum/api-schemas/dist/reserved-slugs.d.ts +2 -0
- package/node_modules/@kardalum/api-schemas/dist/reserved-slugs.js +16 -0
- package/node_modules/@kardalum/api-schemas/dist/role.schema.d.ts +90 -0
- package/node_modules/@kardalum/api-schemas/dist/role.schema.js +69 -0
- package/node_modules/@kardalum/api-schemas/dist/sample-content-outcome.schema.d.ts +17 -0
- package/node_modules/@kardalum/api-schemas/dist/sample-content-outcome.schema.js +27 -0
- package/node_modules/@kardalum/api-schemas/dist/setup-api.schema.d.ts +108 -0
- package/node_modules/@kardalum/api-schemas/dist/setup-api.schema.js +93 -0
- package/node_modules/@kardalum/api-schemas/dist/sites.schema.d.ts +243 -0
- package/node_modules/@kardalum/api-schemas/dist/sites.schema.js +296 -0
- package/node_modules/@kardalum/api-schemas/dist/snapshot-api.schema.d.ts +43 -0
- package/node_modules/@kardalum/api-schemas/dist/snapshot-api.schema.js +25 -0
- package/node_modules/@kardalum/api-schemas/dist/snapshot.schema.d.ts +30 -0
- package/node_modules/@kardalum/api-schemas/dist/snapshot.schema.js +19 -0
- package/node_modules/@kardalum/api-schemas/dist/template-api.schema.d.ts +112 -0
- package/node_modules/@kardalum/api-schemas/dist/template-api.schema.js +74 -0
- package/node_modules/@kardalum/api-schemas/dist/template.schema.d.ts +41 -0
- package/node_modules/@kardalum/api-schemas/dist/template.schema.js +39 -0
- package/node_modules/@kardalum/api-schemas/dist/theme-api.schema.d.ts +21 -0
- package/node_modules/@kardalum/api-schemas/dist/theme-api.schema.js +14 -0
- package/node_modules/@kardalum/api-schemas/dist/user-api.schema.d.ts +89 -0
- package/node_modules/@kardalum/api-schemas/dist/user-api.schema.js +68 -0
- package/node_modules/@kardalum/api-schemas/package.json +35 -0
- package/node_modules/@kardalum/design-tokens/LICENSE +202 -0
- package/node_modules/@kardalum/design-tokens/README.md +29 -0
- package/node_modules/@kardalum/design-tokens/dist/build-css.d.ts +32 -0
- package/node_modules/@kardalum/design-tokens/dist/build-css.js +88 -0
- package/node_modules/@kardalum/design-tokens/dist/generate.d.ts +1 -0
- package/node_modules/@kardalum/design-tokens/dist/generate.js +18 -0
- package/node_modules/@kardalum/design-tokens/dist/index.d.ts +6 -0
- package/node_modules/@kardalum/design-tokens/dist/index.js +4 -0
- package/node_modules/@kardalum/design-tokens/dist/system-dark.css +75 -0
- package/node_modules/@kardalum/design-tokens/dist/tailwind-theme.d.ts +33 -0
- package/node_modules/@kardalum/design-tokens/dist/tailwind-theme.js +54 -0
- package/node_modules/@kardalum/design-tokens/dist/theme-css.d.ts +12 -0
- package/node_modules/@kardalum/design-tokens/dist/theme-css.js +42 -0
- package/node_modules/@kardalum/design-tokens/dist/theme-types.d.ts +43 -0
- package/node_modules/@kardalum/design-tokens/dist/theme-types.js +1 -0
- package/node_modules/@kardalum/design-tokens/dist/themes/dark.d.ts +13 -0
- package/node_modules/@kardalum/design-tokens/dist/themes/dark.js +120 -0
- package/node_modules/@kardalum/design-tokens/dist/themes/index.d.ts +5 -0
- package/node_modules/@kardalum/design-tokens/dist/themes/index.js +4 -0
- package/node_modules/@kardalum/design-tokens/dist/themes/light.d.ts +9 -0
- package/node_modules/@kardalum/design-tokens/dist/themes/light.js +13 -0
- package/node_modules/@kardalum/design-tokens/dist/tokens.css +239 -0
- package/node_modules/@kardalum/design-tokens/dist/tokens.d.ts +25 -0
- package/node_modules/@kardalum/design-tokens/dist/tokens.js +276 -0
- package/node_modules/@kardalum/design-tokens/dist/tokens.json +212 -0
- package/node_modules/@kardalum/design-tokens/dist/types.d.ts +91 -0
- package/node_modules/@kardalum/design-tokens/dist/types.js +5 -0
- package/node_modules/@kardalum/design-tokens/package.json +42 -0
- package/node_modules/@kardalum/plugin-package/LICENSE +202 -0
- package/node_modules/@kardalum/plugin-package/README.md +71 -0
- package/node_modules/@kardalum/plugin-package/dist/docs-contract.d.ts +50 -0
- package/node_modules/@kardalum/plugin-package/dist/docs-contract.js +659 -0
- package/node_modules/@kardalum/plugin-package/dist/envelope.d.ts +19 -0
- package/node_modules/@kardalum/plugin-package/dist/envelope.js +104 -0
- package/node_modules/@kardalum/plugin-package/dist/extract.d.ts +37 -0
- package/node_modules/@kardalum/plugin-package/dist/extract.js +199 -0
- package/node_modules/@kardalum/plugin-package/dist/hash.d.ts +17 -0
- package/node_modules/@kardalum/plugin-package/dist/hash.js +69 -0
- package/node_modules/@kardalum/plugin-package/dist/index.d.ts +11 -0
- package/node_modules/@kardalum/plugin-package/dist/index.js +7 -0
- package/node_modules/@kardalum/plugin-package/dist/license-verdict.d.ts +185 -0
- package/node_modules/@kardalum/plugin-package/dist/license-verdict.js +236 -0
- package/node_modules/@kardalum/plugin-package/dist/package-contract.d.ts +50 -0
- package/node_modules/@kardalum/plugin-package/dist/package-contract.js +115 -0
- package/node_modules/@kardalum/plugin-package/dist/sample-content.d.ts +1 -0
- package/node_modules/@kardalum/plugin-package/dist/sample-content.js +17 -0
- package/node_modules/@kardalum/plugin-package/dist/types.d.ts +45 -0
- package/node_modules/@kardalum/plugin-package/dist/types.js +1 -0
- package/node_modules/@kardalum/plugin-package/package.json +49 -0
- package/node_modules/@kardalum/ui/LICENSE +202 -0
- package/node_modules/@kardalum/ui/README.md +35 -0
- package/node_modules/@kardalum/ui/dist/components/alert-dialog.d.ts +14 -0
- package/node_modules/@kardalum/ui/dist/components/alert-dialog.js +38 -0
- package/node_modules/@kardalum/ui/dist/components/badge.d.ts +9 -0
- package/node_modules/@kardalum/ui/dist/components/badge.js +30 -0
- package/node_modules/@kardalum/ui/dist/components/button.d.ts +11 -0
- package/node_modules/@kardalum/ui/dist/components/button.js +37 -0
- package/node_modules/@kardalum/ui/dist/components/checkbox.d.ts +5 -0
- package/node_modules/@kardalum/ui/dist/components/checkbox.js +7 -0
- package/node_modules/@kardalum/ui/dist/components/dialog.d.ts +17 -0
- package/node_modules/@kardalum/ui/dist/components/dialog.js +48 -0
- package/node_modules/@kardalum/ui/dist/components/dropdown-menu.d.ts +18 -0
- package/node_modules/@kardalum/ui/dist/components/dropdown-menu.js +53 -0
- package/node_modules/@kardalum/ui/dist/components/empty-state.d.ts +30 -0
- package/node_modules/@kardalum/ui/dist/components/empty-state.js +9 -0
- package/node_modules/@kardalum/ui/dist/components/input.d.ts +4 -0
- package/node_modules/@kardalum/ui/dist/components/input.js +6 -0
- package/node_modules/@kardalum/ui/dist/components/panel.d.ts +5 -0
- package/node_modules/@kardalum/ui/dist/components/panel.js +6 -0
- package/node_modules/@kardalum/ui/dist/components/property-field.d.ts +19 -0
- package/node_modules/@kardalum/ui/dist/components/property-field.js +86 -0
- package/node_modules/@kardalum/ui/dist/components/sheet.d.ts +17 -0
- package/node_modules/@kardalum/ui/dist/components/sheet.js +55 -0
- package/node_modules/@kardalum/ui/dist/components/skeleton.d.ts +3 -0
- package/node_modules/@kardalum/ui/dist/components/skeleton.js +9 -0
- package/node_modules/@kardalum/ui/dist/components/switch.d.ts +5 -0
- package/node_modules/@kardalum/ui/dist/components/switch.js +7 -0
- package/node_modules/@kardalum/ui/dist/components/tab-strip.d.ts +34 -0
- package/node_modules/@kardalum/ui/dist/components/tab-strip.js +72 -0
- package/node_modules/@kardalum/ui/dist/components/toast.d.ts +18 -0
- package/node_modules/@kardalum/ui/dist/components/toast.js +42 -0
- package/node_modules/@kardalum/ui/dist/components/toaster.d.ts +12 -0
- package/node_modules/@kardalum/ui/dist/components/toaster.js +11 -0
- package/node_modules/@kardalum/ui/dist/components/use-toast.d.ts +17 -0
- package/node_modules/@kardalum/ui/dist/components/use-toast.js +62 -0
- package/node_modules/@kardalum/ui/dist/index.d.ts +18 -0
- package/node_modules/@kardalum/ui/dist/index.js +18 -0
- package/node_modules/@kardalum/ui/dist/lib/cn.d.ts +2 -0
- package/node_modules/@kardalum/ui/dist/lib/cn.js +5 -0
- package/node_modules/@kardalum/ui/package.json +63 -0
- package/package.json +146 -4
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export { ActionStringSchema, ACTION_SEGMENT_MIN, ACTION_SEGMENT_MAX, ACTION_MAX_LENGTH, isPluginActionFor } from "./action.schema.js";
|
|
2
|
+
export { CORE_ACTIONS, CORE_ACTION_STRINGS, isCoreAction } from "./core-actions.js";
|
|
3
|
+
export { ROLE_ID_PATTERN, SEEDED_ROLE_IDS, RoleIdSchema, ActionSummarySchema, ActionListResponseSchema, RoleSchema, RoleListQuerySchema, RoleListResponseSchema, CreateRoleRequestSchema, UpdateRoleRequestSchema, RoleResponseSchema, DeleteRoleResponseSchema, } from "./role.schema.js";
|
|
4
|
+
export { RESTRICTABLE_ACTIONS, isRestrictableAction, MAX_RESTRICTED_NODES, MAX_RESTRICTED_NODES_WITH_TRASH, MAX_GRANTS_PER_ENTRY, NODE_ACCESS_SUBJECT_ID_MAX, NodeAccessModeSchema, NodeAccessSubjectKindSchema, NodeAccessGrantSchema, NodeAccessEntrySchema, NodeAccessReasonSchema, NodeAccessDecisionSchema, NODE_ACCESS_REFUSED_MESSAGE, NodeAccessFlagsSchema, NodeAccessRefusalSchema, NodeAccessRefusalDecisionSchema, DecidingEntryGrantSchema, DecidingEntrySchema, NodeAccessDenialSchema, MoveImpactQuerySchema, MoveImpactResponseSchema, ClearRestrictionsResponseSchema, ContentForbiddenSchema, ALL_NODE_ACCESS, nodeAccessFlagKey, PermissionGrantViewSchema, NodePermissionRowSchema, NodePermissionsResponseSchema, NodePermissionInputSchema, SaveNodePermissionsRequestSchema, NodePermissionsRefusalSchema, PermissionSubjectSchema, PermissionSubjectsResponseSchema, PermissionSubjectsQuerySchema, PERMISSION_SUBJECT_QUERY_MAX, PERMISSION_SUBJECT_CURSOR_MAX, ExplainSubjectQuerySchema, AccessTraceViewSchema, ExplainResponseSchema, ExplainOperationQuerySchema, ExplainOperationResponseSchema, OPENED_BELOW_MAX, WhoCanResponseSchema, } from "./node-access.schema.js";
|
|
5
|
+
export { ContentNodeSchema, NodeCultureSchema } from "./content.schema.js";
|
|
6
|
+
export { RESERVED_ROOT_SLUGS, isReservedRootSlug } from "./reserved-slugs.js";
|
|
7
|
+
export { CONTENT_NAME_KEY, canonicalPath, firstSegment, joinContentPath, NEXT_FREE_SLUG_ATTEMPTS, nextAvailableName, nextFreeSlug, publicPath, slugify, } from "./content-path.js";
|
|
8
|
+
export { DefaultSiteSchema, HostnameSchema, MAX_HOSTNAMES_PER_SITE, SetDefaultSiteRequestSchema, SetSiteHostnamesRequestSchema, SiteHostnamesSchema, SiteListQuerySchema, SiteListResponseSchema, SiteListRowSchema, SiteSummarySchema, SitesSettingsResponseSchema, SitesSettingsSchema, addressFromSitesRecord, normalizeHostname, siteAddress, } from "./sites.schema.js";
|
|
9
|
+
export { NAV_ORDER_MAX, NavIdSchema, NavSettingsSchema } from "./nav.schema.js";
|
|
10
|
+
export { LicensingSettingsSchema } from "./licensing.schema.js";
|
|
11
|
+
export { MANIFEST_ID_SEGMENT_MAX, PLUGIN_ID_REGEX, SLOT_ID_MAX, SLOT_ID_REGEX, isPluginManifestId } from "./plugin-id-rules.js";
|
|
12
|
+
export { cultureDirection } from "./culture-direction.js";
|
|
13
|
+
export { ContentVersionSchema, flattenForCulture } from "./content-version.schema.js";
|
|
14
|
+
export { mediaReferencesIn } from "./media-reference.js";
|
|
15
|
+
export { mediaReferenceCursor, decodeMediaReferenceCursor } from "./media-reference-use.js";
|
|
16
|
+
// MediaReferenceUseSchema's own inferred type is deliberately not
|
|
17
|
+
// re-exported here: it is the same shape as MediaReferenceUse above (the
|
|
18
|
+
// adapter-facing plain interface), and only one of the two names should
|
|
19
|
+
// exist. The schema is exported for validation; callers use the plain
|
|
20
|
+
// interface for the type.
|
|
21
|
+
export { MediaReferenceCountsSchema, MediaReferenceUseSchema, MediaReferenceListQuerySchema, MediaReferenceListResponseSchema, MediaTrashReferenceSummarySchema, } from "./media-reference-api.schema.js";
|
|
22
|
+
export { SnapshotSchema, SnapshotItemSchema, SnapshotMetaSchema } from "./snapshot.schema.js";
|
|
23
|
+
export { ApiErrorSchema } from "./api-error.schema.js";
|
|
24
|
+
export { BundledTemplateSchema, SetupStatusResponseSchema, SetupStarterSelectionSchema, SetupStarterResultSchema, SetupCompleteRequestSchema, SetupCompleteResponseSchema, } from "./setup-api.schema.js";
|
|
25
|
+
export { CreateContentRequestSchema, ContentItemQuerySchema, ContentItemResponseSchema, ContentByAddressQuerySchema, ContentByAddressResponseSchema, ContentByPathQuerySchema, ContentByPathResponseSchema, SaveContentRequestSchema, SaveContentResponseSchema, LatestVersionQuerySchema, LatestVersionResponseSchema, VersionQuerySchema, ContentVersionMetaSchema, VersionListQuerySchema, VersionListResponseSchema, PublishContentRequestSchema, PublishContentResponseSchema, PublishAllRequestSchema, PublishAllResultSchema, PublishAllResponseSchema, PreviewTokenResponseSchema, ContentChildrenQuerySchema, ContentChildrenResponseSchema, ContentNodeWithNameSchema, ContentPathConflictSchema, CopyContentRequestSchema, CultureSchema, CultureSettingsSchema, MoveContentRequestSchema, MoveContentResponseSchema, ReorderNodesRequestSchema, ReorderNodesResponseSchema, FieldValidationFailureSchema, ContentValidationErrorSchema, TranslationIncompleteResponseSchema, } from "./content-api.schema.js";
|
|
26
|
+
export { FieldValidationSchema, FieldDefinitionSchema, TabDefinitionSchema, TreeRulesSchema, DocumentTypeDefinitionSchema, } from "./document-type.schema.js";
|
|
27
|
+
export { CreateDocumentTypeRequestSchema, UpdateDocumentTypeRequestSchema, CreateDocumentTypeResponseSchema, DocumentTypeListQuerySchema, DocumentTypeListResponseSchema, DeleteDocumentTypeResponseSchema, } from "./document-type-api.schema.js";
|
|
28
|
+
export { TemplateAliasSchema, TemplateDefinitionSchema, TemplateKindSchema, TemplateVersionSchema, TemplateVersionSourceSchema, } from "./template.schema.js";
|
|
29
|
+
export { CreateTemplateRequestSchema, CreateTemplateResponseSchema, DeleteTemplateQuerySchema, MAX_TEMPLATE_CONTENT_BYTES, SetDefaultTemplateRequestSchema, TemplateConflictResponseSchema, TemplateDeleteBlockedResponseSchema, TemplateListQuerySchema, TemplateListResponseSchema, TemplateResponseSchema, TemplateSyncReportSchema, UpdateTemplateRequestSchema, } from "./template-api.schema.js";
|
|
30
|
+
export { AssetDefinitionSchema, AssetPathSchema, AssetVersionSchema, MAX_ASSET_CONTENT_BYTES } from "./asset.schema.js";
|
|
31
|
+
export { ASSET_TREE_MAX_DEPTH, ASSET_TREE_MAX_ENTRIES, AssetTreeEntrySchema, AssetTreeResponseSchema, AssetContentResponseSchema, WriteAssetContentRequestSchema, CreateAssetFolderRequestSchema, RenameAssetRequestSchema, DeleteAssetQuerySchema, AssetDeleteBlockedResponseSchema, ZipExtractReportSchema, AssetSyncReportSchema, } from "./asset-api.schema.js";
|
|
32
|
+
export { RenderSettingsSchema, UpdateRenderSettingsRequestSchema } from "./render-settings-api.schema.js";
|
|
33
|
+
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";
|
|
34
|
+
export { MediaFileResponseSchema, MediaDeleteResponseSchema, MediaLinkResponseSchema, MediaListQuerySchema, MediaListResponseSchema, MediaVersionListResponseSchema, MediaRenditionListResponseSchema, UpdateMediaRequestSchema, CreateMediaFolderRequestSchema, UpdateMediaFolderRequestSchema, MediaFolderListResponseSchema, MediaTrashListQuerySchema, MediaTrashListResponseSchema, MediaEmptyTrashResponseSchema, MediaReadQuerySchema, } from "./media-api.schema.js";
|
|
35
|
+
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";
|
|
36
|
+
export { HealthCheckSchema } from "./health.schema.js";
|
|
37
|
+
export { LoginRequestSchema, LoginResponseSchema, RefreshResponseSchema, LogoutResponseSchema, AuthErrorSchema, } from "./auth.schema.js";
|
|
38
|
+
export { UserSummarySchema, UserListQuerySchema, UserListResponseSchema, CreateUserRequestSchema, CreateUserResponseSchema, UpdateUserRoleRequestSchema, UpdateUserRoleResponseSchema, ADMIN_LOCALES, ThemeModeSchema, UserPreferencesSchema, UpdateUserPreferencesSchema, } from "./user-api.schema.js";
|
|
39
|
+
export { CreateSnapshotRequestSchema, SnapshotResponseSchema, SnapshotListQuerySchema, SnapshotListResponseSchema, RestoreSnapshotResponseSchema, } from "./snapshot-api.schema.js";
|
|
40
|
+
export { DataTypeConfigSchema, BUILT_IN_DATA_TYPE_CONFIGS } from "./data-type-config.schema.js";
|
|
41
|
+
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";
|
|
42
|
+
export { CreateDataTypeRequestSchema, UpdateDataTypeRequestSchema, DataTypeResponseSchema, DataTypeListQuerySchema, DataTypeListResponseSchema, } from "./data-type-api.schema.js";
|
|
43
|
+
export { PluginStorageParamsSchema, SetPluginFieldValueRequestSchema, PluginFieldValueResponseSchema, } from "./plugin-storage-api.schema.js";
|
|
44
|
+
export { PluginSchema, PluginListQuerySchema, PluginListResponseSchema } from "./plugin-registry-api.schema.js";
|
|
45
|
+
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";
|
|
46
|
+
export { SampleContentOutcomeSchema } from "./sample-content-outcome.schema.js";
|
|
47
|
+
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, PublicMediaUpdateRequestSchema, PublicMediaWriteResponseSchema, PublicMediaDeleteResponseSchema, } from "./public-api.schema.js";
|
|
48
|
+
export { MarketplaceCapabilitySchema, MarketplaceListingVersionSchema, MarketplaceListingSchema, MarketplaceStarterSchema, MarketplaceDocumentTypeSummarySchema, MarketplaceBundleMemberSchema, MarketplaceListingDetailVersionSchema, MarketplaceListingDetailSchema, MarketplaceListQuerySchema, MarketplaceListResponseSchema, MarketplacePluginIdParamsSchema, MarketplaceInstallBodySchema, MarketplaceInstallMemberSchema, MarketplaceInstallResponseSchema, MarketplaceInstallConflictSchema, MarketplacePublicBaseSchema, } from "./marketplace-listing-api.schema.js";
|
|
49
|
+
export { ApiKeyScopeSchema, ApiKeySummarySchema, ApiKeyListQuerySchema, ApiKeyListResponseSchema, CreateApiKeyRequestSchema, CreateApiKeyResponseSchema, RevokeApiKeyResponseSchema, } from "./api-key-api.schema.js";
|
|
50
|
+
export { ThemeListItemSchema, ThemeListResponseSchema } from "./theme-api.schema.js";
|
|
51
|
+
export { ContentTrashBodySchema, ContentTrashConfirmationSchema, ContentTrashResultSchema, ContentRestoreResultSchema, } from "./content-trash-api.schema.js";
|
|
52
|
+
export { ContentTrashListQuerySchema, TrashedSubtreeSchema, ContentTrashListResponseSchema, ContentRestoreBlockedSchema, ContentRestoreConflictSchema, ContentRestoreLimitSchema, ContentRestoreNameTakenSchema, ContentRestoreOrphanSchema, ContentRestorePathOccupiedSchema, } from "./content-trash.schema.js";
|
|
53
|
+
export { TextStyleEntrySchema, TextStylesResponseSchema, BlockParamTypeSchema, BlockParamSchema, BlockListingSchema, BlockListResponseSchema, RenderBlockRequestSchema, RenderBlockResponseSchema, } from "./render-editing.js";
|
|
54
|
+
export { PluginActionDeclarationSchema, PluginRoleOfferSchema, OfferedRoleParamsSchema } from "./plugin-actions.schema.js";
|
|
55
|
+
export { ACTION_GATED_CONTRIBUTION_KEYS, checkActionDeclarations } from "./plugin-manifest-actions.js";
|
|
56
|
+
export { PLUGIN_DOC_ROLES, PluginDocsPageSchema, MAX_DOC_PAGES, MAX_DOC_PAGE_BYTES, RESERVED_DOC_SLUGS, docSlug, effectiveDocsPages, checkDocsDeclaration, docsFactsFrom, requiredDocRoles, PluginReferenceSchema, REFERENCE_PAGE_SLUGS, referencePageSlugs, } from "./plugin-docs.js";
|
|
57
|
+
export { HOSTILE_CHARS_MESSAGE, MAX_DOCS_TARGET_LENGTH, docHeadingId, docHeadingKey, docSearchEntry, extractDocHeadings, hasHostileChars, isRenderableExternalHref, resolveDocsPath, resolveDocsLink, } from "./plugin-docs-text.js";
|
|
58
|
+
export { PluginDocsPageRefSchema, PluginDocsIndexItemSchema, PluginDocsIndexResponseSchema, PluginDocsPageParamsSchema, PluginDocsPluginParamsSchema, PluginDocsPageResponseSchema, PluginDocsReferenceResponseSchema, PluginDocsSearchItemSchema, PluginDocsSearchIndexResponseSchema, MARKETPLACE_DOCS_SEARCH_MAX_QUERY, MARKETPLACE_DOCS_SEARCH_MAX_RESULTS, MarketplaceDocsSearchQuerySchema, MarketplaceDocsSearchResultSchema, MarketplaceDocsSearchResponseSchema, } from "./plugin-docs-api.schema.js";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* The `licensing` settings row (S284b): the server's monotonic floor for
|
|
4
|
+
* licence time. `highestIssuedAt` is the newest `issuedAt` of any valid
|
|
5
|
+
* licence verdict this install has seen, and `highestSeenClock` the latest
|
|
6
|
+
* wall-clock time any licensing pass has observed. Neither ever moves
|
|
7
|
+
* backwards, so a clock rewound on the host cannot make a licence look
|
|
8
|
+
* younger than it is: the effective "now" for licensing is the later of the
|
|
9
|
+
* real clock and `highestSeenClock`.
|
|
10
|
+
*/
|
|
11
|
+
export declare const LicensingSettingsSchema: z.ZodObject<{
|
|
12
|
+
highestIssuedAt: z.ZodNullable<z.ZodString>;
|
|
13
|
+
highestSeenClock: z.ZodString;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
export type LicensingSettings = z.infer<typeof LicensingSettingsSchema>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* The `licensing` settings row (S284b): the server's monotonic floor for
|
|
4
|
+
* licence time. `highestIssuedAt` is the newest `issuedAt` of any valid
|
|
5
|
+
* licence verdict this install has seen, and `highestSeenClock` the latest
|
|
6
|
+
* wall-clock time any licensing pass has observed. Neither ever moves
|
|
7
|
+
* backwards, so a clock rewound on the host cannot make a licence look
|
|
8
|
+
* younger than it is: the effective "now" for licensing is the later of the
|
|
9
|
+
* real clock and `highestSeenClock`.
|
|
10
|
+
*/
|
|
11
|
+
export const LicensingSettingsSchema = z.object({
|
|
12
|
+
highestIssuedAt: z.string().datetime().nullable(),
|
|
13
|
+
highestSeenClock: z.string().datetime(),
|
|
14
|
+
});
|
|
@@ -0,0 +1,381 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const MarketplaceCapabilitySchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
mediation: z.ZodEnum<{
|
|
5
|
+
mediated: "mediated";
|
|
6
|
+
promised: "promised";
|
|
7
|
+
}>;
|
|
8
|
+
payload: z.ZodObject<{
|
|
9
|
+
count: z.ZodNumber;
|
|
10
|
+
details: z.ZodArray<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export type MarketplaceCapability = z.infer<typeof MarketplaceCapabilitySchema>;
|
|
14
|
+
export declare const MarketplaceListingVersionSchema: z.ZodObject<{
|
|
15
|
+
version: z.ZodString;
|
|
16
|
+
supportedDialects: z.ZodArray<z.ZodString>;
|
|
17
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
18
|
+
id: z.ZodString;
|
|
19
|
+
mediation: z.ZodEnum<{
|
|
20
|
+
mediated: "mediated";
|
|
21
|
+
promised: "promised";
|
|
22
|
+
}>;
|
|
23
|
+
payload: z.ZodObject<{
|
|
24
|
+
count: z.ZodNumber;
|
|
25
|
+
details: z.ZodArray<z.ZodString>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
}, z.core.$strip>>;
|
|
28
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
29
|
+
id: z.ZodString;
|
|
30
|
+
label: z.ZodString;
|
|
31
|
+
}, z.core.$strip>>>;
|
|
32
|
+
roleOffers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
33
|
+
id: z.ZodString;
|
|
34
|
+
label: z.ZodString;
|
|
35
|
+
actions: z.ZodArray<z.ZodString>;
|
|
36
|
+
}, z.core.$strip>>>;
|
|
37
|
+
license: z.ZodString;
|
|
38
|
+
cmsVersion: z.ZodString;
|
|
39
|
+
verified: z.ZodBoolean;
|
|
40
|
+
createdAt: z.ZodString;
|
|
41
|
+
hasArtifact: z.ZodBoolean;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
export declare const MarketplaceListingSchema: z.ZodObject<{
|
|
44
|
+
pluginId: z.ZodString;
|
|
45
|
+
name: z.ZodString;
|
|
46
|
+
type: z.ZodString;
|
|
47
|
+
description: z.ZodString;
|
|
48
|
+
author: z.ZodString;
|
|
49
|
+
priceCents: z.ZodNumber;
|
|
50
|
+
coverImagePath: z.ZodNullable<z.ZodString>;
|
|
51
|
+
latestVersion: z.ZodNullable<z.ZodObject<{
|
|
52
|
+
version: z.ZodString;
|
|
53
|
+
supportedDialects: z.ZodArray<z.ZodString>;
|
|
54
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
55
|
+
id: z.ZodString;
|
|
56
|
+
mediation: z.ZodEnum<{
|
|
57
|
+
mediated: "mediated";
|
|
58
|
+
promised: "promised";
|
|
59
|
+
}>;
|
|
60
|
+
payload: z.ZodObject<{
|
|
61
|
+
count: z.ZodNumber;
|
|
62
|
+
details: z.ZodArray<z.ZodString>;
|
|
63
|
+
}, z.core.$strip>;
|
|
64
|
+
}, z.core.$strip>>;
|
|
65
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
66
|
+
id: z.ZodString;
|
|
67
|
+
label: z.ZodString;
|
|
68
|
+
}, z.core.$strip>>>;
|
|
69
|
+
roleOffers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
70
|
+
id: z.ZodString;
|
|
71
|
+
label: z.ZodString;
|
|
72
|
+
actions: z.ZodArray<z.ZodString>;
|
|
73
|
+
}, z.core.$strip>>>;
|
|
74
|
+
license: z.ZodString;
|
|
75
|
+
cmsVersion: z.ZodString;
|
|
76
|
+
verified: z.ZodBoolean;
|
|
77
|
+
createdAt: z.ZodString;
|
|
78
|
+
hasArtifact: z.ZodBoolean;
|
|
79
|
+
}, z.core.$strip>>;
|
|
80
|
+
compatible: z.ZodBoolean;
|
|
81
|
+
installedVersion: z.ZodNullable<z.ZodString>;
|
|
82
|
+
updateAvailable: z.ZodBoolean;
|
|
83
|
+
}, z.core.$strip>;
|
|
84
|
+
export type MarketplaceListing = z.infer<typeof MarketplaceListingSchema>;
|
|
85
|
+
export declare const MarketplaceStarterSchema: z.ZodObject<{
|
|
86
|
+
name: z.ZodString;
|
|
87
|
+
description: z.ZodNullable<z.ZodString>;
|
|
88
|
+
repository: z.ZodNullable<z.ZodString>;
|
|
89
|
+
hasArchive: z.ZodBoolean;
|
|
90
|
+
}, z.core.$strip>;
|
|
91
|
+
export type MarketplaceStarter = z.infer<typeof MarketplaceStarterSchema>;
|
|
92
|
+
export declare const MarketplaceDocumentTypeSummarySchema: z.ZodObject<{
|
|
93
|
+
name: z.ZodString;
|
|
94
|
+
fields: z.ZodArray<z.ZodString>;
|
|
95
|
+
}, z.core.$strip>;
|
|
96
|
+
export type MarketplaceDocumentTypeSummary = z.infer<typeof MarketplaceDocumentTypeSummarySchema>;
|
|
97
|
+
export declare const MarketplaceBundleMemberSchema: z.ZodObject<{
|
|
98
|
+
pluginId: z.ZodString;
|
|
99
|
+
name: z.ZodString;
|
|
100
|
+
description: z.ZodNullable<z.ZodString>;
|
|
101
|
+
type: z.ZodString;
|
|
102
|
+
priceCents: z.ZodNumber;
|
|
103
|
+
}, z.core.$strip>;
|
|
104
|
+
export type MarketplaceBundleMember = z.infer<typeof MarketplaceBundleMemberSchema>;
|
|
105
|
+
export declare const MarketplaceListingDetailVersionSchema: z.ZodObject<{
|
|
106
|
+
version: z.ZodString;
|
|
107
|
+
supportedDialects: z.ZodArray<z.ZodString>;
|
|
108
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
109
|
+
id: z.ZodString;
|
|
110
|
+
mediation: z.ZodEnum<{
|
|
111
|
+
mediated: "mediated";
|
|
112
|
+
promised: "promised";
|
|
113
|
+
}>;
|
|
114
|
+
payload: z.ZodObject<{
|
|
115
|
+
count: z.ZodNumber;
|
|
116
|
+
details: z.ZodArray<z.ZodString>;
|
|
117
|
+
}, z.core.$strip>;
|
|
118
|
+
}, z.core.$strip>>;
|
|
119
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
120
|
+
id: z.ZodString;
|
|
121
|
+
label: z.ZodString;
|
|
122
|
+
}, z.core.$strip>>>;
|
|
123
|
+
roleOffers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
124
|
+
id: z.ZodString;
|
|
125
|
+
label: z.ZodString;
|
|
126
|
+
actions: z.ZodArray<z.ZodString>;
|
|
127
|
+
}, z.core.$strip>>>;
|
|
128
|
+
license: z.ZodString;
|
|
129
|
+
cmsVersion: z.ZodString;
|
|
130
|
+
verified: z.ZodBoolean;
|
|
131
|
+
createdAt: z.ZodString;
|
|
132
|
+
hasArtifact: z.ZodBoolean;
|
|
133
|
+
starter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
134
|
+
name: z.ZodString;
|
|
135
|
+
description: z.ZodNullable<z.ZodString>;
|
|
136
|
+
repository: z.ZodNullable<z.ZodString>;
|
|
137
|
+
hasArchive: z.ZodBoolean;
|
|
138
|
+
}, z.core.$strip>>>;
|
|
139
|
+
documentTypesSummary: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
140
|
+
name: z.ZodString;
|
|
141
|
+
fields: z.ZodArray<z.ZodString>;
|
|
142
|
+
}, z.core.$strip>>>>;
|
|
143
|
+
bundledMembers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
144
|
+
pluginId: z.ZodString;
|
|
145
|
+
name: z.ZodString;
|
|
146
|
+
description: z.ZodNullable<z.ZodString>;
|
|
147
|
+
type: z.ZodString;
|
|
148
|
+
priceCents: z.ZodNumber;
|
|
149
|
+
}, z.core.$strip>>>>;
|
|
150
|
+
readme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
151
|
+
}, z.core.$strip>;
|
|
152
|
+
export type MarketplaceListingDetailVersion = z.infer<typeof MarketplaceListingDetailVersionSchema>;
|
|
153
|
+
export declare const MarketplaceListingDetailSchema: z.ZodObject<{
|
|
154
|
+
pluginId: z.ZodString;
|
|
155
|
+
name: z.ZodString;
|
|
156
|
+
type: z.ZodString;
|
|
157
|
+
description: z.ZodString;
|
|
158
|
+
author: z.ZodString;
|
|
159
|
+
priceCents: z.ZodNumber;
|
|
160
|
+
coverImagePath: z.ZodNullable<z.ZodString>;
|
|
161
|
+
compatible: z.ZodBoolean;
|
|
162
|
+
installedVersion: z.ZodNullable<z.ZodString>;
|
|
163
|
+
updateAvailable: z.ZodBoolean;
|
|
164
|
+
latestVersion: z.ZodNullable<z.ZodObject<{
|
|
165
|
+
version: z.ZodString;
|
|
166
|
+
supportedDialects: z.ZodArray<z.ZodString>;
|
|
167
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
168
|
+
id: z.ZodString;
|
|
169
|
+
mediation: z.ZodEnum<{
|
|
170
|
+
mediated: "mediated";
|
|
171
|
+
promised: "promised";
|
|
172
|
+
}>;
|
|
173
|
+
payload: z.ZodObject<{
|
|
174
|
+
count: z.ZodNumber;
|
|
175
|
+
details: z.ZodArray<z.ZodString>;
|
|
176
|
+
}, z.core.$strip>;
|
|
177
|
+
}, z.core.$strip>>;
|
|
178
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
179
|
+
id: z.ZodString;
|
|
180
|
+
label: z.ZodString;
|
|
181
|
+
}, z.core.$strip>>>;
|
|
182
|
+
roleOffers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
183
|
+
id: z.ZodString;
|
|
184
|
+
label: z.ZodString;
|
|
185
|
+
actions: z.ZodArray<z.ZodString>;
|
|
186
|
+
}, z.core.$strip>>>;
|
|
187
|
+
license: z.ZodString;
|
|
188
|
+
cmsVersion: z.ZodString;
|
|
189
|
+
verified: z.ZodBoolean;
|
|
190
|
+
createdAt: z.ZodString;
|
|
191
|
+
hasArtifact: z.ZodBoolean;
|
|
192
|
+
starter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
193
|
+
name: z.ZodString;
|
|
194
|
+
description: z.ZodNullable<z.ZodString>;
|
|
195
|
+
repository: z.ZodNullable<z.ZodString>;
|
|
196
|
+
hasArchive: z.ZodBoolean;
|
|
197
|
+
}, z.core.$strip>>>;
|
|
198
|
+
documentTypesSummary: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
199
|
+
name: z.ZodString;
|
|
200
|
+
fields: z.ZodArray<z.ZodString>;
|
|
201
|
+
}, z.core.$strip>>>>;
|
|
202
|
+
bundledMembers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
203
|
+
pluginId: z.ZodString;
|
|
204
|
+
name: z.ZodString;
|
|
205
|
+
description: z.ZodNullable<z.ZodString>;
|
|
206
|
+
type: z.ZodString;
|
|
207
|
+
priceCents: z.ZodNumber;
|
|
208
|
+
}, z.core.$strip>>>>;
|
|
209
|
+
readme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
210
|
+
}, z.core.$strip>>;
|
|
211
|
+
versions: z.ZodArray<z.ZodObject<{
|
|
212
|
+
version: z.ZodString;
|
|
213
|
+
supportedDialects: z.ZodArray<z.ZodString>;
|
|
214
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
215
|
+
id: z.ZodString;
|
|
216
|
+
mediation: z.ZodEnum<{
|
|
217
|
+
mediated: "mediated";
|
|
218
|
+
promised: "promised";
|
|
219
|
+
}>;
|
|
220
|
+
payload: z.ZodObject<{
|
|
221
|
+
count: z.ZodNumber;
|
|
222
|
+
details: z.ZodArray<z.ZodString>;
|
|
223
|
+
}, z.core.$strip>;
|
|
224
|
+
}, z.core.$strip>>;
|
|
225
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
226
|
+
id: z.ZodString;
|
|
227
|
+
label: z.ZodString;
|
|
228
|
+
}, z.core.$strip>>>;
|
|
229
|
+
roleOffers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
230
|
+
id: z.ZodString;
|
|
231
|
+
label: z.ZodString;
|
|
232
|
+
actions: z.ZodArray<z.ZodString>;
|
|
233
|
+
}, z.core.$strip>>>;
|
|
234
|
+
license: z.ZodString;
|
|
235
|
+
cmsVersion: z.ZodString;
|
|
236
|
+
verified: z.ZodBoolean;
|
|
237
|
+
createdAt: z.ZodString;
|
|
238
|
+
hasArtifact: z.ZodBoolean;
|
|
239
|
+
starter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
240
|
+
name: z.ZodString;
|
|
241
|
+
description: z.ZodNullable<z.ZodString>;
|
|
242
|
+
repository: z.ZodNullable<z.ZodString>;
|
|
243
|
+
hasArchive: z.ZodBoolean;
|
|
244
|
+
}, z.core.$strip>>>;
|
|
245
|
+
documentTypesSummary: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
246
|
+
name: z.ZodString;
|
|
247
|
+
fields: z.ZodArray<z.ZodString>;
|
|
248
|
+
}, z.core.$strip>>>>;
|
|
249
|
+
bundledMembers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
250
|
+
pluginId: z.ZodString;
|
|
251
|
+
name: z.ZodString;
|
|
252
|
+
description: z.ZodNullable<z.ZodString>;
|
|
253
|
+
type: z.ZodString;
|
|
254
|
+
priceCents: z.ZodNumber;
|
|
255
|
+
}, z.core.$strip>>>>;
|
|
256
|
+
readme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
257
|
+
}, z.core.$strip>>;
|
|
258
|
+
activeDialect: z.ZodString;
|
|
259
|
+
marketplaceBaseUrl: z.ZodString;
|
|
260
|
+
}, z.core.$strip>;
|
|
261
|
+
export type MarketplaceListingDetail = z.infer<typeof MarketplaceListingDetailSchema>;
|
|
262
|
+
export declare const MarketplacePublicBaseSchema: z.ZodObject<{
|
|
263
|
+
publicBaseUrl: z.ZodURL;
|
|
264
|
+
}, z.core.$strip>;
|
|
265
|
+
export type MarketplacePublicBase = z.infer<typeof MarketplacePublicBaseSchema>;
|
|
266
|
+
export declare const MarketplaceListQuerySchema: z.ZodObject<{
|
|
267
|
+
q: z.ZodOptional<z.ZodString>;
|
|
268
|
+
type: z.ZodOptional<z.ZodString>;
|
|
269
|
+
db: z.ZodOptional<z.ZodString>;
|
|
270
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
271
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
272
|
+
}, z.core.$strip>;
|
|
273
|
+
export declare const MarketplaceListResponseSchema: z.ZodObject<{
|
|
274
|
+
items: z.ZodArray<z.ZodObject<{
|
|
275
|
+
pluginId: z.ZodString;
|
|
276
|
+
name: z.ZodString;
|
|
277
|
+
type: z.ZodString;
|
|
278
|
+
description: z.ZodString;
|
|
279
|
+
author: z.ZodString;
|
|
280
|
+
priceCents: z.ZodNumber;
|
|
281
|
+
coverImagePath: z.ZodNullable<z.ZodString>;
|
|
282
|
+
latestVersion: z.ZodNullable<z.ZodObject<{
|
|
283
|
+
version: z.ZodString;
|
|
284
|
+
supportedDialects: z.ZodArray<z.ZodString>;
|
|
285
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
286
|
+
id: z.ZodString;
|
|
287
|
+
mediation: z.ZodEnum<{
|
|
288
|
+
mediated: "mediated";
|
|
289
|
+
promised: "promised";
|
|
290
|
+
}>;
|
|
291
|
+
payload: z.ZodObject<{
|
|
292
|
+
count: z.ZodNumber;
|
|
293
|
+
details: z.ZodArray<z.ZodString>;
|
|
294
|
+
}, z.core.$strip>;
|
|
295
|
+
}, z.core.$strip>>;
|
|
296
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
297
|
+
id: z.ZodString;
|
|
298
|
+
label: z.ZodString;
|
|
299
|
+
}, z.core.$strip>>>;
|
|
300
|
+
roleOffers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
301
|
+
id: z.ZodString;
|
|
302
|
+
label: z.ZodString;
|
|
303
|
+
actions: z.ZodArray<z.ZodString>;
|
|
304
|
+
}, z.core.$strip>>>;
|
|
305
|
+
license: z.ZodString;
|
|
306
|
+
cmsVersion: z.ZodString;
|
|
307
|
+
verified: z.ZodBoolean;
|
|
308
|
+
createdAt: z.ZodString;
|
|
309
|
+
hasArtifact: z.ZodBoolean;
|
|
310
|
+
}, z.core.$strip>>;
|
|
311
|
+
compatible: z.ZodBoolean;
|
|
312
|
+
installedVersion: z.ZodNullable<z.ZodString>;
|
|
313
|
+
updateAvailable: z.ZodBoolean;
|
|
314
|
+
}, z.core.$strip>>;
|
|
315
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
316
|
+
activeDialect: z.ZodString;
|
|
317
|
+
marketplaceBaseUrl: z.ZodString;
|
|
318
|
+
}, z.core.$strip>;
|
|
319
|
+
export type MarketplaceListResponse = z.infer<typeof MarketplaceListResponseSchema>;
|
|
320
|
+
export declare const MarketplacePluginIdParamsSchema: z.ZodObject<{
|
|
321
|
+
pluginId: z.ZodString;
|
|
322
|
+
}, z.core.$strip>;
|
|
323
|
+
export declare const MarketplaceInstallBodySchema: z.ZodObject<{
|
|
324
|
+
pluginId: z.ZodString;
|
|
325
|
+
version: z.ZodString;
|
|
326
|
+
licenseKey: z.ZodOptional<z.ZodString>;
|
|
327
|
+
}, z.core.$strip>;
|
|
328
|
+
export declare const MarketplaceInstallMemberSchema: z.ZodObject<{
|
|
329
|
+
pluginId: z.ZodString;
|
|
330
|
+
version: z.ZodString;
|
|
331
|
+
outcome: z.ZodEnum<{
|
|
332
|
+
installed: "installed";
|
|
333
|
+
"already-installed": "already-installed";
|
|
334
|
+
}>;
|
|
335
|
+
}, z.core.$strip>;
|
|
336
|
+
export type MarketplaceInstallMember = z.infer<typeof MarketplaceInstallMemberSchema>;
|
|
337
|
+
export declare const MarketplaceInstallResponseSchema: z.ZodObject<{
|
|
338
|
+
pluginId: z.ZodString;
|
|
339
|
+
version: z.ZodString;
|
|
340
|
+
trustTier: z.ZodLiteral<"verified">;
|
|
341
|
+
licensed: z.ZodBoolean;
|
|
342
|
+
outcome: z.ZodEnum<{
|
|
343
|
+
updated: "updated";
|
|
344
|
+
installed: "installed";
|
|
345
|
+
}>;
|
|
346
|
+
fromVersion: z.ZodNullable<z.ZodString>;
|
|
347
|
+
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
348
|
+
pluginId: z.ZodString;
|
|
349
|
+
version: z.ZodString;
|
|
350
|
+
outcome: z.ZodEnum<{
|
|
351
|
+
installed: "installed";
|
|
352
|
+
"already-installed": "already-installed";
|
|
353
|
+
}>;
|
|
354
|
+
}, z.core.$strip>>>;
|
|
355
|
+
sampleContent: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
356
|
+
status: z.ZodLiteral<"none">;
|
|
357
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
358
|
+
status: z.ZodLiteral<"invalid">;
|
|
359
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
360
|
+
status: z.ZodLiteral<"already-present">;
|
|
361
|
+
path: z.ZodString;
|
|
362
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
363
|
+
status: z.ZodLiteral<"skipped">;
|
|
364
|
+
name: z.ZodString;
|
|
365
|
+
message: z.ZodString;
|
|
366
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
367
|
+
status: z.ZodLiteral<"added">;
|
|
368
|
+
count: z.ZodNumber;
|
|
369
|
+
}, z.core.$strip>], "status">>;
|
|
370
|
+
}, z.core.$strip>;
|
|
371
|
+
export type MarketplaceInstallResponse = z.infer<typeof MarketplaceInstallResponseSchema>;
|
|
372
|
+
/** The 409 a marketplace install or update answers. `reason` is present
|
|
373
|
+
* only for "license-not-recorded" (S284, D4): the plugin IS installed (or
|
|
374
|
+
* updated), and only its licence row is another request's, so a client
|
|
375
|
+
* refreshes its installed state rather than offering Install again. Every
|
|
376
|
+
* other 409 carries `message` alone. */
|
|
377
|
+
export declare const MarketplaceInstallConflictSchema: z.ZodObject<{
|
|
378
|
+
message: z.ZodString;
|
|
379
|
+
reason: z.ZodOptional<z.ZodLiteral<"license-not-recorded">>;
|
|
380
|
+
}, z.core.$strip>;
|
|
381
|
+
export type MarketplaceInstallConflict = z.infer<typeof MarketplaceInstallConflictSchema>;
|