@kardalum/plugin-sdk 0.20.0 → 0.21.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 +70 -0
- package/dist/admin-section-registry.d.ts +33 -1
- package/dist/admin-section-registry.js +67 -0
- package/dist/capabilities.js +46 -1
- package/dist/consent-entry.d.ts +11 -0
- package/dist/consent-entry.js +18 -0
- package/dist/content-library.d.ts +17 -0
- package/dist/content-list-extensions.d.ts +50 -0
- package/dist/content-list-extensions.js +11 -0
- package/dist/content-picker/page-picker-sheet.d.ts +2 -0
- package/dist/content-picker/page-picker-sheet.js +1 -1
- package/dist/content-picker/page-picker.d.ts +18 -0
- package/dist/content-picker/page-picker.js +20 -0
- package/dist/datatype-validation.js +10 -2
- package/dist/datatypes-entry.d.ts +1 -0
- package/dist/datatypes-entry.js +2 -0
- package/dist/entitlement-types.d.ts +18 -1
- package/dist/host-entry.d.ts +7 -1
- package/dist/host-entry.js +14 -1
- package/dist/index.d.ts +35 -7
- package/dist/index.js +46 -5
- package/dist/mail.d.ts +6 -2
- package/dist/manifest-entry.d.ts +22 -4
- package/dist/manifest-entry.js +25 -1
- package/dist/manifest-schema.d.ts +570 -31
- package/dist/manifest-schema.js +240 -12
- package/dist/manifest.d.ts +757 -32
- package/dist/manifest.js +8 -4
- package/dist/plugin-context.d.ts +47 -0
- package/dist/plugin-context.js +27 -0
- package/dist/plugin-permissions.d.ts +18 -0
- package/dist/plugin-permissions.js +25 -0
- package/dist/plugin-screen-context.d.ts +152 -11
- package/dist/plugin-screen-context.js +30 -0
- package/dist/providers.d.ts +47 -2
- package/dist/render-page.d.ts +15 -0
- package/dist/render-page.js +20 -0
- package/dist/richtext/block-panel.d.ts +12 -1
- package/dist/richtext/block-panel.js +27 -21
- package/dist/richtext/button-view.d.ts +11 -0
- package/dist/richtext/button-view.js +45 -0
- package/dist/richtext/content-guard.d.ts +4 -0
- package/dist/richtext/content-guard.js +27 -0
- package/dist/richtext/editor-handle.d.ts +34 -0
- package/dist/richtext/editor-handle.js +225 -0
- package/dist/richtext/extensions.d.ts +6 -0
- package/dist/richtext/extensions.js +16 -0
- package/dist/richtext/insert-menu.d.ts +6 -1
- package/dist/richtext/insert-menu.js +38 -18
- package/dist/richtext/item-attributes.d.ts +6 -0
- package/dist/richtext/item-attributes.js +19 -0
- package/dist/richtext/item-panel.d.ts +25 -0
- package/dist/richtext/item-panel.js +118 -0
- package/dist/richtext/item-view.d.ts +58 -0
- package/dist/richtext/item-view.js +172 -0
- package/dist/richtext/mark-form.d.ts +10 -0
- package/dist/richtext/mark-form.js +38 -0
- package/dist/richtext/paste-choice.d.ts +9 -0
- package/dist/richtext/paste-choice.js +13 -0
- package/dist/richtext/plugin-items.d.ts +72 -0
- package/dist/richtext/plugin-items.js +562 -0
- package/dist/richtext/plugin-mark-tooltips.d.ts +5 -0
- package/dist/richtext/plugin-mark-tooltips.js +44 -0
- package/dist/richtext/plugin-toolbar.d.ts +57 -0
- package/dist/richtext/plugin-toolbar.js +186 -0
- package/dist/richtext/rich-item-icons.d.ts +5 -0
- package/dist/richtext/rich-item-icons.js +42 -0
- package/dist/richtext/rich-items.d.ts +42 -0
- package/dist/richtext/rich-items.js +68 -0
- package/dist/richtext/rich-text-view-host.d.ts +24 -0
- package/dist/richtext/rich-text-view-host.js +11 -0
- package/dist/richtext/toolbar-button.d.ts +16 -0
- package/dist/richtext/toolbar-button.js +9 -0
- package/dist/richtext/url-paste.d.ts +20 -0
- package/dist/richtext/url-paste.js +82 -0
- package/dist/richtext-html-entry.d.ts +5 -0
- package/dist/richtext-html-entry.js +11 -0
- package/dist/sdk-strings.d.ts +59 -0
- package/dist/sdk-strings.js +64 -0
- package/dist/service-contract.d.ts +17 -0
- package/dist/service-contract.js +39 -0
- package/dist/services.d.ts +114 -0
- package/dist/services.js +1 -0
- package/dist/structured-storage-types.d.ts +124 -4
- package/dist/tailwind.js +10 -5
- package/dist/template-reads.d.ts +16 -0
- package/dist/template-reads.js +21 -0
- package/dist/testing-entry.d.ts +38 -0
- package/dist/testing-entry.js +173 -0
- package/dist/text-entry.d.ts +1 -1
- package/dist/text-entry.js +3 -2
- package/dist/tokens/system-dark.css +1 -0
- package/dist/tokens/tailwind-theme.css +2 -0
- package/dist/tokens/tokens.css +4 -0
- package/dist/tokens/tokens.json +5 -1
- package/dist/uploads.d.ts +43 -0
- package/dist/uploads.js +1 -0
- package/dist/user-library.d.ts +51 -0
- package/dist/user-library.js +15 -0
- package/dist/view-helpers.d.ts +18 -0
- package/dist/view-helpers.js +64 -0
- package/dist/views/content-list-view.js +207 -8
- package/dist/views/content-picker-view.js +1 -1
- package/dist/views/rich-text-view.d.ts +2 -0
- package/dist/views/rich-text-view.js +182 -24
- package/dist/views/unreadable-rich-text.d.ts +17 -0
- package/dist/views/unreadable-rich-text.js +40 -0
- package/dist/visitors.d.ts +81 -0
- package/dist/visitors.js +1 -0
- package/node_modules/@kardalum/api-schemas/dist/ai-app-hosts.d.ts +21 -0
- package/node_modules/@kardalum/api-schemas/dist/ai-app-hosts.js +39 -0
- package/node_modules/@kardalum/api-schemas/dist/ai-app-redirects.d.ts +2 -0
- package/node_modules/@kardalum/api-schemas/dist/ai-app-redirects.js +31 -0
- package/node_modules/@kardalum/api-schemas/dist/ai-connections.schema.d.ts +127 -8
- package/node_modules/@kardalum/api-schemas/dist/ai-connections.schema.js +82 -7
- package/node_modules/@kardalum/api-schemas/dist/audit-api.schema.d.ts +5 -1
- package/node_modules/@kardalum/api-schemas/dist/audit-api.schema.js +2 -2
- package/node_modules/@kardalum/api-schemas/dist/built-in-editor-ids.d.ts +7 -0
- package/node_modules/@kardalum/api-schemas/dist/built-in-editor-ids.js +11 -0
- package/node_modules/@kardalum/api-schemas/dist/capability-detail.d.ts +1 -1
- package/node_modules/@kardalum/api-schemas/dist/capability-detail.js +18 -0
- package/node_modules/@kardalum/api-schemas/dist/content-list.schema.d.ts +80 -0
- package/node_modules/@kardalum/api-schemas/dist/content-list.schema.js +41 -2
- package/node_modules/@kardalum/api-schemas/dist/content-reads.schema.d.ts +213 -0
- package/node_modules/@kardalum/api-schemas/dist/content-reads.schema.js +234 -0
- package/node_modules/@kardalum/api-schemas/dist/contribution-issues.d.ts +11 -0
- package/node_modules/@kardalum/api-schemas/dist/contribution-issues.js +14 -0
- package/node_modules/@kardalum/api-schemas/dist/core-actions.d.ts +50 -13
- package/node_modules/@kardalum/api-schemas/dist/core-actions.js +19 -10
- package/node_modules/@kardalum/api-schemas/dist/document-type-api.schema.d.ts +77 -0
- package/node_modules/@kardalum/api-schemas/dist/document-type-api.schema.js +37 -0
- package/node_modules/@kardalum/api-schemas/dist/experimental-points.d.ts +19 -0
- package/node_modules/@kardalum/api-schemas/dist/experimental-points.js +250 -0
- package/node_modules/@kardalum/api-schemas/dist/form-protection-callers.d.ts +29 -0
- package/node_modules/@kardalum/api-schemas/dist/form-protection-callers.js +31 -0
- package/node_modules/@kardalum/api-schemas/dist/html-scan.d.ts +22 -0
- package/node_modules/@kardalum/api-schemas/dist/html-scan.js +122 -0
- package/node_modules/@kardalum/api-schemas/dist/html-start-tags.d.ts +48 -0
- package/node_modules/@kardalum/api-schemas/dist/html-start-tags.js +381 -0
- package/node_modules/@kardalum/api-schemas/dist/index.d.ts +52 -14
- package/node_modules/@kardalum/api-schemas/dist/index.js +53 -9
- package/node_modules/@kardalum/api-schemas/dist/json-depth.d.ts +3 -0
- package/node_modules/@kardalum/api-schemas/dist/json-depth.js +20 -0
- package/node_modules/@kardalum/api-schemas/dist/mail-rules.d.ts +4 -2
- package/node_modules/@kardalum/api-schemas/dist/mail-rules.js +6 -1
- package/node_modules/@kardalum/api-schemas/dist/marketplace-listing-api.schema.d.ts +178 -2
- package/node_modules/@kardalum/api-schemas/dist/marketplace-listing-api.schema.js +10 -0
- package/node_modules/@kardalum/api-schemas/dist/mcp-plugins.schema.d.ts +3 -3
- package/node_modules/@kardalum/api-schemas/dist/media-api.schema.d.ts +16 -0
- package/node_modules/@kardalum/api-schemas/dist/media.schema.d.ts +4 -0
- package/node_modules/@kardalum/api-schemas/dist/media.schema.js +4 -0
- package/node_modules/@kardalum/api-schemas/dist/nested-validation.d.ts +7 -0
- package/node_modules/@kardalum/api-schemas/dist/nested-validation.js +51 -2
- package/node_modules/@kardalum/api-schemas/dist/page-audience.schema.d.ts +87 -0
- package/node_modules/@kardalum/api-schemas/dist/page-audience.schema.js +44 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-admin-slots.d.ts +11 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-admin-slots.js +61 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-content-access.d.ts +4 -2
- package/node_modules/@kardalum/api-schemas/dist/plugin-content-access.js +12 -2
- package/node_modules/@kardalum/api-schemas/dist/plugin-content-slots.d.ts +136 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-content-slots.js +254 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-contract-checks.d.ts +22 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-contract-checks.js +66 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-contract-document.d.ts +130 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-contract-document.js +173 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-contract-fetch.d.ts +16 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-contract-fetch.js +112 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-contract-schema.d.ts +70 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-contract-schema.js +380 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-contract-types.d.ts +3 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-contract-types.js +68 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs-api.schema.d.ts +18 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs.d.ts +18 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs.js +5 -2
- package/node_modules/@kardalum/api-schemas/dist/plugin-durable-hooks.d.ts +10 -2
- package/node_modules/@kardalum/api-schemas/dist/plugin-durable-hooks.js +48 -1
- package/node_modules/@kardalum/api-schemas/dist/plugin-editor-extensions.d.ts +5 -2
- package/node_modules/@kardalum/api-schemas/dist/plugin-editor-extensions.js +6 -4
- package/node_modules/@kardalum/api-schemas/dist/plugin-events.d.ts +24 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-events.js +53 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-guards.d.ts +112 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-guards.js +118 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-held-embeds.d.ts +12 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-held-embeds.js +3 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-install-record.schema.d.ts +2 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-install-record.schema.js +3 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-install.d.ts +67 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-install.js +15 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-kept-parts.d.ts +138 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-kept-parts.js +110 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-management-api.schema.d.ts +80 -15
- package/node_modules/@kardalum/api-schemas/dist/plugin-management-api.schema.js +67 -23
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-actions.d.ts +10 -3
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-actions.js +33 -8
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-api-routes.d.ts +2 -1
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-api-routes.js +7 -1
- package/node_modules/@kardalum/api-schemas/dist/plugin-outbound.d.ts +1 -1
- package/node_modules/@kardalum/api-schemas/dist/plugin-providers.d.ts +43 -7
- package/node_modules/@kardalum/api-schemas/dist/plugin-providers.js +36 -5
- package/node_modules/@kardalum/api-schemas/dist/plugin-rich-text.d.ts +638 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-rich-text.js +533 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-service-call.d.ts +36 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-service-call.js +32 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-service-connections.d.ts +193 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-service-connections.js +123 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-service-declarations.d.ts +209 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-service-declarations.js +372 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-services.d.ts +90 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-services.js +204 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-settings.d.ts +10 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-settings.js +10 -1
- package/node_modules/@kardalum/api-schemas/dist/plugin-site-extensions.d.ts +171 -4
- package/node_modules/@kardalum/api-schemas/dist/plugin-site-extensions.js +406 -42
- package/node_modules/@kardalum/api-schemas/dist/plugin-site-requests.d.ts +69 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-site-requests.js +149 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-styles.d.ts +5 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-styles.js +13 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-uploads.d.ts +96 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-uploads.js +185 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-user-accounts.d.ts +213 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-user-accounts.js +131 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-view-kit.d.ts +54 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-view-kit.js +154 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-visitor-points.d.ts +37 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-visitor-points.js +124 -0
- package/node_modules/@kardalum/api-schemas/dist/render-cache.d.ts +126 -0
- package/node_modules/@kardalum/api-schemas/dist/render-cache.js +263 -0
- package/node_modules/@kardalum/api-schemas/dist/render-editing.d.ts +303 -0
- package/node_modules/@kardalum/api-schemas/dist/render-editing.js +61 -0
- package/node_modules/@kardalum/api-schemas/dist/rich-text-paste-hosts.d.ts +14 -0
- package/node_modules/@kardalum/api-schemas/dist/rich-text-paste-hosts.js +108 -0
- package/node_modules/@kardalum/api-schemas/dist/rich-text-shape.d.ts +66 -1
- package/node_modules/@kardalum/api-schemas/dist/rich-text-shape.js +465 -7
- package/node_modules/@kardalum/api-schemas/dist/rich-text-text.js +15 -118
- package/node_modules/@kardalum/api-schemas/dist/sandbox-attach.schema.d.ts +110 -0
- package/node_modules/@kardalum/api-schemas/dist/sandbox-attach.schema.js +36 -0
- package/node_modules/@kardalum/api-schemas/dist/security-overview.schema.d.ts +64 -0
- package/node_modules/@kardalum/api-schemas/dist/security-overview.schema.js +38 -0
- package/node_modules/@kardalum/api-schemas/dist/server-settings-api.schema.d.ts +9 -2
- package/node_modules/@kardalum/api-schemas/dist/server-settings-api.schema.js +7 -2
- package/node_modules/@kardalum/api-schemas/dist/setup-api.schema.d.ts +26 -0
- package/node_modules/@kardalum/api-schemas/dist/setup-api.schema.js +19 -0
- package/node_modules/@kardalum/api-schemas/dist/sign-in-steps.d.ts +724 -0
- package/node_modules/@kardalum/api-schemas/dist/sign-in-steps.js +408 -0
- package/node_modules/@kardalum/api-schemas/dist/sign-in.schema.d.ts +5 -3
- package/node_modules/@kardalum/api-schemas/dist/sign-in.schema.js +3 -1
- package/node_modules/@kardalum/api-schemas/dist/site-consent.d.ts +77 -0
- package/node_modules/@kardalum/api-schemas/dist/site-consent.js +122 -0
- package/node_modules/@kardalum/api-schemas/dist/structured-fields.schema.d.ts +4 -0
- package/node_modules/@kardalum/api-schemas/dist/structured-fields.schema.js +28 -0
- package/node_modules/@kardalum/api-schemas/dist/template-api.schema.d.ts +33 -0
- package/node_modules/@kardalum/api-schemas/dist/template-api.schema.js +26 -1
- package/node_modules/@kardalum/api-schemas/dist/user-api.schema.d.ts +14 -0
- package/node_modules/@kardalum/api-schemas/dist/user-api.schema.js +2 -0
- package/node_modules/@kardalum/api-schemas/dist/visitor-accounts.d.ts +482 -0
- package/node_modules/@kardalum/api-schemas/dist/visitor-accounts.js +380 -0
- package/node_modules/@kardalum/api-schemas/dist/visitor-groups.d.ts +109 -0
- package/node_modules/@kardalum/api-schemas/dist/visitor-groups.js +62 -0
- package/node_modules/@kardalum/api-schemas/package.json +1 -0
- package/node_modules/@kardalum/design-tokens/dist/build-css.js +9 -1
- package/node_modules/@kardalum/design-tokens/dist/system-dark.css +1 -0
- package/node_modules/@kardalum/design-tokens/dist/tailwind-theme.css +2 -0
- package/node_modules/@kardalum/design-tokens/dist/tailwind-theme.d.ts +1 -0
- package/node_modules/@kardalum/design-tokens/dist/tailwind-theme.js +2 -0
- package/node_modules/@kardalum/design-tokens/dist/tokens.css +4 -0
- package/node_modules/@kardalum/design-tokens/dist/tokens.js +6 -0
- package/node_modules/@kardalum/design-tokens/dist/tokens.json +5 -1
- package/node_modules/@kardalum/design-tokens/dist/types.d.ts +4 -0
- package/node_modules/@kardalum/plugin-package/dist/build-reference.d.ts +17 -0
- package/node_modules/@kardalum/plugin-package/dist/build-reference.js +9 -0
- package/node_modules/@kardalum/plugin-package/dist/capabilities.d.ts +1 -1
- package/node_modules/@kardalum/plugin-package/dist/capabilities.js +276 -19
- package/node_modules/@kardalum/plugin-package/dist/client-bundle.d.ts +1 -1
- package/node_modules/@kardalum/plugin-package/dist/client-bundle.js +23 -0
- package/node_modules/@kardalum/plugin-package/dist/contract-fingerprint.d.ts +17 -0
- package/node_modules/@kardalum/plugin-package/dist/contract-fingerprint.js +39 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/admin-styles.d.ts +23 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/admin-styles.js +351 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/bundle.d.ts +2 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/bundle.js +1 -1
- package/node_modules/@kardalum/plugin-package/dist/delivery/content-access.js +21 -8
- package/node_modules/@kardalum/plugin-package/dist/delivery/contributions.js +1 -1
- package/node_modules/@kardalum/plugin-package/dist/delivery/editor-extensions.js +23 -10
- package/node_modules/@kardalum/plugin-package/dist/delivery/icons.js +3 -2
- package/node_modules/@kardalum/plugin-package/dist/delivery/index.d.ts +2 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/index.js +2 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/label-languages.js +30 -2
- package/node_modules/@kardalum/plugin-package/dist/delivery/licence-check.js +6 -2
- package/node_modules/@kardalum/plugin-package/dist/delivery/limits.d.ts +6 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/limits.js +6 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/providers.d.ts +2 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/providers.js +24 -6
- package/node_modules/@kardalum/plugin-package/dist/delivery/registry.js +15 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/rich-text.d.ts +2 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/rich-text.js +173 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/sample-content.js +1 -1
- package/node_modules/@kardalum/plugin-package/dist/delivery/server-powers.js +14 -4
- package/node_modules/@kardalum/plugin-package/dist/delivery/services-events.d.ts +3 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/services-events.js +35 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/sign-in-steps.d.ts +3 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/sign-in-steps.js +71 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/site-extensions.js +44 -11
- package/node_modules/@kardalum/plugin-package/dist/delivery/types.d.ts +7 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/user-accounts.d.ts +3 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/user-accounts.js +36 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/visitor-points.d.ts +3 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/visitor-points.js +33 -0
- package/node_modules/@kardalum/plugin-package/dist/index.d.ts +4 -0
- package/node_modules/@kardalum/plugin-package/dist/index.js +5 -0
- package/node_modules/@kardalum/plugin-package/dist/public-suffix.d.ts +7 -0
- package/node_modules/@kardalum/plugin-package/dist/public-suffix.js +23 -0
- package/node_modules/@kardalum/plugin-package/dist/rich-text-summary.d.ts +1 -0
- package/node_modules/@kardalum/plugin-package/dist/rich-text-summary.js +27 -0
- package/node_modules/@kardalum/plugin-package/dist/stylesheet-load-hook.d.ts +2 -0
- package/node_modules/@kardalum/plugin-package/dist/stylesheet-load-hook.js +28 -0
- package/node_modules/@kardalum/plugin-package/package.json +4 -0
- package/node_modules/@kardalum/ui/dist/components/select.d.ts +6 -0
- package/node_modules/@kardalum/ui/dist/components/select.js +7 -0
- package/node_modules/@kardalum/ui/dist/components/textarea.d.ts +6 -0
- package/node_modules/@kardalum/ui/dist/components/textarea.js +7 -0
- package/node_modules/@kardalum/ui/dist/index.d.ts +2 -0
- package/node_modules/@kardalum/ui/dist/index.js +2 -0
- package/package.json +15 -3
|
@@ -10,9 +10,22 @@ export declare const MCP_PROTECTED_RESOURCE_PATH = "/.well-known/oauth-protected
|
|
|
10
10
|
/** RFC 8414: the authorization server document of the issuer <base>. */
|
|
11
11
|
export declare const MCP_AUTHORIZATION_SERVER_PATH = "/.well-known/oauth-authorization-server";
|
|
12
12
|
export declare const AI_CLIENT_NAME_MAX = 100;
|
|
13
|
-
|
|
13
|
+
/** Gemini registers six addresses (three relay hosts, two paths each); 10 leaves room. */
|
|
14
|
+
export declare const AI_REDIRECT_URIS_MAX = 10;
|
|
14
15
|
export declare const AI_REDIRECT_URI_MAX_CHARS = 2000;
|
|
15
16
|
export declare const AI_STATE_MAX_CHARS = 2048;
|
|
17
|
+
/** A presented client secret is capped before it is hashed. */
|
|
18
|
+
export declare const AI_CLIENT_SECRET_MAX_CHARS = 256;
|
|
19
|
+
/** Registered and never connected clients, site-wide: past it, registration answers 503 temporarily_unavailable. */
|
|
20
|
+
export declare const AI_CLIENTS_UNCONNECTED_MAX = 500;
|
|
21
|
+
/** An added app nobody signed in through is removed this many days after it was added. */
|
|
22
|
+
export declare const AI_ADDED_CLIENT_UNUSED_DAYS = 7;
|
|
23
|
+
/** Live added apps one person may hold. */
|
|
24
|
+
export declare const AI_ADDED_CLIENTS_PER_PERSON_MAX = 20;
|
|
25
|
+
/** RFC 7591 2: none is a public client; the two secret methods are a confidential one. */
|
|
26
|
+
export declare const AI_TOKEN_AUTH_METHODS: readonly ["none", "client_secret_post", "client_secret_basic"];
|
|
27
|
+
export type AiTokenAuthMethod = (typeof AI_TOKEN_AUTH_METHODS)[number];
|
|
28
|
+
/** The longest resource indicator (RFC 8707) a request may carry. */
|
|
16
29
|
export declare const AI_RESOURCE_MAX_CHARS = 2048;
|
|
17
30
|
/** D2: an access token is a key that expires an hour after it is minted or rotated. */
|
|
18
31
|
export declare const AI_ACCESS_TOKEN_TTL_SECONDS = 3600;
|
|
@@ -28,7 +41,7 @@ export declare const AI_CONNECTION_EXPIRED_MESSAGE = "This sign-in request has e
|
|
|
28
41
|
/** D5: the live setting aiConnectionIdleDays. */
|
|
29
42
|
export declare const AiConnectionIdleDaysSchema: z.ZodNumber;
|
|
30
43
|
export declare const AI_GRANT_TYPES: readonly ["authorization_code", "refresh_token"];
|
|
31
|
-
export declare const AI_OAUTH_ERRORS: readonly ["invalid_request", "invalid_client", "invalid_grant", "unsupported_grant_type", "invalid_target", "invalid_client_metadata", "access_denied", "unsupported_response_type"];
|
|
44
|
+
export declare const AI_OAUTH_ERRORS: readonly ["invalid_request", "invalid_client", "invalid_grant", "unsupported_grant_type", "invalid_target", "invalid_client_metadata", "access_denied", "unsupported_response_type", "temporarily_unavailable"];
|
|
32
45
|
export type AiOAuthErrorCode = (typeof AI_OAUTH_ERRORS)[number];
|
|
33
46
|
/** D9: RFC 6749's error body, the description in plain English, never a code or a token. */
|
|
34
47
|
export declare const AiOAuthErrorSchema: z.ZodObject<{
|
|
@@ -41,6 +54,7 @@ export declare const AiOAuthErrorSchema: z.ZodObject<{
|
|
|
41
54
|
invalid_client_metadata: "invalid_client_metadata";
|
|
42
55
|
access_denied: "access_denied";
|
|
43
56
|
unsupported_response_type: "unsupported_response_type";
|
|
57
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
44
58
|
}>;
|
|
45
59
|
error_description: z.ZodString;
|
|
46
60
|
}, z.core.$strip>;
|
|
@@ -59,12 +73,18 @@ export declare const AiClientRegistrationResponseSchema: z.ZodObject<{
|
|
|
59
73
|
client_id_issued_at: z.ZodNumber;
|
|
60
74
|
client_name: z.ZodString;
|
|
61
75
|
redirect_uris: z.ZodArray<z.ZodString>;
|
|
62
|
-
token_endpoint_auth_method: z.
|
|
76
|
+
token_endpoint_auth_method: z.ZodEnum<{
|
|
77
|
+
none: "none";
|
|
78
|
+
client_secret_post: "client_secret_post";
|
|
79
|
+
client_secret_basic: "client_secret_basic";
|
|
80
|
+
}>;
|
|
63
81
|
grant_types: z.ZodArray<z.ZodEnum<{
|
|
64
82
|
authorization_code: "authorization_code";
|
|
65
83
|
refresh_token: "refresh_token";
|
|
66
84
|
}>>;
|
|
67
85
|
response_types: z.ZodArray<z.ZodLiteral<"code">>;
|
|
86
|
+
client_secret: z.ZodOptional<z.ZodString>;
|
|
87
|
+
client_secret_expires_at: z.ZodOptional<z.ZodLiteral<0>>;
|
|
68
88
|
}, z.core.$strip>;
|
|
69
89
|
export type AiClientRegistrationResponse = z.infer<typeof AiClientRegistrationResponseSchema>;
|
|
70
90
|
/** The authorize query: each parameter one string at most (a repeated one arrives as an array and fails). */
|
|
@@ -82,7 +102,8 @@ export type AiAuthorizeQuery = z.infer<typeof AiAuthorizeQuerySchema>;
|
|
|
82
102
|
export declare const AiCodeGrantRequestSchema: z.ZodObject<{
|
|
83
103
|
grant_type: z.ZodLiteral<"authorization_code">;
|
|
84
104
|
code: z.ZodString;
|
|
85
|
-
client_id: z.ZodString
|
|
105
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
106
|
+
client_secret: z.ZodOptional<z.ZodString>;
|
|
86
107
|
redirect_uri: z.ZodString;
|
|
87
108
|
code_verifier: z.ZodString;
|
|
88
109
|
resource: z.ZodOptional<z.ZodString>;
|
|
@@ -91,7 +112,8 @@ export type AiCodeGrantRequest = z.infer<typeof AiCodeGrantRequestSchema>;
|
|
|
91
112
|
export declare const AiRefreshGrantRequestSchema: z.ZodObject<{
|
|
92
113
|
grant_type: z.ZodLiteral<"refresh_token">;
|
|
93
114
|
refresh_token: z.ZodString;
|
|
94
|
-
client_id: z.ZodString
|
|
115
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
116
|
+
client_secret: z.ZodOptional<z.ZodString>;
|
|
95
117
|
resource: z.ZodOptional<z.ZodString>;
|
|
96
118
|
scope: z.ZodOptional<z.ZodString>;
|
|
97
119
|
}, z.core.$strip>;
|
|
@@ -104,11 +126,12 @@ export declare const AiTokenResponseSchema: z.ZodObject<{
|
|
|
104
126
|
scope: z.ZodString;
|
|
105
127
|
}, z.core.$strip>;
|
|
106
128
|
export type AiTokenResponse = z.infer<typeof AiTokenResponseSchema>;
|
|
107
|
-
/** RFC 7009. A public client names itself with client_id. */
|
|
129
|
+
/** RFC 7009. A public client names itself with client_id; a confidential one adds its secret or uses Basic. */
|
|
108
130
|
export declare const AiRevokeRequestSchema: z.ZodObject<{
|
|
109
131
|
token: z.ZodString;
|
|
110
132
|
token_type_hint: z.ZodOptional<z.ZodString>;
|
|
111
|
-
client_id: z.ZodString
|
|
133
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
134
|
+
client_secret: z.ZodOptional<z.ZodString>;
|
|
112
135
|
}, z.core.$strip>;
|
|
113
136
|
export type AiRevokeRequest = z.infer<typeof AiRevokeRequestSchema>;
|
|
114
137
|
/** RFC 7009 2.2: the answer is 200 with an empty body, whatever the token was. */
|
|
@@ -131,7 +154,12 @@ export declare const AiAuthorizationServerMetadataSchema: z.ZodObject<{
|
|
|
131
154
|
refresh_token: "refresh_token";
|
|
132
155
|
}>>;
|
|
133
156
|
code_challenge_methods_supported: z.ZodArray<z.ZodLiteral<"S256">>;
|
|
134
|
-
token_endpoint_auth_methods_supported: z.ZodArray<z.
|
|
157
|
+
token_endpoint_auth_methods_supported: z.ZodArray<z.ZodEnum<{
|
|
158
|
+
none: "none";
|
|
159
|
+
client_secret_post: "client_secret_post";
|
|
160
|
+
client_secret_basic: "client_secret_basic";
|
|
161
|
+
}>>;
|
|
162
|
+
authorization_response_iss_parameter_supported: z.ZodLiteral<true>;
|
|
135
163
|
}, z.core.$strip>;
|
|
136
164
|
export type AiAuthorizationServerMetadata = z.infer<typeof AiAuthorizationServerMetadataSchema>;
|
|
137
165
|
export declare const AiConnectionPendingParamsSchema: z.ZodObject<{
|
|
@@ -153,6 +181,10 @@ export declare const AiConnectionPendingResponseSchema: z.ZodObject<{
|
|
|
153
181
|
}, z.core.$strip>>;
|
|
154
182
|
suggested: z.ZodArray<z.ZodString>;
|
|
155
183
|
idleDays: z.ZodNumber;
|
|
184
|
+
addedBy: z.ZodEnum<{
|
|
185
|
+
none: "none";
|
|
186
|
+
you: "you";
|
|
187
|
+
}>;
|
|
156
188
|
}, z.core.$strip>;
|
|
157
189
|
export type AiConnectionPendingResponse = z.infer<typeof AiConnectionPendingResponseSchema>;
|
|
158
190
|
export declare const AiConnectionApprovalRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -213,3 +245,90 @@ export declare const RevokeAiConnectionResponseSchema: z.ZodObject<{
|
|
|
213
245
|
revoked: z.ZodLiteral<true>;
|
|
214
246
|
}, z.core.$strip>;
|
|
215
247
|
export type RevokeAiConnectionResponse = z.infer<typeof RevokeAiConnectionResponseSchema>;
|
|
248
|
+
/** The code a pending or approval route answers when another person added the app. */
|
|
249
|
+
export declare const AI_APP_ADDED_BY_OTHER_CODE = "ai_app_added_by_other";
|
|
250
|
+
/** The code the add route answers when the person already holds AI_ADDED_CLIENTS_PER_PERSON_MAX live added apps. */
|
|
251
|
+
export declare const AI_ADDED_APPS_FULL_CODE = "ai_added_apps_full";
|
|
252
|
+
export declare const AiAppAddRequestSchema: z.ZodObject<{
|
|
253
|
+
host: z.ZodEnum<{
|
|
254
|
+
gemini: "gemini";
|
|
255
|
+
chatgpt: "chatgpt";
|
|
256
|
+
"own-client": "own-client";
|
|
257
|
+
other: "other";
|
|
258
|
+
}>;
|
|
259
|
+
name: z.ZodString;
|
|
260
|
+
redirectUris: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
261
|
+
}, z.core.$strip>;
|
|
262
|
+
export type AiAppAddRequest = z.infer<typeof AiAppAddRequestSchema>;
|
|
263
|
+
export declare const AiAppAddResponseSchema: z.ZodObject<{
|
|
264
|
+
clientId: z.ZodString;
|
|
265
|
+
clientSecret: z.ZodNullable<z.ZodString>;
|
|
266
|
+
serverUrl: z.ZodString;
|
|
267
|
+
redirectUris: z.ZodArray<z.ZodString>;
|
|
268
|
+
host: z.ZodEnum<{
|
|
269
|
+
gemini: "gemini";
|
|
270
|
+
chatgpt: "chatgpt";
|
|
271
|
+
"own-client": "own-client";
|
|
272
|
+
other: "other";
|
|
273
|
+
}>;
|
|
274
|
+
unusedUntil: z.ZodString;
|
|
275
|
+
}, z.core.$strip>;
|
|
276
|
+
export type AiAppAddResponse = z.infer<typeof AiAppAddResponseSchema>;
|
|
277
|
+
export declare const AiAddedAppSchema: z.ZodObject<{
|
|
278
|
+
id: z.ZodString;
|
|
279
|
+
name: z.ZodString;
|
|
280
|
+
host: z.ZodEnum<{
|
|
281
|
+
gemini: "gemini";
|
|
282
|
+
chatgpt: "chatgpt";
|
|
283
|
+
"own-client": "own-client";
|
|
284
|
+
other: "other";
|
|
285
|
+
}>;
|
|
286
|
+
redirectHosts: z.ZodArray<z.ZodString>;
|
|
287
|
+
createdAt: z.ZodString;
|
|
288
|
+
connected: z.ZodBoolean;
|
|
289
|
+
unusedUntil: z.ZodNullable<z.ZodString>;
|
|
290
|
+
ownerId: z.ZodString;
|
|
291
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
292
|
+
own: z.ZodBoolean;
|
|
293
|
+
}, z.core.$strip>;
|
|
294
|
+
export type AiAddedApp = z.infer<typeof AiAddedAppSchema>;
|
|
295
|
+
export declare const AiAddedAppListQuerySchema: z.ZodObject<{
|
|
296
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
297
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
298
|
+
}, z.core.$strip>;
|
|
299
|
+
export type AiAddedAppListQuery = z.infer<typeof AiAddedAppListQuerySchema>;
|
|
300
|
+
export declare const AiAddedAppListResponseSchema: z.ZodObject<{
|
|
301
|
+
items: z.ZodArray<z.ZodObject<{
|
|
302
|
+
id: z.ZodString;
|
|
303
|
+
name: z.ZodString;
|
|
304
|
+
host: z.ZodEnum<{
|
|
305
|
+
gemini: "gemini";
|
|
306
|
+
chatgpt: "chatgpt";
|
|
307
|
+
"own-client": "own-client";
|
|
308
|
+
other: "other";
|
|
309
|
+
}>;
|
|
310
|
+
redirectHosts: z.ZodArray<z.ZodString>;
|
|
311
|
+
createdAt: z.ZodString;
|
|
312
|
+
connected: z.ZodBoolean;
|
|
313
|
+
unusedUntil: z.ZodNullable<z.ZodString>;
|
|
314
|
+
ownerId: z.ZodString;
|
|
315
|
+
ownerName: z.ZodNullable<z.ZodString>;
|
|
316
|
+
own: z.ZodBoolean;
|
|
317
|
+
}, z.core.$strip>>;
|
|
318
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
319
|
+
}, z.core.$strip>;
|
|
320
|
+
export type AiAddedAppListResponse = z.infer<typeof AiAddedAppListResponseSchema>;
|
|
321
|
+
export declare const RevokeAiAddedAppResponseSchema: z.ZodObject<{
|
|
322
|
+
revokedConnections: z.ZodNumber;
|
|
323
|
+
}, z.core.$strip>;
|
|
324
|
+
export type RevokeAiAddedAppResponse = z.infer<typeof RevokeAiAddedAppResponseSchema>;
|
|
325
|
+
/** 403 at the pending and approval routes: another person added this app, so only they connect through it. */
|
|
326
|
+
export declare const AiAppAddedByOtherSchema: z.ZodObject<{
|
|
327
|
+
message: z.ZodString;
|
|
328
|
+
code: z.ZodLiteral<"ai_app_added_by_other">;
|
|
329
|
+
}, z.core.$strip>;
|
|
330
|
+
/** 403 at the add route: the person already holds AI_ADDED_CLIENTS_PER_PERSON_MAX live added apps. */
|
|
331
|
+
export declare const AiAddedAppsFullSchema: z.ZodObject<{
|
|
332
|
+
message: z.ZodString;
|
|
333
|
+
code: z.ZodLiteral<"ai_added_apps_full">;
|
|
334
|
+
}, z.core.$strip>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { ActionStringSchema } from "./action.schema.js";
|
|
3
|
+
import { AI_APP_HOSTS } from "./ai-app-hosts.js";
|
|
3
4
|
import { API_KEY_MAX_ACTIONS } from "./api-key-api.schema.js";
|
|
4
5
|
import { ActionSummarySchema } from "./role.schema.js";
|
|
5
6
|
// M31.5 C (D1 to D7): sign-in for an MCP host that has a URL field and no key field. The
|
|
@@ -19,9 +20,21 @@ export const MCP_PROTECTED_RESOURCE_PATH = "/.well-known/oauth-protected-resourc
|
|
|
19
20
|
/** RFC 8414: the authorization server document of the issuer <base>. */
|
|
20
21
|
export const MCP_AUTHORIZATION_SERVER_PATH = "/.well-known/oauth-authorization-server";
|
|
21
22
|
export const AI_CLIENT_NAME_MAX = 100;
|
|
22
|
-
|
|
23
|
+
/** Gemini registers six addresses (three relay hosts, two paths each); 10 leaves room. */
|
|
24
|
+
export const AI_REDIRECT_URIS_MAX = 10;
|
|
23
25
|
export const AI_REDIRECT_URI_MAX_CHARS = 2_000;
|
|
24
26
|
export const AI_STATE_MAX_CHARS = 2_048;
|
|
27
|
+
/** A presented client secret is capped before it is hashed. */
|
|
28
|
+
export const AI_CLIENT_SECRET_MAX_CHARS = 256;
|
|
29
|
+
/** Registered and never connected clients, site-wide: past it, registration answers 503 temporarily_unavailable. */
|
|
30
|
+
export const AI_CLIENTS_UNCONNECTED_MAX = 500;
|
|
31
|
+
/** An added app nobody signed in through is removed this many days after it was added. */
|
|
32
|
+
export const AI_ADDED_CLIENT_UNUSED_DAYS = 7;
|
|
33
|
+
/** Live added apps one person may hold. */
|
|
34
|
+
export const AI_ADDED_CLIENTS_PER_PERSON_MAX = 20;
|
|
35
|
+
/** RFC 7591 2: none is a public client; the two secret methods are a confidential one. */
|
|
36
|
+
export const AI_TOKEN_AUTH_METHODS = ["none", "client_secret_post", "client_secret_basic"];
|
|
37
|
+
/** The longest resource indicator (RFC 8707) a request may carry. */
|
|
25
38
|
export const AI_RESOURCE_MAX_CHARS = 2_048;
|
|
26
39
|
/** D2: an access token is a key that expires an hour after it is minted or rotated. */
|
|
27
40
|
export const AI_ACCESS_TOKEN_TTL_SECONDS = 3_600;
|
|
@@ -46,6 +59,7 @@ export const AI_OAUTH_ERRORS = [
|
|
|
46
59
|
"invalid_client_metadata",
|
|
47
60
|
"access_denied",
|
|
48
61
|
"unsupported_response_type",
|
|
62
|
+
"temporarily_unavailable",
|
|
49
63
|
];
|
|
50
64
|
/** D9: RFC 6749's error body, the description in plain English, never a code or a token. */
|
|
51
65
|
export const AiOAuthErrorSchema = z.object({ error: z.enum(AI_OAUTH_ERRORS), error_description: z.string() });
|
|
@@ -63,9 +77,13 @@ export const AiClientRegistrationResponseSchema = z.object({
|
|
|
63
77
|
client_id_issued_at: z.number().int(),
|
|
64
78
|
client_name: z.string(),
|
|
65
79
|
redirect_uris: z.array(z.string()),
|
|
66
|
-
token_endpoint_auth_method: z.
|
|
80
|
+
token_endpoint_auth_method: z.enum(AI_TOKEN_AUTH_METHODS),
|
|
67
81
|
grant_types: z.array(z.enum(AI_GRANT_TYPES)),
|
|
68
82
|
response_types: z.array(z.literal("code")),
|
|
83
|
+
/** RFC 7591 3.2.1: a confidential client's secret, in this answer only; never stored, never answered again. */
|
|
84
|
+
client_secret: z.string().optional(),
|
|
85
|
+
/** 0: the secret does not expire. */
|
|
86
|
+
client_secret_expires_at: z.literal(0).optional(),
|
|
69
87
|
});
|
|
70
88
|
/** The authorize query: each parameter one string at most (a repeated one arrives as an array and fails). */
|
|
71
89
|
export const AiAuthorizeQuerySchema = z.object({
|
|
@@ -81,7 +99,9 @@ export const AiAuthorizeQuerySchema = z.object({
|
|
|
81
99
|
export const AiCodeGrantRequestSchema = z.object({
|
|
82
100
|
grant_type: z.literal("authorization_code"),
|
|
83
101
|
code: z.string().min(1).max(256),
|
|
84
|
-
|
|
102
|
+
/** Optional: Basic credentials may carry it instead (RFC 6749 2.3.1). */
|
|
103
|
+
client_id: z.string().min(1).max(64).optional(),
|
|
104
|
+
client_secret: z.string().min(1).max(AI_CLIENT_SECRET_MAX_CHARS).optional(),
|
|
85
105
|
redirect_uri: z.string().min(1).max(AI_REDIRECT_URI_MAX_CHARS),
|
|
86
106
|
code_verifier: z.string().min(43).max(128),
|
|
87
107
|
resource: z.string().max(AI_RESOURCE_MAX_CHARS).optional(),
|
|
@@ -89,7 +109,8 @@ export const AiCodeGrantRequestSchema = z.object({
|
|
|
89
109
|
export const AiRefreshGrantRequestSchema = z.object({
|
|
90
110
|
grant_type: z.literal("refresh_token"),
|
|
91
111
|
refresh_token: z.string().min(1).max(256),
|
|
92
|
-
client_id: z.string().min(1).max(64),
|
|
112
|
+
client_id: z.string().min(1).max(64).optional(),
|
|
113
|
+
client_secret: z.string().min(1).max(AI_CLIENT_SECRET_MAX_CHARS).optional(),
|
|
93
114
|
resource: z.string().max(AI_RESOURCE_MAX_CHARS).optional(),
|
|
94
115
|
scope: z.string().max(2_000).optional(),
|
|
95
116
|
});
|
|
@@ -101,11 +122,12 @@ export const AiTokenResponseSchema = z.object({
|
|
|
101
122
|
/** The connection's actions, without managementApi.use, sorted and joined by spaces. */
|
|
102
123
|
scope: z.string(),
|
|
103
124
|
});
|
|
104
|
-
/** RFC 7009. A public client names itself with client_id. */
|
|
125
|
+
/** RFC 7009. A public client names itself with client_id; a confidential one adds its secret or uses Basic. */
|
|
105
126
|
export const AiRevokeRequestSchema = z.object({
|
|
106
127
|
token: z.string().min(1).max(256),
|
|
107
128
|
token_type_hint: z.string().max(64).optional(),
|
|
108
|
-
client_id: z.string().min(1).max(64),
|
|
129
|
+
client_id: z.string().min(1).max(64).optional(),
|
|
130
|
+
client_secret: z.string().min(1).max(AI_CLIENT_SECRET_MAX_CHARS).optional(),
|
|
109
131
|
});
|
|
110
132
|
/** RFC 7009 2.2: the answer is 200 with an empty body, whatever the token was. */
|
|
111
133
|
export const AiRevokeResponseSchema = z.object({});
|
|
@@ -123,7 +145,9 @@ export const AiAuthorizationServerMetadataSchema = z.object({
|
|
|
123
145
|
response_types_supported: z.array(z.literal("code")),
|
|
124
146
|
grant_types_supported: z.array(z.enum(AI_GRANT_TYPES)),
|
|
125
147
|
code_challenge_methods_supported: z.array(z.literal("S256")),
|
|
126
|
-
token_endpoint_auth_methods_supported: z.array(z.
|
|
148
|
+
token_endpoint_auth_methods_supported: z.array(z.enum(AI_TOKEN_AUTH_METHODS)),
|
|
149
|
+
/** RFC 9207: every authorization response carries iss. */
|
|
150
|
+
authorization_response_iss_parameter_supported: z.literal(true),
|
|
127
151
|
});
|
|
128
152
|
const RequestIdSchema = z.string().min(1).max(64);
|
|
129
153
|
export const AiConnectionPendingParamsSchema = z.object({ requestId: RequestIdSchema });
|
|
@@ -137,6 +161,8 @@ export const AiConnectionPendingResponseSchema = z.object({
|
|
|
137
161
|
actions: z.array(ActionSummarySchema),
|
|
138
162
|
suggested: z.array(ActionStringSchema),
|
|
139
163
|
idleDays: z.number().int(),
|
|
164
|
+
/** "you" when the signed-in person added the app by hand; another person's added app is a 403. */
|
|
165
|
+
addedBy: z.enum(["none", "you"]),
|
|
140
166
|
});
|
|
141
167
|
export const AiConnectionApprovalRequestSchema = z.discriminatedUnion("decision", [
|
|
142
168
|
z
|
|
@@ -177,3 +203,52 @@ export const AiConnectionListResponseSchema = z.object({
|
|
|
177
203
|
});
|
|
178
204
|
export const AiConnectionParamsSchema = z.object({ id: z.string().uuid() });
|
|
179
205
|
export const RevokeAiConnectionResponseSchema = z.object({ id: z.string().uuid(), revoked: z.literal(true) });
|
|
206
|
+
// The "Add an AI app" button (management API, session only): a client made by a person for a
|
|
207
|
+
// host that asks for a client ID and secret. The secret is answered once, in the 201.
|
|
208
|
+
/** The code a pending or approval route answers when another person added the app. */
|
|
209
|
+
export const AI_APP_ADDED_BY_OTHER_CODE = "ai_app_added_by_other";
|
|
210
|
+
/** The code the add route answers when the person already holds AI_ADDED_CLIENTS_PER_PERSON_MAX live added apps. */
|
|
211
|
+
export const AI_ADDED_APPS_FULL_CODE = "ai_added_apps_full";
|
|
212
|
+
export const AiAppAddRequestSchema = z.object({
|
|
213
|
+
host: z.enum(AI_APP_HOSTS),
|
|
214
|
+
/** Cleaned by the server's client name rule (1 to AI_CLIENT_NAME_MAX visible characters). */
|
|
215
|
+
name: z.string().max(1_000),
|
|
216
|
+
/** The host's return addresses; the preset's own when left out (Gemini and Other need them). */
|
|
217
|
+
redirectUris: z.array(z.string().max(AI_REDIRECT_URI_MAX_CHARS)).max(AI_REDIRECT_URIS_MAX).optional(),
|
|
218
|
+
});
|
|
219
|
+
export const AiAppAddResponseSchema = z.object({
|
|
220
|
+
clientId: z.string().uuid(),
|
|
221
|
+
/** Shown once; null for a public preset (ChatGPT). */
|
|
222
|
+
clientSecret: z.string().nullable(),
|
|
223
|
+
/** <base>/api/mcp, the address the host is given. */
|
|
224
|
+
serverUrl: z.string(),
|
|
225
|
+
redirectUris: z.array(z.string()),
|
|
226
|
+
host: z.enum(AI_APP_HOSTS),
|
|
227
|
+
/** When the app is removed if nobody signs in through it. */
|
|
228
|
+
unusedUntil: z.string().datetime(),
|
|
229
|
+
});
|
|
230
|
+
export const AiAddedAppSchema = z.object({
|
|
231
|
+
id: z.string().uuid(),
|
|
232
|
+
name: z.string(),
|
|
233
|
+
host: z.enum(AI_APP_HOSTS),
|
|
234
|
+
redirectHosts: z.array(z.string()),
|
|
235
|
+
createdAt: z.string().datetime(),
|
|
236
|
+
/** True once a connection was made through it. */
|
|
237
|
+
connected: z.boolean(),
|
|
238
|
+
/** When it is removed if nobody signs in through it; null once connected. */
|
|
239
|
+
unusedUntil: z.string().datetime().nullable(),
|
|
240
|
+
ownerId: z.string().uuid(),
|
|
241
|
+
/** The adding person's name only, never the email. */
|
|
242
|
+
ownerName: z.string().nullable(),
|
|
243
|
+
own: z.boolean(),
|
|
244
|
+
});
|
|
245
|
+
export const AiAddedAppListQuerySchema = AiConnectionListQuerySchema;
|
|
246
|
+
export const AiAddedAppListResponseSchema = z.object({
|
|
247
|
+
items: z.array(AiAddedAppSchema),
|
|
248
|
+
nextCursor: z.string().uuid().nullable(),
|
|
249
|
+
});
|
|
250
|
+
export const RevokeAiAddedAppResponseSchema = z.object({ revokedConnections: z.number().int() });
|
|
251
|
+
/** 403 at the pending and approval routes: another person added this app, so only they connect through it. */
|
|
252
|
+
export const AiAppAddedByOtherSchema = z.object({ message: z.string(), code: z.literal(AI_APP_ADDED_BY_OTHER_CODE) });
|
|
253
|
+
/** 403 at the add route: the person already holds AI_ADDED_CLIENTS_PER_PERSON_MAX live added apps. */
|
|
254
|
+
export const AiAddedAppsFullSchema = z.object({ message: z.string(), code: z.literal(AI_ADDED_APPS_FULL_CODE) });
|
|
@@ -11,13 +11,14 @@ export declare const AUDIT_REQUEST_ID_MAX = 64;
|
|
|
11
11
|
export declare const AUDIT_SUMMARY_MAX_BYTES = 2048;
|
|
12
12
|
/** A month as an entry's `period` and the export's query spell it: `2026-10`. */
|
|
13
13
|
export declare const AUDIT_PERIOD_PATTERN: RegExp;
|
|
14
|
-
/** Who made the request: a signed-in person, an API key, the site's own server code (the in-process handle), a plugin acting as itself, or nobody verified. */
|
|
14
|
+
/** Who made the request: a signed-in person, an API key, the site's own server code (the in-process handle), a plugin acting as itself, a site visitor signed in to their own account (M35 U2a; never an admin), or nobody verified. */
|
|
15
15
|
export declare const AuditActorKindSchema: z.ZodEnum<{
|
|
16
16
|
key: "key";
|
|
17
17
|
plugin: "plugin";
|
|
18
18
|
session: "session";
|
|
19
19
|
site: "site";
|
|
20
20
|
anonymous: "anonymous";
|
|
21
|
+
visitor: "visitor";
|
|
21
22
|
}>;
|
|
22
23
|
export type AuditActorKind = z.infer<typeof AuditActorKindSchema>;
|
|
23
24
|
/** How a request ended, by its status: success below 400, refused from 400 to 499, failed from 500. */
|
|
@@ -41,6 +42,7 @@ export declare const AuditEntrySchema: z.ZodObject<{
|
|
|
41
42
|
session: "session";
|
|
42
43
|
site: "site";
|
|
43
44
|
anonymous: "anonymous";
|
|
45
|
+
visitor: "visitor";
|
|
44
46
|
}>;
|
|
45
47
|
userId: z.ZodNullable<z.ZodString>;
|
|
46
48
|
userName: z.ZodNullable<z.ZodString>;
|
|
@@ -73,6 +75,7 @@ export declare const AuditListQuerySchema: z.ZodObject<{
|
|
|
73
75
|
session: "session";
|
|
74
76
|
site: "site";
|
|
75
77
|
anonymous: "anonymous";
|
|
78
|
+
visitor: "visitor";
|
|
76
79
|
}>>;
|
|
77
80
|
userId: z.ZodOptional<z.ZodString>;
|
|
78
81
|
keyId: z.ZodOptional<z.ZodString>;
|
|
@@ -103,6 +106,7 @@ export declare const AuditListResponseSchema: z.ZodObject<{
|
|
|
103
106
|
session: "session";
|
|
104
107
|
site: "site";
|
|
105
108
|
anonymous: "anonymous";
|
|
109
|
+
visitor: "visitor";
|
|
106
110
|
}>;
|
|
107
111
|
userId: z.ZodNullable<z.ZodString>;
|
|
108
112
|
userName: z.ZodNullable<z.ZodString>;
|
|
@@ -18,8 +18,8 @@ export const AUDIT_REQUEST_ID_MAX = 64;
|
|
|
18
18
|
export const AUDIT_SUMMARY_MAX_BYTES = 2048;
|
|
19
19
|
/** A month as an entry's `period` and the export's query spell it: `2026-10`. */
|
|
20
20
|
export const AUDIT_PERIOD_PATTERN = /^\d{4}-(0[1-9]|1[0-2])$/;
|
|
21
|
-
/** Who made the request: a signed-in person, an API key, the site's own server code (the in-process handle), a plugin acting as itself, or nobody verified. */
|
|
22
|
-
export const AuditActorKindSchema = z.enum(["session", "key", "site", "anonymous", "plugin"]);
|
|
21
|
+
/** Who made the request: a signed-in person, an API key, the site's own server code (the in-process handle), a plugin acting as itself, a site visitor signed in to their own account (M35 U2a; never an admin), or nobody verified. */
|
|
22
|
+
export const AuditActorKindSchema = z.enum(["session", "key", "site", "anonymous", "plugin", "visitor"]);
|
|
23
23
|
/** How a request ended, by its status: success below 400, refused from 400 to 499, failed from 500. */
|
|
24
24
|
export const AuditOutcomeSchema = z.enum(["success", "refused", "failed"]);
|
|
25
25
|
/** One value of a summary: plain values and lists of strings only, so a request body can never ride along. */
|
|
@@ -1 +1,8 @@
|
|
|
1
|
+
export declare const TEXT_EDITOR_ID = "com.kardalum.text";
|
|
2
|
+
export declare const NUMBER_EDITOR_ID = "com.kardalum.number";
|
|
3
|
+
export declare const BOOLEAN_EDITOR_ID = "com.kardalum.boolean";
|
|
4
|
+
export declare const DATE_EDITOR_ID = "com.kardalum.date";
|
|
5
|
+
export declare const IMAGE_EDITOR_ID = "com.kardalum.image";
|
|
6
|
+
export declare const HTML_EDITOR_ID = "com.kardalum.html";
|
|
7
|
+
export declare const DATE_RANGE_EDITOR_ID = "com.kardalum.daterange";
|
|
1
8
|
export declare const BUILT_IN_EDITOR_IDS: readonly string[];
|
|
@@ -5,6 +5,17 @@
|
|
|
5
5
|
// built-ins.tsx registers.
|
|
6
6
|
// M32 J (J2): the list moved here from the SDK so the delivery checks can read it too (the rule
|
|
7
7
|
// for a plugin's declared data types names a built-in editor by its id). The SDK re-exports it.
|
|
8
|
+
// M35 C4a (evidence 121): a named constant for every built-in editor id the other files do not already name, so a
|
|
9
|
+
// reader of `fields` compares against a name and the SDK can export the whole set. The list below stays literal (no
|
|
10
|
+
// import of the other files' constants, which would make this file a cycle); built-in-editor-ids.test.ts pins the
|
|
11
|
+
// eighteen names against it.
|
|
12
|
+
export const TEXT_EDITOR_ID = "com.kardalum.text";
|
|
13
|
+
export const NUMBER_EDITOR_ID = "com.kardalum.number";
|
|
14
|
+
export const BOOLEAN_EDITOR_ID = "com.kardalum.boolean";
|
|
15
|
+
export const DATE_EDITOR_ID = "com.kardalum.date";
|
|
16
|
+
export const IMAGE_EDITOR_ID = "com.kardalum.image";
|
|
17
|
+
export const HTML_EDITOR_ID = "com.kardalum.html";
|
|
18
|
+
export const DATE_RANGE_EDITOR_ID = "com.kardalum.daterange";
|
|
8
19
|
export const BUILT_IN_EDITOR_IDS = [
|
|
9
20
|
"com.kardalum.text",
|
|
10
21
|
"com.kardalum.number",
|
|
@@ -3,7 +3,7 @@ import type { SlotLabelMap } from "./plugin-labels.js";
|
|
|
3
3
|
/** The core's notes. The list only grows: an id is persisted on a
|
|
4
4
|
* marketplace version row and read by three surfaces, so a removed or
|
|
5
5
|
* renamed id is a data change, not a cosmetic one. */
|
|
6
|
-
export declare const CAPABILITY_NOTES: readonly ["rawBody", "identifiesPeople", "durable", "methods", "leavesServer", "setsTitle", "embedFrom", "embedKindMap", "embedKindContent", "privacyNoticeAt", "addsScript"];
|
|
6
|
+
export declare const CAPABILITY_NOTES: readonly ["rawBody", "identifiesPeople", "durable", "methods", "leavesServer", "setsTitle", "embedFrom", "embedKindMap", "embedKindContent", "privacyNoticeAt", "addsScript", "inlineCode", "optionalUse", "carriesPersonalData", "richTextBlock", "richTextInline", "richTextWrapper", "richTextMark", "richTextButtons", "readsVisitorEmail", "richTextEditorial", "richTextPasteHosts", "richTextButtonView", "takesFiles"];
|
|
7
7
|
export type CapabilityNote = (typeof CAPABILITY_NOTES)[number];
|
|
8
8
|
/** The longest value a note may carry (a method list, an origin, a host). */
|
|
9
9
|
export declare const CAPABILITY_NOTE_VALUE_MAX = 200;
|
|
@@ -24,6 +24,24 @@ export const CAPABILITY_NOTES = [
|
|
|
24
24
|
"embedKindContent",
|
|
25
25
|
"privacyNoticeAt",
|
|
26
26
|
"addsScript",
|
|
27
|
+
"inlineCode",
|
|
28
|
+
// M35 B1a (W16): a use the plugin works without; a contract whose answers carry personal data.
|
|
29
|
+
"optionalUse",
|
|
30
|
+
"carriesPersonalData",
|
|
31
|
+
// M35 C4a (W9): which shape a rich text item has, and how many toolbar buttons a plugin adds.
|
|
32
|
+
"richTextBlock",
|
|
33
|
+
"richTextInline",
|
|
34
|
+
"richTextWrapper",
|
|
35
|
+
"richTextMark",
|
|
36
|
+
"richTextButtons",
|
|
37
|
+
// M35 U2b: visitorIdentity with email: true.
|
|
38
|
+
"readsVisitorEmail",
|
|
39
|
+
// M35 C4b: an editorial item, a node made from pasted addresses (the hosts), a button that opens a view (its action).
|
|
40
|
+
"richTextEditorial",
|
|
41
|
+
"richTextPasteHosts",
|
|
42
|
+
"richTextButtonView",
|
|
43
|
+
// M35 B3 (W17): a route that takes files; the value is the declared types.
|
|
44
|
+
"takesFiles",
|
|
27
45
|
];
|
|
28
46
|
/** The longest value a note may carry (a method list, an origin, a host). */
|
|
29
47
|
export const CAPABILITY_NOTE_VALUE_MAX = 200;
|
|
@@ -50,6 +50,9 @@ export declare const ContentListQuerySchema: z.ZodObject<{
|
|
|
50
50
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
51
51
|
name: z.ZodOptional<z.ZodString>;
|
|
52
52
|
fields: z.ZodOptional<z.ZodString>;
|
|
53
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
54
|
+
filterValue: z.ZodOptional<z.ZodString>;
|
|
55
|
+
culture: z.ZodOptional<z.ZodString>;
|
|
53
56
|
}, z.core.$strip>;
|
|
54
57
|
export type ContentListQuery = z.infer<typeof ContentListQuerySchema>;
|
|
55
58
|
export declare const ContentListRowSchema: z.ZodObject<{
|
|
@@ -63,6 +66,9 @@ export declare const ContentListRowSchema: z.ZodObject<{
|
|
|
63
66
|
}>;
|
|
64
67
|
updatedAt: z.ZodString;
|
|
65
68
|
publishedAt: z.ZodNullable<z.ZodString>;
|
|
69
|
+
path: z.ZodString;
|
|
70
|
+
documentTypeId: z.ZodString;
|
|
71
|
+
childCount: z.ZodNumber;
|
|
66
72
|
fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
67
73
|
access: z.ZodObject<{
|
|
68
74
|
read: z.ZodBoolean;
|
|
@@ -114,6 +120,9 @@ export declare const ContentListResponseSchema: z.ZodObject<{
|
|
|
114
120
|
}>;
|
|
115
121
|
updatedAt: z.ZodString;
|
|
116
122
|
publishedAt: z.ZodNullable<z.ZodString>;
|
|
123
|
+
path: z.ZodString;
|
|
124
|
+
documentTypeId: z.ZodString;
|
|
125
|
+
childCount: z.ZodNumber;
|
|
117
126
|
fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
118
127
|
access: z.ZodObject<{
|
|
119
128
|
read: z.ZodBoolean;
|
|
@@ -153,8 +162,70 @@ export declare const ContentListResponseSchema: z.ZodObject<{
|
|
|
153
162
|
}, z.core.$strip>;
|
|
154
163
|
}, z.core.$strip>>;
|
|
155
164
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
165
|
+
scanCapped: z.ZodOptional<z.ZodBoolean>;
|
|
156
166
|
}, z.core.$strip>;
|
|
157
167
|
export type ContentListResponse = z.infer<typeof ContentListResponseSchema>;
|
|
168
|
+
/** M35 C2: the list route's 403. `ContentForbiddenSchema` with the filter's coded refusal between
|
|
169
|
+
* the node refusal and the plain error: a union serialises a body as its first matching member, and
|
|
170
|
+
* the plain `ApiErrorSchema` would strip `code`. */
|
|
171
|
+
export declare const ContentListForbiddenSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
172
|
+
message: z.ZodString;
|
|
173
|
+
action: z.ZodEnum<{
|
|
174
|
+
"content.read": "content.read";
|
|
175
|
+
"content.create": "content.create";
|
|
176
|
+
"content.update": "content.update";
|
|
177
|
+
"content.publish": "content.publish";
|
|
178
|
+
"content.delete": "content.delete";
|
|
179
|
+
}>;
|
|
180
|
+
access: z.ZodObject<{
|
|
181
|
+
allowed: z.ZodBoolean;
|
|
182
|
+
reason: z.ZodEnum<{
|
|
183
|
+
admin: "admin";
|
|
184
|
+
"role-lacks-action": "role-lacks-action";
|
|
185
|
+
unrestricted: "unrestricted";
|
|
186
|
+
reopened: "reopened";
|
|
187
|
+
granted: "granted";
|
|
188
|
+
"not-granted": "not-granted";
|
|
189
|
+
}>;
|
|
190
|
+
decidedAt: z.ZodNullable<z.ZodObject<{
|
|
191
|
+
nodeId: z.ZodString;
|
|
192
|
+
path: z.ZodNullable<z.ZodString>;
|
|
193
|
+
name: z.ZodNullable<z.ZodString>;
|
|
194
|
+
mode: z.ZodEnum<{
|
|
195
|
+
restricted: "restricted";
|
|
196
|
+
open: "open";
|
|
197
|
+
}>;
|
|
198
|
+
grants: z.ZodArray<z.ZodObject<{
|
|
199
|
+
subjectKind: z.ZodEnum<{
|
|
200
|
+
role: "role";
|
|
201
|
+
user: "user";
|
|
202
|
+
}>;
|
|
203
|
+
subjectId: z.ZodString;
|
|
204
|
+
label: z.ZodNullable<z.ZodString>;
|
|
205
|
+
}, z.core.$strip>>;
|
|
206
|
+
}, z.core.$strip>>;
|
|
207
|
+
}, z.core.$strip>;
|
|
208
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
209
|
+
message: z.ZodString;
|
|
210
|
+
code: z.ZodEnum<{
|
|
211
|
+
list_filter_unavailable: "list_filter_unavailable";
|
|
212
|
+
list_filter_refused: "list_filter_refused";
|
|
213
|
+
list_filter_unknown: "list_filter_unknown";
|
|
214
|
+
}>;
|
|
215
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
216
|
+
message: z.ZodString;
|
|
217
|
+
}, z.core.$strip>]>;
|
|
218
|
+
/** M35 C2: the list route's 404: an unknown filter (coded) or a missing parent (plain), coded first. */
|
|
219
|
+
export declare const ContentListNotFoundSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
220
|
+
message: z.ZodString;
|
|
221
|
+
code: z.ZodEnum<{
|
|
222
|
+
list_filter_unavailable: "list_filter_unavailable";
|
|
223
|
+
list_filter_refused: "list_filter_refused";
|
|
224
|
+
list_filter_unknown: "list_filter_unknown";
|
|
225
|
+
}>;
|
|
226
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
227
|
+
message: z.ZodString;
|
|
228
|
+
}, z.core.$strip>]>;
|
|
158
229
|
export declare const CONTENT_LIST_DATA_TYPE_CONFIG: DataTypeConfig;
|
|
159
230
|
export declare const CONTENT_LIST_LIMIT_MAX = 50;
|
|
160
231
|
export declare const CONTENT_LIST_LIMIT_DEFAULT = 10;
|
|
@@ -165,6 +236,8 @@ export declare const CONTENT_LIST_MARKER_MAX = 1024;
|
|
|
165
236
|
/** A field sort runs only when its scope holds at most this many published pages (D7). */
|
|
166
237
|
export declare const CONTENT_LIST_FIELD_SORT_MAX = 5000;
|
|
167
238
|
export declare const CONTENT_LIST_FIELD_ID_MAX = 64;
|
|
239
|
+
export declare const PUBLISHED_QUERY_VALUE_MAX = 200;
|
|
240
|
+
export declare const PUBLISHED_QUERY_IN_MAX = 20;
|
|
168
241
|
export declare const TEMPLATE_SEARCH_TEXT_MAX = 200;
|
|
169
242
|
export declare const TEMPLATE_SEARCH_CURSOR_MAX = 512;
|
|
170
243
|
export declare const TEMPLATE_SEARCH_LIMIT_MAX = 20;
|
|
@@ -178,6 +251,13 @@ export declare const ContentListArgsSchema: z.ZodObject<{
|
|
|
178
251
|
sort: z.ZodOptional<z.ZodString>;
|
|
179
252
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
180
253
|
paged: z.ZodOptional<z.ZodBoolean>;
|
|
254
|
+
under: z.ZodOptional<z.ZodUnknown>;
|
|
255
|
+
where: z.ZodOptional<z.ZodString>;
|
|
256
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
257
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
258
|
+
has: z.ZodOptional<z.ZodUnknown>;
|
|
259
|
+
gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
260
|
+
lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
181
261
|
}, z.core.$strict>;
|
|
182
262
|
export type ContentListArgs = z.infer<typeof ContentListArgsSchema>;
|
|
183
263
|
export type ContentListDirection = "asc" | "desc";
|