@kardalum/plugin-sdk 0.17.0 → 0.18.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 +67 -0
- package/README.md +4 -3
- package/dist/assets/asset-picker.d.ts +11 -0
- package/dist/assets/asset-picker.js +109 -0
- package/dist/assets/asset-tree.d.ts +30 -0
- package/dist/assets/asset-tree.js +150 -0
- package/dist/built-in-editor-ids.d.ts +1 -0
- package/dist/built-in-editor-ids.js +20 -0
- package/dist/built-in-settings-schemas.d.ts +2 -0
- package/dist/built-in-settings-schemas.js +27 -0
- package/dist/built-in-value-schemas.js +3 -0
- package/dist/built-ins.js +10 -1
- package/dist/capabilities.js +5 -0
- package/dist/datatype-validation.js +18 -4
- package/dist/datatypes-entry.d.ts +1 -0
- package/dist/datatypes-entry.js +1 -0
- package/dist/entitlement-entry.d.ts +3 -2
- package/dist/entitlement-entry.js +13 -1
- package/dist/entitlement-gate.d.ts +18 -0
- package/dist/entitlement-gate.js +95 -21
- package/dist/entitlement-plan.d.ts +21 -0
- package/dist/entitlement-plan.js +26 -0
- package/dist/entitlement-types.d.ts +21 -4
- package/dist/entitlement.d.ts +29 -1
- package/dist/entitlement.js +39 -0
- package/dist/grid-arrow-step.d.ts +7 -0
- package/dist/grid-arrow-step.js +20 -0
- package/dist/index.d.ts +6 -1
- package/dist/index.js +7 -12
- package/dist/manifest-entry.d.ts +4 -0
- package/dist/manifest-entry.js +4 -0
- package/dist/manifest-schema.d.ts +5 -1
- package/dist/manifest-schema.js +7 -1
- package/dist/manifest.d.ts +21 -1
- package/dist/media/media-picker.js +32 -32
- package/dist/notify.d.ts +17 -0
- package/dist/notify.js +17 -0
- package/dist/richtext/block-panel.js +17 -18
- package/dist/richtext/extensions.js +10 -1
- package/dist/richtext/insert-menu.js +1 -1
- package/dist/richtext/kardalum-block.js +17 -17
- package/dist/richtext/style-listbox.js +1 -1
- package/dist/richtext-html-entry.d.ts +35 -0
- package/dist/richtext-html-entry.js +73 -0
- package/dist/structured-storage-types.d.ts +11 -0
- package/dist/tailwind.js +10 -3
- package/dist/tokens/tailwind-theme.css +176 -0
- package/dist/tokens/tokens.css +1 -0
- package/dist/tokens/tokens.json +2 -1
- package/dist/vendor-check.d.ts +39 -0
- package/dist/vendor-check.js +79 -0
- package/dist/vendor-entry.d.ts +3 -0
- package/dist/vendor-entry.js +9 -0
- package/dist/vendor-service.d.ts +20 -0
- package/dist/vendor-service.js +20 -0
- package/dist/views/asset-view.d.ts +6 -0
- package/dist/views/asset-view.js +55 -0
- package/dist/views/content-list-settings-view.js +1 -1
- package/dist/views/content-list-view.js +1 -1
- package/dist/views/html-code-editor.js +0 -1
- package/dist/views/image-view.js +1 -1
- package/dist/views/rich-text-view.js +30 -30
- package/node_modules/@kardalum/api-schemas/README.md +1 -1
- package/node_modules/@kardalum/api-schemas/dist/asset-api.schema.js +16 -14
- package/node_modules/@kardalum/api-schemas/dist/asset-field.schema.d.ts +21 -0
- package/node_modules/@kardalum/api-schemas/dist/asset-field.schema.js +42 -0
- package/node_modules/@kardalum/api-schemas/dist/asset.schema.d.ts +1 -0
- package/node_modules/@kardalum/api-schemas/dist/asset.schema.js +10 -3
- package/node_modules/@kardalum/api-schemas/dist/checkout-shown.schema.d.ts +36 -0
- package/node_modules/@kardalum/api-schemas/dist/checkout-shown.schema.js +46 -0
- package/node_modules/@kardalum/api-schemas/dist/content-api.schema.d.ts +12 -0
- package/node_modules/@kardalum/api-schemas/dist/content-api.schema.js +16 -1
- package/node_modules/@kardalum/api-schemas/dist/core-actions.d.ts +12 -6
- package/node_modules/@kardalum/api-schemas/dist/core-actions.js +11 -6
- package/node_modules/@kardalum/api-schemas/dist/data-type-api.schema.d.ts +50 -0
- package/node_modules/@kardalum/api-schemas/dist/data-type-api.schema.js +25 -5
- package/node_modules/@kardalum/api-schemas/dist/data-type-config.schema.d.ts +1 -0
- package/node_modules/@kardalum/api-schemas/dist/data-type-config.schema.js +3 -0
- package/node_modules/@kardalum/api-schemas/dist/data-type-cursor.d.ts +11 -0
- package/node_modules/@kardalum/api-schemas/dist/data-type-cursor.js +28 -0
- package/node_modules/@kardalum/api-schemas/dist/document-type-api.schema.js +42 -2
- package/node_modules/@kardalum/api-schemas/dist/home.schema.d.ts +130 -0
- package/node_modules/@kardalum/api-schemas/dist/home.schema.js +87 -0
- package/node_modules/@kardalum/api-schemas/dist/index.d.ts +41 -15
- package/node_modules/@kardalum/api-schemas/dist/index.js +30 -10
- package/node_modules/@kardalum/api-schemas/dist/kardalum-latest.schema.d.ts +7 -0
- package/node_modules/@kardalum/api-schemas/dist/kardalum-latest.schema.js +9 -0
- package/node_modules/@kardalum/api-schemas/dist/marketplace-listing-api.schema.d.ts +115 -1
- package/node_modules/@kardalum/api-schemas/dist/marketplace-listing-api.schema.js +102 -1
- package/node_modules/@kardalum/api-schemas/dist/marketplace-package-api.schema.d.ts +17 -0
- package/node_modules/@kardalum/api-schemas/dist/marketplace-package-api.schema.js +16 -0
- package/node_modules/@kardalum/api-schemas/dist/media-api.schema.d.ts +26 -0
- package/node_modules/@kardalum/api-schemas/dist/media-api.schema.js +6 -0
- package/node_modules/@kardalum/api-schemas/dist/media-reference-use.d.ts +10 -0
- package/node_modules/@kardalum/api-schemas/dist/media-reference-use.js +4 -4
- package/node_modules/@kardalum/api-schemas/dist/news.schema.d.ts +93 -0
- package/node_modules/@kardalum/api-schemas/dist/news.schema.js +86 -0
- package/node_modules/@kardalum/api-schemas/dist/node-access.schema.js +13 -0
- package/node_modules/@kardalum/api-schemas/dist/notification.schema.d.ts +410 -0
- package/node_modules/@kardalum/api-schemas/dist/notification.schema.js +193 -0
- package/node_modules/@kardalum/api-schemas/dist/plan-editor.schema.d.ts +86 -0
- package/node_modules/@kardalum/api-schemas/dist/plan-editor.schema.js +92 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs-api.schema.d.ts +7 -2
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs-api.schema.js +7 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-management-api.schema.d.ts +227 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-management-api.schema.js +157 -31
- package/node_modules/@kardalum/api-schemas/dist/plugin-read-only.schema.d.ts +19 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-read-only.schema.js +33 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-template-payload.d.ts +10 -1
- package/node_modules/@kardalum/api-schemas/dist/plugin-template-payload.js +24 -4
- package/node_modules/@kardalum/api-schemas/dist/public-api.schema.d.ts +5 -0
- package/node_modules/@kardalum/api-schemas/dist/public-api.schema.js +23 -20
- package/node_modules/@kardalum/api-schemas/dist/revenue-view.schema.d.ts +83 -0
- package/node_modules/@kardalum/api-schemas/dist/revenue-view.schema.js +73 -0
- package/node_modules/@kardalum/api-schemas/dist/sites.schema.d.ts +14 -0
- package/node_modules/@kardalum/api-schemas/dist/sites.schema.js +7 -0
- package/node_modules/@kardalum/api-schemas/dist/snapshot-api.schema.d.ts +3 -3
- package/node_modules/@kardalum/api-schemas/dist/snapshot.schema.d.ts +1 -1
- package/node_modules/@kardalum/api-schemas/dist/template-api.schema.d.ts +10 -0
- package/node_modules/@kardalum/api-schemas/dist/template-api.schema.js +26 -11
- package/node_modules/@kardalum/api-schemas/dist/template.schema.d.ts +7 -0
- package/node_modules/@kardalum/api-schemas/dist/template.schema.js +22 -10
- package/node_modules/@kardalum/api-schemas/dist/user-api.schema.d.ts +12 -0
- package/node_modules/@kardalum/api-schemas/dist/user-api.schema.js +5 -0
- package/node_modules/@kardalum/api-schemas/dist/uuid.schema.d.ts +2 -0
- package/node_modules/@kardalum/api-schemas/dist/uuid.schema.js +4 -0
- package/node_modules/@kardalum/api-schemas/dist/vendor-service.schema.d.ts +88 -0
- package/node_modules/@kardalum/api-schemas/dist/vendor-service.schema.js +100 -0
- package/node_modules/@kardalum/api-schemas/dist/whoami-api.schema.d.ts +13 -0
- package/node_modules/@kardalum/api-schemas/dist/whoami-api.schema.js +5 -0
- package/node_modules/@kardalum/design-tokens/README.md +1 -1
- package/node_modules/@kardalum/design-tokens/dist/build-theme-css.d.ts +16 -0
- package/node_modules/@kardalum/design-tokens/dist/build-theme-css.js +76 -0
- package/node_modules/@kardalum/design-tokens/dist/generate.js +4 -1
- package/node_modules/@kardalum/design-tokens/dist/tailwind-theme.css +176 -0
- package/node_modules/@kardalum/design-tokens/dist/tailwind-theme.d.ts +1 -1
- package/node_modules/@kardalum/design-tokens/dist/tokens.css +1 -0
- package/node_modules/@kardalum/design-tokens/dist/tokens.js +1 -0
- package/node_modules/@kardalum/design-tokens/dist/tokens.json +2 -1
- package/node_modules/@kardalum/design-tokens/dist/types.d.ts +1 -0
- package/node_modules/@kardalum/design-tokens/package.json +6 -3
- package/node_modules/@kardalum/plugin-package/README.md +1 -1
- package/node_modules/@kardalum/plugin-package/dist/capabilities.d.ts +4 -4
- package/node_modules/@kardalum/plugin-package/dist/capabilities.js +54 -6
- package/node_modules/@kardalum/plugin-package/dist/delivery/bundle.js +1 -1
- package/node_modules/@kardalum/plugin-package/dist/delivery/contributions.d.ts +3 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/contributions.js +18 -1
- package/node_modules/@kardalum/plugin-package/dist/delivery/limits.d.ts +1 -1
- package/node_modules/@kardalum/plugin-package/dist/delivery/limits.js +1 -1
- package/node_modules/@kardalum/plugin-package/dist/delivery/registry.js +8 -4
- package/node_modules/@kardalum/plugin-package/dist/delivery/templates.d.ts +1 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/templates.js +58 -1
- package/node_modules/@kardalum/plugin-package/dist/extract.js +1 -1
- package/node_modules/@kardalum/plugin-package/dist/index.d.ts +4 -2
- package/node_modules/@kardalum/plugin-package/dist/index.js +3 -1
- package/node_modules/@kardalum/plugin-package/dist/license-verdict.d.ts +56 -19
- package/node_modules/@kardalum/plugin-package/dist/license-verdict.js +119 -25
- package/node_modules/@kardalum/plugin-package/dist/vendor-token.d.ts +24 -0
- package/node_modules/@kardalum/plugin-package/dist/vendor-token.js +118 -0
- package/node_modules/@kardalum/ui/README.md +1 -1
- package/node_modules/@kardalum/ui/dist/components/button.js +1 -1
- package/node_modules/@kardalum/ui/dist/components/checkbox.js +1 -1
- package/node_modules/@kardalum/ui/dist/components/dialog.js +5 -2
- package/node_modules/@kardalum/ui/dist/components/dropdown-menu.js +2 -2
- package/node_modules/@kardalum/ui/dist/components/input.js +1 -1
- package/node_modules/@kardalum/ui/dist/components/popover-panel.d.ts +4 -0
- package/node_modules/@kardalum/ui/dist/components/popover-panel.js +13 -0
- package/node_modules/@kardalum/ui/dist/components/sheet.js +5 -4
- package/node_modules/@kardalum/ui/dist/components/switch.js +1 -1
- package/node_modules/@kardalum/ui/dist/components/tab-strip.js +1 -1
- package/node_modules/@kardalum/ui/dist/components/toast.js +1 -1
- package/node_modules/@kardalum/ui/dist/index.d.ts +1 -0
- package/node_modules/@kardalum/ui/dist/index.js +1 -0
- package/package.json +17 -4
|
@@ -28,6 +28,7 @@ export type { ContentVersion } from "./content-version.schema.js";
|
|
|
28
28
|
export { mediaReferencesIn } from "./media-reference.js";
|
|
29
29
|
export type { MediaReference } from "./media-reference.js";
|
|
30
30
|
export { mediaReferenceCursor, decodeMediaReferenceCursor } from "./media-reference-use.js";
|
|
31
|
+
export { DATA_TYPE_CURSOR_MAX, dataTypeCursor, decodeDataTypeCursor } from "./data-type-cursor.js";
|
|
31
32
|
export type { MediaReferenceUse, ReferenceCounts } from "./media-reference-use.js";
|
|
32
33
|
export { MediaReferenceCountsSchema, MediaReferenceUseSchema, MediaReferenceListQuerySchema, MediaReferenceListResponseSchema, MediaTrashReferenceSummarySchema, } from "./media-reference-api.schema.js";
|
|
33
34
|
export type { MediaReferenceCounts, MediaReferenceListQuery, MediaReferenceListResponse, MediaTrashReferenceSummary, } from "./media-reference-api.schema.js";
|
|
@@ -43,11 +44,11 @@ export { FieldValidationSchema, FieldDefinitionSchema, TabDefinitionSchema, Tree
|
|
|
43
44
|
export type { FieldValidation, FieldDefinition, TabDefinition, TreeRules, DocumentTypeDefinition, } from "./document-type.schema.js";
|
|
44
45
|
export { CreateDocumentTypeRequestSchema, UpdateDocumentTypeRequestSchema, CreateDocumentTypeResponseSchema, DocumentTypeListQuerySchema, DocumentTypeListResponseSchema, DeleteDocumentTypeResponseSchema, } from "./document-type-api.schema.js";
|
|
45
46
|
export type { CreateDocumentTypeRequest, CreateDocumentTypeRequestInput, UpdateDocumentTypeRequest, UpdateDocumentTypeRequestInput, CreateDocumentTypeResponse, DocumentTypeListQuery, DocumentTypeListResponse, DeleteDocumentTypeResponse, } from "./document-type-api.schema.js";
|
|
46
|
-
export { TEMPLATE_ALIAS_MAX_SEGMENTS, TemplateAliasSchema, TemplateDefinitionSchema, TemplateKindSchema, TemplateVersionMetaSchema, TemplateVersionSchema, TemplateVersionSourceSchema, TrashedTemplateSchema, } from "./template.schema.js";
|
|
47
|
+
export { TEMPLATE_ALIAS_MAX_SEGMENTS, TEMPLATE_KIND_FOLDERS, TemplateAliasSchema, TemplateDefinitionSchema, templateFilePath, TemplateKindSchema, TemplateVersionMetaSchema, TemplateVersionSchema, TemplateVersionSourceSchema, TrashedTemplateSchema, } from "./template.schema.js";
|
|
47
48
|
export type { TemplateDefinition, TemplateKind, TemplateVersion, TemplateVersionMeta, TemplateVersionSource, TrashedTemplate, } from "./template.schema.js";
|
|
48
49
|
export { CreateTemplateRequestSchema, CreateTemplateResponseSchema, DeleteTemplateQuerySchema, MAX_TEMPLATE_CONTENT_BYTES, SetDefaultTemplateRequestSchema, TemplateConflictResponseSchema, TemplateDeleteBlockedResponseSchema, TemplateListItemSchema, TemplateListQuerySchema, TemplateListResponseSchema, TemplateResponseSchema, RestoreTemplateResponseSchema, TemplateSyncReportSchema, TemplateTrashListQuerySchema, TemplateTrashListResponseSchema, TemplateVersionListResponseSchema, TemplateVersionParamsSchema, TemplateVersionResponseSchema, UpdateTemplateRequestSchema, } from "./template-api.schema.js";
|
|
49
50
|
export type { CreateTemplateRequest, CreateTemplateRequestInput, CreateTemplateResponse, DeleteTemplateQuery, SetDefaultTemplateRequest, TemplateConflictResponse, TemplateDeleteBlockedResponse, TemplateListItem, TemplateListQuery, TemplateListResponse, TemplateResponse, RestoreTemplateResponse, TemplateSyncReport, TemplateTrashListQuery, TemplateTrashListResponse, TemplateVersionListResponse, TemplateVersionParams, TemplateVersionResponse, UpdateTemplateRequest, UpdateTemplateRequestInput, } from "./template-api.schema.js";
|
|
50
|
-
export { AssetDefinitionSchema, AssetPathSchema, AssetVersionMetaSchema, AssetVersionSchema, MAX_ASSET_CONTENT_BYTES, TrashedAssetSchema } from "./asset.schema.js";
|
|
51
|
+
export { AssetDefinitionSchema, AssetPathSchema, AssetRoutePathSchema, AssetVersionMetaSchema, AssetVersionSchema, MAX_ASSET_CONTENT_BYTES, TrashedAssetSchema } from "./asset.schema.js";
|
|
51
52
|
export type { AssetDefinition, AssetVersion, AssetVersionMeta, TrashedAsset } from "./asset.schema.js";
|
|
52
53
|
export { ASSET_TREE_MAX_DEPTH, ASSET_TREE_MAX_ENTRIES, AssetTreeEntrySchema, AssetTreeSkipSchema, AssetTreeResponseSchema, AssetContentResponseSchema, WriteAssetContentRequestSchema, CreateAssetFolderRequestSchema, RenameAssetRequestSchema, DeleteAssetQuerySchema, AssetDeleteBlockedResponseSchema, ZipExtractReportSchema, AssetSyncReportSchema, AssetVersionParamsSchema, AssetVersionListQuerySchema, AssetVersionQuerySchema, AssetVersionListResponseSchema, AssetVersionResponseSchema, MakeAssetVersionCurrentRequestSchema, RestoreAssetRequestSchema, RestoreAssetResponseSchema, AssetTrashListQuerySchema, AssetTrashListResponseSchema, } from "./asset-api.schema.js";
|
|
53
54
|
export type { AssetTreeEntry, AssetTreeSkip, AssetTreeResponse, AssetContentResponse, WriteAssetContentRequest, CreateAssetFolderRequest, RenameAssetRequest, DeleteAssetQuery, AssetDeleteBlockedResponse, ZipExtractReport, AssetSyncReport, AssetVersionParams, AssetVersionListQuery, AssetVersionQuery, AssetVersionListResponse, AssetVersionResponse, MakeAssetVersionCurrentRequest, RestoreAssetRequest, RestoreAssetResponse, AssetTrashListQuery, AssetTrashListResponse, } from "./asset-api.schema.js";
|
|
@@ -55,8 +56,8 @@ export { RenderSettingsSchema, UpdateRenderSettingsRequestSchema } from "./rende
|
|
|
55
56
|
export type { RenderSettings, UpdateRenderSettingsRequest } from "./render-settings-api.schema.js";
|
|
56
57
|
export { MediaFileSchema, MediaVisibilitySchema, MediaFolderSchema, MediaVersionSchema, MEDIA_PRIVATE_ALIAS, IMAGE_MEDIA_TYPE_ID, FILE_MEDIA_TYPE_ID, IMAGE_FILE_DATA_TYPE_ID, ANY_FILE_DATA_TYPE_ID, } from "./media.schema.js";
|
|
57
58
|
export type { MediaFile, MediaVisibility, MediaFolder, MediaVersion } from "./media.schema.js";
|
|
58
|
-
export { MediaFileResponseSchema, MediaDeleteResponseSchema, MediaLinkResponseSchema, MediaListQuerySchema, MediaListResponseSchema, MediaVersionListResponseSchema, MediaRenditionListResponseSchema, UpdateMediaRequestSchema, CreateMediaFolderRequestSchema, UpdateMediaFolderRequestSchema, MediaFolderListResponseSchema, MEDIA_NESTED_LIST_PAGE_MAX, MediaNestedListQuerySchema, MediaTrashListQuerySchema, MediaTrashListResponseSchema, MediaEmptyTrashResponseSchema, MediaReadQuerySchema, } from "./media-api.schema.js";
|
|
59
|
-
export type { MediaFileResponse, MediaDeleteResponse, MediaLinkResponse, MediaListQuery, MediaListResponse, MediaVersionListResponse, MediaRenditionListResponse, UpdateMediaRequest, CreateMediaFolderRequest, UpdateMediaFolderRequest, MediaFolderListResponse, MediaNestedListQuery, MediaTrashListQuery, MediaTrashListResponse, MediaEmptyTrashResponse, MediaReadQuery, } from "./media-api.schema.js";
|
|
59
|
+
export { MediaFileResponseSchema, MediaItemSaveResponseSchema, MediaDeleteResponseSchema, MediaLinkResponseSchema, MediaListQuerySchema, MediaListResponseSchema, MediaVersionListResponseSchema, MediaRenditionListResponseSchema, UpdateMediaRequestSchema, CreateMediaFolderRequestSchema, UpdateMediaFolderRequestSchema, MediaFolderListResponseSchema, MEDIA_NESTED_LIST_PAGE_MAX, MediaNestedListQuerySchema, MediaTrashListQuerySchema, MediaTrashListResponseSchema, MediaEmptyTrashResponseSchema, MediaReadQuerySchema, } from "./media-api.schema.js";
|
|
60
|
+
export type { MediaFileResponse, MediaItemSaveResponse, MediaDeleteResponse, MediaLinkResponse, MediaListQuery, MediaListResponse, MediaVersionListResponse, MediaRenditionListResponse, UpdateMediaRequest, CreateMediaFolderRequest, UpdateMediaFolderRequest, MediaFolderListResponse, MediaNestedListQuery, MediaTrashListQuery, MediaTrashListResponse, MediaEmptyTrashResponse, MediaReadQuery, } from "./media-api.schema.js";
|
|
60
61
|
export { CROP_EDITOR_ID, THUMBNAIL_EDITOR_ID, CROP_DATA_TYPE_ID, THUMBNAIL_DATA_TYPE_ID, CropRectSchema, CropSettingsSchema, ThumbnailSettingsSchema, ImageSettingsSchema, MediaRenditionSchema, renditionName, renditionShape, renditionFilename, } from "./media-rendition.schema.js";
|
|
61
62
|
export type { CropRect, CropSettings, ThumbnailSettings, ImageSettings, MediaRendition, } from "./media-rendition.schema.js";
|
|
62
63
|
export { HealthCheckSchema } from "./health.schema.js";
|
|
@@ -69,30 +70,35 @@ export { DEFAULT_DOCS_LANGUAGE, DOCS_LANGUAGE_MAX_LENGTH, DocsLanguageSchema, PL
|
|
|
69
70
|
export type { LocaleFileComparison, ParsedPluginLocaleFile, PluginLanguages, PluginLocaleFile } from "./plugin-locales.js";
|
|
70
71
|
export { CreateSnapshotRequestSchema, SnapshotResponseSchema, SnapshotListQuerySchema, SnapshotListResponseSchema, RestoreSnapshotResponseSchema, RestoreSnapshotRequestSchema, RestoreSnapshotConfirmationSchema, SnapshotParamsSchema, } from "./snapshot-api.schema.js";
|
|
71
72
|
export type { CreateSnapshotRequest, SnapshotResponse, SnapshotListQuery, SnapshotListResponse, RestoreSnapshotResponse, RestoreSnapshotRequest, RestoreSnapshotConfirmation, SnapshotParams, } from "./snapshot-api.schema.js";
|
|
72
|
-
export { DataTypeConfigSchema, BUILT_IN_DATA_TYPE_CONFIGS } from "./data-type-config.schema.js";
|
|
73
|
+
export { DataTypeConfigSchema, BUILT_IN_DATA_TYPE_CONFIGS, RICHTEXT_EDITOR_ID } from "./data-type-config.schema.js";
|
|
73
74
|
export type { DataTypeConfig } from "./data-type-config.schema.js";
|
|
75
|
+
export { ASSET_ACCEPTS, ASSET_DATA_TYPE_CONFIG, ASSET_DATA_TYPE_ID, ASSET_EDITOR_ID, ASSET_IMAGE_EXTENSIONS, AssetFieldSettingsSchema, assetExtension, assetPathAccepted, assetPathIsImage, } from "./asset-field.schema.js";
|
|
76
|
+
export type { AssetAccepts, AssetFieldSettings } from "./asset-field.schema.js";
|
|
77
|
+
export { UuidStringSchema } from "./uuid.schema.js";
|
|
74
78
|
export { CONTENT_TREE_HINT_THRESHOLD, CONTENT_LIST_EDITOR_ID, CONTENT_LIST_PROPERTIES, ContentListColumnSchema, ContentListSettingsSchema, CONTENT_LIST_DEFAULT_SETTINGS, ContentListQuerySchema, ContentListRowSchema, ContentListResponseSchema, CONTENT_LIST_DATA_TYPE_CONFIG, FILE_UPLOAD_EDITOR_ID, FileUploadSettingsSchema, VALUELESS_EDITOR_IDS, } from "./content-list.schema.js";
|
|
75
79
|
export type { ContentListColumn, ContentListSettings, ContentListQuery, ContentListRow, ContentListResponse, FileUploadSettings, } from "./content-list.schema.js";
|
|
76
|
-
export { CreateDataTypeRequestSchema, UpdateDataTypeRequestSchema, DataTypeResponseSchema, DataTypeListQuerySchema, DataTypeListResponseSchema, } from "./data-type-api.schema.js";
|
|
77
|
-
export type { CreateDataTypeRequest, CreateDataTypeRequestInput, UpdateDataTypeRequest, DataTypeResponse, DataTypeListQuery, DataTypeListResponse, } from "./data-type-api.schema.js";
|
|
80
|
+
export { CreateDataTypeRequestSchema, UpdateDataTypeRequestSchema, DataTypeResponseSchema, DataTypeListQuerySchema, DataTypeListResponseSchema, DataTypeEditorPluginSchema, DataTypeListItemSchema, } from "./data-type-api.schema.js";
|
|
81
|
+
export type { CreateDataTypeRequest, CreateDataTypeRequestInput, UpdateDataTypeRequest, DataTypeResponse, DataTypeListQuery, DataTypeListResponse, DataTypeEditorPlugin, DataTypeListItem, } from "./data-type-api.schema.js";
|
|
78
82
|
export { PluginStorageParamsSchema, SetPluginFieldValueRequestSchema, PluginFieldValueResponseSchema, } from "./plugin-storage-api.schema.js";
|
|
79
83
|
export type { PluginStorageParams, SetPluginFieldValueRequest, PluginFieldValueResponse, } from "./plugin-storage-api.schema.js";
|
|
80
84
|
export { PluginSchema, PluginListQuerySchema, PluginListResponseSchema } from "./plugin-registry-api.schema.js";
|
|
81
85
|
export type { Plugin, PluginListQuery, PluginListResponse } from "./plugin-registry-api.schema.js";
|
|
82
|
-
export { ManagedPluginSchema, PluginTamperKindSchema, ManagedPluginRoleOfferSchema, ManagedPluginListQuerySchema, ManagedPluginListResponseSchema, PluginIdParamsSchema, UninstallPluginBodySchema, UninstallConfirmationRequiredSchema, BundleUninstallConfirmationRequiredSchema, UninstallBlockedByDocumentTypesSchema, UninstallSucceededSchema, BundleUninstallSucceededSchema, LicenseRecheckResponseSchema, LicenseVerdictEnvelopeSchema, EntitlementSchema, EntitlementResponseSchema, EntitlementRefusalSchema, MarketplaceStatusResponseSchema, SnapshotGroupSchema, SnapshotGroupListQuerySchema, SnapshotGroupListResponseSchema, RestorePlanEntrySchema, RestoreConfirmationRequiredSchema, RestoreSucceededSchema, RestoreBodySchema, PackageRefusedSchema, PluginUploadResponseSchema, PluginUploadQuerySchema, TrustDowngradeConfirmationSchema, } from "./plugin-management-api.schema.js";
|
|
86
|
+
export { ManagedPluginSchema, PluginTamperKindSchema, ManagedPluginRoleOfferSchema, ManagedPluginListQuerySchema, ManagedPluginListResponseSchema, PluginIdParamsSchema, UninstallPluginBodySchema, UninstallConfirmationRequiredSchema, BundleUninstallConfirmationRequiredSchema, UninstallBlockedByDocumentTypesSchema, DataTypeFieldBlockerSchema, PluginDataTypesInUseSchema, UninstallSucceededSchema, BundleUninstallSucceededSchema, LicenseRecheckResponseSchema, LicenseVerdictEnvelopeSchema, EntitlementSchema, EntitlementResponseSchema, LicenseVerdictTermSchema, ListingPlanSummarySchema, EntitlementRefusalSchema, MarketplaceStatusResponseSchema, SnapshotGroupSchema, SnapshotGroupListQuerySchema, SnapshotGroupListResponseSchema, RestorePlanEntrySchema, RestoreConfirmationRequiredSchema, RestoreSucceededSchema, RestoreBodySchema, DataTypeRestoreSkipReasonSchema, DataTypeRestoreEntrySchema, DataTypeRestoreSkipSchema, DataTypeRestorePlanSchema, DataTypeRestoreConfirmationRequiredSchema, DataTypeRestoreSucceededSchema, DataTypeRestoreBodySchema, PackageRefusedSchema, PluginUploadResponseSchema, PluginUploadQuerySchema, TrustDowngradeConfirmationSchema, } from "./plugin-management-api.schema.js";
|
|
83
87
|
export { SampleContentOutcomeSchema } from "./sample-content-outcome.schema.js";
|
|
84
88
|
export type { SampleContentOutcome } from "./sample-content-outcome.schema.js";
|
|
85
89
|
export { INSTALL_WARNINGS_MAX, INSTALL_WARNING_MAX_LENGTH, InstallWarningsSchema } from "./install-warnings.schema.js";
|
|
86
|
-
export type { ManagedPlugin, ManagedPluginListResponse, ManagedPluginListQuery, UninstallPluginBody, SnapshotGroupListQuery, RestoreBody, PluginTamperKind, ManagedPluginRoleOffer, UninstallBlockedByDocumentTypes, UninstallSucceeded, BundleUninstallSucceeded, LicenseRecheckResponse, LicenseVerdictEnvelopeWire, EntitlementWire, EntitlementResponse, EntitlementRefusal, MarketplaceStatusResponse, SnapshotGroup, SnapshotGroupListResponse, RestorePlanEntry, RestoreConfirmationRequired, RestoreSucceeded, PackageRefused, PluginUploadResponse, PluginUploadQuery, TrustDowngradeConfirmation, } from "./plugin-management-api.schema.js";
|
|
90
|
+
export type { ManagedPlugin, ManagedPluginListResponse, ManagedPluginListQuery, UninstallPluginBody, SnapshotGroupListQuery, RestoreBody, DataTypeRestoreSkipReason, DataTypeRestoreEntry, DataTypeRestoreSkip, DataTypeRestorePlan, DataTypeRestoreConfirmationRequired, DataTypeRestoreSucceeded, DataTypeRestoreBody, PluginTamperKind, ManagedPluginRoleOffer, UninstallBlockedByDocumentTypes, DataTypeFieldBlocker, PluginDataTypesInUse, UninstallSucceeded, BundleUninstallSucceeded, LicenseRecheckResponse, LicenseVerdictEnvelopeWire, EntitlementWire, EntitlementResponse, EntitlementRefusal, MarketplaceStatusResponse, SnapshotGroup, SnapshotGroupListResponse, RestorePlanEntry, RestoreConfirmationRequired, RestoreSucceeded, PackageRefused, PluginUploadResponse, PluginUploadQuery, TrustDowngradeConfirmation, } from "./plugin-management-api.schema.js";
|
|
87
91
|
export { SANDBOX_ATTACH_OUTCOMES, SandboxAttachRequestSchema, SandboxAttachResponseSchema, SandboxLocalPluginInstallRequestSchema, SandboxLocalPluginSchema, } from "./sandbox-attach.schema.js";
|
|
88
92
|
export type { SandboxAttachRequest, SandboxAttachResponse, SandboxLocalPlugin, SandboxLocalPluginInstallRequest, } from "./sandbox-attach.schema.js";
|
|
89
93
|
export { PublicContentItemSchema, PublicContentItemQuerySchema, PublicContentByPathQuerySchema, PublicContentByAddressQuerySchema, PublicContentByAddressResponseSchema, PublicSiteSchema, PublicSitesQuerySchema, PublicSitesResponseSchema, PublicContentListQuerySchema, PublicContentNodeSummarySchema, PublicContentListResponseSchema, PublicContentSearchQuerySchema, PublicContentExtensionsSchema, PublicContentFormatResponseSchema, PublicMediaFileSchema, PublicMediaListQuerySchema, PublicMediaListResponseSchema, PublicFieldDefinitionSchema, PublicDocumentTypeSchema, PublicDocumentTypeListQuerySchema, PublicDocumentTypeListResponseSchema, PublicTemplateSchema, PublicTemplateListQuerySchema, PublicTemplateListResponseSchema, PublicContentWriteResponseSchema, PublicCreateContentRequestSchema, PublicUpdateContentRequestSchema, PublicContentDeleteResponseSchema, PublicContentDeleteQuerySchema, PublicContentDeleteConfirmationSchema, PublicMediaUploadFieldsSchema, PublicMediaUploadBodySchema, PublicMediaUpdateRequestSchema, PublicMediaWriteResponseSchema, PublicMediaDeleteResponseSchema, } from "./public-api.schema.js";
|
|
90
94
|
export type { PublicContentItem, PublicContentItemQuery, PublicContentByPathQuery, PublicContentByAddressQuery, PublicContentByAddressResponse, PublicSite, PublicSitesQuery, PublicSitesResponse, PublicContentListQuery, PublicContentNodeSummary, PublicContentListResponse, PublicContentSearchQuery, PublicContentFormatResponse, PublicMediaFile, PublicMediaListQuery, PublicMediaListResponse, PublicFieldDefinition, PublicDocumentType, PublicDocumentTypeListQuery, PublicDocumentTypeListResponse, PublicTemplate, PublicTemplateListQuery, PublicTemplateListResponse, PublicContentWriteResponse, PublicCreateContentRequest, PublicCreateContentRequestInput, PublicUpdateContentRequest, PublicContentDeleteResponse, PublicContentDeleteQuery, PublicContentDeleteConfirmation, PublicMediaUploadFields, PublicMediaUploadBody, PublicMediaUpdateRequest, PublicMediaWriteResponse, PublicMediaDeleteResponse, } from "./public-api.schema.js";
|
|
91
|
-
export { MarketplaceCapabilitySchema, MarketplaceListingVersionSchema, MarketplaceListingSchema, MarketplaceStarterSchema, MarketplaceDocumentTypeSummarySchema, MarketplaceBundleMemberSchema, MarketplaceListingDetailVersionSchema, MarketplaceListingDetailSchema, MarketplaceListQuerySchema, MarketplaceListResponseSchema, MARKETPLACE_VERSIONS_MAX_IDS, MARKETPLACE_VERSIONS_IDS_MAX_LENGTH, MarketplaceLatestVersionSchema, MarketplaceVersionsResponseSchema, parseMarketplaceVersionsIds, MarketplacePluginIdParamsSchema, MarketplaceInstallBodySchema, MarketplaceInstallMemberSchema, MarketplaceInstallResponseSchema, MarketplaceInstallConflictSchema, MarketplacePublicBaseSchema, } from "./marketplace-listing-api.schema.js";
|
|
92
|
-
export
|
|
95
|
+
export { MarketplaceCapabilitySchema, MarketplaceListingVersionSchema, MarketplacePlanSchema, MarketplaceListingSchema, MarketplaceStarterSchema, MarketplaceDocumentTypeSummarySchema, MarketplaceBundleMemberSchema, MarketplaceListingDetailVersionSchema, MarketplaceListingDetailSchema, MarketplaceListQuerySchema, MarketplaceListResponseSchema, MARKETPLACE_VERSIONS_MAX_IDS, MARKETPLACE_VERSIONS_IDS_MAX_LENGTH, MARKETPLACE_PLAN_NAMES_MAX, MarketplacePlanNameSchema, MarketplaceLatestVersionSchema, MarketplaceVersionsResponseSchema, parseMarketplaceVersionsIds, MarketplacePluginIdParamsSchema, MarketplaceInstallBodySchema, MarketplaceInstallMemberSchema, MarketplaceInstallResponseSchema, MarketplaceInstallConflictSchema, MarketplaceInstallHeldBackSchema, MarketplaceInstallRenewRequiredSchema, MARKETPLACE_MISSING_PLUGINS_MAX, MarketplaceMissingPluginSchema, MarketplaceInstallDependenciesMissingSchema, MarketplacePublicBaseSchema, } from "./marketplace-listing-api.schema.js";
|
|
96
|
+
export { PACKAGE_TERM_LAPSED_CODE, PackageTermLapsedSchema } from "./marketplace-package-api.schema.js";
|
|
97
|
+
export type { PackageTermLapsed } from "./marketplace-package-api.schema.js";
|
|
98
|
+
export type { MarketplaceCapability, MarketplacePlan, MarketplaceListing, MarketplaceStarter, MarketplaceDocumentTypeSummary, MarketplaceBundleMember, MarketplaceListingDetailVersion, MarketplaceListingDetail, MarketplaceInstallMember, MarketplaceListQuery, MarketplaceInstallBody, MarketplaceInstallResponse, MarketplaceInstallConflict, MarketplaceInstallHeldBack, MarketplaceInstallRenewRequired, MarketplaceMissingPlugin, MarketplaceInstallDependenciesMissing, MarketplacePublicBase, MarketplaceListResponse, MarketplacePlanName, MarketplaceLatestVersion, MarketplaceVersionsResponse, ParsedMarketplaceVersionsIds, } from "./marketplace-listing-api.schema.js";
|
|
93
99
|
export { ApiKeySummarySchema, ApiKeyListQuerySchema, ApiKeyListResponseSchema, CreateApiKeyRequestSchema, CreateApiKeyResponseSchema, ApiKeyRefusalSchema, ApiKeyCreateForbiddenSchema, RevokeApiKeyResponseSchema, API_KEY_PRESETS, API_KEY_MAX_ACTIONS, ApiKeyParamsSchema, } from "./api-key-api.schema.js";
|
|
94
100
|
export type { ApiKeyPresetId, ApiKeySummary, ApiKeyListQuery, ApiKeyListResponse, CreateApiKeyRequest, CreateApiKeyResponse, ApiKeyRefusal, RevokeApiKeyResponse, ApiKeyParams, } from "./api-key-api.schema.js";
|
|
95
|
-
export { WhoamiResponseSchema, type WhoamiResponse } from "./whoami-api.schema.js";
|
|
101
|
+
export { WhoamiResponseSchema, ContentLimitsSchema, type WhoamiResponse, type ContentLimits } from "./whoami-api.schema.js";
|
|
96
102
|
export { AUDIT_IP_MAX, AUDIT_METHOD_MAX, AUDIT_PERIOD_PATTERN, AUDIT_REQUEST_ID_MAX, AUDIT_RETENTION_MAX_MONTHS, AUDIT_SUMMARY_MAX_BYTES, AUDIT_TEXT_MAX, AuditActorKindSchema, AuditEntrySchema, AuditExportQuerySchema, AuditListQuerySchema, AuditListResponseSchema, AuditOutcomeSchema, AuditPruneBusySchema, AuditPruneResponseSchema, AuditRetentionReasonSchema, AuditRetentionResponseSchema, AuditRetentionSchema, AuditSummaryValueSchema, } from "./audit-api.schema.js";
|
|
97
103
|
export type { AuditActorKind, AuditEntry, AuditExportQuery, AuditListQuery, AuditListResponse, AuditOutcome, AuditPruneBusy, AuditPruneResponse, AuditRetention, AuditRetentionReason, AuditRetentionResponse, AuditSummaryValue, } from "./audit-api.schema.js";
|
|
98
104
|
export { ThemeListItemSchema, ThemeListResponseSchema } from "./theme-api.schema.js";
|
|
@@ -115,8 +121,8 @@ export { PLUGIN_DOC_ROLES, PluginDocsPageSchema, MAX_DOC_PAGES, MAX_DOC_PAGE_BYT
|
|
|
115
121
|
export type { PluginDocRole, PluginDocsPage, DocsFacts, PluginReference, ReferencePageSlug } from "./plugin-docs.js";
|
|
116
122
|
export { HOSTILE_CHARS_MESSAGE, MAX_DOCS_TARGET_LENGTH, docHeadingId, docHeadingKey, docSearchEntry, extractDocHeadings, hasHostileChars, isRenderableExternalHref, resolveDocsPath, resolveDocsLink, } from "./plugin-docs-text.js";
|
|
117
123
|
export type { DocsLink, DocSearchEntry, DocSearchHeading } from "./plugin-docs-text.js";
|
|
118
|
-
export { PluginDocsPageRefSchema, PluginDocsIndexItemSchema, PluginDocsIndexResponseSchema, PluginDocsPageParamsSchema, PluginDocsPluginParamsSchema, PluginDocsPageResponseSchema, PluginDocsReferenceResponseSchema, PluginReferenceSourceSchema, PluginDocsSearchItemSchema, PluginDocsSearchIndexResponseSchema, MARKETPLACE_DOCS_SEARCH_MAX_QUERY, MARKETPLACE_DOCS_SEARCH_MAX_RESULTS, MarketplaceDocsSearchQuerySchema, MarketplaceDocsSearchResultSchema, MarketplaceDocsSearchResponseSchema, } from "./plugin-docs-api.schema.js";
|
|
119
|
-
export type { PluginDocsPageRef, PluginDocsIndexItem, PluginDocsIndexResponse, PluginDocsPageParams, PluginDocsPluginParams, PluginDocsPageResponse, PluginDocsReferenceResponse, PluginReferenceSource, PluginDocsSearchItem, PluginDocsSearchIndexResponse, MarketplaceDocsSearchQuery, MarketplaceDocsSearchResult, MarketplaceDocsSearchResponse, } from "./plugin-docs-api.schema.js";
|
|
124
|
+
export { PluginDocsPageRefSchema, PluginDocsIndexItemSchema, PluginDocsIndexResponseSchema, PluginDocsPageParamsSchema, PluginDocsPluginParamsSchema, PluginDocsImageParamsSchema, PluginDocsPageResponseSchema, PluginDocsReferenceResponseSchema, PluginReferenceSourceSchema, PluginDocsSearchItemSchema, PluginDocsSearchIndexResponseSchema, MARKETPLACE_DOCS_SEARCH_MAX_QUERY, MARKETPLACE_DOCS_SEARCH_MAX_RESULTS, MarketplaceDocsSearchQuerySchema, MarketplaceDocsSearchResultSchema, MarketplaceDocsSearchResponseSchema, } from "./plugin-docs-api.schema.js";
|
|
125
|
+
export type { PluginDocsPageRef, PluginDocsIndexItem, PluginDocsIndexResponse, PluginDocsPageParams, PluginDocsPluginParams, PluginDocsImageParams, PluginDocsPageResponse, PluginDocsReferenceResponse, PluginReferenceSource, PluginDocsSearchItem, PluginDocsSearchIndexResponse, MarketplaceDocsSearchQuery, MarketplaceDocsSearchResult, MarketplaceDocsSearchResponse, } from "./plugin-docs-api.schema.js";
|
|
120
126
|
export { INSTALL_CONSENT_IDS, INSTALL_DESCRIPTION_MAX_LENGTH, INSTALL_LABEL_KEY_MAX_LENGTH, INSTALL_LABEL_MAX_LANGUAGES, INSTALL_LABEL_MAX_LENGTH, INSTALL_MAX_CHOICES_PER_OPTION, INSTALL_MAX_OPTION_ANSWERS, INSTALL_MAX_OPTIONS_PER_STEP, INSTALL_MAX_ROLE_ANSWERS, INSTALL_MAX_STEPS, INSTALL_OPTION_KINDS, InstallAnswerValueSchema, InstallAnswersManifestSchema, InstallAnswersSchema, InstallDescriptionSchema, InstallIdSchema, InstallInterfaceSchema, InstallInterfaceWireSchema, InstallLabelSchema, InstallOptionSchema, InstallStepSchema, PluginInstallDeclarationSchema, ResolvedInstallAnswersSchema, checkInstallDeclaration, installInterfaceFor, installOptionNeedsAnswer, parseInstallAnswersManifest, resolveInstallAnswers, resolveUpdateAnswers, stepsNotCoveredBy, } from "./plugin-install.js";
|
|
121
127
|
export type { InstallAnswerIssue, InstallAnswerValue, InstallAnswers, InstallAnswersManifest, InstallAnswersResult, InstallChoice, InstallConsentId, InstallDeclarationIssue, InstallDescription, InstallInterface, InstallInterfaceManifest, InstallInterfaceWire, InstallLabel, InstallOption, InstallOptionKind, InstallStep, ParsedInstallAnswersManifest, PluginInstallDeclaration, ResolvedInstallAnswers, ShippedInstallFacts, } from "./plugin-install.js";
|
|
122
128
|
export { SAMPLE_CONTENT_MAX_MEDIA, SAMPLE_CONTENT_MAX_NODES, SAMPLE_CONTENT_MEDIA_FILE_PATTERN, SampleContentFileSchema, parseSampleContentFile, } from "./sample-content.schema.js";
|
|
@@ -125,5 +131,25 @@ export { INSTALL_RECORD_SUMMARY_TITLES, INSTALL_ROLE_OUTCOMES, InstallAnswersRef
|
|
|
125
131
|
export type { InstallAnswersRefused, InstallRoleOutcome, PluginInstallRecord, PluginInstallRecordSummary } from "./plugin-install-record.schema.js";
|
|
126
132
|
export { listIssues } from "./issue-list.js";
|
|
127
133
|
export type { ListedIssue } from "./issue-list.js";
|
|
128
|
-
export { ASSET_PATH_MAX, FILE_NAME_MAX, PACKAGE_PATH_MAX, MAX_TEMPLATE_PAYLOAD_ENTRIES, PluginAssetPathSchema, PluginTemplateAliasSchema, PluginTemplateEntrySchema, PluginTemplateFileSchema, PluginTemplatePayloadSchema, REGISTERED_ASSET_TEXT_EXTENSIONS, RESERVED_ASSET_ROOTS, TEMPLATE_ALIAS_MAX, TEMPLATE_FILE_MAX, checkTemplateAndAssetDeclarations, hasRegisteredAssetTextExtension, } from "./plugin-template-payload.js";
|
|
134
|
+
export { ASSET_PATH_MAX, ASSET_TEXT_EXTENSIONS, FILE_NAME_MAX, PACKAGE_PATH_MAX, MAX_TEMPLATE_PAYLOAD_ENTRIES, PluginAssetPathSchema, PluginTemplateAliasSchema, PluginTemplateEntrySchema, PluginTemplateFileSchema, PluginTemplatePayloadSchema, REGISTERED_ASSET_TEXT_EXTENSIONS, RESERVED_ASSET_ROOTS, TEMPLATE_ALIAS_MAX, TEMPLATE_FILE_MAX, checkTemplateAndAssetDeclarations, hasRegisteredAssetTextExtension, isAssetTextPath, } from "./plugin-template-payload.js";
|
|
129
135
|
export type { DeclarationIssue, PluginTemplateEntry } from "./plugin-template-payload.js";
|
|
136
|
+
export { HOME_COUNT_CAP, HOME_LAYOUT_MAX, HOME_LIST_ROWS, HomeCountSchema, HomeDraftRowSchema, HomeDraftsResponseSchema, HomeLayoutEntrySchema, HomeLayoutSchema, HomePublishedRowSchema, HomePublishedResponseSchema, HomeRecentEditRowSchema, HomeRecentEditsResponseSchema, HomeTrashCountResponseSchema, HOME_PLUGIN_FEES_MAX, HomePluginFeeSchema, HomePluginFeesResponseSchema, } from "./home.schema.js";
|
|
137
|
+
export type { HomeCount, HomeDraftRow, HomeDraftsResponse, HomeLayout, HomeLayoutEntry, HomePublishedRow, HomePublishedResponse, HomeRecentEditRow, HomeRecentEditsResponse, HomeTrashCountResponse, HomePluginFee, HomePluginFeesResponse, } from "./home.schema.js";
|
|
138
|
+
export { NEWS_ITEMS_MAX, NEWS_KINDS, NEWS_STATES, NEWS_TEXT_MAX, NEWS_TITLE_MAX, NEWS_URL_MAX, HomeNewsResponseSchema, MarketplaceNewsItemSchema, MarketplaceNewsResponseSchema, NewsItemInputSchema, NewsKindSchema, NewsStateSchema, } from "./news.schema.js";
|
|
139
|
+
export type { HomeNewsResponse, MarketplaceNewsItem, MarketplaceNewsResponse, NewsItemInput, NewsKind, NewsState, } from "./news.schema.js";
|
|
140
|
+
export { SiteRenderingSchema } from "./sites.schema.js";
|
|
141
|
+
export type { SiteRendering } from "./sites.schema.js";
|
|
142
|
+
export { NOTIFICATION_ACTIONS_MAX, NOTIFICATION_AUDIENCE_SEARCH_MAX, NOTIFICATION_BOXES, NOTIFICATION_KINDS, NOTIFICATION_PAGE_SIZE, NOTIFICATION_PAGE_STATES, NOTIFICATION_POLL_MS, NOTIFICATION_PREVIEW_ROWS, NOTIFICATION_RECIPIENTS_MAX, NOTIFICATION_RETENTION_DEFAULT_DAYS, NOTIFICATION_RETENTION_MAX_DAYS, NOTIFICATION_RETENTION_MIN_DAYS, NOTIFICATION_ROLES_MAX, NOTIFICATION_SENDER_KINDS, NOTIFICATION_TEXT_MAX, NOTIFICATION_TITLE_MAX, NOTIFICATION_UNREAD_CAP, NOTIFICATION_URL_MAX, NOTIFICATION_USERS_MAX, NotificationAudienceEntrySchema, NotificationAudienceQuerySchema, NotificationAudienceResponseSchema, NotificationAudienceSchema, NotificationBoxSchema, NotificationDataSchema, NotificationInboxPageSchema, NotificationInboxQuerySchema, NotificationItemSchema, NotificationKardalumUpdateDataSchema, NotificationKindSchema, NotificationLinkInputSchema, NotificationLinkSchema, NotificationPageStateSchema, NotificationPageSummarySchema, NotificationParamsSchema, NotificationPluginUpdateDataSchema, NotificationReachRequestSchema, NotificationReachResponseSchema, NotificationReadAllResponseSchema, NotificationRetentionSchema, NotificationSenderKindSchema, NotificationSenderSchema, NotificationStateSchema, NotificationTargetsSchema, NotificationUnreadCountSchema, SendNotificationRequestSchema, SendNotificationResponseSchema, kardalumUpdateDedupeKey, pluginUpdateDedupeKey, } from "./notification.schema.js";
|
|
143
|
+
export type { NotificationAudienceEntry, NotificationAudienceResponse, NotificationBox, NotificationData, NotificationInboxPage, NotificationItem, NotificationKardalumUpdateData, NotificationKind, NotificationLink, NotificationLinkInput, NotificationPageState, NotificationPageSummary, NotificationPluginUpdateData, NotificationReachRequest, NotificationReachResponse, NotificationReadAllResponse, NotificationRetention, NotificationSender, NotificationSenderKind, NotificationState, NotificationTargets, NotificationTargetsInput, SendNotificationRequest, SendNotificationRequestInput, SendNotificationResponse, } from "./notification.schema.js";
|
|
144
|
+
export { KARDALUM_LATEST_CACHE_MS, KardalumLatestResponseSchema } from "./kardalum-latest.schema.js";
|
|
145
|
+
export type { KardalumLatestResponse } from "./kardalum-latest.schema.js";
|
|
146
|
+
export { PLUGIN_READ_ONLY_CODE, PluginReadOnlyNoticeSchema, ReadOnlyFieldSchema, isPluginReadOnlyNotice, } from "./plugin-read-only.schema.js";
|
|
147
|
+
export type { PluginReadOnlyNotice, ReadOnlyField } from "./plugin-read-only.schema.js";
|
|
148
|
+
export { PluginVendorServiceSchema, VENDOR_SERVICE_ORIGIN_MAX, VENDOR_TOKEN_LIVE_STATES, VENDOR_TOKEN_MAX_LENGTH, VENDOR_TOKEN_PAYLOAD_MAX_BYTES, VENDOR_TOKEN_REFUSAL_CODE, VENDOR_TOKEN_TERM_STATES, VENDOR_TOKEN_TTL_SECONDS, VENDOR_TOKEN_TYPE, VendorTokenPayloadSchema, VendorTokenRefusalSchema, VendorTokenRequestSchema, VendorTokenResponseSchema, isLocalVendorHost, parseVendorServiceOrigin, } from "./vendor-service.schema.js";
|
|
149
|
+
export type { PluginVendorServiceDeclaration, VendorServiceOriginResult, VendorTokenPayload, VendorTokenRefusal, VendorTokenRequest, VendorTokenResponse, } from "./vendor-service.schema.js";
|
|
150
|
+
export { PLAN_DESCRIPTION_MAX, PLAN_KEY_MAX, PLAN_MAX_PRICE_CENTS, PLAN_MIN_PRICE_CENTS, PLAN_NAME_MAX, PLAN_SHAPE_VALUES, PlanAddInputSchema, PlanDescriptionSchema, PlanEditInputSchema, PlanKeySchema, PlanMoveInputSchema, PlanNameSchema, PlanPriceInputSchema, PlanRefInputSchema, PlanShapeSchema, PriceSweepProgressSchema, isPlanKey, planPriceAgrees, } from "./plan-editor.schema.js";
|
|
151
|
+
export type { PlanAddInput, PlanEditInput, PlanMoveInput, PlanPriceInput, PlanRefInput, PlanShapeValue, PriceSweepProgress } from "./plan-editor.schema.js";
|
|
152
|
+
export { REVENUE_PLUGIN_PARAM_MAX, RevenueMonthKeySchema, RevenueMonthSchema, RevenueNowSchema, RevenuePlanMonthSchema, RevenuePluginParamSchema, RevenueViewSchema, isRevenueMonthKey, } from "./revenue-view.schema.js";
|
|
153
|
+
export type { RevenueMonth, RevenueNow, RevenuePlanMonth, RevenueView } from "./revenue-view.schema.js";
|
|
154
|
+
export { SHOWN_PRICE_DIGITS_MAX, ShownPlanFieldsSchema, parseShownCents, readShownPlan, shownPlanMatches, } from "./checkout-shown.schema.js";
|
|
155
|
+
export type { ShownPlan } from "./checkout-shown.schema.js";
|
|
@@ -17,6 +17,7 @@ export { cultureDirection } from "./culture-direction.js";
|
|
|
17
17
|
export { ContentVersionSchema, flattenForCulture } from "./content-version.schema.js";
|
|
18
18
|
export { mediaReferencesIn } from "./media-reference.js";
|
|
19
19
|
export { mediaReferenceCursor, decodeMediaReferenceCursor } from "./media-reference-use.js";
|
|
20
|
+
export { DATA_TYPE_CURSOR_MAX, dataTypeCursor, decodeDataTypeCursor } from "./data-type-cursor.js";
|
|
20
21
|
// MediaReferenceUseSchema's own inferred type is deliberately not
|
|
21
22
|
// re-exported here: it is the same shape as MediaReferenceUse above (the
|
|
22
23
|
// adapter-facing plain interface), and only one of the two names should
|
|
@@ -29,32 +30,35 @@ export { BundledTemplateSchema, SetupStatusResponseSchema, SetupStarterSelection
|
|
|
29
30
|
export { CreateContentRequestSchema, ContentItemQuerySchema, ContentItemResponseSchema, ContentByAddressQuerySchema, ContentByAddressResponseSchema, ContentByPathQuerySchema, ContentByPathResponseSchema, SaveContentRequestSchema, SaveContentResponseSchema, LatestVersionQuerySchema, LatestVersionResponseSchema, VersionQuerySchema, ContentVersionMetaSchema, VersionListQuerySchema, VersionListResponseSchema, PublishContentRequestSchema, PublishContentResponseSchema, PublishAllRequestSchema, PublishAllResultSchema, PublishAllResponseSchema, PreviewTokenResponseSchema, ContentUrlImpactResponseSchema, ContentChildrenQuerySchema, ContentChildrenResponseSchema, ContentNodeWithNameSchema, ContentPathConflictSchema, CopyContentRequestSchema, CultureSchema, CultureSettingsSchema, MoveContentRequestSchema, MoveContentResponseSchema, ReorderNodesRequestSchema, ReorderNodesResponseSchema, FieldValidationFailureSchema, ContentValidationErrorSchema, TranslationIncompleteResponseSchema, } from "./content-api.schema.js";
|
|
30
31
|
export { FieldValidationSchema, FieldDefinitionSchema, TabDefinitionSchema, TreeRulesSchema, DocumentTypeDefinitionSchema, } from "./document-type.schema.js";
|
|
31
32
|
export { CreateDocumentTypeRequestSchema, UpdateDocumentTypeRequestSchema, CreateDocumentTypeResponseSchema, DocumentTypeListQuerySchema, DocumentTypeListResponseSchema, DeleteDocumentTypeResponseSchema, } from "./document-type-api.schema.js";
|
|
32
|
-
export { TEMPLATE_ALIAS_MAX_SEGMENTS, TemplateAliasSchema, TemplateDefinitionSchema, TemplateKindSchema, TemplateVersionMetaSchema, TemplateVersionSchema, TemplateVersionSourceSchema, TrashedTemplateSchema, } from "./template.schema.js";
|
|
33
|
+
export { TEMPLATE_ALIAS_MAX_SEGMENTS, TEMPLATE_KIND_FOLDERS, TemplateAliasSchema, TemplateDefinitionSchema, templateFilePath, TemplateKindSchema, TemplateVersionMetaSchema, TemplateVersionSchema, TemplateVersionSourceSchema, TrashedTemplateSchema, } from "./template.schema.js";
|
|
33
34
|
export { CreateTemplateRequestSchema, CreateTemplateResponseSchema, DeleteTemplateQuerySchema, MAX_TEMPLATE_CONTENT_BYTES, SetDefaultTemplateRequestSchema, TemplateConflictResponseSchema, TemplateDeleteBlockedResponseSchema, TemplateListItemSchema, TemplateListQuerySchema, TemplateListResponseSchema, TemplateResponseSchema, RestoreTemplateResponseSchema, TemplateSyncReportSchema, TemplateTrashListQuerySchema, TemplateTrashListResponseSchema, TemplateVersionListResponseSchema, TemplateVersionParamsSchema, TemplateVersionResponseSchema, UpdateTemplateRequestSchema, } from "./template-api.schema.js";
|
|
34
|
-
export { AssetDefinitionSchema, AssetPathSchema, AssetVersionMetaSchema, AssetVersionSchema, MAX_ASSET_CONTENT_BYTES, TrashedAssetSchema } from "./asset.schema.js";
|
|
35
|
+
export { AssetDefinitionSchema, AssetPathSchema, AssetRoutePathSchema, AssetVersionMetaSchema, AssetVersionSchema, MAX_ASSET_CONTENT_BYTES, TrashedAssetSchema } from "./asset.schema.js";
|
|
35
36
|
export { ASSET_TREE_MAX_DEPTH, ASSET_TREE_MAX_ENTRIES, AssetTreeEntrySchema, AssetTreeSkipSchema, AssetTreeResponseSchema, AssetContentResponseSchema, WriteAssetContentRequestSchema, CreateAssetFolderRequestSchema, RenameAssetRequestSchema, DeleteAssetQuerySchema, AssetDeleteBlockedResponseSchema, ZipExtractReportSchema, AssetSyncReportSchema, AssetVersionParamsSchema, AssetVersionListQuerySchema, AssetVersionQuerySchema, AssetVersionListResponseSchema, AssetVersionResponseSchema, MakeAssetVersionCurrentRequestSchema, RestoreAssetRequestSchema, RestoreAssetResponseSchema, AssetTrashListQuerySchema, AssetTrashListResponseSchema, } from "./asset-api.schema.js";
|
|
36
37
|
export { RenderSettingsSchema, UpdateRenderSettingsRequestSchema } from "./render-settings-api.schema.js";
|
|
37
38
|
export { MediaFileSchema, MediaVisibilitySchema, MediaFolderSchema, MediaVersionSchema, MEDIA_PRIVATE_ALIAS, IMAGE_MEDIA_TYPE_ID, FILE_MEDIA_TYPE_ID, IMAGE_FILE_DATA_TYPE_ID, ANY_FILE_DATA_TYPE_ID, } from "./media.schema.js";
|
|
38
|
-
export { MediaFileResponseSchema, MediaDeleteResponseSchema, MediaLinkResponseSchema, MediaListQuerySchema, MediaListResponseSchema, MediaVersionListResponseSchema, MediaRenditionListResponseSchema, UpdateMediaRequestSchema, CreateMediaFolderRequestSchema, UpdateMediaFolderRequestSchema, MediaFolderListResponseSchema, MEDIA_NESTED_LIST_PAGE_MAX, MediaNestedListQuerySchema, MediaTrashListQuerySchema, MediaTrashListResponseSchema, MediaEmptyTrashResponseSchema, MediaReadQuerySchema, } from "./media-api.schema.js";
|
|
39
|
+
export { MediaFileResponseSchema, MediaItemSaveResponseSchema, MediaDeleteResponseSchema, MediaLinkResponseSchema, MediaListQuerySchema, MediaListResponseSchema, MediaVersionListResponseSchema, MediaRenditionListResponseSchema, UpdateMediaRequestSchema, CreateMediaFolderRequestSchema, UpdateMediaFolderRequestSchema, MediaFolderListResponseSchema, MEDIA_NESTED_LIST_PAGE_MAX, MediaNestedListQuerySchema, MediaTrashListQuerySchema, MediaTrashListResponseSchema, MediaEmptyTrashResponseSchema, MediaReadQuerySchema, } from "./media-api.schema.js";
|
|
39
40
|
export { CROP_EDITOR_ID, THUMBNAIL_EDITOR_ID, CROP_DATA_TYPE_ID, THUMBNAIL_DATA_TYPE_ID, CropRectSchema, CropSettingsSchema, ThumbnailSettingsSchema, ImageSettingsSchema, MediaRenditionSchema, renditionName, renditionShape, renditionFilename, } from "./media-rendition.schema.js";
|
|
40
41
|
export { HealthCheckSchema } from "./health.schema.js";
|
|
41
42
|
export { LoginRequestSchema, LoginResponseSchema, RefreshResponseSchema, LogoutResponseSchema, AuthErrorSchema, } from "./auth.schema.js";
|
|
42
43
|
export { UserSummarySchema, UserListQuerySchema, UserListResponseSchema, CreateUserRequestSchema, CreateUserResponseSchema, UpdateUserRoleRequestSchema, UpdateUserRoleResponseSchema, DeleteUserResponseSchema, UserParamsSchema, ADMIN_LOCALES, ThemeModeSchema, UserPreferencesSchema, UpdateUserPreferencesSchema, } from "./user-api.schema.js";
|
|
43
44
|
export { DEFAULT_DOCS_LANGUAGE, DOCS_LANGUAGE_MAX_LENGTH, DocsLanguageSchema, PLUGIN_LOCALE_MAX_BYTES, PLUGIN_LOCALE_MAX_KEYS, PLUGIN_LOCALE_KEY_MAX_LENGTH, PLUGIN_LOCALE_VALUE_MAX_LENGTH, PluginLanguagesSchema, PluginLocaleFileSchema, compareLocaleFiles, isPluginLocaleKey, localePlaceholders, parsePluginLocaleFile, pluginLocaleFileLanguage, summarizePluginLanguages, } from "./plugin-locales.js";
|
|
44
45
|
export { CreateSnapshotRequestSchema, SnapshotResponseSchema, SnapshotListQuerySchema, SnapshotListResponseSchema, RestoreSnapshotResponseSchema, RestoreSnapshotRequestSchema, RestoreSnapshotConfirmationSchema, SnapshotParamsSchema, } from "./snapshot-api.schema.js";
|
|
45
|
-
export { DataTypeConfigSchema, BUILT_IN_DATA_TYPE_CONFIGS } from "./data-type-config.schema.js";
|
|
46
|
+
export { DataTypeConfigSchema, BUILT_IN_DATA_TYPE_CONFIGS, RICHTEXT_EDITOR_ID } from "./data-type-config.schema.js";
|
|
47
|
+
export { ASSET_ACCEPTS, ASSET_DATA_TYPE_CONFIG, ASSET_DATA_TYPE_ID, ASSET_EDITOR_ID, ASSET_IMAGE_EXTENSIONS, AssetFieldSettingsSchema, assetExtension, assetPathAccepted, assetPathIsImage, } from "./asset-field.schema.js";
|
|
48
|
+
export { UuidStringSchema } from "./uuid.schema.js";
|
|
46
49
|
export { CONTENT_TREE_HINT_THRESHOLD, CONTENT_LIST_EDITOR_ID, CONTENT_LIST_PROPERTIES, ContentListColumnSchema, ContentListSettingsSchema, CONTENT_LIST_DEFAULT_SETTINGS, ContentListQuerySchema, ContentListRowSchema, ContentListResponseSchema, CONTENT_LIST_DATA_TYPE_CONFIG, FILE_UPLOAD_EDITOR_ID, FileUploadSettingsSchema, VALUELESS_EDITOR_IDS, } from "./content-list.schema.js";
|
|
47
|
-
export { CreateDataTypeRequestSchema, UpdateDataTypeRequestSchema, DataTypeResponseSchema, DataTypeListQuerySchema, DataTypeListResponseSchema, } from "./data-type-api.schema.js";
|
|
50
|
+
export { CreateDataTypeRequestSchema, UpdateDataTypeRequestSchema, DataTypeResponseSchema, DataTypeListQuerySchema, DataTypeListResponseSchema, DataTypeEditorPluginSchema, DataTypeListItemSchema, } from "./data-type-api.schema.js";
|
|
48
51
|
export { PluginStorageParamsSchema, SetPluginFieldValueRequestSchema, PluginFieldValueResponseSchema, } from "./plugin-storage-api.schema.js";
|
|
49
52
|
export { PluginSchema, PluginListQuerySchema, PluginListResponseSchema } from "./plugin-registry-api.schema.js";
|
|
50
|
-
export { ManagedPluginSchema, PluginTamperKindSchema, ManagedPluginRoleOfferSchema, ManagedPluginListQuerySchema, ManagedPluginListResponseSchema, PluginIdParamsSchema, UninstallPluginBodySchema, UninstallConfirmationRequiredSchema, BundleUninstallConfirmationRequiredSchema, UninstallBlockedByDocumentTypesSchema, UninstallSucceededSchema, BundleUninstallSucceededSchema, LicenseRecheckResponseSchema, LicenseVerdictEnvelopeSchema, EntitlementSchema, EntitlementResponseSchema, EntitlementRefusalSchema, MarketplaceStatusResponseSchema, SnapshotGroupSchema, SnapshotGroupListQuerySchema, SnapshotGroupListResponseSchema, RestorePlanEntrySchema, RestoreConfirmationRequiredSchema, RestoreSucceededSchema, RestoreBodySchema, PackageRefusedSchema, PluginUploadResponseSchema, PluginUploadQuerySchema, TrustDowngradeConfirmationSchema, } from "./plugin-management-api.schema.js";
|
|
53
|
+
export { ManagedPluginSchema, PluginTamperKindSchema, ManagedPluginRoleOfferSchema, ManagedPluginListQuerySchema, ManagedPluginListResponseSchema, PluginIdParamsSchema, UninstallPluginBodySchema, UninstallConfirmationRequiredSchema, BundleUninstallConfirmationRequiredSchema, UninstallBlockedByDocumentTypesSchema, DataTypeFieldBlockerSchema, PluginDataTypesInUseSchema, UninstallSucceededSchema, BundleUninstallSucceededSchema, LicenseRecheckResponseSchema, LicenseVerdictEnvelopeSchema, EntitlementSchema, EntitlementResponseSchema, LicenseVerdictTermSchema, ListingPlanSummarySchema, EntitlementRefusalSchema, MarketplaceStatusResponseSchema, SnapshotGroupSchema, SnapshotGroupListQuerySchema, SnapshotGroupListResponseSchema, RestorePlanEntrySchema, RestoreConfirmationRequiredSchema, RestoreSucceededSchema, RestoreBodySchema, DataTypeRestoreSkipReasonSchema, DataTypeRestoreEntrySchema, DataTypeRestoreSkipSchema, DataTypeRestorePlanSchema, DataTypeRestoreConfirmationRequiredSchema, DataTypeRestoreSucceededSchema, DataTypeRestoreBodySchema, PackageRefusedSchema, PluginUploadResponseSchema, PluginUploadQuerySchema, TrustDowngradeConfirmationSchema, } from "./plugin-management-api.schema.js";
|
|
51
54
|
export { SampleContentOutcomeSchema } from "./sample-content-outcome.schema.js";
|
|
52
55
|
export { INSTALL_WARNINGS_MAX, INSTALL_WARNING_MAX_LENGTH, InstallWarningsSchema } from "./install-warnings.schema.js";
|
|
53
56
|
export { SANDBOX_ATTACH_OUTCOMES, SandboxAttachRequestSchema, SandboxAttachResponseSchema, SandboxLocalPluginInstallRequestSchema, SandboxLocalPluginSchema, } from "./sandbox-attach.schema.js";
|
|
54
57
|
export { PublicContentItemSchema, PublicContentItemQuerySchema, PublicContentByPathQuerySchema, PublicContentByAddressQuerySchema, PublicContentByAddressResponseSchema, PublicSiteSchema, PublicSitesQuerySchema, PublicSitesResponseSchema, PublicContentListQuerySchema, PublicContentNodeSummarySchema, PublicContentListResponseSchema, PublicContentSearchQuerySchema, PublicContentExtensionsSchema, PublicContentFormatResponseSchema, PublicMediaFileSchema, PublicMediaListQuerySchema, PublicMediaListResponseSchema, PublicFieldDefinitionSchema, PublicDocumentTypeSchema, PublicDocumentTypeListQuerySchema, PublicDocumentTypeListResponseSchema, PublicTemplateSchema, PublicTemplateListQuerySchema, PublicTemplateListResponseSchema, PublicContentWriteResponseSchema, PublicCreateContentRequestSchema, PublicUpdateContentRequestSchema, PublicContentDeleteResponseSchema, PublicContentDeleteQuerySchema, PublicContentDeleteConfirmationSchema, PublicMediaUploadFieldsSchema, PublicMediaUploadBodySchema, PublicMediaUpdateRequestSchema, PublicMediaWriteResponseSchema, PublicMediaDeleteResponseSchema, } from "./public-api.schema.js";
|
|
55
|
-
export { MarketplaceCapabilitySchema, MarketplaceListingVersionSchema, MarketplaceListingSchema, MarketplaceStarterSchema, MarketplaceDocumentTypeSummarySchema, MarketplaceBundleMemberSchema, MarketplaceListingDetailVersionSchema, MarketplaceListingDetailSchema, MarketplaceListQuerySchema, MarketplaceListResponseSchema, MARKETPLACE_VERSIONS_MAX_IDS, MARKETPLACE_VERSIONS_IDS_MAX_LENGTH, MarketplaceLatestVersionSchema, MarketplaceVersionsResponseSchema, parseMarketplaceVersionsIds, MarketplacePluginIdParamsSchema, MarketplaceInstallBodySchema, MarketplaceInstallMemberSchema, MarketplaceInstallResponseSchema, MarketplaceInstallConflictSchema, MarketplacePublicBaseSchema, } from "./marketplace-listing-api.schema.js";
|
|
58
|
+
export { MarketplaceCapabilitySchema, MarketplaceListingVersionSchema, MarketplacePlanSchema, MarketplaceListingSchema, MarketplaceStarterSchema, MarketplaceDocumentTypeSummarySchema, MarketplaceBundleMemberSchema, MarketplaceListingDetailVersionSchema, MarketplaceListingDetailSchema, MarketplaceListQuerySchema, MarketplaceListResponseSchema, MARKETPLACE_VERSIONS_MAX_IDS, MARKETPLACE_VERSIONS_IDS_MAX_LENGTH, MARKETPLACE_PLAN_NAMES_MAX, MarketplacePlanNameSchema, MarketplaceLatestVersionSchema, MarketplaceVersionsResponseSchema, parseMarketplaceVersionsIds, MarketplacePluginIdParamsSchema, MarketplaceInstallBodySchema, MarketplaceInstallMemberSchema, MarketplaceInstallResponseSchema, MarketplaceInstallConflictSchema, MarketplaceInstallHeldBackSchema, MarketplaceInstallRenewRequiredSchema, MARKETPLACE_MISSING_PLUGINS_MAX, MarketplaceMissingPluginSchema, MarketplaceInstallDependenciesMissingSchema, MarketplacePublicBaseSchema, } from "./marketplace-listing-api.schema.js";
|
|
59
|
+
export { PACKAGE_TERM_LAPSED_CODE, PackageTermLapsedSchema } from "./marketplace-package-api.schema.js";
|
|
56
60
|
export { ApiKeySummarySchema, ApiKeyListQuerySchema, ApiKeyListResponseSchema, CreateApiKeyRequestSchema, CreateApiKeyResponseSchema, ApiKeyRefusalSchema, ApiKeyCreateForbiddenSchema, RevokeApiKeyResponseSchema, API_KEY_PRESETS, API_KEY_MAX_ACTIONS, ApiKeyParamsSchema, } from "./api-key-api.schema.js";
|
|
57
|
-
export { WhoamiResponseSchema } from "./whoami-api.schema.js";
|
|
61
|
+
export { WhoamiResponseSchema, ContentLimitsSchema } from "./whoami-api.schema.js";
|
|
58
62
|
export { AUDIT_IP_MAX, AUDIT_METHOD_MAX, AUDIT_PERIOD_PATTERN, AUDIT_REQUEST_ID_MAX, AUDIT_RETENTION_MAX_MONTHS, AUDIT_SUMMARY_MAX_BYTES, AUDIT_TEXT_MAX, AuditActorKindSchema, AuditEntrySchema, AuditExportQuerySchema, AuditListQuerySchema, AuditListResponseSchema, AuditOutcomeSchema, AuditPruneBusySchema, AuditPruneResponseSchema, AuditRetentionReasonSchema, AuditRetentionResponseSchema, AuditRetentionSchema, AuditSummaryValueSchema, } from "./audit-api.schema.js";
|
|
59
63
|
export { ThemeListItemSchema, ThemeListResponseSchema } from "./theme-api.schema.js";
|
|
60
64
|
export { ContentTrashBodySchema, ContentTrashConfirmationSchema, ContentTrashResultSchema, ContentRestoreResultSchema, ContentRestoreRequestSchema, } from "./content-trash-api.schema.js";
|
|
@@ -66,9 +70,25 @@ export { ACTION_GATED_CONTRIBUTION_KEYS, OFFERABLE_BUILT_IN_ACTIONS, checkAction
|
|
|
66
70
|
export { API_ROUTE_METHODS, API_ROUTE_PATH_MAX, API_ROUTE_RESPONSE_STATUSES_MAX, API_ROUTES_MAX, isApiRouteResponseStatus, apiRoutePathProblem, apiRoutePathParams, checkApiRouteActions, checkApiRouteDeclarations, checkApiRouteTiers, isApiRouteMethod } from "./plugin-manifest-api-routes.js";
|
|
67
71
|
export { PLUGIN_DOC_ROLES, PluginDocsPageSchema, MAX_DOC_PAGES, MAX_DOC_PAGE_BYTES, RESERVED_DOC_SLUGS, docSlug, effectiveDocsPages, checkDocsDeclaration, docsFactsFrom, requiredDocRoles, ReferenceLabelMapSchema, PluginReferenceSchema, emptyPluginReference, REFERENCE_PAGE_SLUGS, REFERENCE_PAGE_TABLES, isReferencePageSlug, referencePageHasContent, referencePageSlugs, } from "./plugin-docs.js";
|
|
68
72
|
export { HOSTILE_CHARS_MESSAGE, MAX_DOCS_TARGET_LENGTH, docHeadingId, docHeadingKey, docSearchEntry, extractDocHeadings, hasHostileChars, isRenderableExternalHref, resolveDocsPath, resolveDocsLink, } from "./plugin-docs-text.js";
|
|
69
|
-
export { PluginDocsPageRefSchema, PluginDocsIndexItemSchema, PluginDocsIndexResponseSchema, PluginDocsPageParamsSchema, PluginDocsPluginParamsSchema, PluginDocsPageResponseSchema, PluginDocsReferenceResponseSchema, PluginReferenceSourceSchema, PluginDocsSearchItemSchema, PluginDocsSearchIndexResponseSchema, MARKETPLACE_DOCS_SEARCH_MAX_QUERY, MARKETPLACE_DOCS_SEARCH_MAX_RESULTS, MarketplaceDocsSearchQuerySchema, MarketplaceDocsSearchResultSchema, MarketplaceDocsSearchResponseSchema, } from "./plugin-docs-api.schema.js";
|
|
73
|
+
export { PluginDocsPageRefSchema, PluginDocsIndexItemSchema, PluginDocsIndexResponseSchema, PluginDocsPageParamsSchema, PluginDocsPluginParamsSchema, PluginDocsImageParamsSchema, PluginDocsPageResponseSchema, PluginDocsReferenceResponseSchema, PluginReferenceSourceSchema, PluginDocsSearchItemSchema, PluginDocsSearchIndexResponseSchema, MARKETPLACE_DOCS_SEARCH_MAX_QUERY, MARKETPLACE_DOCS_SEARCH_MAX_RESULTS, MarketplaceDocsSearchQuerySchema, MarketplaceDocsSearchResultSchema, MarketplaceDocsSearchResponseSchema, } from "./plugin-docs-api.schema.js";
|
|
70
74
|
export { INSTALL_CONSENT_IDS, INSTALL_DESCRIPTION_MAX_LENGTH, INSTALL_LABEL_KEY_MAX_LENGTH, INSTALL_LABEL_MAX_LANGUAGES, INSTALL_LABEL_MAX_LENGTH, INSTALL_MAX_CHOICES_PER_OPTION, INSTALL_MAX_OPTION_ANSWERS, INSTALL_MAX_OPTIONS_PER_STEP, INSTALL_MAX_ROLE_ANSWERS, INSTALL_MAX_STEPS, INSTALL_OPTION_KINDS, InstallAnswerValueSchema, InstallAnswersManifestSchema, InstallAnswersSchema, InstallDescriptionSchema, InstallIdSchema, InstallInterfaceSchema, InstallInterfaceWireSchema, InstallLabelSchema, InstallOptionSchema, InstallStepSchema, PluginInstallDeclarationSchema, ResolvedInstallAnswersSchema, checkInstallDeclaration, installInterfaceFor, installOptionNeedsAnswer, parseInstallAnswersManifest, resolveInstallAnswers, resolveUpdateAnswers, stepsNotCoveredBy, } from "./plugin-install.js";
|
|
71
75
|
export { SAMPLE_CONTENT_MAX_MEDIA, SAMPLE_CONTENT_MAX_NODES, SAMPLE_CONTENT_MEDIA_FILE_PATTERN, SampleContentFileSchema, parseSampleContentFile, } from "./sample-content.schema.js";
|
|
72
76
|
export { INSTALL_RECORD_SUMMARY_TITLES, INSTALL_ROLE_OUTCOMES, InstallAnswersRefusedSchema, InstallRoleOutcomeSchema, PluginInstallCreatedSchema, PluginInstallRecordSchema, PluginInstallRecordSummarySchema, emptyInstallCreated, readInstallRecord, } from "./plugin-install-record.schema.js";
|
|
73
77
|
export { listIssues } from "./issue-list.js";
|
|
74
|
-
export { ASSET_PATH_MAX, FILE_NAME_MAX, PACKAGE_PATH_MAX, MAX_TEMPLATE_PAYLOAD_ENTRIES, PluginAssetPathSchema, PluginTemplateAliasSchema, PluginTemplateEntrySchema, PluginTemplateFileSchema, PluginTemplatePayloadSchema, REGISTERED_ASSET_TEXT_EXTENSIONS, RESERVED_ASSET_ROOTS, TEMPLATE_ALIAS_MAX, TEMPLATE_FILE_MAX, checkTemplateAndAssetDeclarations, hasRegisteredAssetTextExtension, } from "./plugin-template-payload.js";
|
|
78
|
+
export { ASSET_PATH_MAX, ASSET_TEXT_EXTENSIONS, FILE_NAME_MAX, PACKAGE_PATH_MAX, MAX_TEMPLATE_PAYLOAD_ENTRIES, PluginAssetPathSchema, PluginTemplateAliasSchema, PluginTemplateEntrySchema, PluginTemplateFileSchema, PluginTemplatePayloadSchema, REGISTERED_ASSET_TEXT_EXTENSIONS, RESERVED_ASSET_ROOTS, TEMPLATE_ALIAS_MAX, TEMPLATE_FILE_MAX, checkTemplateAndAssetDeclarations, hasRegisteredAssetTextExtension, isAssetTextPath, } from "./plugin-template-payload.js";
|
|
79
|
+
// S314n: Home's widgets and the Home layout.
|
|
80
|
+
export { HOME_COUNT_CAP, HOME_LAYOUT_MAX, HOME_LIST_ROWS, HomeCountSchema, HomeDraftRowSchema, HomeDraftsResponseSchema, HomeLayoutEntrySchema, HomeLayoutSchema, HomePublishedRowSchema, HomePublishedResponseSchema, HomeRecentEditRowSchema, HomeRecentEditsResponseSchema, HomeTrashCountResponseSchema, HOME_PLUGIN_FEES_MAX, HomePluginFeeSchema, HomePluginFeesResponseSchema, } from "./home.schema.js";
|
|
81
|
+
// S314n (C4): News from Kardalum, written by the marketplace operator.
|
|
82
|
+
export { NEWS_ITEMS_MAX, NEWS_KINDS, NEWS_STATES, NEWS_TEXT_MAX, NEWS_TITLE_MAX, NEWS_URL_MAX, HomeNewsResponseSchema, MarketplaceNewsItemSchema, MarketplaceNewsResponseSchema, NewsItemInputSchema, NewsKindSchema, NewsStateSchema, } from "./news.schema.js";
|
|
83
|
+
export { SiteRenderingSchema } from "./sites.schema.js";
|
|
84
|
+
// S314n2: notifications and the inbox.
|
|
85
|
+
export { NOTIFICATION_ACTIONS_MAX, NOTIFICATION_AUDIENCE_SEARCH_MAX, NOTIFICATION_BOXES, NOTIFICATION_KINDS, NOTIFICATION_PAGE_SIZE, NOTIFICATION_PAGE_STATES, NOTIFICATION_POLL_MS, NOTIFICATION_PREVIEW_ROWS, NOTIFICATION_RECIPIENTS_MAX, NOTIFICATION_RETENTION_DEFAULT_DAYS, NOTIFICATION_RETENTION_MAX_DAYS, NOTIFICATION_RETENTION_MIN_DAYS, NOTIFICATION_ROLES_MAX, NOTIFICATION_SENDER_KINDS, NOTIFICATION_TEXT_MAX, NOTIFICATION_TITLE_MAX, NOTIFICATION_UNREAD_CAP, NOTIFICATION_URL_MAX, NOTIFICATION_USERS_MAX, NotificationAudienceEntrySchema, NotificationAudienceQuerySchema, NotificationAudienceResponseSchema, NotificationAudienceSchema, NotificationBoxSchema, NotificationDataSchema, NotificationInboxPageSchema, NotificationInboxQuerySchema, NotificationItemSchema, NotificationKardalumUpdateDataSchema, NotificationKindSchema, NotificationLinkInputSchema, NotificationLinkSchema, NotificationPageStateSchema, NotificationPageSummarySchema, NotificationParamsSchema, NotificationPluginUpdateDataSchema, NotificationReachRequestSchema, NotificationReachResponseSchema, NotificationReadAllResponseSchema, NotificationRetentionSchema, NotificationSenderKindSchema, NotificationSenderSchema, NotificationStateSchema, NotificationTargetsSchema, NotificationUnreadCountSchema, SendNotificationRequestSchema, SendNotificationResponseSchema, kardalumUpdateDedupeKey, pluginUpdateDedupeKey, } from "./notification.schema.js";
|
|
86
|
+
// S314n3: the newest published Kardalum, served by the marketplace.
|
|
87
|
+
export { KARDALUM_LATEST_CACHE_MS, KardalumLatestResponseSchema } from "./kardalum-latest.schema.js";
|
|
88
|
+
// S318: the read-only notice of a plugin whose licence term lapsed.
|
|
89
|
+
export { PLUGIN_READ_ONLY_CODE, PluginReadOnlyNoticeSchema, ReadOnlyFieldSchema, isPluginReadOnlyNotice, } from "./plugin-read-only.schema.js";
|
|
90
|
+
// S320: the vendor service: the manifest declaration, the origin rule and the token's wire shapes.
|
|
91
|
+
export { PluginVendorServiceSchema, VENDOR_SERVICE_ORIGIN_MAX, VENDOR_TOKEN_LIVE_STATES, VENDOR_TOKEN_MAX_LENGTH, VENDOR_TOKEN_PAYLOAD_MAX_BYTES, VENDOR_TOKEN_REFUSAL_CODE, VENDOR_TOKEN_TERM_STATES, VENDOR_TOKEN_TTL_SECONDS, VENDOR_TOKEN_TYPE, VendorTokenPayloadSchema, VendorTokenRefusalSchema, VendorTokenRequestSchema, VendorTokenResponseSchema, isLocalVendorHost, parseVendorServiceOrigin, } from "./vendor-service.schema.js";
|
|
92
|
+
export { PLAN_DESCRIPTION_MAX, PLAN_KEY_MAX, PLAN_MAX_PRICE_CENTS, PLAN_MIN_PRICE_CENTS, PLAN_NAME_MAX, PLAN_SHAPE_VALUES, PlanAddInputSchema, PlanDescriptionSchema, PlanEditInputSchema, PlanKeySchema, PlanMoveInputSchema, PlanNameSchema, PlanPriceInputSchema, PlanRefInputSchema, PlanShapeSchema, PriceSweepProgressSchema, isPlanKey, planPriceAgrees, } from "./plan-editor.schema.js";
|
|
93
|
+
export { REVENUE_PLUGIN_PARAM_MAX, RevenueMonthKeySchema, RevenueMonthSchema, RevenueNowSchema, RevenuePlanMonthSchema, RevenuePluginParamSchema, RevenueViewSchema, isRevenueMonthKey, } from "./revenue-view.schema.js";
|
|
94
|
+
export { SHOWN_PRICE_DIGITS_MAX, ShownPlanFieldsSchema, parseShownCents, readShownPlan, shownPlanMatches, } from "./checkout-shown.schema.js";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** How long the marketplace keeps an answer from npm. */
|
|
3
|
+
export declare const KARDALUM_LATEST_CACHE_MS: number;
|
|
4
|
+
export declare const KardalumLatestResponseSchema: z.ZodObject<{
|
|
5
|
+
version: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
export type KardalumLatestResponse = z.infer<typeof KardalumLatestResponseSchema>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { PluginVersionSchema } from "./plugin-manifest-fields.js";
|
|
3
|
+
// S314n3 (D3, 3d): the newest published Kardalum, as the marketplace serves it at
|
|
4
|
+
// GET /api/v1/kardalum/latest. The marketplace reads npm's `latest` tag of
|
|
5
|
+
// @kardalum/server, keeps it for a day and serves the last good answer when npm
|
|
6
|
+
// cannot be read; the CMS compares it with the version it runs.
|
|
7
|
+
/** How long the marketplace keeps an answer from npm. */
|
|
8
|
+
export const KARDALUM_LATEST_CACHE_MS = 24 * 60 * 60 * 1000;
|
|
9
|
+
export const KardalumLatestResponseSchema = z.object({ version: PluginVersionSchema });
|
|
@@ -42,8 +42,18 @@ export declare const MarketplaceListingVersionSchema: z.ZodObject<{
|
|
|
42
42
|
cmsVersion: z.ZodString;
|
|
43
43
|
verified: z.ZodBoolean;
|
|
44
44
|
createdAt: z.ZodString;
|
|
45
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
45
46
|
hasArtifact: z.ZodBoolean;
|
|
46
47
|
}, z.core.$strip>;
|
|
48
|
+
export declare const MarketplacePlanSchema: z.ZodObject<{
|
|
49
|
+
key: z.ZodString;
|
|
50
|
+
name: z.ZodString;
|
|
51
|
+
description: z.ZodString;
|
|
52
|
+
shape: z.ZodString;
|
|
53
|
+
priceCents: z.ZodNumber;
|
|
54
|
+
position: z.ZodNumber;
|
|
55
|
+
}, z.core.$strip>;
|
|
56
|
+
export type MarketplacePlan = z.infer<typeof MarketplacePlanSchema>;
|
|
47
57
|
export declare const MarketplaceListingSchema: z.ZodObject<{
|
|
48
58
|
pluginId: z.ZodString;
|
|
49
59
|
name: z.ZodString;
|
|
@@ -51,6 +61,14 @@ export declare const MarketplaceListingSchema: z.ZodObject<{
|
|
|
51
61
|
description: z.ZodString;
|
|
52
62
|
author: z.ZodString;
|
|
53
63
|
priceCents: z.ZodNumber;
|
|
64
|
+
plans: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
65
|
+
key: z.ZodString;
|
|
66
|
+
name: z.ZodString;
|
|
67
|
+
description: z.ZodString;
|
|
68
|
+
shape: z.ZodString;
|
|
69
|
+
priceCents: z.ZodNumber;
|
|
70
|
+
position: z.ZodNumber;
|
|
71
|
+
}, z.core.$strip>>>;
|
|
54
72
|
coverImagePath: z.ZodNullable<z.ZodString>;
|
|
55
73
|
latestVersion: z.ZodNullable<z.ZodObject<{
|
|
56
74
|
version: z.ZodString;
|
|
@@ -83,12 +101,15 @@ export declare const MarketplaceListingSchema: z.ZodObject<{
|
|
|
83
101
|
cmsVersion: z.ZodString;
|
|
84
102
|
verified: z.ZodBoolean;
|
|
85
103
|
createdAt: z.ZodString;
|
|
104
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
86
105
|
hasArtifact: z.ZodBoolean;
|
|
87
106
|
}, z.core.$strip>>;
|
|
88
107
|
compatible: z.ZodBoolean;
|
|
89
108
|
cmsCompatible: z.ZodBoolean;
|
|
90
109
|
installedVersion: z.ZodNullable<z.ZodString>;
|
|
91
110
|
updateAvailable: z.ZodBoolean;
|
|
111
|
+
renewToUpdate: z.ZodOptional<z.ZodLiteral<true>>;
|
|
112
|
+
licenseBundlePluginId: z.ZodOptional<z.ZodString>;
|
|
92
113
|
}, z.core.$strip>;
|
|
93
114
|
export type MarketplaceListing = z.infer<typeof MarketplaceListingSchema>;
|
|
94
115
|
export declare const MarketplaceStarterSchema: z.ZodObject<{
|
|
@@ -109,6 +130,7 @@ export declare const MarketplaceBundleMemberSchema: z.ZodObject<{
|
|
|
109
130
|
description: z.ZodNullable<z.ZodString>;
|
|
110
131
|
type: z.ZodString;
|
|
111
132
|
priceCents: z.ZodNumber;
|
|
133
|
+
priceShape: z.ZodOptional<z.ZodString>;
|
|
112
134
|
}, z.core.$strip>;
|
|
113
135
|
export type MarketplaceBundleMember = z.infer<typeof MarketplaceBundleMemberSchema>;
|
|
114
136
|
export declare const MarketplaceListingDetailVersionSchema: z.ZodObject<{
|
|
@@ -142,6 +164,7 @@ export declare const MarketplaceListingDetailVersionSchema: z.ZodObject<{
|
|
|
142
164
|
cmsVersion: z.ZodString;
|
|
143
165
|
verified: z.ZodBoolean;
|
|
144
166
|
createdAt: z.ZodString;
|
|
167
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
145
168
|
hasArtifact: z.ZodBoolean;
|
|
146
169
|
starter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
147
170
|
name: z.ZodString;
|
|
@@ -159,6 +182,7 @@ export declare const MarketplaceListingDetailVersionSchema: z.ZodObject<{
|
|
|
159
182
|
description: z.ZodNullable<z.ZodString>;
|
|
160
183
|
type: z.ZodString;
|
|
161
184
|
priceCents: z.ZodNumber;
|
|
185
|
+
priceShape: z.ZodOptional<z.ZodString>;
|
|
162
186
|
}, z.core.$strip>>>>;
|
|
163
187
|
readme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
164
188
|
installInterface: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -251,11 +275,21 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
|
|
|
251
275
|
description: z.ZodString;
|
|
252
276
|
author: z.ZodString;
|
|
253
277
|
priceCents: z.ZodNumber;
|
|
278
|
+
plans: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
279
|
+
key: z.ZodString;
|
|
280
|
+
name: z.ZodString;
|
|
281
|
+
description: z.ZodString;
|
|
282
|
+
shape: z.ZodString;
|
|
283
|
+
priceCents: z.ZodNumber;
|
|
284
|
+
position: z.ZodNumber;
|
|
285
|
+
}, z.core.$strip>>>;
|
|
254
286
|
coverImagePath: z.ZodNullable<z.ZodString>;
|
|
255
287
|
compatible: z.ZodBoolean;
|
|
256
288
|
cmsCompatible: z.ZodBoolean;
|
|
257
289
|
installedVersion: z.ZodNullable<z.ZodString>;
|
|
258
290
|
updateAvailable: z.ZodBoolean;
|
|
291
|
+
renewToUpdate: z.ZodOptional<z.ZodLiteral<true>>;
|
|
292
|
+
licenseBundlePluginId: z.ZodOptional<z.ZodString>;
|
|
259
293
|
latestVersion: z.ZodNullable<z.ZodObject<{
|
|
260
294
|
version: z.ZodString;
|
|
261
295
|
supportedDialects: z.ZodArray<z.ZodString>;
|
|
@@ -287,6 +321,7 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
|
|
|
287
321
|
cmsVersion: z.ZodString;
|
|
288
322
|
verified: z.ZodBoolean;
|
|
289
323
|
createdAt: z.ZodString;
|
|
324
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
290
325
|
hasArtifact: z.ZodBoolean;
|
|
291
326
|
starter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
292
327
|
name: z.ZodString;
|
|
@@ -304,6 +339,7 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
|
|
|
304
339
|
description: z.ZodNullable<z.ZodString>;
|
|
305
340
|
type: z.ZodString;
|
|
306
341
|
priceCents: z.ZodNumber;
|
|
342
|
+
priceShape: z.ZodOptional<z.ZodString>;
|
|
307
343
|
}, z.core.$strip>>>>;
|
|
308
344
|
readme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
309
345
|
installInterface: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -419,6 +455,7 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
|
|
|
419
455
|
cmsVersion: z.ZodString;
|
|
420
456
|
verified: z.ZodBoolean;
|
|
421
457
|
createdAt: z.ZodString;
|
|
458
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
422
459
|
hasArtifact: z.ZodBoolean;
|
|
423
460
|
starter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
424
461
|
name: z.ZodString;
|
|
@@ -436,6 +473,7 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
|
|
|
436
473
|
description: z.ZodNullable<z.ZodString>;
|
|
437
474
|
type: z.ZodString;
|
|
438
475
|
priceCents: z.ZodNumber;
|
|
476
|
+
priceShape: z.ZodOptional<z.ZodString>;
|
|
439
477
|
}, z.core.$strip>>>>;
|
|
440
478
|
readme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
441
479
|
installInterface: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -543,6 +581,14 @@ export declare const MarketplaceListResponseSchema: z.ZodObject<{
|
|
|
543
581
|
description: z.ZodString;
|
|
544
582
|
author: z.ZodString;
|
|
545
583
|
priceCents: z.ZodNumber;
|
|
584
|
+
plans: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
585
|
+
key: z.ZodString;
|
|
586
|
+
name: z.ZodString;
|
|
587
|
+
description: z.ZodString;
|
|
588
|
+
shape: z.ZodString;
|
|
589
|
+
priceCents: z.ZodNumber;
|
|
590
|
+
position: z.ZodNumber;
|
|
591
|
+
}, z.core.$strip>>>;
|
|
546
592
|
coverImagePath: z.ZodNullable<z.ZodString>;
|
|
547
593
|
latestVersion: z.ZodNullable<z.ZodObject<{
|
|
548
594
|
version: z.ZodString;
|
|
@@ -575,12 +621,15 @@ export declare const MarketplaceListResponseSchema: z.ZodObject<{
|
|
|
575
621
|
cmsVersion: z.ZodString;
|
|
576
622
|
verified: z.ZodBoolean;
|
|
577
623
|
createdAt: z.ZodString;
|
|
624
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
578
625
|
hasArtifact: z.ZodBoolean;
|
|
579
626
|
}, z.core.$strip>>;
|
|
580
627
|
compatible: z.ZodBoolean;
|
|
581
628
|
cmsCompatible: z.ZodBoolean;
|
|
582
629
|
installedVersion: z.ZodNullable<z.ZodString>;
|
|
583
630
|
updateAvailable: z.ZodBoolean;
|
|
631
|
+
renewToUpdate: z.ZodOptional<z.ZodLiteral<true>>;
|
|
632
|
+
licenseBundlePluginId: z.ZodOptional<z.ZodString>;
|
|
584
633
|
}, z.core.$strip>>;
|
|
585
634
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
586
635
|
activeDialect: z.ZodString;
|
|
@@ -595,13 +644,27 @@ export declare const MARKETPLACE_VERSIONS_MAX_IDS = 50;
|
|
|
595
644
|
* this; the CMS's client therefore sends no id longer than 199 characters,
|
|
596
645
|
* so that fifty of them and their 49 commas (9,999 characters) always fit. */
|
|
597
646
|
export declare const MARKETPLACE_VERSIONS_IDS_MAX_LENGTH = 10000;
|
|
647
|
+
/** S322b (P15): the most plan names one versions answer item carries. */
|
|
648
|
+
export declare const MARKETPLACE_PLAN_NAMES_MAX = 32;
|
|
649
|
+
/** S322b (P15): a plan's key and name, so a CMS can name the plan its stored
|
|
650
|
+
* licence verdict carries (the verdict carries the key only). */
|
|
651
|
+
export declare const MarketplacePlanNameSchema: z.ZodObject<{
|
|
652
|
+
key: z.ZodString;
|
|
653
|
+
name: z.ZodString;
|
|
654
|
+
}, z.core.$strip>;
|
|
655
|
+
export type MarketplacePlanName = z.infer<typeof MarketplacePlanNameSchema>;
|
|
598
656
|
/** What a CMS decides an update with: a listing's latest published version,
|
|
599
|
-
* reduced to
|
|
657
|
+
* reduced to the facts it compares (S319: and its release date). */
|
|
600
658
|
export declare const MarketplaceLatestVersionSchema: z.ZodObject<{
|
|
601
659
|
version: z.ZodString;
|
|
660
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
602
661
|
supportedDialects: z.ZodArray<z.ZodString>;
|
|
603
662
|
cmsVersion: z.ZodString;
|
|
604
663
|
hasArtifact: z.ZodBoolean;
|
|
664
|
+
planNames: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodObject<{
|
|
665
|
+
key: z.ZodString;
|
|
666
|
+
name: z.ZodString;
|
|
667
|
+
}, z.core.$strip>>, unknown>>;
|
|
605
668
|
}, z.core.$strip>;
|
|
606
669
|
export type MarketplaceLatestVersion = z.infer<typeof MarketplaceLatestVersionSchema>;
|
|
607
670
|
/** One item per published listing among the ids asked, in the order asked; an
|
|
@@ -612,9 +675,14 @@ export declare const MarketplaceVersionsResponseSchema: z.ZodObject<{
|
|
|
612
675
|
pluginId: z.ZodString;
|
|
613
676
|
latestVersion: z.ZodObject<{
|
|
614
677
|
version: z.ZodString;
|
|
678
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
615
679
|
supportedDialects: z.ZodArray<z.ZodString>;
|
|
616
680
|
cmsVersion: z.ZodString;
|
|
617
681
|
hasArtifact: z.ZodBoolean;
|
|
682
|
+
planNames: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodObject<{
|
|
683
|
+
key: z.ZodString;
|
|
684
|
+
name: z.ZodString;
|
|
685
|
+
}, z.core.$strip>>, unknown>>;
|
|
618
686
|
}, z.core.$strip>;
|
|
619
687
|
}, z.core.$strip>>;
|
|
620
688
|
}, z.core.$strip>;
|
|
@@ -658,6 +726,14 @@ export declare const MarketplaceInstallMemberSchema: z.ZodObject<{
|
|
|
658
726
|
}>;
|
|
659
727
|
}, z.core.$strip>;
|
|
660
728
|
export type MarketplaceInstallMember = z.infer<typeof MarketplaceInstallMemberSchema>;
|
|
729
|
+
/** S319 (spec 3c, plan P8): a fresh install of a version the licence's
|
|
730
|
+
* lapsed term does not cover installed the newest version it does cover
|
|
731
|
+
* instead; this names the version that was asked for and why. */
|
|
732
|
+
export declare const MarketplaceInstallHeldBackSchema: z.ZodObject<{
|
|
733
|
+
requestedVersion: z.ZodString;
|
|
734
|
+
reason: z.ZodLiteral<"term_lapsed">;
|
|
735
|
+
}, z.core.$strip>;
|
|
736
|
+
export type MarketplaceInstallHeldBack = z.infer<typeof MarketplaceInstallHeldBackSchema>;
|
|
661
737
|
export declare const MarketplaceInstallResponseSchema: z.ZodObject<{
|
|
662
738
|
pluginId: z.ZodString;
|
|
663
739
|
version: z.ZodString;
|
|
@@ -700,6 +776,10 @@ export declare const MarketplaceInstallResponseSchema: z.ZodObject<{
|
|
|
700
776
|
}>;
|
|
701
777
|
}, z.core.$strip>>>;
|
|
702
778
|
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
779
|
+
heldBack: z.ZodOptional<z.ZodObject<{
|
|
780
|
+
requestedVersion: z.ZodString;
|
|
781
|
+
reason: z.ZodLiteral<"term_lapsed">;
|
|
782
|
+
}, z.core.$strip>>;
|
|
703
783
|
}, z.core.$strip>;
|
|
704
784
|
export type MarketplaceInstallResponse = z.infer<typeof MarketplaceInstallResponseSchema>;
|
|
705
785
|
/** The 409 a marketplace install or update answers. `reason` is present
|
|
@@ -714,6 +794,40 @@ export declare const MarketplaceInstallConflictSchema: z.ZodObject<{
|
|
|
714
794
|
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
715
795
|
}, z.core.$strip>;
|
|
716
796
|
export type MarketplaceInstallConflict = z.infer<typeof MarketplaceInstallConflictSchema>;
|
|
797
|
+
/** S319 (spec 3c): the 402 a marketplace install answers when the licence's
|
|
798
|
+
* lapsed term does not cover the version: always for an update, which is
|
|
799
|
+
* never downgraded, and for a fresh install with no older covered version
|
|
800
|
+
* to fall back to. Nothing was installed or changed. */
|
|
801
|
+
export declare const MarketplaceInstallRenewRequiredSchema: z.ZodObject<{
|
|
802
|
+
message: z.ZodString;
|
|
803
|
+
reason: z.ZodLiteral<"renew-required">;
|
|
804
|
+
}, z.core.$strip>;
|
|
805
|
+
export type MarketplaceInstallRenewRequired = z.infer<typeof MarketplaceInstallRenewRequiredSchema>;
|
|
806
|
+
/** S322c (D5, plan P14): the most plugins a missing-dependency answer names. */
|
|
807
|
+
export declare const MARKETPLACE_MISSING_PLUGINS_MAX = 32;
|
|
808
|
+
/** One plugin a bundle install needs and the site does not have. `author`
|
|
809
|
+
* and `listingUrl` are null when the marketplace could not say. */
|
|
810
|
+
export declare const MarketplaceMissingPluginSchema: z.ZodObject<{
|
|
811
|
+
pluginId: z.ZodString;
|
|
812
|
+
name: z.ZodString;
|
|
813
|
+
author: z.ZodNullable<z.ZodString>;
|
|
814
|
+
listingUrl: z.ZodNullable<z.ZodString>;
|
|
815
|
+
}, z.core.$strip>;
|
|
816
|
+
export type MarketplaceMissingPlugin = z.infer<typeof MarketplaceMissingPluginSchema>;
|
|
817
|
+
/** S322c (D5): the 422 a bundle install answers when a member needs a plugin
|
|
818
|
+
* outside the bundle. Nothing was installed; `message` is the whole sentence,
|
|
819
|
+
* `missing` names each plugin for a client that links to it. */
|
|
820
|
+
export declare const MarketplaceInstallDependenciesMissingSchema: z.ZodObject<{
|
|
821
|
+
message: z.ZodString;
|
|
822
|
+
reason: z.ZodLiteral<"dependencies-missing">;
|
|
823
|
+
missing: z.ZodArray<z.ZodObject<{
|
|
824
|
+
pluginId: z.ZodString;
|
|
825
|
+
name: z.ZodString;
|
|
826
|
+
author: z.ZodNullable<z.ZodString>;
|
|
827
|
+
listingUrl: z.ZodNullable<z.ZodString>;
|
|
828
|
+
}, z.core.$strip>>;
|
|
829
|
+
}, z.core.$strip>;
|
|
830
|
+
export type MarketplaceInstallDependenciesMissing = z.infer<typeof MarketplaceInstallDependenciesMissingSchema>;
|
|
717
831
|
export type MarketplaceListQuery = z.infer<typeof MarketplaceListQuerySchema>;
|
|
718
832
|
/** The parsed side, which is also what a client sends: the schema has no defaults, so `licenseKey` and
|
|
719
833
|
* `answers` stay optional, and `answers.options` keeps its record type (the z.input side of its preprocess
|