@kardalum/plugin-sdk 0.0.0-stage → 0.16.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 +118 -0
- package/LICENSE +202 -0
- package/README.md +80 -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 +29 -0
- package/dist/capabilities.js +67 -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 +94 -0
- package/dist/license-verdict-keys.d.ts +18 -0
- package/dist/license-verdict-keys.js +26 -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 +476 -0
- package/dist/manifest-schema.js +823 -0
- package/dist/manifest.d.ts +611 -0
- package/dist/manifest.js +86 -0
- package/dist/media/media-picker.d.ts +39 -0
- package/dist/media/media-picker.js +447 -0
- package/dist/media/upload-error.d.ts +12 -0
- package/dist/media/upload-error.js +30 -0
- package/dist/plugin-context.d.ts +82 -0
- package/dist/plugin-context.js +77 -0
- package/dist/plugin-screen-context.d.ts +71 -0
- package/dist/plugin-screen-context.js +41 -0
- package/dist/read-all-pages.d.ts +23 -0
- package/dist/read-all-pages.js +30 -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 +372 -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 +17 -0
- package/node_modules/@kardalum/api-schemas/dist/api-error.schema.js +25 -0
- package/node_modules/@kardalum/api-schemas/dist/api-key-api.schema.d.ts +93 -0
- package/node_modules/@kardalum/api-schemas/dist/api-key-api.schema.js +88 -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 +542 -0
- package/node_modules/@kardalum/api-schemas/dist/content-api.schema.js +357 -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 +260 -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 +152 -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 +352 -0
- package/node_modules/@kardalum/api-schemas/dist/core-actions.js +133 -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 +37 -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 +298 -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 +113 -0
- package/node_modules/@kardalum/api-schemas/dist/index.js +64 -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/management-multipart.schema.d.ts +73 -0
- package/node_modules/@kardalum/api-schemas/dist/management-multipart.schema.js +104 -0
- package/node_modules/@kardalum/api-schemas/dist/marketplace-listing-api.schema.d.ts +682 -0
- package/node_modules/@kardalum/api-schemas/dist/marketplace-listing-api.schema.js +269 -0
- package/node_modules/@kardalum/api-schemas/dist/media-api.schema.d.ts +177 -0
- package/node_modules/@kardalum/api-schemas/dist/media-api.schema.js +222 -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 +249 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs-api.schema.js +84 -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 +172 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs.js +196 -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-install-record.schema.d.ts +69 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-install-record.schema.js +59 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-install.d.ts +585 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-install.js +536 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-locales.d.ts +75 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-locales.js +213 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-management-api.schema.d.ts +391 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-management-api.schema.js +413 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-actions.d.ts +29 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-actions.js +100 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-api-routes.d.ts +44 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-api-routes.js +162 -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 +314 -0
- package/node_modules/@kardalum/api-schemas/dist/public-api.schema.js +338 -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 +96 -0
- package/node_modules/@kardalum/api-schemas/dist/role.schema.js +75 -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/sample-content.schema.d.ts +35 -0
- package/node_modules/@kardalum/api-schemas/dist/sample-content.schema.js +79 -0
- package/node_modules/@kardalum/api-schemas/dist/setup-api.schema.d.ts +138 -0
- package/node_modules/@kardalum/api-schemas/dist/setup-api.schema.js +105 -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 +47 -0
- package/node_modules/@kardalum/api-schemas/dist/snapshot-api.schema.js +27 -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 +97 -0
- package/node_modules/@kardalum/api-schemas/dist/user-api.schema.js +73 -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/build-reference.d.ts +111 -0
- package/node_modules/@kardalum/plugin-package/dist/build-reference.js +61 -0
- package/node_modules/@kardalum/plugin-package/dist/capabilities.d.ts +103 -0
- package/node_modules/@kardalum/plugin-package/dist/capabilities.js +351 -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 +13 -0
- package/node_modules/@kardalum/plugin-package/dist/index.js +8 -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/reference-entry.d.ts +2 -0
- package/node_modules/@kardalum/plugin-package/dist/reference-entry.js +6 -0
- package/node_modules/@kardalum/plugin-package/dist/sample-content.d.ts +20 -0
- package/node_modules/@kardalum/plugin-package/dist/sample-content.js +57 -0
- package/node_modules/@kardalum/plugin-package/dist/types.d.ts +43 -0
- package/node_modules/@kardalum/plugin-package/dist/types.js +15 -0
- package/node_modules/@kardalum/plugin-package/package.json +54 -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 +89 -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,682 @@
|
|
|
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
|
+
cmsCompatible: z.ZodBoolean;
|
|
82
|
+
installedVersion: z.ZodNullable<z.ZodString>;
|
|
83
|
+
updateAvailable: z.ZodBoolean;
|
|
84
|
+
}, z.core.$strip>;
|
|
85
|
+
export type MarketplaceListing = z.infer<typeof MarketplaceListingSchema>;
|
|
86
|
+
export declare const MarketplaceStarterSchema: z.ZodObject<{
|
|
87
|
+
name: z.ZodString;
|
|
88
|
+
description: z.ZodNullable<z.ZodString>;
|
|
89
|
+
repository: z.ZodNullable<z.ZodString>;
|
|
90
|
+
hasArchive: z.ZodBoolean;
|
|
91
|
+
}, z.core.$strip>;
|
|
92
|
+
export type MarketplaceStarter = z.infer<typeof MarketplaceStarterSchema>;
|
|
93
|
+
export declare const MarketplaceDocumentTypeSummarySchema: z.ZodObject<{
|
|
94
|
+
name: z.ZodString;
|
|
95
|
+
fields: z.ZodArray<z.ZodString>;
|
|
96
|
+
}, z.core.$strip>;
|
|
97
|
+
export type MarketplaceDocumentTypeSummary = z.infer<typeof MarketplaceDocumentTypeSummarySchema>;
|
|
98
|
+
export declare const MarketplaceBundleMemberSchema: z.ZodObject<{
|
|
99
|
+
pluginId: z.ZodString;
|
|
100
|
+
name: z.ZodString;
|
|
101
|
+
description: z.ZodNullable<z.ZodString>;
|
|
102
|
+
type: z.ZodString;
|
|
103
|
+
priceCents: z.ZodNumber;
|
|
104
|
+
}, z.core.$strip>;
|
|
105
|
+
export type MarketplaceBundleMember = z.infer<typeof MarketplaceBundleMemberSchema>;
|
|
106
|
+
export declare const MarketplaceListingDetailVersionSchema: z.ZodObject<{
|
|
107
|
+
version: z.ZodString;
|
|
108
|
+
supportedDialects: z.ZodArray<z.ZodString>;
|
|
109
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
110
|
+
id: z.ZodString;
|
|
111
|
+
mediation: z.ZodEnum<{
|
|
112
|
+
mediated: "mediated";
|
|
113
|
+
promised: "promised";
|
|
114
|
+
}>;
|
|
115
|
+
payload: z.ZodObject<{
|
|
116
|
+
count: z.ZodNumber;
|
|
117
|
+
details: z.ZodArray<z.ZodString>;
|
|
118
|
+
}, z.core.$strip>;
|
|
119
|
+
}, z.core.$strip>>;
|
|
120
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
121
|
+
id: z.ZodString;
|
|
122
|
+
label: z.ZodString;
|
|
123
|
+
}, z.core.$strip>>>;
|
|
124
|
+
roleOffers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
125
|
+
id: z.ZodString;
|
|
126
|
+
label: z.ZodString;
|
|
127
|
+
actions: z.ZodArray<z.ZodString>;
|
|
128
|
+
}, z.core.$strip>>>;
|
|
129
|
+
license: z.ZodString;
|
|
130
|
+
cmsVersion: z.ZodString;
|
|
131
|
+
verified: z.ZodBoolean;
|
|
132
|
+
createdAt: z.ZodString;
|
|
133
|
+
hasArtifact: z.ZodBoolean;
|
|
134
|
+
starter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
135
|
+
name: z.ZodString;
|
|
136
|
+
description: z.ZodNullable<z.ZodString>;
|
|
137
|
+
repository: z.ZodNullable<z.ZodString>;
|
|
138
|
+
hasArchive: z.ZodBoolean;
|
|
139
|
+
}, z.core.$strip>>>;
|
|
140
|
+
documentTypesSummary: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
141
|
+
name: z.ZodString;
|
|
142
|
+
fields: z.ZodArray<z.ZodString>;
|
|
143
|
+
}, z.core.$strip>>>>;
|
|
144
|
+
bundledMembers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
145
|
+
pluginId: z.ZodString;
|
|
146
|
+
name: z.ZodString;
|
|
147
|
+
description: z.ZodNullable<z.ZodString>;
|
|
148
|
+
type: z.ZodString;
|
|
149
|
+
priceCents: z.ZodNumber;
|
|
150
|
+
}, z.core.$strip>>>>;
|
|
151
|
+
readme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
152
|
+
installInterface: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
153
|
+
consent: z.ZodArray<z.ZodObject<{
|
|
154
|
+
id: z.ZodString;
|
|
155
|
+
details: z.ZodArray<z.ZodString>;
|
|
156
|
+
}, z.core.$strip>>;
|
|
157
|
+
sampleContent: z.ZodNullable<z.ZodObject<{
|
|
158
|
+
default: z.ZodLiteral<true>;
|
|
159
|
+
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
160
|
+
en: z.ZodString;
|
|
161
|
+
}, z.core.$catchall<z.ZodString>>>>;
|
|
162
|
+
}, z.core.$strip>>;
|
|
163
|
+
roles: z.ZodArray<z.ZodObject<{
|
|
164
|
+
id: z.ZodString;
|
|
165
|
+
label: z.ZodString;
|
|
166
|
+
actions: z.ZodArray<z.ZodString>;
|
|
167
|
+
default: z.ZodLiteral<false>;
|
|
168
|
+
}, z.core.$strip>>;
|
|
169
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
170
|
+
id: z.ZodString;
|
|
171
|
+
label: z.ZodPreprocess<z.ZodObject<{
|
|
172
|
+
en: z.ZodString;
|
|
173
|
+
}, z.core.$catchall<z.ZodString>>>;
|
|
174
|
+
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
175
|
+
en: z.ZodString;
|
|
176
|
+
}, z.core.$catchall<z.ZodString>>>>;
|
|
177
|
+
options: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
178
|
+
kind: z.ZodLiteral<"boolean">;
|
|
179
|
+
default: z.ZodBoolean;
|
|
180
|
+
id: z.ZodString;
|
|
181
|
+
label: z.ZodPreprocess<z.ZodObject<{
|
|
182
|
+
en: z.ZodString;
|
|
183
|
+
}, z.core.$catchall<z.ZodString>>>;
|
|
184
|
+
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
185
|
+
en: z.ZodString;
|
|
186
|
+
}, z.core.$catchall<z.ZodString>>>>;
|
|
187
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
188
|
+
kind: z.ZodLiteral<"select">;
|
|
189
|
+
choices: z.ZodArray<z.ZodObject<{
|
|
190
|
+
id: z.ZodString;
|
|
191
|
+
label: z.ZodPreprocess<z.ZodObject<{
|
|
192
|
+
en: z.ZodString;
|
|
193
|
+
}, z.core.$catchall<z.ZodString>>>;
|
|
194
|
+
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
195
|
+
en: z.ZodString;
|
|
196
|
+
}, z.core.$catchall<z.ZodString>>>>;
|
|
197
|
+
}, z.core.$strict>>;
|
|
198
|
+
default: z.ZodOptional<z.ZodString>;
|
|
199
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
200
|
+
id: z.ZodString;
|
|
201
|
+
label: z.ZodPreprocess<z.ZodObject<{
|
|
202
|
+
en: z.ZodString;
|
|
203
|
+
}, z.core.$catchall<z.ZodString>>>;
|
|
204
|
+
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
205
|
+
en: z.ZodString;
|
|
206
|
+
}, z.core.$catchall<z.ZodString>>>>;
|
|
207
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
208
|
+
kind: z.ZodLiteral<"multiSelect">;
|
|
209
|
+
choices: z.ZodArray<z.ZodObject<{
|
|
210
|
+
id: z.ZodString;
|
|
211
|
+
label: z.ZodPreprocess<z.ZodObject<{
|
|
212
|
+
en: z.ZodString;
|
|
213
|
+
}, z.core.$catchall<z.ZodString>>>;
|
|
214
|
+
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
215
|
+
en: z.ZodString;
|
|
216
|
+
}, z.core.$catchall<z.ZodString>>>>;
|
|
217
|
+
}, z.core.$strict>>;
|
|
218
|
+
default: z.ZodArray<z.ZodString>;
|
|
219
|
+
id: z.ZodString;
|
|
220
|
+
label: z.ZodPreprocess<z.ZodObject<{
|
|
221
|
+
en: z.ZodString;
|
|
222
|
+
}, z.core.$catchall<z.ZodString>>>;
|
|
223
|
+
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
224
|
+
en: z.ZodString;
|
|
225
|
+
}, z.core.$catchall<z.ZodString>>>>;
|
|
226
|
+
}, z.core.$strict>], "kind">>;
|
|
227
|
+
}, z.core.$strict>>;
|
|
228
|
+
}, z.core.$strip>>>;
|
|
229
|
+
}, z.core.$strip>;
|
|
230
|
+
export type MarketplaceListingDetailVersion = z.infer<typeof MarketplaceListingDetailVersionSchema>;
|
|
231
|
+
export declare const MarketplaceListingDetailSchema: z.ZodObject<{
|
|
232
|
+
pluginId: z.ZodString;
|
|
233
|
+
name: z.ZodString;
|
|
234
|
+
type: z.ZodString;
|
|
235
|
+
description: z.ZodString;
|
|
236
|
+
author: z.ZodString;
|
|
237
|
+
priceCents: z.ZodNumber;
|
|
238
|
+
coverImagePath: z.ZodNullable<z.ZodString>;
|
|
239
|
+
compatible: z.ZodBoolean;
|
|
240
|
+
cmsCompatible: z.ZodBoolean;
|
|
241
|
+
installedVersion: z.ZodNullable<z.ZodString>;
|
|
242
|
+
updateAvailable: z.ZodBoolean;
|
|
243
|
+
latestVersion: z.ZodNullable<z.ZodObject<{
|
|
244
|
+
version: z.ZodString;
|
|
245
|
+
supportedDialects: z.ZodArray<z.ZodString>;
|
|
246
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
247
|
+
id: z.ZodString;
|
|
248
|
+
mediation: z.ZodEnum<{
|
|
249
|
+
mediated: "mediated";
|
|
250
|
+
promised: "promised";
|
|
251
|
+
}>;
|
|
252
|
+
payload: z.ZodObject<{
|
|
253
|
+
count: z.ZodNumber;
|
|
254
|
+
details: z.ZodArray<z.ZodString>;
|
|
255
|
+
}, z.core.$strip>;
|
|
256
|
+
}, z.core.$strip>>;
|
|
257
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
258
|
+
id: z.ZodString;
|
|
259
|
+
label: z.ZodString;
|
|
260
|
+
}, z.core.$strip>>>;
|
|
261
|
+
roleOffers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
262
|
+
id: z.ZodString;
|
|
263
|
+
label: z.ZodString;
|
|
264
|
+
actions: z.ZodArray<z.ZodString>;
|
|
265
|
+
}, z.core.$strip>>>;
|
|
266
|
+
license: z.ZodString;
|
|
267
|
+
cmsVersion: z.ZodString;
|
|
268
|
+
verified: z.ZodBoolean;
|
|
269
|
+
createdAt: z.ZodString;
|
|
270
|
+
hasArtifact: z.ZodBoolean;
|
|
271
|
+
starter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
272
|
+
name: z.ZodString;
|
|
273
|
+
description: z.ZodNullable<z.ZodString>;
|
|
274
|
+
repository: z.ZodNullable<z.ZodString>;
|
|
275
|
+
hasArchive: z.ZodBoolean;
|
|
276
|
+
}, z.core.$strip>>>;
|
|
277
|
+
documentTypesSummary: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
278
|
+
name: z.ZodString;
|
|
279
|
+
fields: z.ZodArray<z.ZodString>;
|
|
280
|
+
}, z.core.$strip>>>>;
|
|
281
|
+
bundledMembers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
282
|
+
pluginId: z.ZodString;
|
|
283
|
+
name: z.ZodString;
|
|
284
|
+
description: z.ZodNullable<z.ZodString>;
|
|
285
|
+
type: z.ZodString;
|
|
286
|
+
priceCents: z.ZodNumber;
|
|
287
|
+
}, z.core.$strip>>>>;
|
|
288
|
+
readme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
289
|
+
installInterface: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
290
|
+
consent: z.ZodArray<z.ZodObject<{
|
|
291
|
+
id: z.ZodString;
|
|
292
|
+
details: z.ZodArray<z.ZodString>;
|
|
293
|
+
}, z.core.$strip>>;
|
|
294
|
+
sampleContent: z.ZodNullable<z.ZodObject<{
|
|
295
|
+
default: z.ZodLiteral<true>;
|
|
296
|
+
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
297
|
+
en: z.ZodString;
|
|
298
|
+
}, z.core.$catchall<z.ZodString>>>>;
|
|
299
|
+
}, z.core.$strip>>;
|
|
300
|
+
roles: z.ZodArray<z.ZodObject<{
|
|
301
|
+
id: z.ZodString;
|
|
302
|
+
label: z.ZodString;
|
|
303
|
+
actions: z.ZodArray<z.ZodString>;
|
|
304
|
+
default: z.ZodLiteral<false>;
|
|
305
|
+
}, z.core.$strip>>;
|
|
306
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
307
|
+
id: z.ZodString;
|
|
308
|
+
label: z.ZodPreprocess<z.ZodObject<{
|
|
309
|
+
en: z.ZodString;
|
|
310
|
+
}, z.core.$catchall<z.ZodString>>>;
|
|
311
|
+
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
312
|
+
en: z.ZodString;
|
|
313
|
+
}, z.core.$catchall<z.ZodString>>>>;
|
|
314
|
+
options: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
315
|
+
kind: z.ZodLiteral<"boolean">;
|
|
316
|
+
default: z.ZodBoolean;
|
|
317
|
+
id: z.ZodString;
|
|
318
|
+
label: z.ZodPreprocess<z.ZodObject<{
|
|
319
|
+
en: z.ZodString;
|
|
320
|
+
}, z.core.$catchall<z.ZodString>>>;
|
|
321
|
+
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
322
|
+
en: z.ZodString;
|
|
323
|
+
}, z.core.$catchall<z.ZodString>>>>;
|
|
324
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
325
|
+
kind: z.ZodLiteral<"select">;
|
|
326
|
+
choices: z.ZodArray<z.ZodObject<{
|
|
327
|
+
id: z.ZodString;
|
|
328
|
+
label: z.ZodPreprocess<z.ZodObject<{
|
|
329
|
+
en: z.ZodString;
|
|
330
|
+
}, z.core.$catchall<z.ZodString>>>;
|
|
331
|
+
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
332
|
+
en: z.ZodString;
|
|
333
|
+
}, z.core.$catchall<z.ZodString>>>>;
|
|
334
|
+
}, z.core.$strict>>;
|
|
335
|
+
default: z.ZodOptional<z.ZodString>;
|
|
336
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
337
|
+
id: z.ZodString;
|
|
338
|
+
label: z.ZodPreprocess<z.ZodObject<{
|
|
339
|
+
en: z.ZodString;
|
|
340
|
+
}, z.core.$catchall<z.ZodString>>>;
|
|
341
|
+
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
342
|
+
en: z.ZodString;
|
|
343
|
+
}, z.core.$catchall<z.ZodString>>>>;
|
|
344
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
345
|
+
kind: z.ZodLiteral<"multiSelect">;
|
|
346
|
+
choices: z.ZodArray<z.ZodObject<{
|
|
347
|
+
id: z.ZodString;
|
|
348
|
+
label: z.ZodPreprocess<z.ZodObject<{
|
|
349
|
+
en: z.ZodString;
|
|
350
|
+
}, z.core.$catchall<z.ZodString>>>;
|
|
351
|
+
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
352
|
+
en: z.ZodString;
|
|
353
|
+
}, z.core.$catchall<z.ZodString>>>>;
|
|
354
|
+
}, z.core.$strict>>;
|
|
355
|
+
default: z.ZodArray<z.ZodString>;
|
|
356
|
+
id: z.ZodString;
|
|
357
|
+
label: z.ZodPreprocess<z.ZodObject<{
|
|
358
|
+
en: z.ZodString;
|
|
359
|
+
}, z.core.$catchall<z.ZodString>>>;
|
|
360
|
+
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
361
|
+
en: z.ZodString;
|
|
362
|
+
}, z.core.$catchall<z.ZodString>>>>;
|
|
363
|
+
}, z.core.$strict>], "kind">>;
|
|
364
|
+
}, z.core.$strict>>;
|
|
365
|
+
}, z.core.$strip>>>;
|
|
366
|
+
}, z.core.$strip>>;
|
|
367
|
+
versions: z.ZodArray<z.ZodObject<{
|
|
368
|
+
version: z.ZodString;
|
|
369
|
+
supportedDialects: z.ZodArray<z.ZodString>;
|
|
370
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
371
|
+
id: z.ZodString;
|
|
372
|
+
mediation: z.ZodEnum<{
|
|
373
|
+
mediated: "mediated";
|
|
374
|
+
promised: "promised";
|
|
375
|
+
}>;
|
|
376
|
+
payload: z.ZodObject<{
|
|
377
|
+
count: z.ZodNumber;
|
|
378
|
+
details: z.ZodArray<z.ZodString>;
|
|
379
|
+
}, z.core.$strip>;
|
|
380
|
+
}, z.core.$strip>>;
|
|
381
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
382
|
+
id: z.ZodString;
|
|
383
|
+
label: z.ZodString;
|
|
384
|
+
}, z.core.$strip>>>;
|
|
385
|
+
roleOffers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
386
|
+
id: z.ZodString;
|
|
387
|
+
label: z.ZodString;
|
|
388
|
+
actions: z.ZodArray<z.ZodString>;
|
|
389
|
+
}, z.core.$strip>>>;
|
|
390
|
+
license: z.ZodString;
|
|
391
|
+
cmsVersion: z.ZodString;
|
|
392
|
+
verified: z.ZodBoolean;
|
|
393
|
+
createdAt: z.ZodString;
|
|
394
|
+
hasArtifact: z.ZodBoolean;
|
|
395
|
+
starter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
396
|
+
name: z.ZodString;
|
|
397
|
+
description: z.ZodNullable<z.ZodString>;
|
|
398
|
+
repository: z.ZodNullable<z.ZodString>;
|
|
399
|
+
hasArchive: z.ZodBoolean;
|
|
400
|
+
}, z.core.$strip>>>;
|
|
401
|
+
documentTypesSummary: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
402
|
+
name: z.ZodString;
|
|
403
|
+
fields: z.ZodArray<z.ZodString>;
|
|
404
|
+
}, z.core.$strip>>>>;
|
|
405
|
+
bundledMembers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
406
|
+
pluginId: z.ZodString;
|
|
407
|
+
name: z.ZodString;
|
|
408
|
+
description: z.ZodNullable<z.ZodString>;
|
|
409
|
+
type: z.ZodString;
|
|
410
|
+
priceCents: z.ZodNumber;
|
|
411
|
+
}, z.core.$strip>>>>;
|
|
412
|
+
readme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
413
|
+
installInterface: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
414
|
+
consent: z.ZodArray<z.ZodObject<{
|
|
415
|
+
id: z.ZodString;
|
|
416
|
+
details: z.ZodArray<z.ZodString>;
|
|
417
|
+
}, z.core.$strip>>;
|
|
418
|
+
sampleContent: z.ZodNullable<z.ZodObject<{
|
|
419
|
+
default: z.ZodLiteral<true>;
|
|
420
|
+
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
421
|
+
en: z.ZodString;
|
|
422
|
+
}, z.core.$catchall<z.ZodString>>>>;
|
|
423
|
+
}, z.core.$strip>>;
|
|
424
|
+
roles: z.ZodArray<z.ZodObject<{
|
|
425
|
+
id: z.ZodString;
|
|
426
|
+
label: z.ZodString;
|
|
427
|
+
actions: z.ZodArray<z.ZodString>;
|
|
428
|
+
default: z.ZodLiteral<false>;
|
|
429
|
+
}, z.core.$strip>>;
|
|
430
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
431
|
+
id: z.ZodString;
|
|
432
|
+
label: z.ZodPreprocess<z.ZodObject<{
|
|
433
|
+
en: z.ZodString;
|
|
434
|
+
}, z.core.$catchall<z.ZodString>>>;
|
|
435
|
+
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
436
|
+
en: z.ZodString;
|
|
437
|
+
}, z.core.$catchall<z.ZodString>>>>;
|
|
438
|
+
options: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
439
|
+
kind: z.ZodLiteral<"boolean">;
|
|
440
|
+
default: z.ZodBoolean;
|
|
441
|
+
id: z.ZodString;
|
|
442
|
+
label: z.ZodPreprocess<z.ZodObject<{
|
|
443
|
+
en: z.ZodString;
|
|
444
|
+
}, z.core.$catchall<z.ZodString>>>;
|
|
445
|
+
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
446
|
+
en: z.ZodString;
|
|
447
|
+
}, z.core.$catchall<z.ZodString>>>>;
|
|
448
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
449
|
+
kind: z.ZodLiteral<"select">;
|
|
450
|
+
choices: z.ZodArray<z.ZodObject<{
|
|
451
|
+
id: z.ZodString;
|
|
452
|
+
label: z.ZodPreprocess<z.ZodObject<{
|
|
453
|
+
en: z.ZodString;
|
|
454
|
+
}, z.core.$catchall<z.ZodString>>>;
|
|
455
|
+
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
456
|
+
en: z.ZodString;
|
|
457
|
+
}, z.core.$catchall<z.ZodString>>>>;
|
|
458
|
+
}, z.core.$strict>>;
|
|
459
|
+
default: z.ZodOptional<z.ZodString>;
|
|
460
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
461
|
+
id: z.ZodString;
|
|
462
|
+
label: z.ZodPreprocess<z.ZodObject<{
|
|
463
|
+
en: z.ZodString;
|
|
464
|
+
}, z.core.$catchall<z.ZodString>>>;
|
|
465
|
+
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
466
|
+
en: z.ZodString;
|
|
467
|
+
}, z.core.$catchall<z.ZodString>>>>;
|
|
468
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
469
|
+
kind: z.ZodLiteral<"multiSelect">;
|
|
470
|
+
choices: z.ZodArray<z.ZodObject<{
|
|
471
|
+
id: z.ZodString;
|
|
472
|
+
label: z.ZodPreprocess<z.ZodObject<{
|
|
473
|
+
en: z.ZodString;
|
|
474
|
+
}, z.core.$catchall<z.ZodString>>>;
|
|
475
|
+
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
476
|
+
en: z.ZodString;
|
|
477
|
+
}, z.core.$catchall<z.ZodString>>>>;
|
|
478
|
+
}, z.core.$strict>>;
|
|
479
|
+
default: z.ZodArray<z.ZodString>;
|
|
480
|
+
id: z.ZodString;
|
|
481
|
+
label: z.ZodPreprocess<z.ZodObject<{
|
|
482
|
+
en: z.ZodString;
|
|
483
|
+
}, z.core.$catchall<z.ZodString>>>;
|
|
484
|
+
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
485
|
+
en: z.ZodString;
|
|
486
|
+
}, z.core.$catchall<z.ZodString>>>>;
|
|
487
|
+
}, z.core.$strict>], "kind">>;
|
|
488
|
+
}, z.core.$strict>>;
|
|
489
|
+
}, z.core.$strip>>>;
|
|
490
|
+
}, z.core.$strip>>;
|
|
491
|
+
activeDialect: z.ZodString;
|
|
492
|
+
marketplaceBaseUrl: z.ZodString;
|
|
493
|
+
}, z.core.$strip>;
|
|
494
|
+
export type MarketplaceListingDetail = z.infer<typeof MarketplaceListingDetailSchema>;
|
|
495
|
+
export declare const MarketplacePublicBaseSchema: z.ZodObject<{
|
|
496
|
+
publicBaseUrl: z.ZodURL;
|
|
497
|
+
}, z.core.$strip>;
|
|
498
|
+
export type MarketplacePublicBase = z.infer<typeof MarketplacePublicBaseSchema>;
|
|
499
|
+
export declare const MarketplaceListQuerySchema: z.ZodObject<{
|
|
500
|
+
q: z.ZodOptional<z.ZodString>;
|
|
501
|
+
type: z.ZodOptional<z.ZodString>;
|
|
502
|
+
db: z.ZodOptional<z.ZodString>;
|
|
503
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
504
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
505
|
+
}, z.core.$strip>;
|
|
506
|
+
export declare const MarketplaceListResponseSchema: z.ZodObject<{
|
|
507
|
+
items: z.ZodArray<z.ZodObject<{
|
|
508
|
+
pluginId: z.ZodString;
|
|
509
|
+
name: z.ZodString;
|
|
510
|
+
type: z.ZodString;
|
|
511
|
+
description: z.ZodString;
|
|
512
|
+
author: z.ZodString;
|
|
513
|
+
priceCents: z.ZodNumber;
|
|
514
|
+
coverImagePath: z.ZodNullable<z.ZodString>;
|
|
515
|
+
latestVersion: z.ZodNullable<z.ZodObject<{
|
|
516
|
+
version: z.ZodString;
|
|
517
|
+
supportedDialects: z.ZodArray<z.ZodString>;
|
|
518
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
519
|
+
id: z.ZodString;
|
|
520
|
+
mediation: z.ZodEnum<{
|
|
521
|
+
mediated: "mediated";
|
|
522
|
+
promised: "promised";
|
|
523
|
+
}>;
|
|
524
|
+
payload: z.ZodObject<{
|
|
525
|
+
count: z.ZodNumber;
|
|
526
|
+
details: z.ZodArray<z.ZodString>;
|
|
527
|
+
}, z.core.$strip>;
|
|
528
|
+
}, z.core.$strip>>;
|
|
529
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
530
|
+
id: z.ZodString;
|
|
531
|
+
label: z.ZodString;
|
|
532
|
+
}, z.core.$strip>>>;
|
|
533
|
+
roleOffers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
534
|
+
id: z.ZodString;
|
|
535
|
+
label: z.ZodString;
|
|
536
|
+
actions: z.ZodArray<z.ZodString>;
|
|
537
|
+
}, z.core.$strip>>>;
|
|
538
|
+
license: z.ZodString;
|
|
539
|
+
cmsVersion: z.ZodString;
|
|
540
|
+
verified: z.ZodBoolean;
|
|
541
|
+
createdAt: z.ZodString;
|
|
542
|
+
hasArtifact: z.ZodBoolean;
|
|
543
|
+
}, z.core.$strip>>;
|
|
544
|
+
compatible: z.ZodBoolean;
|
|
545
|
+
cmsCompatible: z.ZodBoolean;
|
|
546
|
+
installedVersion: z.ZodNullable<z.ZodString>;
|
|
547
|
+
updateAvailable: z.ZodBoolean;
|
|
548
|
+
}, z.core.$strip>>;
|
|
549
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
550
|
+
activeDialect: z.ZodString;
|
|
551
|
+
marketplaceBaseUrl: z.ZodString;
|
|
552
|
+
}, z.core.$strip>;
|
|
553
|
+
export type MarketplaceListResponse = z.infer<typeof MarketplaceListResponseSchema>;
|
|
554
|
+
/** S294 (2026-10-14-s294-update-available-design.md 3.1): the most plugin ids
|
|
555
|
+
* one GET /api/v1/listings/versions request names. */
|
|
556
|
+
export declare const MARKETPLACE_VERSIONS_MAX_IDS = 50;
|
|
557
|
+
/** The longest `ids` value that route reads before splitting it. A manifest id
|
|
558
|
+
* has no length cap of its own, so a long enough id could make fifty overrun
|
|
559
|
+
* this; the CMS's client therefore sends no id longer than 199 characters,
|
|
560
|
+
* so that fifty of them and their 49 commas (9,999 characters) always fit. */
|
|
561
|
+
export declare const MARKETPLACE_VERSIONS_IDS_MAX_LENGTH = 10000;
|
|
562
|
+
/** What a CMS decides an update with: a listing's latest published version,
|
|
563
|
+
* reduced to four facts. */
|
|
564
|
+
export declare const MarketplaceLatestVersionSchema: z.ZodObject<{
|
|
565
|
+
version: z.ZodString;
|
|
566
|
+
supportedDialects: z.ZodArray<z.ZodString>;
|
|
567
|
+
cmsVersion: z.ZodString;
|
|
568
|
+
hasArtifact: z.ZodBoolean;
|
|
569
|
+
}, z.core.$strip>;
|
|
570
|
+
export type MarketplaceLatestVersion = z.infer<typeof MarketplaceLatestVersionSchema>;
|
|
571
|
+
/** One item per published listing among the ids asked, in the order asked; an
|
|
572
|
+
* id with no published version is absent. Not strict: a key a newer
|
|
573
|
+
* marketplace adds is dropped, never fatal. */
|
|
574
|
+
export declare const MarketplaceVersionsResponseSchema: z.ZodObject<{
|
|
575
|
+
items: z.ZodArray<z.ZodObject<{
|
|
576
|
+
pluginId: z.ZodString;
|
|
577
|
+
latestVersion: z.ZodObject<{
|
|
578
|
+
version: z.ZodString;
|
|
579
|
+
supportedDialects: z.ZodArray<z.ZodString>;
|
|
580
|
+
cmsVersion: z.ZodString;
|
|
581
|
+
hasArtifact: z.ZodBoolean;
|
|
582
|
+
}, z.core.$strip>;
|
|
583
|
+
}, z.core.$strip>>;
|
|
584
|
+
}, z.core.$strip>;
|
|
585
|
+
export type MarketplaceVersionsResponse = z.infer<typeof MarketplaceVersionsResponseSchema>;
|
|
586
|
+
export type ParsedMarketplaceVersionsIds = {
|
|
587
|
+
ok: true;
|
|
588
|
+
ids: string[];
|
|
589
|
+
} | {
|
|
590
|
+
ok: false;
|
|
591
|
+
error: string;
|
|
592
|
+
};
|
|
593
|
+
/** The route's `ids` value, by the table in 3.1: capped before it is split,
|
|
594
|
+
* each entry checked with isPluginManifestId, a repeat answered once, in the
|
|
595
|
+
* place it first appears. The value is untrusted, so the order bounds the
|
|
596
|
+
* cost: the length cap comes before the split and the entry cap before any
|
|
597
|
+
* entry is checked, so the one pattern that runs (isPluginManifestId's, which
|
|
598
|
+
* the install door already applies to untrusted ids) sees at most
|
|
599
|
+
* MARKETPLACE_VERSIONS_MAX_IDS entries and MARKETPLACE_VERSIONS_IDS_MAX_LENGTH
|
|
600
|
+
* characters in all. Both caps count what was sent, before repeats collapse.
|
|
601
|
+
* Nothing is trimmed: a space or an empty entry is a bad id. */
|
|
602
|
+
export declare function parseMarketplaceVersionsIds(raw: string | null): ParsedMarketplaceVersionsIds;
|
|
603
|
+
export declare const MarketplacePluginIdParamsSchema: z.ZodObject<{
|
|
604
|
+
pluginId: z.ZodString;
|
|
605
|
+
}, z.core.$strip>;
|
|
606
|
+
export declare const MarketplaceInstallBodySchema: z.ZodObject<{
|
|
607
|
+
pluginId: z.ZodString;
|
|
608
|
+
version: z.ZodString;
|
|
609
|
+
licenseKey: z.ZodOptional<z.ZodString>;
|
|
610
|
+
answers: z.ZodOptional<z.ZodObject<{
|
|
611
|
+
sampleContent: z.ZodOptional<z.ZodBoolean>;
|
|
612
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
613
|
+
options: z.ZodOptional<z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodArray<z.ZodString>]>>>>;
|
|
614
|
+
}, z.core.$strict>>;
|
|
615
|
+
}, z.core.$strict>;
|
|
616
|
+
export declare const MarketplaceInstallMemberSchema: z.ZodObject<{
|
|
617
|
+
pluginId: z.ZodString;
|
|
618
|
+
version: z.ZodString;
|
|
619
|
+
outcome: z.ZodEnum<{
|
|
620
|
+
installed: "installed";
|
|
621
|
+
"already-installed": "already-installed";
|
|
622
|
+
}>;
|
|
623
|
+
}, z.core.$strip>;
|
|
624
|
+
export type MarketplaceInstallMember = z.infer<typeof MarketplaceInstallMemberSchema>;
|
|
625
|
+
export declare const MarketplaceInstallResponseSchema: z.ZodObject<{
|
|
626
|
+
pluginId: z.ZodString;
|
|
627
|
+
version: z.ZodString;
|
|
628
|
+
trustTier: z.ZodLiteral<"verified">;
|
|
629
|
+
licensed: z.ZodBoolean;
|
|
630
|
+
outcome: z.ZodEnum<{
|
|
631
|
+
updated: "updated";
|
|
632
|
+
installed: "installed";
|
|
633
|
+
}>;
|
|
634
|
+
fromVersion: z.ZodNullable<z.ZodString>;
|
|
635
|
+
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
636
|
+
pluginId: z.ZodString;
|
|
637
|
+
version: z.ZodString;
|
|
638
|
+
outcome: z.ZodEnum<{
|
|
639
|
+
installed: "installed";
|
|
640
|
+
"already-installed": "already-installed";
|
|
641
|
+
}>;
|
|
642
|
+
}, z.core.$strip>>>;
|
|
643
|
+
sampleContent: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
644
|
+
status: z.ZodLiteral<"none">;
|
|
645
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
646
|
+
status: z.ZodLiteral<"invalid">;
|
|
647
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
648
|
+
status: z.ZodLiteral<"already-present">;
|
|
649
|
+
path: z.ZodString;
|
|
650
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
651
|
+
status: z.ZodLiteral<"skipped">;
|
|
652
|
+
name: z.ZodString;
|
|
653
|
+
message: z.ZodString;
|
|
654
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
655
|
+
status: z.ZodLiteral<"added">;
|
|
656
|
+
count: z.ZodNumber;
|
|
657
|
+
}, z.core.$strip>], "status">>;
|
|
658
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
659
|
+
id: z.ZodString;
|
|
660
|
+
outcome: z.ZodEnum<{
|
|
661
|
+
created: "created";
|
|
662
|
+
"already-exists": "already-exists";
|
|
663
|
+
failed: "failed";
|
|
664
|
+
}>;
|
|
665
|
+
}, z.core.$strip>>>;
|
|
666
|
+
}, z.core.$strip>;
|
|
667
|
+
export type MarketplaceInstallResponse = z.infer<typeof MarketplaceInstallResponseSchema>;
|
|
668
|
+
/** The 409 a marketplace install or update answers. `reason` is present
|
|
669
|
+
* only for "license-not-recorded" (S284, D4): the plugin IS installed (or
|
|
670
|
+
* updated), and only its licence row is another request's, so a client
|
|
671
|
+
* refreshes its installed state rather than offering Install again. Every
|
|
672
|
+
* other 409 carries `message` alone. */
|
|
673
|
+
export declare const MarketplaceInstallConflictSchema: z.ZodObject<{
|
|
674
|
+
message: z.ZodString;
|
|
675
|
+
reason: z.ZodOptional<z.ZodLiteral<"license-not-recorded">>;
|
|
676
|
+
}, z.core.$strip>;
|
|
677
|
+
export type MarketplaceInstallConflict = z.infer<typeof MarketplaceInstallConflictSchema>;
|
|
678
|
+
export type MarketplaceListQuery = z.infer<typeof MarketplaceListQuerySchema>;
|
|
679
|
+
/** The parsed side, which is also what a client sends: the schema has no defaults, so `licenseKey` and
|
|
680
|
+
* `answers` stay optional, and `answers.options` keeps its record type (the z.input side of its preprocess
|
|
681
|
+
* would be `unknown`). */
|
|
682
|
+
export type MarketplaceInstallBody = z.infer<typeof MarketplaceInstallBodySchema>;
|