@kardalum/plugin-sdk 0.16.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 +105 -0
- package/README.md +4 -3
- package/dist/admin-section-registry.d.ts +14 -5
- package/dist/admin-section-registry.js +14 -4
- 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 -3
- 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/host-entry.d.ts +1 -1
- package/dist/host-entry.js +1 -1
- package/dist/index.d.ts +8 -3
- package/dist/index.js +13 -18
- package/dist/license-verdict-keys.d.ts +4 -3
- package/dist/license-verdict-keys.js +4 -7
- package/dist/manifest-entry.d.ts +6 -2
- package/dist/manifest-entry.js +5 -1
- package/dist/manifest-schema.d.ts +56 -63
- package/dist/manifest-schema.js +103 -249
- package/dist/manifest.d.ts +61 -73
- package/dist/manifest.js +13 -36
- package/dist/media/media-picker.js +32 -32
- package/dist/notify.d.ts +17 -0
- package/dist/notify.js +17 -0
- package/dist/plugin-screen-context.d.ts +11 -1
- package/dist/richtext/block-panel.js +19 -20
- 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 +4 -4
- 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 +2 -0
- package/dist/tokens/tokens.json +4 -2
- package/dist/type-equality.d.ts +2 -0
- package/dist/type-equality.js +1 -0
- 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/html-view.js +1 -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.d.ts +90 -0
- package/node_modules/@kardalum/api-schemas/dist/asset-api.schema.js +43 -10
- 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 +23 -1
- package/node_modules/@kardalum/api-schemas/dist/asset.schema.js +60 -18
- package/node_modules/@kardalum/api-schemas/dist/audit-api.schema.d.ts +204 -0
- package/node_modules/@kardalum/api-schemas/dist/audit-api.schema.js +134 -0
- 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 +22 -6
- package/node_modules/@kardalum/api-schemas/dist/content-list.schema.d.ts +2 -2
- package/node_modules/@kardalum/api-schemas/dist/content-trash-api.schema.d.ts +4 -0
- package/node_modules/@kardalum/api-schemas/dist/content-trash-api.schema.js +3 -0
- package/node_modules/@kardalum/api-schemas/dist/content-trash.schema.js +2 -1
- package/node_modules/@kardalum/api-schemas/dist/core-actions.d.ts +52 -10
- package/node_modules/@kardalum/api-schemas/dist/core-actions.js +33 -14
- 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 +73 -31
- package/node_modules/@kardalum/api-schemas/dist/index.js +47 -17
- package/node_modules/@kardalum/api-schemas/dist/install-warnings.schema.d.ts +4 -0
- package/node_modules/@kardalum/api-schemas/dist/install-warnings.schema.js +8 -0
- package/node_modules/@kardalum/api-schemas/dist/issue-list.d.ts +6 -0
- package/node_modules/@kardalum/api-schemas/dist/issue-list.js +6 -0
- 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 +216 -63
- package/node_modules/@kardalum/api-schemas/dist/marketplace-listing-api.schema.js +117 -5
- 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-actions.schema.d.ts +6 -2
- package/node_modules/@kardalum/api-schemas/dist/plugin-actions.schema.js +8 -6
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs-api.schema.d.ts +8 -18
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs-api.schema.js +7 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs.d.ts +3 -19
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs.js +13 -15
- package/node_modules/@kardalum/api-schemas/dist/plugin-id-rules.d.ts +17 -7
- package/node_modules/@kardalum/api-schemas/dist/plugin-id-rules.js +18 -8
- package/node_modules/@kardalum/api-schemas/dist/plugin-install-record.schema.d.ts +1 -1
- package/node_modules/@kardalum/api-schemas/dist/plugin-install.d.ts +97 -85
- package/node_modules/@kardalum/api-schemas/dist/plugin-install.js +35 -68
- package/node_modules/@kardalum/api-schemas/dist/plugin-labels.d.ts +60 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-labels.js +116 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-locales.d.ts +9 -2
- package/node_modules/@kardalum/api-schemas/dist/plugin-locales.js +22 -7
- package/node_modules/@kardalum/api-schemas/dist/plugin-management-api.schema.d.ts +240 -6
- package/node_modules/@kardalum/api-schemas/dist/plugin-management-api.schema.js +164 -32
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-actions.d.ts +4 -3
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-actions.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-api-routes.d.ts +14 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-api-routes.js +37 -1
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-fields.d.ts +64 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-fields.js +134 -0
- 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-registry-api.schema.d.ts +2 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-registry-api.schema.js +4 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-template-payload.d.ts +83 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-template-payload.js +152 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-vocabulary.d.ts +13 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-vocabulary.js +15 -0
- 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 +35 -23
- 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/role.schema.d.ts +11 -0
- package/node_modules/@kardalum/api-schemas/dist/role.schema.js +7 -0
- package/node_modules/@kardalum/api-schemas/dist/sample-content.schema.d.ts +11 -2
- package/node_modules/@kardalum/api-schemas/dist/sample-content.schema.js +21 -3
- package/node_modules/@kardalum/api-schemas/dist/sandbox-attach.schema.d.ts +126 -0
- package/node_modules/@kardalum/api-schemas/dist/sandbox-attach.schema.js +70 -0
- package/node_modules/@kardalum/api-schemas/dist/setup-api.schema.d.ts +6 -6
- package/node_modules/@kardalum/api-schemas/dist/sites.schema.d.ts +58 -25
- package/node_modules/@kardalum/api-schemas/dist/sites.schema.js +194 -48
- package/node_modules/@kardalum/api-schemas/dist/snapshot-api.schema.d.ts +18 -6
- package/node_modules/@kardalum/api-schemas/dist/snapshot-api.schema.js +14 -0
- package/node_modules/@kardalum/api-schemas/dist/snapshot.schema.d.ts +2 -2
- package/node_modules/@kardalum/api-schemas/dist/strict-url.d.ts +12 -0
- package/node_modules/@kardalum/api-schemas/dist/strict-url.js +31 -0
- package/node_modules/@kardalum/api-schemas/dist/template-api.schema.d.ts +115 -1
- package/node_modules/@kardalum/api-schemas/dist/template-api.schema.js +65 -10
- package/node_modules/@kardalum/api-schemas/dist/template.schema.d.ts +37 -2
- package/node_modules/@kardalum/api-schemas/dist/template.schema.js +34 -8
- package/node_modules/@kardalum/api-schemas/dist/trash-cursor.schema.d.ts +4 -0
- package/node_modules/@kardalum/api-schemas/dist/trash-cursor.schema.js +29 -0
- package/node_modules/@kardalum/api-schemas/dist/user-api.schema.d.ts +16 -0
- package/node_modules/@kardalum/api-schemas/dist/user-api.schema.js +8 -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 +32 -0
- package/node_modules/@kardalum/api-schemas/dist/whoami-api.schema.js +27 -0
- package/node_modules/@kardalum/api-schemas/package.json +2 -2
- 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 +2 -1
- package/node_modules/@kardalum/design-tokens/dist/tailwind-theme.js +2 -0
- package/node_modules/@kardalum/design-tokens/dist/tokens.css +2 -0
- package/node_modules/@kardalum/design-tokens/dist/tokens.js +4 -0
- package/node_modules/@kardalum/design-tokens/dist/tokens.json +4 -2
- package/node_modules/@kardalum/design-tokens/dist/types.d.ts +2 -0
- package/node_modules/@kardalum/design-tokens/package.json +6 -3
- package/node_modules/@kardalum/plugin-package/README.md +5 -2
- package/node_modules/@kardalum/plugin-package/dist/build-reference.d.ts +6 -21
- package/node_modules/@kardalum/plugin-package/dist/build-reference.js +13 -8
- package/node_modules/@kardalum/plugin-package/dist/capabilities.d.ts +4 -4
- package/node_modules/@kardalum/plugin-package/dist/capabilities.js +59 -16
- package/node_modules/@kardalum/plugin-package/dist/client-bundle.d.ts +4 -0
- package/node_modules/@kardalum/plugin-package/dist/client-bundle.js +25 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/archive-names.d.ts +25 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/archive-names.js +203 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/bundle.d.ts +3 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/bundle.js +73 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/contributions.d.ts +8 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/contributions.js +77 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/icon-names.generated.d.ts +1 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/icon-names.generated.js +2052 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/icons.d.ts +2 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/icons.js +51 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/index.d.ts +8 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/index.js +7 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/label-languages.d.ts +17 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/label-languages.js +119 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/limits.d.ts +14 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/limits.js +21 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/locales.d.ts +5 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/locales.js +148 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/package-files.d.ts +5 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/package-files.js +76 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/registry.d.ts +22 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/registry.js +137 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/sample-content.d.ts +3 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/sample-content.js +90 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/support.d.ts +24 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/support.js +55 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/templates.d.ts +7 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/templates.js +215 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/types.d.ts +53 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/types.js +1 -0
- package/node_modules/@kardalum/plugin-package/dist/docs-contract.d.ts +3 -2
- package/node_modules/@kardalum/plugin-package/dist/docs-contract.js +4 -2
- package/node_modules/@kardalum/plugin-package/dist/extract.d.ts +92 -3
- package/node_modules/@kardalum/plugin-package/dist/extract.js +251 -41
- package/node_modules/@kardalum/plugin-package/dist/index.d.ts +13 -4
- package/node_modules/@kardalum/plugin-package/dist/index.js +10 -3
- 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/manifest-entry.d.ts +5 -0
- package/node_modules/@kardalum/plugin-package/dist/manifest-entry.js +20 -0
- package/node_modules/@kardalum/plugin-package/dist/reference-entry.d.ts +1 -0
- package/node_modules/@kardalum/plugin-package/dist/reference-entry.js +1 -0
- package/node_modules/@kardalum/plugin-package/dist/sample-content.d.ts +21 -3
- package/node_modules/@kardalum/plugin-package/dist/sample-content.js +37 -9
- package/node_modules/@kardalum/plugin-package/dist/shipped-files.d.ts +39 -0
- package/node_modules/@kardalum/plugin-package/dist/shipped-files.js +133 -0
- package/node_modules/@kardalum/plugin-package/dist/shipped-locales.d.ts +7 -0
- package/node_modules/@kardalum/plugin-package/dist/shipped-locales.js +27 -0
- 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/plugin-package/package.json +4 -2
- 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 +3 -3
- 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/node_modules/@kardalum/ui/package.json +1 -1
- package/package.json +19 -6
|
@@ -27,19 +27,33 @@ export declare const MarketplaceListingVersionSchema: z.ZodObject<{
|
|
|
27
27
|
}, z.core.$strip>>;
|
|
28
28
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
29
29
|
id: z.ZodString;
|
|
30
|
-
label: z.ZodString
|
|
30
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
|
|
31
|
+
en: z.ZodString;
|
|
32
|
+
}, z.core.$catchall<z.ZodString>>, unknown>]>;
|
|
31
33
|
}, z.core.$strip>>>;
|
|
32
34
|
roleOffers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
33
35
|
id: z.ZodString;
|
|
34
|
-
label: z.ZodString
|
|
36
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
|
|
37
|
+
en: z.ZodString;
|
|
38
|
+
}, z.core.$catchall<z.ZodString>>, unknown>]>;
|
|
35
39
|
actions: z.ZodArray<z.ZodString>;
|
|
36
40
|
}, z.core.$strip>>>;
|
|
37
41
|
license: z.ZodString;
|
|
38
42
|
cmsVersion: z.ZodString;
|
|
39
43
|
verified: z.ZodBoolean;
|
|
40
44
|
createdAt: z.ZodString;
|
|
45
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
41
46
|
hasArtifact: z.ZodBoolean;
|
|
42
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>;
|
|
43
57
|
export declare const MarketplaceListingSchema: z.ZodObject<{
|
|
44
58
|
pluginId: z.ZodString;
|
|
45
59
|
name: z.ZodString;
|
|
@@ -47,6 +61,14 @@ export declare const MarketplaceListingSchema: z.ZodObject<{
|
|
|
47
61
|
description: z.ZodString;
|
|
48
62
|
author: z.ZodString;
|
|
49
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>>>;
|
|
50
72
|
coverImagePath: z.ZodNullable<z.ZodString>;
|
|
51
73
|
latestVersion: z.ZodNullable<z.ZodObject<{
|
|
52
74
|
version: z.ZodString;
|
|
@@ -64,23 +86,30 @@ export declare const MarketplaceListingSchema: z.ZodObject<{
|
|
|
64
86
|
}, z.core.$strip>>;
|
|
65
87
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
66
88
|
id: z.ZodString;
|
|
67
|
-
label: z.ZodString
|
|
89
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
|
|
90
|
+
en: z.ZodString;
|
|
91
|
+
}, z.core.$catchall<z.ZodString>>, unknown>]>;
|
|
68
92
|
}, z.core.$strip>>>;
|
|
69
93
|
roleOffers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
70
94
|
id: z.ZodString;
|
|
71
|
-
label: z.ZodString
|
|
95
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
|
|
96
|
+
en: z.ZodString;
|
|
97
|
+
}, z.core.$catchall<z.ZodString>>, unknown>]>;
|
|
72
98
|
actions: z.ZodArray<z.ZodString>;
|
|
73
99
|
}, z.core.$strip>>>;
|
|
74
100
|
license: z.ZodString;
|
|
75
101
|
cmsVersion: z.ZodString;
|
|
76
102
|
verified: z.ZodBoolean;
|
|
77
103
|
createdAt: z.ZodString;
|
|
104
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
78
105
|
hasArtifact: z.ZodBoolean;
|
|
79
106
|
}, z.core.$strip>>;
|
|
80
107
|
compatible: z.ZodBoolean;
|
|
81
108
|
cmsCompatible: z.ZodBoolean;
|
|
82
109
|
installedVersion: z.ZodNullable<z.ZodString>;
|
|
83
110
|
updateAvailable: z.ZodBoolean;
|
|
111
|
+
renewToUpdate: z.ZodOptional<z.ZodLiteral<true>>;
|
|
112
|
+
licenseBundlePluginId: z.ZodOptional<z.ZodString>;
|
|
84
113
|
}, z.core.$strip>;
|
|
85
114
|
export type MarketplaceListing = z.infer<typeof MarketplaceListingSchema>;
|
|
86
115
|
export declare const MarketplaceStarterSchema: z.ZodObject<{
|
|
@@ -101,6 +130,7 @@ export declare const MarketplaceBundleMemberSchema: z.ZodObject<{
|
|
|
101
130
|
description: z.ZodNullable<z.ZodString>;
|
|
102
131
|
type: z.ZodString;
|
|
103
132
|
priceCents: z.ZodNumber;
|
|
133
|
+
priceShape: z.ZodOptional<z.ZodString>;
|
|
104
134
|
}, z.core.$strip>;
|
|
105
135
|
export type MarketplaceBundleMember = z.infer<typeof MarketplaceBundleMemberSchema>;
|
|
106
136
|
export declare const MarketplaceListingDetailVersionSchema: z.ZodObject<{
|
|
@@ -119,17 +149,22 @@ export declare const MarketplaceListingDetailVersionSchema: z.ZodObject<{
|
|
|
119
149
|
}, z.core.$strip>>;
|
|
120
150
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
121
151
|
id: z.ZodString;
|
|
122
|
-
label: z.ZodString
|
|
152
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
|
|
153
|
+
en: z.ZodString;
|
|
154
|
+
}, z.core.$catchall<z.ZodString>>, unknown>]>;
|
|
123
155
|
}, z.core.$strip>>>;
|
|
124
156
|
roleOffers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
125
157
|
id: z.ZodString;
|
|
126
|
-
label: z.ZodString
|
|
158
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
|
|
159
|
+
en: z.ZodString;
|
|
160
|
+
}, z.core.$catchall<z.ZodString>>, unknown>]>;
|
|
127
161
|
actions: z.ZodArray<z.ZodString>;
|
|
128
162
|
}, z.core.$strip>>>;
|
|
129
163
|
license: z.ZodString;
|
|
130
164
|
cmsVersion: z.ZodString;
|
|
131
165
|
verified: z.ZodBoolean;
|
|
132
166
|
createdAt: z.ZodString;
|
|
167
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
133
168
|
hasArtifact: z.ZodBoolean;
|
|
134
169
|
starter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
135
170
|
name: z.ZodString;
|
|
@@ -147,22 +182,27 @@ export declare const MarketplaceListingDetailVersionSchema: z.ZodObject<{
|
|
|
147
182
|
description: z.ZodNullable<z.ZodString>;
|
|
148
183
|
type: z.ZodString;
|
|
149
184
|
priceCents: z.ZodNumber;
|
|
185
|
+
priceShape: z.ZodOptional<z.ZodString>;
|
|
150
186
|
}, z.core.$strip>>>>;
|
|
151
187
|
readme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
152
188
|
installInterface: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
153
189
|
consent: z.ZodArray<z.ZodObject<{
|
|
154
190
|
id: z.ZodString;
|
|
155
|
-
details: z.ZodArray<z.ZodString
|
|
191
|
+
details: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
|
|
192
|
+
en: z.ZodString;
|
|
193
|
+
}, z.core.$catchall<z.ZodString>>, unknown>]>>;
|
|
156
194
|
}, z.core.$strip>>;
|
|
157
195
|
sampleContent: z.ZodNullable<z.ZodObject<{
|
|
158
196
|
default: z.ZodLiteral<true>;
|
|
159
197
|
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
160
198
|
en: z.ZodString;
|
|
161
|
-
}, z.core.$catchall<z.ZodString
|
|
199
|
+
}, z.core.$catchall<z.ZodString>>, unknown>>;
|
|
162
200
|
}, z.core.$strip>>;
|
|
163
201
|
roles: z.ZodArray<z.ZodObject<{
|
|
164
202
|
id: z.ZodString;
|
|
165
|
-
label: z.ZodString
|
|
203
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
|
|
204
|
+
en: z.ZodString;
|
|
205
|
+
}, z.core.$catchall<z.ZodString>>, unknown>]>;
|
|
166
206
|
actions: z.ZodArray<z.ZodString>;
|
|
167
207
|
default: z.ZodLiteral<false>;
|
|
168
208
|
}, z.core.$strip>>;
|
|
@@ -170,59 +210,59 @@ export declare const MarketplaceListingDetailVersionSchema: z.ZodObject<{
|
|
|
170
210
|
id: z.ZodString;
|
|
171
211
|
label: z.ZodPreprocess<z.ZodObject<{
|
|
172
212
|
en: z.ZodString;
|
|
173
|
-
}, z.core.$catchall<z.ZodString
|
|
213
|
+
}, z.core.$catchall<z.ZodString>>, unknown>;
|
|
174
214
|
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
175
215
|
en: z.ZodString;
|
|
176
|
-
}, z.core.$catchall<z.ZodString
|
|
216
|
+
}, z.core.$catchall<z.ZodString>>, unknown>>;
|
|
177
217
|
options: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
178
218
|
kind: z.ZodLiteral<"boolean">;
|
|
179
219
|
default: z.ZodBoolean;
|
|
180
220
|
id: z.ZodString;
|
|
181
221
|
label: z.ZodPreprocess<z.ZodObject<{
|
|
182
222
|
en: z.ZodString;
|
|
183
|
-
}, z.core.$catchall<z.ZodString
|
|
223
|
+
}, z.core.$catchall<z.ZodString>>, unknown>;
|
|
184
224
|
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
185
225
|
en: z.ZodString;
|
|
186
|
-
}, z.core.$catchall<z.ZodString
|
|
226
|
+
}, z.core.$catchall<z.ZodString>>, unknown>>;
|
|
187
227
|
}, z.core.$strict>, z.ZodObject<{
|
|
188
228
|
kind: z.ZodLiteral<"select">;
|
|
189
229
|
choices: z.ZodArray<z.ZodObject<{
|
|
190
230
|
id: z.ZodString;
|
|
191
231
|
label: z.ZodPreprocess<z.ZodObject<{
|
|
192
232
|
en: z.ZodString;
|
|
193
|
-
}, z.core.$catchall<z.ZodString
|
|
233
|
+
}, z.core.$catchall<z.ZodString>>, unknown>;
|
|
194
234
|
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
195
235
|
en: z.ZodString;
|
|
196
|
-
}, z.core.$catchall<z.ZodString
|
|
236
|
+
}, z.core.$catchall<z.ZodString>>, unknown>>;
|
|
197
237
|
}, z.core.$strict>>;
|
|
198
238
|
default: z.ZodOptional<z.ZodString>;
|
|
199
239
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
200
240
|
id: z.ZodString;
|
|
201
241
|
label: z.ZodPreprocess<z.ZodObject<{
|
|
202
242
|
en: z.ZodString;
|
|
203
|
-
}, z.core.$catchall<z.ZodString
|
|
243
|
+
}, z.core.$catchall<z.ZodString>>, unknown>;
|
|
204
244
|
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
205
245
|
en: z.ZodString;
|
|
206
|
-
}, z.core.$catchall<z.ZodString
|
|
246
|
+
}, z.core.$catchall<z.ZodString>>, unknown>>;
|
|
207
247
|
}, z.core.$strict>, z.ZodObject<{
|
|
208
248
|
kind: z.ZodLiteral<"multiSelect">;
|
|
209
249
|
choices: z.ZodArray<z.ZodObject<{
|
|
210
250
|
id: z.ZodString;
|
|
211
251
|
label: z.ZodPreprocess<z.ZodObject<{
|
|
212
252
|
en: z.ZodString;
|
|
213
|
-
}, z.core.$catchall<z.ZodString
|
|
253
|
+
}, z.core.$catchall<z.ZodString>>, unknown>;
|
|
214
254
|
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
215
255
|
en: z.ZodString;
|
|
216
|
-
}, z.core.$catchall<z.ZodString
|
|
256
|
+
}, z.core.$catchall<z.ZodString>>, unknown>>;
|
|
217
257
|
}, z.core.$strict>>;
|
|
218
258
|
default: z.ZodArray<z.ZodString>;
|
|
219
259
|
id: z.ZodString;
|
|
220
260
|
label: z.ZodPreprocess<z.ZodObject<{
|
|
221
261
|
en: z.ZodString;
|
|
222
|
-
}, z.core.$catchall<z.ZodString
|
|
262
|
+
}, z.core.$catchall<z.ZodString>>, unknown>;
|
|
223
263
|
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
224
264
|
en: z.ZodString;
|
|
225
|
-
}, z.core.$catchall<z.ZodString
|
|
265
|
+
}, z.core.$catchall<z.ZodString>>, unknown>>;
|
|
226
266
|
}, z.core.$strict>], "kind">>;
|
|
227
267
|
}, z.core.$strict>>;
|
|
228
268
|
}, z.core.$strip>>>;
|
|
@@ -235,11 +275,21 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
|
|
|
235
275
|
description: z.ZodString;
|
|
236
276
|
author: z.ZodString;
|
|
237
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>>>;
|
|
238
286
|
coverImagePath: z.ZodNullable<z.ZodString>;
|
|
239
287
|
compatible: z.ZodBoolean;
|
|
240
288
|
cmsCompatible: z.ZodBoolean;
|
|
241
289
|
installedVersion: z.ZodNullable<z.ZodString>;
|
|
242
290
|
updateAvailable: z.ZodBoolean;
|
|
291
|
+
renewToUpdate: z.ZodOptional<z.ZodLiteral<true>>;
|
|
292
|
+
licenseBundlePluginId: z.ZodOptional<z.ZodString>;
|
|
243
293
|
latestVersion: z.ZodNullable<z.ZodObject<{
|
|
244
294
|
version: z.ZodString;
|
|
245
295
|
supportedDialects: z.ZodArray<z.ZodString>;
|
|
@@ -256,17 +306,22 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
|
|
|
256
306
|
}, z.core.$strip>>;
|
|
257
307
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
258
308
|
id: z.ZodString;
|
|
259
|
-
label: z.ZodString
|
|
309
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
|
|
310
|
+
en: z.ZodString;
|
|
311
|
+
}, z.core.$catchall<z.ZodString>>, unknown>]>;
|
|
260
312
|
}, z.core.$strip>>>;
|
|
261
313
|
roleOffers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
262
314
|
id: z.ZodString;
|
|
263
|
-
label: z.ZodString
|
|
315
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
|
|
316
|
+
en: z.ZodString;
|
|
317
|
+
}, z.core.$catchall<z.ZodString>>, unknown>]>;
|
|
264
318
|
actions: z.ZodArray<z.ZodString>;
|
|
265
319
|
}, z.core.$strip>>>;
|
|
266
320
|
license: z.ZodString;
|
|
267
321
|
cmsVersion: z.ZodString;
|
|
268
322
|
verified: z.ZodBoolean;
|
|
269
323
|
createdAt: z.ZodString;
|
|
324
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
270
325
|
hasArtifact: z.ZodBoolean;
|
|
271
326
|
starter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
272
327
|
name: z.ZodString;
|
|
@@ -284,22 +339,27 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
|
|
|
284
339
|
description: z.ZodNullable<z.ZodString>;
|
|
285
340
|
type: z.ZodString;
|
|
286
341
|
priceCents: z.ZodNumber;
|
|
342
|
+
priceShape: z.ZodOptional<z.ZodString>;
|
|
287
343
|
}, z.core.$strip>>>>;
|
|
288
344
|
readme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
289
345
|
installInterface: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
290
346
|
consent: z.ZodArray<z.ZodObject<{
|
|
291
347
|
id: z.ZodString;
|
|
292
|
-
details: z.ZodArray<z.ZodString
|
|
348
|
+
details: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
|
|
349
|
+
en: z.ZodString;
|
|
350
|
+
}, z.core.$catchall<z.ZodString>>, unknown>]>>;
|
|
293
351
|
}, z.core.$strip>>;
|
|
294
352
|
sampleContent: z.ZodNullable<z.ZodObject<{
|
|
295
353
|
default: z.ZodLiteral<true>;
|
|
296
354
|
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
297
355
|
en: z.ZodString;
|
|
298
|
-
}, z.core.$catchall<z.ZodString
|
|
356
|
+
}, z.core.$catchall<z.ZodString>>, unknown>>;
|
|
299
357
|
}, z.core.$strip>>;
|
|
300
358
|
roles: z.ZodArray<z.ZodObject<{
|
|
301
359
|
id: z.ZodString;
|
|
302
|
-
label: z.ZodString
|
|
360
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
|
|
361
|
+
en: z.ZodString;
|
|
362
|
+
}, z.core.$catchall<z.ZodString>>, unknown>]>;
|
|
303
363
|
actions: z.ZodArray<z.ZodString>;
|
|
304
364
|
default: z.ZodLiteral<false>;
|
|
305
365
|
}, z.core.$strip>>;
|
|
@@ -307,59 +367,59 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
|
|
|
307
367
|
id: z.ZodString;
|
|
308
368
|
label: z.ZodPreprocess<z.ZodObject<{
|
|
309
369
|
en: z.ZodString;
|
|
310
|
-
}, z.core.$catchall<z.ZodString
|
|
370
|
+
}, z.core.$catchall<z.ZodString>>, unknown>;
|
|
311
371
|
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
312
372
|
en: z.ZodString;
|
|
313
|
-
}, z.core.$catchall<z.ZodString
|
|
373
|
+
}, z.core.$catchall<z.ZodString>>, unknown>>;
|
|
314
374
|
options: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
315
375
|
kind: z.ZodLiteral<"boolean">;
|
|
316
376
|
default: z.ZodBoolean;
|
|
317
377
|
id: z.ZodString;
|
|
318
378
|
label: z.ZodPreprocess<z.ZodObject<{
|
|
319
379
|
en: z.ZodString;
|
|
320
|
-
}, z.core.$catchall<z.ZodString
|
|
380
|
+
}, z.core.$catchall<z.ZodString>>, unknown>;
|
|
321
381
|
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
322
382
|
en: z.ZodString;
|
|
323
|
-
}, z.core.$catchall<z.ZodString
|
|
383
|
+
}, z.core.$catchall<z.ZodString>>, unknown>>;
|
|
324
384
|
}, z.core.$strict>, z.ZodObject<{
|
|
325
385
|
kind: z.ZodLiteral<"select">;
|
|
326
386
|
choices: z.ZodArray<z.ZodObject<{
|
|
327
387
|
id: z.ZodString;
|
|
328
388
|
label: z.ZodPreprocess<z.ZodObject<{
|
|
329
389
|
en: z.ZodString;
|
|
330
|
-
}, z.core.$catchall<z.ZodString
|
|
390
|
+
}, z.core.$catchall<z.ZodString>>, unknown>;
|
|
331
391
|
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
332
392
|
en: z.ZodString;
|
|
333
|
-
}, z.core.$catchall<z.ZodString
|
|
393
|
+
}, z.core.$catchall<z.ZodString>>, unknown>>;
|
|
334
394
|
}, z.core.$strict>>;
|
|
335
395
|
default: z.ZodOptional<z.ZodString>;
|
|
336
396
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
337
397
|
id: z.ZodString;
|
|
338
398
|
label: z.ZodPreprocess<z.ZodObject<{
|
|
339
399
|
en: z.ZodString;
|
|
340
|
-
}, z.core.$catchall<z.ZodString
|
|
400
|
+
}, z.core.$catchall<z.ZodString>>, unknown>;
|
|
341
401
|
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
342
402
|
en: z.ZodString;
|
|
343
|
-
}, z.core.$catchall<z.ZodString
|
|
403
|
+
}, z.core.$catchall<z.ZodString>>, unknown>>;
|
|
344
404
|
}, z.core.$strict>, z.ZodObject<{
|
|
345
405
|
kind: z.ZodLiteral<"multiSelect">;
|
|
346
406
|
choices: z.ZodArray<z.ZodObject<{
|
|
347
407
|
id: z.ZodString;
|
|
348
408
|
label: z.ZodPreprocess<z.ZodObject<{
|
|
349
409
|
en: z.ZodString;
|
|
350
|
-
}, z.core.$catchall<z.ZodString
|
|
410
|
+
}, z.core.$catchall<z.ZodString>>, unknown>;
|
|
351
411
|
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
352
412
|
en: z.ZodString;
|
|
353
|
-
}, z.core.$catchall<z.ZodString
|
|
413
|
+
}, z.core.$catchall<z.ZodString>>, unknown>>;
|
|
354
414
|
}, z.core.$strict>>;
|
|
355
415
|
default: z.ZodArray<z.ZodString>;
|
|
356
416
|
id: z.ZodString;
|
|
357
417
|
label: z.ZodPreprocess<z.ZodObject<{
|
|
358
418
|
en: z.ZodString;
|
|
359
|
-
}, z.core.$catchall<z.ZodString
|
|
419
|
+
}, z.core.$catchall<z.ZodString>>, unknown>;
|
|
360
420
|
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
361
421
|
en: z.ZodString;
|
|
362
|
-
}, z.core.$catchall<z.ZodString
|
|
422
|
+
}, z.core.$catchall<z.ZodString>>, unknown>>;
|
|
363
423
|
}, z.core.$strict>], "kind">>;
|
|
364
424
|
}, z.core.$strict>>;
|
|
365
425
|
}, z.core.$strip>>>;
|
|
@@ -380,17 +440,22 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
|
|
|
380
440
|
}, z.core.$strip>>;
|
|
381
441
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
382
442
|
id: z.ZodString;
|
|
383
|
-
label: z.ZodString
|
|
443
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
|
|
444
|
+
en: z.ZodString;
|
|
445
|
+
}, z.core.$catchall<z.ZodString>>, unknown>]>;
|
|
384
446
|
}, z.core.$strip>>>;
|
|
385
447
|
roleOffers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
386
448
|
id: z.ZodString;
|
|
387
|
-
label: z.ZodString
|
|
449
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
|
|
450
|
+
en: z.ZodString;
|
|
451
|
+
}, z.core.$catchall<z.ZodString>>, unknown>]>;
|
|
388
452
|
actions: z.ZodArray<z.ZodString>;
|
|
389
453
|
}, z.core.$strip>>>;
|
|
390
454
|
license: z.ZodString;
|
|
391
455
|
cmsVersion: z.ZodString;
|
|
392
456
|
verified: z.ZodBoolean;
|
|
393
457
|
createdAt: z.ZodString;
|
|
458
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
394
459
|
hasArtifact: z.ZodBoolean;
|
|
395
460
|
starter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
396
461
|
name: z.ZodString;
|
|
@@ -408,22 +473,27 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
|
|
|
408
473
|
description: z.ZodNullable<z.ZodString>;
|
|
409
474
|
type: z.ZodString;
|
|
410
475
|
priceCents: z.ZodNumber;
|
|
476
|
+
priceShape: z.ZodOptional<z.ZodString>;
|
|
411
477
|
}, z.core.$strip>>>>;
|
|
412
478
|
readme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
413
479
|
installInterface: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
414
480
|
consent: z.ZodArray<z.ZodObject<{
|
|
415
481
|
id: z.ZodString;
|
|
416
|
-
details: z.ZodArray<z.ZodString
|
|
482
|
+
details: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
|
|
483
|
+
en: z.ZodString;
|
|
484
|
+
}, z.core.$catchall<z.ZodString>>, unknown>]>>;
|
|
417
485
|
}, z.core.$strip>>;
|
|
418
486
|
sampleContent: z.ZodNullable<z.ZodObject<{
|
|
419
487
|
default: z.ZodLiteral<true>;
|
|
420
488
|
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
421
489
|
en: z.ZodString;
|
|
422
|
-
}, z.core.$catchall<z.ZodString
|
|
490
|
+
}, z.core.$catchall<z.ZodString>>, unknown>>;
|
|
423
491
|
}, z.core.$strip>>;
|
|
424
492
|
roles: z.ZodArray<z.ZodObject<{
|
|
425
493
|
id: z.ZodString;
|
|
426
|
-
label: z.ZodString
|
|
494
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
|
|
495
|
+
en: z.ZodString;
|
|
496
|
+
}, z.core.$catchall<z.ZodString>>, unknown>]>;
|
|
427
497
|
actions: z.ZodArray<z.ZodString>;
|
|
428
498
|
default: z.ZodLiteral<false>;
|
|
429
499
|
}, z.core.$strip>>;
|
|
@@ -431,59 +501,59 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
|
|
|
431
501
|
id: z.ZodString;
|
|
432
502
|
label: z.ZodPreprocess<z.ZodObject<{
|
|
433
503
|
en: z.ZodString;
|
|
434
|
-
}, z.core.$catchall<z.ZodString
|
|
504
|
+
}, z.core.$catchall<z.ZodString>>, unknown>;
|
|
435
505
|
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
436
506
|
en: z.ZodString;
|
|
437
|
-
}, z.core.$catchall<z.ZodString
|
|
507
|
+
}, z.core.$catchall<z.ZodString>>, unknown>>;
|
|
438
508
|
options: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
439
509
|
kind: z.ZodLiteral<"boolean">;
|
|
440
510
|
default: z.ZodBoolean;
|
|
441
511
|
id: z.ZodString;
|
|
442
512
|
label: z.ZodPreprocess<z.ZodObject<{
|
|
443
513
|
en: z.ZodString;
|
|
444
|
-
}, z.core.$catchall<z.ZodString
|
|
514
|
+
}, z.core.$catchall<z.ZodString>>, unknown>;
|
|
445
515
|
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
446
516
|
en: z.ZodString;
|
|
447
|
-
}, z.core.$catchall<z.ZodString
|
|
517
|
+
}, z.core.$catchall<z.ZodString>>, unknown>>;
|
|
448
518
|
}, z.core.$strict>, z.ZodObject<{
|
|
449
519
|
kind: z.ZodLiteral<"select">;
|
|
450
520
|
choices: z.ZodArray<z.ZodObject<{
|
|
451
521
|
id: z.ZodString;
|
|
452
522
|
label: z.ZodPreprocess<z.ZodObject<{
|
|
453
523
|
en: z.ZodString;
|
|
454
|
-
}, z.core.$catchall<z.ZodString
|
|
524
|
+
}, z.core.$catchall<z.ZodString>>, unknown>;
|
|
455
525
|
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
456
526
|
en: z.ZodString;
|
|
457
|
-
}, z.core.$catchall<z.ZodString
|
|
527
|
+
}, z.core.$catchall<z.ZodString>>, unknown>>;
|
|
458
528
|
}, z.core.$strict>>;
|
|
459
529
|
default: z.ZodOptional<z.ZodString>;
|
|
460
530
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
461
531
|
id: z.ZodString;
|
|
462
532
|
label: z.ZodPreprocess<z.ZodObject<{
|
|
463
533
|
en: z.ZodString;
|
|
464
|
-
}, z.core.$catchall<z.ZodString
|
|
534
|
+
}, z.core.$catchall<z.ZodString>>, unknown>;
|
|
465
535
|
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
466
536
|
en: z.ZodString;
|
|
467
|
-
}, z.core.$catchall<z.ZodString
|
|
537
|
+
}, z.core.$catchall<z.ZodString>>, unknown>>;
|
|
468
538
|
}, z.core.$strict>, z.ZodObject<{
|
|
469
539
|
kind: z.ZodLiteral<"multiSelect">;
|
|
470
540
|
choices: z.ZodArray<z.ZodObject<{
|
|
471
541
|
id: z.ZodString;
|
|
472
542
|
label: z.ZodPreprocess<z.ZodObject<{
|
|
473
543
|
en: z.ZodString;
|
|
474
|
-
}, z.core.$catchall<z.ZodString
|
|
544
|
+
}, z.core.$catchall<z.ZodString>>, unknown>;
|
|
475
545
|
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
476
546
|
en: z.ZodString;
|
|
477
|
-
}, z.core.$catchall<z.ZodString
|
|
547
|
+
}, z.core.$catchall<z.ZodString>>, unknown>>;
|
|
478
548
|
}, z.core.$strict>>;
|
|
479
549
|
default: z.ZodArray<z.ZodString>;
|
|
480
550
|
id: z.ZodString;
|
|
481
551
|
label: z.ZodPreprocess<z.ZodObject<{
|
|
482
552
|
en: z.ZodString;
|
|
483
|
-
}, z.core.$catchall<z.ZodString
|
|
553
|
+
}, z.core.$catchall<z.ZodString>>, unknown>;
|
|
484
554
|
description: z.ZodOptional<z.ZodPreprocess<z.ZodObject<{
|
|
485
555
|
en: z.ZodString;
|
|
486
|
-
}, z.core.$catchall<z.ZodString
|
|
556
|
+
}, z.core.$catchall<z.ZodString>>, unknown>>;
|
|
487
557
|
}, z.core.$strict>], "kind">>;
|
|
488
558
|
}, z.core.$strict>>;
|
|
489
559
|
}, z.core.$strip>>>;
|
|
@@ -493,7 +563,7 @@ export declare const MarketplaceListingDetailSchema: z.ZodObject<{
|
|
|
493
563
|
}, z.core.$strip>;
|
|
494
564
|
export type MarketplaceListingDetail = z.infer<typeof MarketplaceListingDetailSchema>;
|
|
495
565
|
export declare const MarketplacePublicBaseSchema: z.ZodObject<{
|
|
496
|
-
publicBaseUrl: z.ZodURL
|
|
566
|
+
publicBaseUrl: z.ZodPipe<z.ZodString, z.ZodURL>;
|
|
497
567
|
}, z.core.$strip>;
|
|
498
568
|
export type MarketplacePublicBase = z.infer<typeof MarketplacePublicBaseSchema>;
|
|
499
569
|
export declare const MarketplaceListQuerySchema: z.ZodObject<{
|
|
@@ -511,6 +581,14 @@ export declare const MarketplaceListResponseSchema: z.ZodObject<{
|
|
|
511
581
|
description: z.ZodString;
|
|
512
582
|
author: z.ZodString;
|
|
513
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>>>;
|
|
514
592
|
coverImagePath: z.ZodNullable<z.ZodString>;
|
|
515
593
|
latestVersion: z.ZodNullable<z.ZodObject<{
|
|
516
594
|
version: z.ZodString;
|
|
@@ -528,23 +606,30 @@ export declare const MarketplaceListResponseSchema: z.ZodObject<{
|
|
|
528
606
|
}, z.core.$strip>>;
|
|
529
607
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
530
608
|
id: z.ZodString;
|
|
531
|
-
label: z.ZodString
|
|
609
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
|
|
610
|
+
en: z.ZodString;
|
|
611
|
+
}, z.core.$catchall<z.ZodString>>, unknown>]>;
|
|
532
612
|
}, z.core.$strip>>>;
|
|
533
613
|
roleOffers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
534
614
|
id: z.ZodString;
|
|
535
|
-
label: z.ZodString
|
|
615
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
|
|
616
|
+
en: z.ZodString;
|
|
617
|
+
}, z.core.$catchall<z.ZodString>>, unknown>]>;
|
|
536
618
|
actions: z.ZodArray<z.ZodString>;
|
|
537
619
|
}, z.core.$strip>>>;
|
|
538
620
|
license: z.ZodString;
|
|
539
621
|
cmsVersion: z.ZodString;
|
|
540
622
|
verified: z.ZodBoolean;
|
|
541
623
|
createdAt: z.ZodString;
|
|
624
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
542
625
|
hasArtifact: z.ZodBoolean;
|
|
543
626
|
}, z.core.$strip>>;
|
|
544
627
|
compatible: z.ZodBoolean;
|
|
545
628
|
cmsCompatible: z.ZodBoolean;
|
|
546
629
|
installedVersion: z.ZodNullable<z.ZodString>;
|
|
547
630
|
updateAvailable: z.ZodBoolean;
|
|
631
|
+
renewToUpdate: z.ZodOptional<z.ZodLiteral<true>>;
|
|
632
|
+
licenseBundlePluginId: z.ZodOptional<z.ZodString>;
|
|
548
633
|
}, z.core.$strip>>;
|
|
549
634
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
550
635
|
activeDialect: z.ZodString;
|
|
@@ -559,13 +644,27 @@ export declare const MARKETPLACE_VERSIONS_MAX_IDS = 50;
|
|
|
559
644
|
* this; the CMS's client therefore sends no id longer than 199 characters,
|
|
560
645
|
* so that fifty of them and their 49 commas (9,999 characters) always fit. */
|
|
561
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>;
|
|
562
656
|
/** What a CMS decides an update with: a listing's latest published version,
|
|
563
|
-
* reduced to
|
|
657
|
+
* reduced to the facts it compares (S319: and its release date). */
|
|
564
658
|
export declare const MarketplaceLatestVersionSchema: z.ZodObject<{
|
|
565
659
|
version: z.ZodString;
|
|
660
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
566
661
|
supportedDialects: z.ZodArray<z.ZodString>;
|
|
567
662
|
cmsVersion: z.ZodString;
|
|
568
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>>;
|
|
569
668
|
}, z.core.$strip>;
|
|
570
669
|
export type MarketplaceLatestVersion = z.infer<typeof MarketplaceLatestVersionSchema>;
|
|
571
670
|
/** One item per published listing among the ids asked, in the order asked; an
|
|
@@ -576,9 +675,14 @@ export declare const MarketplaceVersionsResponseSchema: z.ZodObject<{
|
|
|
576
675
|
pluginId: z.ZodString;
|
|
577
676
|
latestVersion: z.ZodObject<{
|
|
578
677
|
version: z.ZodString;
|
|
678
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
579
679
|
supportedDialects: z.ZodArray<z.ZodString>;
|
|
580
680
|
cmsVersion: z.ZodString;
|
|
581
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>>;
|
|
582
686
|
}, z.core.$strip>;
|
|
583
687
|
}, z.core.$strip>>;
|
|
584
688
|
}, z.core.$strip>;
|
|
@@ -610,7 +714,7 @@ export declare const MarketplaceInstallBodySchema: z.ZodObject<{
|
|
|
610
714
|
answers: z.ZodOptional<z.ZodObject<{
|
|
611
715
|
sampleContent: z.ZodOptional<z.ZodBoolean>;
|
|
612
716
|
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
613
|
-
options: z.ZodOptional<z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodArray<z.ZodString>]
|
|
717
|
+
options: z.ZodOptional<z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodArray<z.ZodString>]>>, unknown>>;
|
|
614
718
|
}, z.core.$strict>>;
|
|
615
719
|
}, z.core.$strict>;
|
|
616
720
|
export declare const MarketplaceInstallMemberSchema: z.ZodObject<{
|
|
@@ -622,6 +726,14 @@ export declare const MarketplaceInstallMemberSchema: z.ZodObject<{
|
|
|
622
726
|
}>;
|
|
623
727
|
}, z.core.$strip>;
|
|
624
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>;
|
|
625
737
|
export declare const MarketplaceInstallResponseSchema: z.ZodObject<{
|
|
626
738
|
pluginId: z.ZodString;
|
|
627
739
|
version: z.ZodString;
|
|
@@ -658,23 +770,64 @@ export declare const MarketplaceInstallResponseSchema: z.ZodObject<{
|
|
|
658
770
|
roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
659
771
|
id: z.ZodString;
|
|
660
772
|
outcome: z.ZodEnum<{
|
|
773
|
+
failed: "failed";
|
|
661
774
|
created: "created";
|
|
662
775
|
"already-exists": "already-exists";
|
|
663
|
-
failed: "failed";
|
|
664
776
|
}>;
|
|
665
777
|
}, z.core.$strip>>>;
|
|
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>>;
|
|
666
783
|
}, z.core.$strip>;
|
|
667
784
|
export type MarketplaceInstallResponse = z.infer<typeof MarketplaceInstallResponseSchema>;
|
|
668
785
|
/** The 409 a marketplace install or update answers. `reason` is present
|
|
669
786
|
* only for "license-not-recorded" (S284, D4): the plugin IS installed (or
|
|
670
787
|
* updated), and only its licence row is another request's, so a client
|
|
671
|
-
* refreshes its installed state rather than offering Install again.
|
|
672
|
-
*
|
|
788
|
+
* refreshes its installed state rather than offering Install again. That
|
|
789
|
+
* 409 after an update also carries the landing's `warnings` (S314), as the
|
|
790
|
+
* 201 would have. Every other 409 carries `message` alone. */
|
|
673
791
|
export declare const MarketplaceInstallConflictSchema: z.ZodObject<{
|
|
674
792
|
message: z.ZodString;
|
|
675
793
|
reason: z.ZodOptional<z.ZodLiteral<"license-not-recorded">>;
|
|
794
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
676
795
|
}, z.core.$strip>;
|
|
677
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>;
|
|
678
831
|
export type MarketplaceListQuery = z.infer<typeof MarketplaceListQuerySchema>;
|
|
679
832
|
/** The parsed side, which is also what a client sends: the schema has no defaults, so `licenseKey` and
|
|
680
833
|
* `answers` stay optional, and `answers.options` keeps its record type (the z.input side of its preprocess
|