@kardalum/plugin-sdk 0.18.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +42 -0
- package/README.md +1 -1
- package/dist/assets/asset-picker.js +3 -3
- package/dist/built-in-serializers.js +1 -1
- package/dist/built-in-settings-schemas.js +4 -4
- package/dist/built-ins.js +10 -10
- package/dist/data-type-plugin.d.ts +2 -2
- package/dist/datatype-validation.d.ts +2 -2
- package/dist/datatype-validation.js +2 -2
- package/dist/define-plugin.d.ts +4 -4
- package/dist/define-plugin.js +5 -5
- package/dist/index.d.ts +2 -0
- package/dist/index.js +4 -0
- package/dist/manifest-schema.js +7 -1
- package/dist/media/media-picker.js +4 -4
- package/dist/plugin-context.js +3 -3
- package/dist/register-built-ins.js +6 -6
- package/dist/registry.js +1 -1
- package/dist/richtext/block-panel.js +2 -2
- package/dist/richtext/extensions.js +7 -7
- package/dist/richtext/insert-menu.js +3 -3
- package/dist/richtext/style-listbox.js +1 -1
- package/dist/richtext/text-style-class.js +1 -1
- package/dist/simple-storage-value-provider.js +3 -3
- package/dist/structured-storage-types.d.ts +1 -1
- package/dist/structured-storage-types.js +2 -2
- package/dist/ui-entry.js +3 -3
- package/dist/views/asset-view.js +3 -3
- package/dist/views/date-range-view.js +5 -5
- package/dist/views/html-code-editor.js +2 -2
- package/dist/views/html-view.js +7 -7
- package/dist/views/image-view.js +4 -4
- package/dist/views/rich-text-view.js +4 -3
- package/node_modules/@kardalum/api-schemas/dist/api-error.schema.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/asset-api.schema.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/auth.schema.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/content-api.schema.d.ts +1 -0
- package/node_modules/@kardalum/api-schemas/dist/content-api.schema.js +14 -8
- package/node_modules/@kardalum/api-schemas/dist/content-trash-api.schema.js +3 -3
- package/node_modules/@kardalum/api-schemas/dist/content-trash.schema.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/core-actions.d.ts +2 -2
- package/node_modules/@kardalum/api-schemas/dist/core-actions.js +2 -2
- package/node_modules/@kardalum/api-schemas/dist/data-type-api.schema.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/data-type-config.schema.js +3 -3
- package/node_modules/@kardalum/api-schemas/dist/document-type-api.schema.d.ts +90 -0
- package/node_modules/@kardalum/api-schemas/dist/document-type-api.schema.js +14 -4
- package/node_modules/@kardalum/api-schemas/dist/document-type.schema.js +8 -8
- package/node_modules/@kardalum/api-schemas/dist/index.d.ts +11 -8
- package/node_modules/@kardalum/api-schemas/dist/index.js +6 -4
- package/node_modules/@kardalum/api-schemas/dist/listing-categories.schema.d.ts +46 -0
- package/node_modules/@kardalum/api-schemas/dist/listing-categories.schema.js +52 -0
- package/node_modules/@kardalum/api-schemas/dist/marketplace-listing-api.schema.d.ts +47 -0
- package/node_modules/@kardalum/api-schemas/dist/marketplace-listing-api.schema.js +42 -8
- package/node_modules/@kardalum/api-schemas/dist/media-api.schema.js +9 -9
- package/node_modules/@kardalum/api-schemas/dist/media.schema.js +5 -5
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs-text.js +1 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-management-api.schema.d.ts +24 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-management-api.schema.js +39 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-registry-api.schema.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/plugin-storage-api.schema.js +3 -3
- package/node_modules/@kardalum/api-schemas/dist/render-editing.js +4 -4
- package/node_modules/@kardalum/api-schemas/dist/render-settings-api.schema.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/server-settings-api.schema.d.ts +207 -0
- package/node_modules/@kardalum/api-schemas/dist/server-settings-api.schema.js +147 -0
- package/node_modules/@kardalum/api-schemas/dist/setup-api.schema.d.ts +11 -0
- package/node_modules/@kardalum/api-schemas/dist/setup-api.schema.js +17 -8
- package/node_modules/@kardalum/api-schemas/dist/snapshot.schema.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/template-api.schema.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/theme-api.schema.d.ts +1 -1
- package/node_modules/@kardalum/api-schemas/dist/theme-api.schema.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/user-api.schema.js +1 -1
- package/node_modules/@kardalum/design-tokens/dist/build-css.d.ts +1 -1
- package/node_modules/@kardalum/design-tokens/dist/build-css.js +2 -2
- package/node_modules/@kardalum/design-tokens/dist/tailwind-theme.js +3 -3
- package/node_modules/@kardalum/design-tokens/dist/theme-css.d.ts +2 -2
- package/node_modules/@kardalum/design-tokens/dist/theme-css.js +2 -2
- package/node_modules/@kardalum/design-tokens/dist/theme-types.d.ts +2 -2
- package/node_modules/@kardalum/design-tokens/dist/themes/dark.d.ts +3 -3
- package/node_modules/@kardalum/design-tokens/dist/themes/dark.js +3 -3
- package/node_modules/@kardalum/design-tokens/dist/themes/light.d.ts +1 -1
- package/node_modules/@kardalum/design-tokens/dist/themes/light.js +1 -1
- package/node_modules/@kardalum/design-tokens/dist/tokens.d.ts +3 -3
- package/node_modules/@kardalum/design-tokens/dist/tokens.js +5 -5
- package/node_modules/@kardalum/design-tokens/dist/types.d.ts +1 -1
- package/node_modules/@kardalum/design-tokens/dist/types.js +1 -1
- package/node_modules/@kardalum/plugin-package/dist/delivery/registry.js +2 -1
- package/node_modules/@kardalum/plugin-package/dist/envelope.d.ts +2 -2
- package/node_modules/@kardalum/plugin-package/dist/envelope.js +2 -2
- package/node_modules/@kardalum/plugin-package/dist/extract.d.ts +3 -3
- package/node_modules/@kardalum/plugin-package/dist/extract.js +9 -9
- package/node_modules/@kardalum/plugin-package/dist/hash.d.ts +1 -1
- package/node_modules/@kardalum/plugin-package/dist/hash.js +1 -1
- package/node_modules/@kardalum/plugin-package/dist/package-contract.d.ts +2 -2
- package/node_modules/@kardalum/plugin-package/dist/package-contract.js +5 -5
- package/node_modules/@kardalum/plugin-package/dist/types.d.ts +1 -1
- package/node_modules/@kardalum/ui/dist/components/alert-dialog.d.ts +1 -1
- package/node_modules/@kardalum/ui/dist/components/alert-dialog.js +8 -3
- package/node_modules/@kardalum/ui/dist/components/badge.js +1 -1
- package/node_modules/@kardalum/ui/dist/components/button.js +1 -1
- package/node_modules/@kardalum/ui/dist/components/dialog.d.ts +1 -1
- package/node_modules/@kardalum/ui/dist/components/dialog.js +49 -4
- package/node_modules/@kardalum/ui/dist/components/dropdown-menu.d.ts +5 -1
- package/node_modules/@kardalum/ui/dist/components/dropdown-menu.js +18 -5
- package/node_modules/@kardalum/ui/dist/components/empty-state.d.ts +4 -4
- package/node_modules/@kardalum/ui/dist/components/input.js +6 -1
- package/node_modules/@kardalum/ui/dist/components/property-field.js +3 -3
- package/node_modules/@kardalum/ui/dist/components/sheet.d.ts +1 -1
- package/node_modules/@kardalum/ui/dist/components/sheet.js +12 -7
- package/node_modules/@kardalum/ui/dist/components/skeleton.js +1 -1
- package/node_modules/@kardalum/ui/dist/components/tab-strip.d.ts +3 -3
- package/node_modules/@kardalum/ui/dist/components/toast.js +4 -3
- package/node_modules/@kardalum/ui/dist/components/tooltip.d.ts +27 -0
- package/node_modules/@kardalum/ui/dist/components/tooltip.js +82 -0
- package/node_modules/@kardalum/ui/dist/components/truncated-text.d.ts +11 -0
- package/node_modules/@kardalum/ui/dist/components/truncated-text.js +94 -0
- package/node_modules/@kardalum/ui/dist/components/use-toast.js +2 -2
- package/node_modules/@kardalum/ui/dist/index.d.ts +3 -1
- package/node_modules/@kardalum/ui/dist/index.js +3 -1
- package/node_modules/@kardalum/ui/dist/lib/menu-host.d.ts +5 -0
- package/node_modules/@kardalum/ui/dist/lib/menu-host.js +17 -0
- package/node_modules/@kardalum/ui/package.json +8 -6
- package/package.json +7 -6
|
@@ -26,9 +26,9 @@ function validateFieldsAndTabs(value, ctx) {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
// Same shape as DocumentTypeDefinitionSchema minus `id
|
|
29
|
+
// Same shape as DocumentTypeDefinitionSchema minus `id`: the server
|
|
30
30
|
// mints that. `defaultTemplateId` is deliberately absent even on the
|
|
31
|
-
// 'page' branch
|
|
31
|
+
// 'page' branch: it's only ever set afterward via the dedicated
|
|
32
32
|
// default-template endpoint, since a template can't exist before its
|
|
33
33
|
// document type does.
|
|
34
34
|
export const CreateDocumentTypeRequestSchema = z
|
|
@@ -111,7 +111,7 @@ export const CreateDocumentTypeRequestSchema = z
|
|
|
111
111
|
},
|
|
112
112
|
});
|
|
113
113
|
// PUT /api/manage/v1/document-types/:id: the mutable subset only. `kind` is
|
|
114
|
-
// immutable after creation (a payload carrying it fails .strict()
|
|
114
|
+
// immutable after creation (a payload carrying it fails .strict(), the
|
|
115
115
|
// intended behavior, not an accident) and `defaultTemplateId` stays with
|
|
116
116
|
// its dedicated pointer endpoint. `treeRules` is optional HERE because
|
|
117
117
|
// the schema can't know the stored kind; the route requires it for
|
|
@@ -169,8 +169,18 @@ export const DocumentTypeListQuerySchema = z.object({
|
|
|
169
169
|
cursor: z.string().uuid().optional(),
|
|
170
170
|
limit: z.coerce.number().int().min(1).max(100).default(50),
|
|
171
171
|
});
|
|
172
|
+
/** S366 (spec D8): a listed document type and the plugin that provided it
|
|
173
|
+
* (its plugin_document_types row), null for the operator's own, so the admin
|
|
174
|
+
* can say which plugin a type came from before it is deleted. */
|
|
175
|
+
const OWNED_BY = { ownedBy: z.string().min(1).nullable() };
|
|
176
|
+
const [PAGE_TYPE, ELEMENT_TYPE, MEDIA_TYPE] = DocumentTypeDefinitionSchema.options;
|
|
177
|
+
export const DocumentTypeListItemSchema = z.discriminatedUnion("kind", [
|
|
178
|
+
PAGE_TYPE.extend(OWNED_BY),
|
|
179
|
+
ELEMENT_TYPE.extend(OWNED_BY),
|
|
180
|
+
MEDIA_TYPE.extend(OWNED_BY),
|
|
181
|
+
]);
|
|
172
182
|
export const DocumentTypeListResponseSchema = z.object({
|
|
173
|
-
items: z.array(
|
|
183
|
+
items: z.array(DocumentTypeListItemSchema),
|
|
174
184
|
nextCursor: z.string().uuid().nullable(),
|
|
175
185
|
});
|
|
176
186
|
export const DeleteDocumentTypeResponseSchema = z.object({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
// Basic, generic validation rules (Session 34)
|
|
2
|
+
// Basic, generic validation rules (Session 34): required applies to any
|
|
3
3
|
// datatype; minLength/maxLength are meaningful for text-like datatypes,
|
|
4
4
|
// min/max for numeric ones. Not cross-checked against datatypeId here
|
|
5
|
-
// (same non-goal as datatypeId itself
|
|
5
|
+
// (same non-goal as datatypeId itself: the registry is a client-side
|
|
6
6
|
// concept); the builder UI only shows the fields relevant to the
|
|
7
7
|
// selected datatype.
|
|
8
8
|
export const FieldValidationSchema = z
|
|
@@ -26,7 +26,7 @@ export const FieldValidationSchema = z
|
|
|
26
26
|
message: "min must be <= max",
|
|
27
27
|
path: ["max"],
|
|
28
28
|
});
|
|
29
|
-
// A tab id is purely organizational
|
|
29
|
+
// A tab id is purely organizational, unlike FieldDefinition.id (a
|
|
30
30
|
// human-typed key that becomes a ContentVersion.data key), a tab id is
|
|
31
31
|
// never a data key, only ever referenced by FieldDefinition.tabId. Minted
|
|
32
32
|
// client-side (crypto.randomUUID()) the same way DocumentTypeDefinition.id
|
|
@@ -37,25 +37,25 @@ export const TabDefinitionSchema = z
|
|
|
37
37
|
name: z.string().min(1),
|
|
38
38
|
})
|
|
39
39
|
.strict();
|
|
40
|
-
// id is a stable key, not a UUID
|
|
40
|
+
// id is a stable key, not a UUID: it becomes the key in
|
|
41
41
|
// ContentVersion.data once the content editor exists (Sessions 35-37), so
|
|
42
42
|
// renaming a field's display name later never orphans existing content.
|
|
43
43
|
export const FieldDefinitionSchema = z
|
|
44
44
|
.object({
|
|
45
45
|
id: z.string().regex(/^[a-zA-Z][a-zA-Z0-9_]*$/),
|
|
46
46
|
name: z.string().min(1),
|
|
47
|
-
// References a DataTypeConfig.id (a named, configured Data Type
|
|
47
|
+
// References a DataTypeConfig.id (a named, configured Data Type,
|
|
48
48
|
// see data-type-config.schema.ts), NOT a registry editor id, as of
|
|
49
49
|
// Session 50. Deliberately NOT z.string().uuid(): this schema also
|
|
50
50
|
// serializes READS, and pre-Session-50 rows hold registry editor ids
|
|
51
51
|
// ('com.kardalum.text') that must stay readable (the admin resolver has
|
|
52
52
|
// a legacy fallback for them). Create-time integrity doesn't need the
|
|
53
|
-
// uuid check either
|
|
53
|
+
// uuid check either: the route rejects any id with no data_types row,
|
|
54
54
|
// which a registry id never has.
|
|
55
55
|
datatypeId: z.string().min(1),
|
|
56
56
|
validation: FieldValidationSchema.optional(),
|
|
57
57
|
// References a TabDefinition.id declared in this same document type's
|
|
58
|
-
// `tabs` array. Optional
|
|
58
|
+
// `tabs` array. Optional: a field with no tabId renders in the
|
|
59
59
|
// implicit default tab. Not cross-validated here (same non-goal as
|
|
60
60
|
// datatypeId); the create-request schema below validates it instead.
|
|
61
61
|
tabId: z.string().uuid().optional(),
|
|
@@ -75,7 +75,7 @@ export const TreeRulesSchema = z.object({
|
|
|
75
75
|
allowedChildTypes: z.array(z.string()),
|
|
76
76
|
});
|
|
77
77
|
// .strict() on every branch: an 'element' payload carrying treeRules is
|
|
78
|
-
// a clear validation error, not silently stripped
|
|
78
|
+
// a clear validation error, not silently stripped: treeRules genuinely
|
|
79
79
|
// doesn't apply to element kind, not just hidden in the UI. `tabs` is
|
|
80
80
|
// symmetric on the page and element branches (an 'element' type can have just as many
|
|
81
81
|
// fields as a 'page' type); `defaultTemplateId` stays 'page'-only since
|
|
@@ -22,6 +22,8 @@ export { MANIFEST_ID_SEGMENT_MAX, PLUGIN_ID_REGEX, SLOT_ID_MAX, SLOT_ID_REGEX, i
|
|
|
22
22
|
export { PLUGIN_AUTHOR_MAX, PLUGIN_CMS_VERSION_MAX, PLUGIN_DESCRIPTION_MAX, PLUGIN_ID_MAX, PLUGIN_ID_MESSAGE, PLUGIN_ID_SEGMENTS_MESSAGE, PLUGIN_LICENSE_MAX, PLUGIN_NAME_MAX, PLUGIN_VERSION_MAX, PLUGIN_VERSION_MESSAGE, PluginAuthorSchema, PluginCmsVersionSchema, PluginDescriptionSchema, PluginLicenseSchema, PluginManifestIdSchema, PluginNameSchema, PluginVersionSchema, checkPluginListingFields, isPluginVersion, pluginManifestFields, } from "./plugin-manifest-fields.js";
|
|
23
23
|
export { API_ROUTE_ACCESS_TIERS, DATABASE_DIALECTS, PLUGIN_TYPES, STORAGE_TYPES, TEMPLATE_KINDS, TIER1_DIALECTS, } from "./plugin-vocabulary.js";
|
|
24
24
|
export type { DatabaseDialectValue, PluginTypeValue, Tier1Dialect } from "./plugin-vocabulary.js";
|
|
25
|
+
export { CATEGORY_FROM_TYPE, LISTING_CATEGORIES, LISTING_CATEGORIES_MAX, LISTING_CATEGORY_LABELS, ListingCategoriesInputSchema, ListingCategoriesSchema, ListingCategorySchema, categoryFromType, isListingCategory, } from "./listing-categories.schema.js";
|
|
26
|
+
export type { ListingCategoriesInput, ListingCategory } from "./listing-categories.schema.js";
|
|
25
27
|
export { cultureDirection } from "./culture-direction.js";
|
|
26
28
|
export { ContentVersionSchema, flattenForCulture } from "./content-version.schema.js";
|
|
27
29
|
export type { ContentVersion } from "./content-version.schema.js";
|
|
@@ -36,14 +38,14 @@ export { SnapshotSchema, SnapshotItemSchema, SnapshotMetaSchema } from "./snapsh
|
|
|
36
38
|
export type { Snapshot, SnapshotItem, SnapshotMeta } from "./snapshot.schema.js";
|
|
37
39
|
export { ApiErrorSchema, BodyTooLargeErrorSchema, RateLimitErrorSchema } from "./api-error.schema.js";
|
|
38
40
|
export type { ApiError, BodyTooLargeError, RateLimitError } from "./api-error.schema.js";
|
|
39
|
-
export { BundledTemplateSchema, SetupStatusResponseSchema, SetupStarterSelectionSchema, SetupStarterResultSchema, SetupCompleteRequestSchema, SetupCompleteResponseSchema, } from "./setup-api.schema.js";
|
|
40
|
-
export type { BundledTemplate, SetupStatusResponse, SetupStarterSelection, SetupStarterResult, SetupCompleteRequest, SetupCompleteResponse, } from "./setup-api.schema.js";
|
|
41
|
+
export { BundledTemplateSchema, SetupHandoffFailedStageSchema, SetupStatusResponseSchema, SetupStarterSelectionSchema, SetupStarterResultSchema, SetupCompleteRequestSchema, SetupCompleteResponseSchema, } from "./setup-api.schema.js";
|
|
42
|
+
export type { BundledTemplate, SetupHandoffFailedStage, SetupStatusResponse, SetupStarterSelection, SetupStarterResult, SetupCompleteRequest, SetupCompleteResponse, } from "./setup-api.schema.js";
|
|
41
43
|
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";
|
|
42
44
|
export type { CreateContentRequest, ContentItemQuery, ContentItemResponse, ContentByAddressQuery, ContentByAddressResponse, ContentByPathQuery, ContentByPathResponse, SaveContentRequest, SaveContentResponse, LatestVersionQuery, LatestVersionResponse, VersionQuery, ContentVersionMeta, VersionListQuery, VersionListResponse, PublishContentRequest, PublishContentResponse, PublishAllRequest, PublishAllResult, PublishAllResponse, PreviewTokenResponse, ContentUrlImpactResponse, ContentChildrenQuery, ContentChildrenResponse, ContentNodeWithName, ContentPathConflictResponse, CopyContentRequest, CopyContentRequestInput, CultureSettings, MoveContentRequest, MoveContentResponse, ReorderNodesRequest, ReorderNodesResponse, FieldValidationFailureResponse, ContentValidationErrorResponse, TranslationIncompleteResponse, } from "./content-api.schema.js";
|
|
43
45
|
export { FieldValidationSchema, FieldDefinitionSchema, TabDefinitionSchema, TreeRulesSchema, DocumentTypeDefinitionSchema, } from "./document-type.schema.js";
|
|
44
46
|
export type { FieldValidation, FieldDefinition, TabDefinition, TreeRules, DocumentTypeDefinition, } from "./document-type.schema.js";
|
|
45
|
-
export { CreateDocumentTypeRequestSchema, UpdateDocumentTypeRequestSchema, CreateDocumentTypeResponseSchema, DocumentTypeListQuerySchema, DocumentTypeListResponseSchema, DeleteDocumentTypeResponseSchema, } from "./document-type-api.schema.js";
|
|
46
|
-
export type { CreateDocumentTypeRequest, CreateDocumentTypeRequestInput, UpdateDocumentTypeRequest, UpdateDocumentTypeRequestInput, CreateDocumentTypeResponse, DocumentTypeListQuery, DocumentTypeListResponse, DeleteDocumentTypeResponse, } from "./document-type-api.schema.js";
|
|
47
|
+
export { CreateDocumentTypeRequestSchema, UpdateDocumentTypeRequestSchema, CreateDocumentTypeResponseSchema, DocumentTypeListQuerySchema, DocumentTypeListResponseSchema, DocumentTypeListItemSchema, DeleteDocumentTypeResponseSchema, } from "./document-type-api.schema.js";
|
|
48
|
+
export type { CreateDocumentTypeRequest, CreateDocumentTypeRequestInput, UpdateDocumentTypeRequest, UpdateDocumentTypeRequestInput, CreateDocumentTypeResponse, DocumentTypeListQuery, DocumentTypeListResponse, DocumentTypeListItem, DeleteDocumentTypeResponse, } from "./document-type-api.schema.js";
|
|
47
49
|
export { TEMPLATE_ALIAS_MAX_SEGMENTS, TEMPLATE_KIND_FOLDERS, TemplateAliasSchema, TemplateDefinitionSchema, templateFilePath, TemplateKindSchema, TemplateVersionMetaSchema, TemplateVersionSchema, TemplateVersionSourceSchema, TrashedTemplateSchema, } from "./template.schema.js";
|
|
48
50
|
export type { TemplateDefinition, TemplateKind, TemplateVersion, TemplateVersionMeta, TemplateVersionSource, TrashedTemplate, } from "./template.schema.js";
|
|
49
51
|
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";
|
|
@@ -83,19 +85,19 @@ export { PluginStorageParamsSchema, SetPluginFieldValueRequestSchema, PluginFiel
|
|
|
83
85
|
export type { PluginStorageParams, SetPluginFieldValueRequest, PluginFieldValueResponse, } from "./plugin-storage-api.schema.js";
|
|
84
86
|
export { PluginSchema, PluginListQuerySchema, PluginListResponseSchema } from "./plugin-registry-api.schema.js";
|
|
85
87
|
export type { Plugin, PluginListQuery, PluginListResponse } from "./plugin-registry-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";
|
|
88
|
+
export { ManagedPluginSchema, PluginTamperKindSchema, ManagedPluginRoleOfferSchema, ManagedPluginListQuerySchema, ManagedPluginListResponseSchema, PluginIdParamsSchema, UninstallPluginBodySchema, UninstallConfirmationRequiredSchema, BundleUninstallConfirmationRequiredSchema, UninstallBlockedByDocumentTypesSchema, DataTypeFieldBlockerSchema, PluginDataTypesInUseSchema, UninstallSucceededSchema, BundleUninstallSucceededSchema, LicenseRecheckResponseSchema, LicenseVerdictEnvelopeSchema, EntitlementSchema, EntitlementResponseSchema, LicenseVerdictTermSchema, ListingPlanSummarySchema, EntitlementRefusalSchema, MarketplaceStatusResponseSchema, SnapshotGroupSchema, SnapshotGroupListQuerySchema, SnapshotGroupListResponseSchema, RestorePlanEntrySchema, RestoreConfirmationRequiredSchema, RestoreSucceededSchema, RestoreBodySchema, DataTypeRestoreSkipReasonSchema, DataTypeRestoreEntrySchema, DataTypeRestoreSkipSchema, DataTypeRestorePlanSchema, DataTypeRestoreConfirmationRequiredSchema, DataTypeRestoreSucceededSchema, DataTypeRestoreBodySchema, PackageRefusedSchema, PluginRollbackIncompleteSchema, PluginUploadResponseSchema, PluginUploadQuerySchema, TrustDowngradeConfirmationSchema, } from "./plugin-management-api.schema.js";
|
|
87
89
|
export { SampleContentOutcomeSchema } from "./sample-content-outcome.schema.js";
|
|
88
90
|
export type { SampleContentOutcome } from "./sample-content-outcome.schema.js";
|
|
89
91
|
export { INSTALL_WARNINGS_MAX, INSTALL_WARNING_MAX_LENGTH, InstallWarningsSchema } from "./install-warnings.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";
|
|
92
|
+
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, PluginRollbackIncomplete, PluginUploadResponse, PluginUploadQuery, TrustDowngradeConfirmation, } from "./plugin-management-api.schema.js";
|
|
91
93
|
export { SANDBOX_ATTACH_OUTCOMES, SandboxAttachRequestSchema, SandboxAttachResponseSchema, SandboxLocalPluginInstallRequestSchema, SandboxLocalPluginSchema, } from "./sandbox-attach.schema.js";
|
|
92
94
|
export type { SandboxAttachRequest, SandboxAttachResponse, SandboxLocalPlugin, SandboxLocalPluginInstallRequest, } from "./sandbox-attach.schema.js";
|
|
93
95
|
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";
|
|
94
96
|
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";
|
|
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";
|
|
97
|
+
export { MarketplaceCapabilitySchema, MarketplaceListingVersionSchema, MarketplacePlanSchema, MarketplaceListingSchema, MarketplaceStarterSchema, MarketplaceDocumentTypeSummarySchema, MarketplaceBundleMemberSchema, MarketplaceListingDetailVersionSchema, MarketplaceListingDetailSchema, MarketplaceListQuerySchema, MarketplaceListResponseSchema, MARKETPLACE_VERSIONS_MAX_IDS, MARKETPLACE_VERSIONS_IDS_MAX_LENGTH, MARKETPLACE_PLAN_NAMES_MAX, MarketplacePlanNameSchema, MarketplaceLatestVersionSchema, MarketplaceVersionsResponseSchema, parseMarketplaceVersionsIds, MarketplacePluginIdParamsSchema, MarketplaceInstallBodySchema, MarketplaceInstallMemberSchema, MarketplaceInstallResponseSchema, MarketplaceInstallConflictSchema, MarketplaceInstallHeldBackSchema, MarketplaceInstallRenewRequiredSchema, MARKETPLACE_MISSING_PLUGINS_MAX, MarketplaceMissingPluginSchema, MarketplaceInstallDependenciesMissingSchema, MarketplacePublicBaseSchema, OfficialPriceSchema, } from "./marketplace-listing-api.schema.js";
|
|
96
98
|
export { PACKAGE_TERM_LAPSED_CODE, PackageTermLapsedSchema } from "./marketplace-package-api.schema.js";
|
|
97
99
|
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";
|
|
100
|
+
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, OfficialPrice, } from "./marketplace-listing-api.schema.js";
|
|
99
101
|
export { ApiKeySummarySchema, ApiKeyListQuerySchema, ApiKeyListResponseSchema, CreateApiKeyRequestSchema, CreateApiKeyResponseSchema, ApiKeyRefusalSchema, ApiKeyCreateForbiddenSchema, RevokeApiKeyResponseSchema, API_KEY_PRESETS, API_KEY_MAX_ACTIONS, ApiKeyParamsSchema, } from "./api-key-api.schema.js";
|
|
100
102
|
export type { ApiKeyPresetId, ApiKeySummary, ApiKeyListQuery, ApiKeyListResponse, CreateApiKeyRequest, CreateApiKeyResponse, ApiKeyRefusal, RevokeApiKeyResponse, ApiKeyParams, } from "./api-key-api.schema.js";
|
|
101
103
|
export { WhoamiResponseSchema, ContentLimitsSchema, type WhoamiResponse, type ContentLimits } from "./whoami-api.schema.js";
|
|
@@ -153,3 +155,4 @@ export { REVENUE_PLUGIN_PARAM_MAX, RevenueMonthKeySchema, RevenueMonthSchema, Re
|
|
|
153
155
|
export type { RevenueMonth, RevenueNow, RevenuePlanMonth, RevenueView } from "./revenue-view.schema.js";
|
|
154
156
|
export { SHOWN_PRICE_DIGITS_MAX, ShownPlanFieldsSchema, parseShownCents, readShownPlan, shownPlanMatches, } from "./checkout-shown.schema.js";
|
|
155
157
|
export type { ShownPlan } from "./checkout-shown.schema.js";
|
|
158
|
+
export * from "./server-settings-api.schema.js";
|
|
@@ -13,6 +13,7 @@ export { LicensingSettingsSchema } from "./licensing.schema.js";
|
|
|
13
13
|
export { MANIFEST_ID_SEGMENT_MAX, PLUGIN_ID_REGEX, SLOT_ID_MAX, SLOT_ID_REGEX, isPluginManifestId } from "./plugin-id-rules.js";
|
|
14
14
|
export { PLUGIN_AUTHOR_MAX, PLUGIN_CMS_VERSION_MAX, PLUGIN_DESCRIPTION_MAX, PLUGIN_ID_MAX, PLUGIN_ID_MESSAGE, PLUGIN_ID_SEGMENTS_MESSAGE, PLUGIN_LICENSE_MAX, PLUGIN_NAME_MAX, PLUGIN_VERSION_MAX, PLUGIN_VERSION_MESSAGE, PluginAuthorSchema, PluginCmsVersionSchema, PluginDescriptionSchema, PluginLicenseSchema, PluginManifestIdSchema, PluginNameSchema, PluginVersionSchema, checkPluginListingFields, isPluginVersion, pluginManifestFields, } from "./plugin-manifest-fields.js";
|
|
15
15
|
export { API_ROUTE_ACCESS_TIERS, DATABASE_DIALECTS, PLUGIN_TYPES, STORAGE_TYPES, TEMPLATE_KINDS, TIER1_DIALECTS, } from "./plugin-vocabulary.js";
|
|
16
|
+
export { CATEGORY_FROM_TYPE, LISTING_CATEGORIES, LISTING_CATEGORIES_MAX, LISTING_CATEGORY_LABELS, ListingCategoriesInputSchema, ListingCategoriesSchema, ListingCategorySchema, categoryFromType, isListingCategory, } from "./listing-categories.schema.js";
|
|
16
17
|
export { cultureDirection } from "./culture-direction.js";
|
|
17
18
|
export { ContentVersionSchema, flattenForCulture } from "./content-version.schema.js";
|
|
18
19
|
export { mediaReferencesIn } from "./media-reference.js";
|
|
@@ -26,10 +27,10 @@ export { DATA_TYPE_CURSOR_MAX, dataTypeCursor, decodeDataTypeCursor } from "./da
|
|
|
26
27
|
export { MediaReferenceCountsSchema, MediaReferenceUseSchema, MediaReferenceListQuerySchema, MediaReferenceListResponseSchema, MediaTrashReferenceSummarySchema, } from "./media-reference-api.schema.js";
|
|
27
28
|
export { SnapshotSchema, SnapshotItemSchema, SnapshotMetaSchema } from "./snapshot.schema.js";
|
|
28
29
|
export { ApiErrorSchema, BodyTooLargeErrorSchema, RateLimitErrorSchema } from "./api-error.schema.js";
|
|
29
|
-
export { BundledTemplateSchema, SetupStatusResponseSchema, SetupStarterSelectionSchema, SetupStarterResultSchema, SetupCompleteRequestSchema, SetupCompleteResponseSchema, } from "./setup-api.schema.js";
|
|
30
|
+
export { BundledTemplateSchema, SetupHandoffFailedStageSchema, SetupStatusResponseSchema, SetupStarterSelectionSchema, SetupStarterResultSchema, SetupCompleteRequestSchema, SetupCompleteResponseSchema, } from "./setup-api.schema.js";
|
|
30
31
|
export { CreateContentRequestSchema, ContentItemQuerySchema, ContentItemResponseSchema, ContentByAddressQuerySchema, ContentByAddressResponseSchema, ContentByPathQuerySchema, ContentByPathResponseSchema, SaveContentRequestSchema, SaveContentResponseSchema, LatestVersionQuerySchema, LatestVersionResponseSchema, VersionQuerySchema, ContentVersionMetaSchema, VersionListQuerySchema, VersionListResponseSchema, PublishContentRequestSchema, PublishContentResponseSchema, PublishAllRequestSchema, PublishAllResultSchema, PublishAllResponseSchema, PreviewTokenResponseSchema, ContentUrlImpactResponseSchema, ContentChildrenQuerySchema, ContentChildrenResponseSchema, ContentNodeWithNameSchema, ContentPathConflictSchema, CopyContentRequestSchema, CultureSchema, CultureSettingsSchema, MoveContentRequestSchema, MoveContentResponseSchema, ReorderNodesRequestSchema, ReorderNodesResponseSchema, FieldValidationFailureSchema, ContentValidationErrorSchema, TranslationIncompleteResponseSchema, } from "./content-api.schema.js";
|
|
31
32
|
export { FieldValidationSchema, FieldDefinitionSchema, TabDefinitionSchema, TreeRulesSchema, DocumentTypeDefinitionSchema, } from "./document-type.schema.js";
|
|
32
|
-
export { CreateDocumentTypeRequestSchema, UpdateDocumentTypeRequestSchema, CreateDocumentTypeResponseSchema, DocumentTypeListQuerySchema, DocumentTypeListResponseSchema, DeleteDocumentTypeResponseSchema, } from "./document-type-api.schema.js";
|
|
33
|
+
export { CreateDocumentTypeRequestSchema, UpdateDocumentTypeRequestSchema, CreateDocumentTypeResponseSchema, DocumentTypeListQuerySchema, DocumentTypeListResponseSchema, DocumentTypeListItemSchema, DeleteDocumentTypeResponseSchema, } from "./document-type-api.schema.js";
|
|
33
34
|
export { TEMPLATE_ALIAS_MAX_SEGMENTS, TEMPLATE_KIND_FOLDERS, TemplateAliasSchema, TemplateDefinitionSchema, templateFilePath, TemplateKindSchema, TemplateVersionMetaSchema, TemplateVersionSchema, TemplateVersionSourceSchema, TrashedTemplateSchema, } from "./template.schema.js";
|
|
34
35
|
export { CreateTemplateRequestSchema, CreateTemplateResponseSchema, DeleteTemplateQuerySchema, MAX_TEMPLATE_CONTENT_BYTES, SetDefaultTemplateRequestSchema, TemplateConflictResponseSchema, TemplateDeleteBlockedResponseSchema, TemplateListItemSchema, TemplateListQuerySchema, TemplateListResponseSchema, TemplateResponseSchema, RestoreTemplateResponseSchema, TemplateSyncReportSchema, TemplateTrashListQuerySchema, TemplateTrashListResponseSchema, TemplateVersionListResponseSchema, TemplateVersionParamsSchema, TemplateVersionResponseSchema, UpdateTemplateRequestSchema, } from "./template-api.schema.js";
|
|
35
36
|
export { AssetDefinitionSchema, AssetPathSchema, AssetRoutePathSchema, AssetVersionMetaSchema, AssetVersionSchema, MAX_ASSET_CONTENT_BYTES, TrashedAssetSchema } from "./asset.schema.js";
|
|
@@ -50,12 +51,12 @@ export { CONTENT_TREE_HINT_THRESHOLD, CONTENT_LIST_EDITOR_ID, CONTENT_LIST_PROPE
|
|
|
50
51
|
export { CreateDataTypeRequestSchema, UpdateDataTypeRequestSchema, DataTypeResponseSchema, DataTypeListQuerySchema, DataTypeListResponseSchema, DataTypeEditorPluginSchema, DataTypeListItemSchema, } from "./data-type-api.schema.js";
|
|
51
52
|
export { PluginStorageParamsSchema, SetPluginFieldValueRequestSchema, PluginFieldValueResponseSchema, } from "./plugin-storage-api.schema.js";
|
|
52
53
|
export { PluginSchema, PluginListQuerySchema, PluginListResponseSchema } from "./plugin-registry-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";
|
|
54
|
+
export { ManagedPluginSchema, PluginTamperKindSchema, ManagedPluginRoleOfferSchema, ManagedPluginListQuerySchema, ManagedPluginListResponseSchema, PluginIdParamsSchema, UninstallPluginBodySchema, UninstallConfirmationRequiredSchema, BundleUninstallConfirmationRequiredSchema, UninstallBlockedByDocumentTypesSchema, DataTypeFieldBlockerSchema, PluginDataTypesInUseSchema, UninstallSucceededSchema, BundleUninstallSucceededSchema, LicenseRecheckResponseSchema, LicenseVerdictEnvelopeSchema, EntitlementSchema, EntitlementResponseSchema, LicenseVerdictTermSchema, ListingPlanSummarySchema, EntitlementRefusalSchema, MarketplaceStatusResponseSchema, SnapshotGroupSchema, SnapshotGroupListQuerySchema, SnapshotGroupListResponseSchema, RestorePlanEntrySchema, RestoreConfirmationRequiredSchema, RestoreSucceededSchema, RestoreBodySchema, DataTypeRestoreSkipReasonSchema, DataTypeRestoreEntrySchema, DataTypeRestoreSkipSchema, DataTypeRestorePlanSchema, DataTypeRestoreConfirmationRequiredSchema, DataTypeRestoreSucceededSchema, DataTypeRestoreBodySchema, PackageRefusedSchema, PluginRollbackIncompleteSchema, PluginUploadResponseSchema, PluginUploadQuerySchema, TrustDowngradeConfirmationSchema, } from "./plugin-management-api.schema.js";
|
|
54
55
|
export { SampleContentOutcomeSchema } from "./sample-content-outcome.schema.js";
|
|
55
56
|
export { INSTALL_WARNINGS_MAX, INSTALL_WARNING_MAX_LENGTH, InstallWarningsSchema } from "./install-warnings.schema.js";
|
|
56
57
|
export { SANDBOX_ATTACH_OUTCOMES, SandboxAttachRequestSchema, SandboxAttachResponseSchema, SandboxLocalPluginInstallRequestSchema, SandboxLocalPluginSchema, } from "./sandbox-attach.schema.js";
|
|
57
58
|
export { PublicContentItemSchema, PublicContentItemQuerySchema, PublicContentByPathQuerySchema, PublicContentByAddressQuerySchema, PublicContentByAddressResponseSchema, PublicSiteSchema, PublicSitesQuerySchema, PublicSitesResponseSchema, PublicContentListQuerySchema, PublicContentNodeSummarySchema, PublicContentListResponseSchema, PublicContentSearchQuerySchema, PublicContentExtensionsSchema, PublicContentFormatResponseSchema, PublicMediaFileSchema, PublicMediaListQuerySchema, PublicMediaListResponseSchema, PublicFieldDefinitionSchema, PublicDocumentTypeSchema, PublicDocumentTypeListQuerySchema, PublicDocumentTypeListResponseSchema, PublicTemplateSchema, PublicTemplateListQuerySchema, PublicTemplateListResponseSchema, PublicContentWriteResponseSchema, PublicCreateContentRequestSchema, PublicUpdateContentRequestSchema, PublicContentDeleteResponseSchema, PublicContentDeleteQuerySchema, PublicContentDeleteConfirmationSchema, PublicMediaUploadFieldsSchema, PublicMediaUploadBodySchema, PublicMediaUpdateRequestSchema, PublicMediaWriteResponseSchema, PublicMediaDeleteResponseSchema, } from "./public-api.schema.js";
|
|
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 { MarketplaceCapabilitySchema, MarketplaceListingVersionSchema, MarketplacePlanSchema, MarketplaceListingSchema, MarketplaceStarterSchema, MarketplaceDocumentTypeSummarySchema, MarketplaceBundleMemberSchema, MarketplaceListingDetailVersionSchema, MarketplaceListingDetailSchema, MarketplaceListQuerySchema, MarketplaceListResponseSchema, MARKETPLACE_VERSIONS_MAX_IDS, MARKETPLACE_VERSIONS_IDS_MAX_LENGTH, MARKETPLACE_PLAN_NAMES_MAX, MarketplacePlanNameSchema, MarketplaceLatestVersionSchema, MarketplaceVersionsResponseSchema, parseMarketplaceVersionsIds, MarketplacePluginIdParamsSchema, MarketplaceInstallBodySchema, MarketplaceInstallMemberSchema, MarketplaceInstallResponseSchema, MarketplaceInstallConflictSchema, MarketplaceInstallHeldBackSchema, MarketplaceInstallRenewRequiredSchema, MARKETPLACE_MISSING_PLUGINS_MAX, MarketplaceMissingPluginSchema, MarketplaceInstallDependenciesMissingSchema, MarketplacePublicBaseSchema, OfficialPriceSchema, } from "./marketplace-listing-api.schema.js";
|
|
59
60
|
export { PACKAGE_TERM_LAPSED_CODE, PackageTermLapsedSchema } from "./marketplace-package-api.schema.js";
|
|
60
61
|
export { ApiKeySummarySchema, ApiKeyListQuerySchema, ApiKeyListResponseSchema, CreateApiKeyRequestSchema, CreateApiKeyResponseSchema, ApiKeyRefusalSchema, ApiKeyCreateForbiddenSchema, RevokeApiKeyResponseSchema, API_KEY_PRESETS, API_KEY_MAX_ACTIONS, ApiKeyParamsSchema, } from "./api-key-api.schema.js";
|
|
61
62
|
export { WhoamiResponseSchema, ContentLimitsSchema } from "./whoami-api.schema.js";
|
|
@@ -92,3 +93,4 @@ export { PluginVendorServiceSchema, VENDOR_SERVICE_ORIGIN_MAX, VENDOR_TOKEN_LIVE
|
|
|
92
93
|
export { PLAN_DESCRIPTION_MAX, PLAN_KEY_MAX, PLAN_MAX_PRICE_CENTS, PLAN_MIN_PRICE_CENTS, PLAN_NAME_MAX, PLAN_SHAPE_VALUES, PlanAddInputSchema, PlanDescriptionSchema, PlanEditInputSchema, PlanKeySchema, PlanMoveInputSchema, PlanNameSchema, PlanPriceInputSchema, PlanRefInputSchema, PlanShapeSchema, PriceSweepProgressSchema, isPlanKey, planPriceAgrees, } from "./plan-editor.schema.js";
|
|
93
94
|
export { REVENUE_PLUGIN_PARAM_MAX, RevenueMonthKeySchema, RevenueMonthSchema, RevenueNowSchema, RevenuePlanMonthSchema, RevenuePluginParamSchema, RevenueViewSchema, isRevenueMonthKey, } from "./revenue-view.schema.js";
|
|
94
95
|
export { SHOWN_PRICE_DIGITS_MAX, ShownPlanFieldsSchema, parseShownCents, readShownPlan, shownPlanMatches, } from "./checkout-shown.schema.js";
|
|
96
|
+
export * from "./server-settings-api.schema.js";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { type PluginTypeValue } from "./plugin-vocabulary.js";
|
|
3
|
+
export declare const LISTING_CATEGORIES: readonly ["content", "seo", "commerce", "design", "media", "integrations", "analytics", "developer"];
|
|
4
|
+
export type ListingCategory = (typeof LISTING_CATEGORIES)[number];
|
|
5
|
+
export declare const LISTING_CATEGORY_LABELS: Readonly<Record<ListingCategory, string>>;
|
|
6
|
+
export declare const LISTING_CATEGORIES_MAX = 3;
|
|
7
|
+
export declare function isListingCategory(value: string): value is ListingCategory;
|
|
8
|
+
export declare const ListingCategorySchema: z.ZodEnum<{
|
|
9
|
+
media: "media";
|
|
10
|
+
content: "content";
|
|
11
|
+
seo: "seo";
|
|
12
|
+
commerce: "commerce";
|
|
13
|
+
design: "design";
|
|
14
|
+
integrations: "integrations";
|
|
15
|
+
analytics: "analytics";
|
|
16
|
+
developer: "developer";
|
|
17
|
+
}>;
|
|
18
|
+
export declare const ListingCategoriesSchema: z.ZodArray<z.ZodEnum<{
|
|
19
|
+
media: "media";
|
|
20
|
+
content: "content";
|
|
21
|
+
seo: "seo";
|
|
22
|
+
commerce: "commerce";
|
|
23
|
+
design: "design";
|
|
24
|
+
integrations: "integrations";
|
|
25
|
+
analytics: "analytics";
|
|
26
|
+
developer: "developer";
|
|
27
|
+
}>>;
|
|
28
|
+
/** The portal's category form. The listing id is checked by the owner-scoped
|
|
29
|
+
* write (another author's listing reads as not found), like a plan's. */
|
|
30
|
+
export declare const ListingCategoriesInputSchema: z.ZodObject<{
|
|
31
|
+
listingId: z.ZodString;
|
|
32
|
+
categories: z.ZodArray<z.ZodEnum<{
|
|
33
|
+
media: "media";
|
|
34
|
+
content: "content";
|
|
35
|
+
seo: "seo";
|
|
36
|
+
commerce: "commerce";
|
|
37
|
+
design: "design";
|
|
38
|
+
integrations: "integrations";
|
|
39
|
+
analytics: "analytics";
|
|
40
|
+
developer: "developer";
|
|
41
|
+
}>>;
|
|
42
|
+
}, z.core.$strict>;
|
|
43
|
+
export type ListingCategoriesInput = z.infer<typeof ListingCategoriesInputSchema>;
|
|
44
|
+
export declare const CATEGORY_FROM_TYPE: Readonly<Record<PluginTypeValue, ListingCategory>>;
|
|
45
|
+
/** D3 for any label: one outside PLUGIN_TYPES files under content. */
|
|
46
|
+
export declare function categoryFromType(type: string): ListingCategory;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { PLUGIN_TYPES } from "./plugin-vocabulary.js";
|
|
3
|
+
// S352 (D1, D2): the categories a shopper filters the marketplace by. A
|
|
4
|
+
// listing carries one to three, chosen by its author in the developer portal.
|
|
5
|
+
// The manifest's `type` stays the listing's filing label and is not one of
|
|
6
|
+
// them. The keys are stable: they are in URLs and in the listing API. The
|
|
7
|
+
// English labels are the marketplace's words; the admin's locale files carry
|
|
8
|
+
// the same English beside the German, and an admin test pins the English to
|
|
9
|
+
// these.
|
|
10
|
+
export const LISTING_CATEGORIES = ["content", "seo", "commerce", "design", "media", "integrations", "analytics", "developer"];
|
|
11
|
+
export const LISTING_CATEGORY_LABELS = {
|
|
12
|
+
content: "Content and editing",
|
|
13
|
+
seo: "SEO and marketing",
|
|
14
|
+
commerce: "Commerce",
|
|
15
|
+
design: "Themes and design",
|
|
16
|
+
media: "Media",
|
|
17
|
+
integrations: "Integrations",
|
|
18
|
+
analytics: "Analytics",
|
|
19
|
+
developer: "Developer tools",
|
|
20
|
+
};
|
|
21
|
+
export const LISTING_CATEGORIES_MAX = 3;
|
|
22
|
+
export function isListingCategory(value) {
|
|
23
|
+
return LISTING_CATEGORIES.includes(value);
|
|
24
|
+
}
|
|
25
|
+
export const ListingCategorySchema = z.enum(LISTING_CATEGORIES, "Choose categories from the list");
|
|
26
|
+
export const ListingCategoriesSchema = z
|
|
27
|
+
.array(ListingCategorySchema)
|
|
28
|
+
.min(1, "Choose at least one category")
|
|
29
|
+
.max(LISTING_CATEGORIES_MAX, "Choose at most three categories")
|
|
30
|
+
.refine((list) => new Set(list).size === list.length, "Choose each category once");
|
|
31
|
+
/** The portal's category form. The listing id is checked by the owner-scoped
|
|
32
|
+
* write (another author's listing reads as not found), like a plan's. */
|
|
33
|
+
export const ListingCategoriesInputSchema = z
|
|
34
|
+
.object({ listingId: z.string().min(1).max(64), categories: ListingCategoriesSchema })
|
|
35
|
+
.strict();
|
|
36
|
+
// S352 (D3): the category a listing with none is filed under until its author
|
|
37
|
+
// chooses. A listing that declares members takes its first member's category
|
|
38
|
+
// when it is created (the marketplace's initialListingCategories); `bundle`
|
|
39
|
+
// here is the label's own fallback.
|
|
40
|
+
export const CATEGORY_FROM_TYPE = {
|
|
41
|
+
datatype: "content",
|
|
42
|
+
section: "content",
|
|
43
|
+
template: "content",
|
|
44
|
+
theme: "design",
|
|
45
|
+
integration: "integrations",
|
|
46
|
+
utility: "developer",
|
|
47
|
+
bundle: "content",
|
|
48
|
+
};
|
|
49
|
+
/** D3 for any label: one outside PLUGIN_TYPES files under content. */
|
|
50
|
+
export function categoryFromType(type) {
|
|
51
|
+
return PLUGIN_TYPES.includes(type) ? CATEGORY_FROM_TYPE[type] : "content";
|
|
52
|
+
}
|
|
@@ -44,6 +44,7 @@ export declare const MarketplaceListingVersionSchema: z.ZodObject<{
|
|
|
44
44
|
createdAt: z.ZodString;
|
|
45
45
|
publishedAt: z.ZodOptional<z.ZodString>;
|
|
46
46
|
hasArtifact: z.ZodBoolean;
|
|
47
|
+
declaresMembers: z.ZodOptional<z.ZodBoolean>;
|
|
47
48
|
}, z.core.$strip>;
|
|
48
49
|
export declare const MarketplacePlanSchema: z.ZodObject<{
|
|
49
50
|
key: z.ZodString;
|
|
@@ -54,6 +55,11 @@ export declare const MarketplacePlanSchema: z.ZodObject<{
|
|
|
54
55
|
position: z.ZodNumber;
|
|
55
56
|
}, z.core.$strip>;
|
|
56
57
|
export type MarketplacePlan = z.infer<typeof MarketplacePlanSchema>;
|
|
58
|
+
export declare const OfficialPriceSchema: z.ZodEnum<{
|
|
59
|
+
free: "free";
|
|
60
|
+
paid: "paid";
|
|
61
|
+
}>;
|
|
62
|
+
export type OfficialPrice = z.infer<typeof OfficialPriceSchema>;
|
|
57
63
|
export declare const MarketplaceListingSchema: z.ZodObject<{
|
|
58
64
|
pluginId: z.ZodString;
|
|
59
65
|
name: z.ZodString;
|
|
@@ -103,6 +109,7 @@ export declare const MarketplaceListingSchema: z.ZodObject<{
|
|
|
103
109
|
createdAt: z.ZodString;
|
|
104
110
|
publishedAt: z.ZodOptional<z.ZodString>;
|
|
105
111
|
hasArtifact: z.ZodBoolean;
|
|
112
|
+
declaresMembers: z.ZodOptional<z.ZodBoolean>;
|
|
106
113
|
}, z.core.$strip>>;
|
|
107
114
|
compatible: z.ZodBoolean;
|
|
108
115
|
cmsCompatible: z.ZodBoolean;
|
|
@@ -110,6 +117,11 @@ export declare const MarketplaceListingSchema: z.ZodObject<{
|
|
|
110
117
|
updateAvailable: z.ZodBoolean;
|
|
111
118
|
renewToUpdate: z.ZodOptional<z.ZodLiteral<true>>;
|
|
112
119
|
licenseBundlePluginId: z.ZodOptional<z.ZodString>;
|
|
120
|
+
officialPrice: z.ZodOptional<z.ZodEnum<{
|
|
121
|
+
free: "free";
|
|
122
|
+
paid: "paid";
|
|
123
|
+
}>>;
|
|
124
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
113
125
|
}, z.core.$strip>;
|
|
114
126
|
export type MarketplaceListing = z.infer<typeof MarketplaceListingSchema>;
|
|
115
127
|
export declare const MarketplaceStarterSchema: z.ZodObject<{
|
|
@@ -131,6 +143,10 @@ export declare const MarketplaceBundleMemberSchema: z.ZodObject<{
|
|
|
131
143
|
type: z.ZodString;
|
|
132
144
|
priceCents: z.ZodNumber;
|
|
133
145
|
priceShape: z.ZodOptional<z.ZodString>;
|
|
146
|
+
officialPrice: z.ZodOptional<z.ZodEnum<{
|
|
147
|
+
free: "free";
|
|
148
|
+
paid: "paid";
|
|
149
|
+
}>>;
|
|
134
150
|
}, z.core.$strip>;
|
|
135
151
|
export type MarketplaceBundleMember = z.infer<typeof MarketplaceBundleMemberSchema>;
|
|
136
152
|
export declare const MarketplaceListingDetailVersionSchema: z.ZodObject<{
|
|
@@ -166,6 +182,7 @@ export declare const MarketplaceListingDetailVersionSchema: z.ZodObject<{
|
|
|
166
182
|
createdAt: z.ZodString;
|
|
167
183
|
publishedAt: z.ZodOptional<z.ZodString>;
|
|
168
184
|
hasArtifact: z.ZodBoolean;
|
|
185
|
+
declaresMembers: z.ZodOptional<z.ZodBoolean>;
|
|
169
186
|
starter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
170
187
|
name: z.ZodString;
|
|
171
188
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -183,6 +200,10 @@ export declare const MarketplaceListingDetailVersionSchema: z.ZodObject<{
|
|
|
183
200
|
type: z.ZodString;
|
|
184
201
|
priceCents: z.ZodNumber;
|
|
185
202
|
priceShape: z.ZodOptional<z.ZodString>;
|
|
203
|
+
officialPrice: z.ZodOptional<z.ZodEnum<{
|
|
204
|
+
free: "free";
|
|
205
|
+
paid: "paid";
|
|
206
|
+
}>>;
|
|
186
207
|
}, z.core.$strip>>>>;
|
|
187
208
|
readme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
188
209
|
installInterface: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -290,6 +311,11 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
|
|
|
290
311
|
updateAvailable: z.ZodBoolean;
|
|
291
312
|
renewToUpdate: z.ZodOptional<z.ZodLiteral<true>>;
|
|
292
313
|
licenseBundlePluginId: z.ZodOptional<z.ZodString>;
|
|
314
|
+
officialPrice: z.ZodOptional<z.ZodEnum<{
|
|
315
|
+
free: "free";
|
|
316
|
+
paid: "paid";
|
|
317
|
+
}>>;
|
|
318
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
293
319
|
latestVersion: z.ZodNullable<z.ZodObject<{
|
|
294
320
|
version: z.ZodString;
|
|
295
321
|
supportedDialects: z.ZodArray<z.ZodString>;
|
|
@@ -323,6 +349,7 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
|
|
|
323
349
|
createdAt: z.ZodString;
|
|
324
350
|
publishedAt: z.ZodOptional<z.ZodString>;
|
|
325
351
|
hasArtifact: z.ZodBoolean;
|
|
352
|
+
declaresMembers: z.ZodOptional<z.ZodBoolean>;
|
|
326
353
|
starter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
327
354
|
name: z.ZodString;
|
|
328
355
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -340,6 +367,10 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
|
|
|
340
367
|
type: z.ZodString;
|
|
341
368
|
priceCents: z.ZodNumber;
|
|
342
369
|
priceShape: z.ZodOptional<z.ZodString>;
|
|
370
|
+
officialPrice: z.ZodOptional<z.ZodEnum<{
|
|
371
|
+
free: "free";
|
|
372
|
+
paid: "paid";
|
|
373
|
+
}>>;
|
|
343
374
|
}, z.core.$strip>>>>;
|
|
344
375
|
readme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
345
376
|
installInterface: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -457,6 +488,7 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
|
|
|
457
488
|
createdAt: z.ZodString;
|
|
458
489
|
publishedAt: z.ZodOptional<z.ZodString>;
|
|
459
490
|
hasArtifact: z.ZodBoolean;
|
|
491
|
+
declaresMembers: z.ZodOptional<z.ZodBoolean>;
|
|
460
492
|
starter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
461
493
|
name: z.ZodString;
|
|
462
494
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -474,6 +506,10 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
|
|
|
474
506
|
type: z.ZodString;
|
|
475
507
|
priceCents: z.ZodNumber;
|
|
476
508
|
priceShape: z.ZodOptional<z.ZodString>;
|
|
509
|
+
officialPrice: z.ZodOptional<z.ZodEnum<{
|
|
510
|
+
free: "free";
|
|
511
|
+
paid: "paid";
|
|
512
|
+
}>>;
|
|
477
513
|
}, z.core.$strip>>>>;
|
|
478
514
|
readme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
479
515
|
installInterface: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -560,6 +596,7 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
|
|
|
560
596
|
}, z.core.$strip>>;
|
|
561
597
|
activeDialect: z.ZodString;
|
|
562
598
|
marketplaceBaseUrl: z.ZodString;
|
|
599
|
+
officialMarketplaceBaseUrl: z.ZodOptional<z.ZodString>;
|
|
563
600
|
}, z.core.$strip>;
|
|
564
601
|
export type MarketplaceListingDetail = z.infer<typeof MarketplaceListingDetailSchema>;
|
|
565
602
|
export declare const MarketplacePublicBaseSchema: z.ZodObject<{
|
|
@@ -569,6 +606,7 @@ export type MarketplacePublicBase = z.infer<typeof MarketplacePublicBaseSchema>;
|
|
|
569
606
|
export declare const MarketplaceListQuerySchema: z.ZodObject<{
|
|
570
607
|
q: z.ZodOptional<z.ZodString>;
|
|
571
608
|
type: z.ZodOptional<z.ZodString>;
|
|
609
|
+
category: z.ZodOptional<z.ZodString>;
|
|
572
610
|
db: z.ZodOptional<z.ZodString>;
|
|
573
611
|
cursor: z.ZodOptional<z.ZodString>;
|
|
574
612
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -623,6 +661,7 @@ export declare const MarketplaceListResponseSchema: z.ZodObject<{
|
|
|
623
661
|
createdAt: z.ZodString;
|
|
624
662
|
publishedAt: z.ZodOptional<z.ZodString>;
|
|
625
663
|
hasArtifact: z.ZodBoolean;
|
|
664
|
+
declaresMembers: z.ZodOptional<z.ZodBoolean>;
|
|
626
665
|
}, z.core.$strip>>;
|
|
627
666
|
compatible: z.ZodBoolean;
|
|
628
667
|
cmsCompatible: z.ZodBoolean;
|
|
@@ -630,6 +669,11 @@ export declare const MarketplaceListResponseSchema: z.ZodObject<{
|
|
|
630
669
|
updateAvailable: z.ZodBoolean;
|
|
631
670
|
renewToUpdate: z.ZodOptional<z.ZodLiteral<true>>;
|
|
632
671
|
licenseBundlePluginId: z.ZodOptional<z.ZodString>;
|
|
672
|
+
officialPrice: z.ZodOptional<z.ZodEnum<{
|
|
673
|
+
free: "free";
|
|
674
|
+
paid: "paid";
|
|
675
|
+
}>>;
|
|
676
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
633
677
|
}, z.core.$strip>>;
|
|
634
678
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
635
679
|
activeDialect: z.ZodString;
|
|
@@ -661,6 +705,7 @@ export declare const MarketplaceLatestVersionSchema: z.ZodObject<{
|
|
|
661
705
|
supportedDialects: z.ZodArray<z.ZodString>;
|
|
662
706
|
cmsVersion: z.ZodString;
|
|
663
707
|
hasArtifact: z.ZodBoolean;
|
|
708
|
+
declaresMembers: z.ZodOptional<z.ZodBoolean>;
|
|
664
709
|
planNames: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodObject<{
|
|
665
710
|
key: z.ZodString;
|
|
666
711
|
name: z.ZodString;
|
|
@@ -679,6 +724,7 @@ export declare const MarketplaceVersionsResponseSchema: z.ZodObject<{
|
|
|
679
724
|
supportedDialects: z.ZodArray<z.ZodString>;
|
|
680
725
|
cmsVersion: z.ZodString;
|
|
681
726
|
hasArtifact: z.ZodBoolean;
|
|
727
|
+
declaresMembers: z.ZodOptional<z.ZodBoolean>;
|
|
682
728
|
planNames: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodObject<{
|
|
683
729
|
key: z.ZodString;
|
|
684
730
|
name: z.ZodString;
|
|
@@ -826,6 +872,7 @@ export declare const MarketplaceInstallDependenciesMissingSchema: z.ZodObject<{
|
|
|
826
872
|
author: z.ZodNullable<z.ZodString>;
|
|
827
873
|
listingUrl: z.ZodNullable<z.ZodString>;
|
|
828
874
|
}, z.core.$strip>>;
|
|
875
|
+
rollbackFailures: z.ZodOptional<z.ZodNumber>;
|
|
829
876
|
}, z.core.$strip>;
|
|
830
877
|
export type MarketplaceInstallDependenciesMissing = z.infer<typeof MarketplaceInstallDependenciesMissingSchema>;
|
|
831
878
|
export type MarketplaceListQuery = z.infer<typeof MarketplaceListQuerySchema>;
|