@kardalum/plugin-sdk 0.17.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 +109 -0
- package/README.md +4 -3
- package/dist/assets/asset-picker.d.ts +11 -0
- package/dist/assets/asset-picker.js +109 -0
- package/dist/assets/asset-tree.d.ts +30 -0
- package/dist/assets/asset-tree.js +150 -0
- package/dist/built-in-editor-ids.d.ts +1 -0
- package/dist/built-in-editor-ids.js +20 -0
- package/dist/built-in-serializers.js +1 -1
- package/dist/built-in-settings-schemas.d.ts +2 -0
- package/dist/built-in-settings-schemas.js +31 -4
- package/dist/built-in-value-schemas.js +3 -0
- package/dist/built-ins.js +20 -11
- package/dist/capabilities.js +5 -0
- package/dist/data-type-plugin.d.ts +2 -2
- package/dist/datatype-validation.d.ts +2 -2
- package/dist/datatype-validation.js +20 -6
- package/dist/datatypes-entry.d.ts +1 -0
- package/dist/datatypes-entry.js +1 -0
- package/dist/define-plugin.d.ts +4 -4
- package/dist/define-plugin.js +5 -5
- package/dist/entitlement-entry.d.ts +3 -2
- package/dist/entitlement-entry.js +13 -1
- package/dist/entitlement-gate.d.ts +18 -0
- package/dist/entitlement-gate.js +95 -21
- package/dist/entitlement-plan.d.ts +21 -0
- package/dist/entitlement-plan.js +26 -0
- package/dist/entitlement-types.d.ts +21 -4
- package/dist/entitlement.d.ts +29 -1
- package/dist/entitlement.js +39 -0
- package/dist/grid-arrow-step.d.ts +7 -0
- package/dist/grid-arrow-step.js +20 -0
- package/dist/index.d.ts +8 -1
- package/dist/index.js +11 -12
- package/dist/manifest-entry.d.ts +4 -0
- package/dist/manifest-entry.js +4 -0
- package/dist/manifest-schema.d.ts +5 -1
- package/dist/manifest-schema.js +14 -2
- package/dist/manifest.d.ts +21 -1
- package/dist/media/media-picker.js +34 -34
- package/dist/notify.d.ts +17 -0
- package/dist/notify.js +17 -0
- 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 +19 -20
- package/dist/richtext/extensions.js +17 -8
- package/dist/richtext/insert-menu.js +4 -4
- package/dist/richtext/kardalum-block.js +17 -17
- package/dist/richtext/style-listbox.js +2 -2
- package/dist/richtext/text-style-class.js +1 -1
- package/dist/richtext-html-entry.d.ts +35 -0
- package/dist/richtext-html-entry.js +73 -0
- package/dist/simple-storage-value-provider.js +3 -3
- package/dist/structured-storage-types.d.ts +12 -1
- package/dist/structured-storage-types.js +2 -2
- package/dist/tailwind.js +10 -3
- package/dist/tokens/tailwind-theme.css +176 -0
- package/dist/tokens/tokens.css +1 -0
- package/dist/tokens/tokens.json +2 -1
- package/dist/ui-entry.js +3 -3
- 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/date-range-view.js +5 -5
- package/dist/views/html-code-editor.js +2 -3
- package/dist/views/html-view.js +7 -7
- package/dist/views/image-view.js +5 -5
- package/dist/views/rich-text-view.js +33 -32
- package/node_modules/@kardalum/api-schemas/README.md +1 -1
- package/node_modules/@kardalum/api-schemas/dist/api-error.schema.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/asset-api.schema.js +17 -15
- package/node_modules/@kardalum/api-schemas/dist/asset-field.schema.d.ts +21 -0
- package/node_modules/@kardalum/api-schemas/dist/asset-field.schema.js +42 -0
- package/node_modules/@kardalum/api-schemas/dist/asset.schema.d.ts +1 -0
- package/node_modules/@kardalum/api-schemas/dist/asset.schema.js +10 -3
- package/node_modules/@kardalum/api-schemas/dist/auth.schema.js +1 -1
- 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 +13 -0
- package/node_modules/@kardalum/api-schemas/dist/content-api.schema.js +30 -9
- 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 +12 -6
- package/node_modules/@kardalum/api-schemas/dist/core-actions.js +11 -6
- package/node_modules/@kardalum/api-schemas/dist/data-type-api.schema.d.ts +50 -0
- package/node_modules/@kardalum/api-schemas/dist/data-type-api.schema.js +26 -6
- 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 +6 -3
- 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.d.ts +90 -0
- package/node_modules/@kardalum/api-schemas/dist/document-type-api.schema.js +56 -6
- package/node_modules/@kardalum/api-schemas/dist/document-type.schema.js +8 -8
- 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 +48 -19
- package/node_modules/@kardalum/api-schemas/dist/index.js +34 -12
- 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/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 +162 -1
- package/node_modules/@kardalum/api-schemas/dist/marketplace-listing-api.schema.js +144 -9
- 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 +15 -9
- 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/media.schema.js +5 -5
- package/node_modules/@kardalum/api-schemas/dist/news.schema.d.ts +93 -0
- package/node_modules/@kardalum/api-schemas/dist/news.schema.js +86 -0
- package/node_modules/@kardalum/api-schemas/dist/node-access.schema.js +13 -0
- package/node_modules/@kardalum/api-schemas/dist/notification.schema.d.ts +410 -0
- package/node_modules/@kardalum/api-schemas/dist/notification.schema.js +193 -0
- package/node_modules/@kardalum/api-schemas/dist/plan-editor.schema.d.ts +86 -0
- package/node_modules/@kardalum/api-schemas/dist/plan-editor.schema.js +92 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs-api.schema.d.ts +7 -2
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs-api.schema.js +7 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs-text.js +1 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-management-api.schema.d.ts +251 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-management-api.schema.js +196 -31
- package/node_modules/@kardalum/api-schemas/dist/plugin-read-only.schema.d.ts +19 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-read-only.schema.js +33 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-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/plugin-template-payload.d.ts +10 -1
- package/node_modules/@kardalum/api-schemas/dist/plugin-template-payload.js +24 -4
- package/node_modules/@kardalum/api-schemas/dist/public-api.schema.d.ts +5 -0
- package/node_modules/@kardalum/api-schemas/dist/public-api.schema.js +23 -20
- package/node_modules/@kardalum/api-schemas/dist/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/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/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/sites.schema.d.ts +14 -0
- package/node_modules/@kardalum/api-schemas/dist/sites.schema.js +7 -0
- package/node_modules/@kardalum/api-schemas/dist/snapshot-api.schema.d.ts +3 -3
- package/node_modules/@kardalum/api-schemas/dist/snapshot.schema.d.ts +1 -1
- package/node_modules/@kardalum/api-schemas/dist/snapshot.schema.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/template-api.schema.d.ts +10 -0
- package/node_modules/@kardalum/api-schemas/dist/template-api.schema.js +27 -12
- package/node_modules/@kardalum/api-schemas/dist/template.schema.d.ts +7 -0
- package/node_modules/@kardalum/api-schemas/dist/template.schema.js +22 -10
- package/node_modules/@kardalum/api-schemas/dist/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.d.ts +12 -0
- package/node_modules/@kardalum/api-schemas/dist/user-api.schema.js +6 -1
- package/node_modules/@kardalum/api-schemas/dist/uuid.schema.d.ts +2 -0
- package/node_modules/@kardalum/api-schemas/dist/uuid.schema.js +4 -0
- package/node_modules/@kardalum/api-schemas/dist/vendor-service.schema.d.ts +88 -0
- package/node_modules/@kardalum/api-schemas/dist/vendor-service.schema.js +100 -0
- package/node_modules/@kardalum/api-schemas/dist/whoami-api.schema.d.ts +13 -0
- package/node_modules/@kardalum/api-schemas/dist/whoami-api.schema.js +5 -0
- package/node_modules/@kardalum/design-tokens/README.md +1 -1
- package/node_modules/@kardalum/design-tokens/dist/build-css.d.ts +1 -1
- package/node_modules/@kardalum/design-tokens/dist/build-css.js +2 -2
- package/node_modules/@kardalum/design-tokens/dist/build-theme-css.d.ts +16 -0
- package/node_modules/@kardalum/design-tokens/dist/build-theme-css.js +76 -0
- package/node_modules/@kardalum/design-tokens/dist/generate.js +4 -1
- package/node_modules/@kardalum/design-tokens/dist/tailwind-theme.css +176 -0
- package/node_modules/@kardalum/design-tokens/dist/tailwind-theme.d.ts +1 -1
- package/node_modules/@kardalum/design-tokens/dist/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.css +1 -0
- package/node_modules/@kardalum/design-tokens/dist/tokens.d.ts +3 -3
- package/node_modules/@kardalum/design-tokens/dist/tokens.js +6 -5
- package/node_modules/@kardalum/design-tokens/dist/tokens.json +2 -1
- package/node_modules/@kardalum/design-tokens/dist/types.d.ts +2 -1
- package/node_modules/@kardalum/design-tokens/dist/types.js +1 -1
- package/node_modules/@kardalum/design-tokens/package.json +6 -3
- package/node_modules/@kardalum/plugin-package/README.md +1 -1
- package/node_modules/@kardalum/plugin-package/dist/capabilities.d.ts +4 -4
- package/node_modules/@kardalum/plugin-package/dist/capabilities.js +54 -6
- package/node_modules/@kardalum/plugin-package/dist/delivery/bundle.js +1 -1
- package/node_modules/@kardalum/plugin-package/dist/delivery/contributions.d.ts +3 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/contributions.js +18 -1
- package/node_modules/@kardalum/plugin-package/dist/delivery/limits.d.ts +1 -1
- package/node_modules/@kardalum/plugin-package/dist/delivery/limits.js +1 -1
- package/node_modules/@kardalum/plugin-package/dist/delivery/registry.js +9 -4
- package/node_modules/@kardalum/plugin-package/dist/delivery/templates.d.ts +1 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/templates.js +58 -1
- package/node_modules/@kardalum/plugin-package/dist/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 +10 -10
- 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/index.d.ts +4 -2
- package/node_modules/@kardalum/plugin-package/dist/index.js +3 -1
- package/node_modules/@kardalum/plugin-package/dist/license-verdict.d.ts +56 -19
- package/node_modules/@kardalum/plugin-package/dist/license-verdict.js +119 -25
- package/node_modules/@kardalum/plugin-package/dist/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/plugin-package/dist/vendor-token.d.ts +24 -0
- package/node_modules/@kardalum/plugin-package/dist/vendor-token.js +118 -0
- package/node_modules/@kardalum/ui/README.md +1 -1
- package/node_modules/@kardalum/ui/dist/components/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 +2 -2
- package/node_modules/@kardalum/ui/dist/components/checkbox.js +1 -1
- package/node_modules/@kardalum/ui/dist/components/dialog.d.ts +1 -1
- package/node_modules/@kardalum/ui/dist/components/dialog.js +52 -4
- package/node_modules/@kardalum/ui/dist/components/dropdown-menu.d.ts +5 -1
- package/node_modules/@kardalum/ui/dist/components/dropdown-menu.js +20 -7
- 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/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/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 +15 -9
- package/node_modules/@kardalum/ui/dist/components/skeleton.js +1 -1
- package/node_modules/@kardalum/ui/dist/components/switch.js +1 -1
- package/node_modules/@kardalum/ui/dist/components/tab-strip.d.ts +3 -3
- package/node_modules/@kardalum/ui/dist/components/tab-strip.js +1 -1
- 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 +4 -1
- package/node_modules/@kardalum/ui/dist/index.js +4 -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 +21 -7
|
@@ -21,8 +21,18 @@ export declare const PluginTamperKindSchema: z.ZodEnum<{
|
|
|
21
21
|
export type PluginTamperKind = z.infer<typeof PluginTamperKindSchema>;
|
|
22
22
|
export declare const ManagedPluginSchema: z.ZodObject<{
|
|
23
23
|
pluginId: z.ZodString;
|
|
24
|
+
readOnly: z.ZodOptional<z.ZodObject<{
|
|
25
|
+
code: z.ZodLiteral<"plugin_read_only">;
|
|
26
|
+
pluginId: z.ZodString;
|
|
27
|
+
pluginName: z.ZodString;
|
|
28
|
+
canRenew: z.ZodBoolean;
|
|
29
|
+
message: z.ZodString;
|
|
30
|
+
renewUrl: z.ZodOptional<z.ZodString>;
|
|
31
|
+
lapsedAt: z.ZodOptional<z.ZodString>;
|
|
32
|
+
}, z.core.$strip>>;
|
|
24
33
|
name: z.ZodString;
|
|
25
34
|
type: z.ZodString;
|
|
35
|
+
bundledPlugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26
36
|
version: z.ZodString;
|
|
27
37
|
trustTier: z.ZodEnum<{
|
|
28
38
|
verified: "verified";
|
|
@@ -39,6 +49,12 @@ export declare const ManagedPluginSchema: z.ZodObject<{
|
|
|
39
49
|
licenseLastValidatedAt: z.ZodNullable<z.ZodString>;
|
|
40
50
|
licenseLastValidIssuedAt: z.ZodNullable<z.ZodString>;
|
|
41
51
|
licenseLastAttemptError: z.ZodNullable<z.ZodString>;
|
|
52
|
+
licenseSwitchOffAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
+
licenseLastAttemptKind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
54
|
+
unreachable: "unreachable";
|
|
55
|
+
rejected: "rejected";
|
|
56
|
+
"site-domain-missing": "site-domain-missing";
|
|
57
|
+
}>>>;
|
|
42
58
|
boundDomain: z.ZodNullable<z.ZodString>;
|
|
43
59
|
lockedFromEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
44
60
|
tamperKind: z.ZodNullable<z.ZodEnum<{
|
|
@@ -48,6 +64,14 @@ export declare const ManagedPluginSchema: z.ZodObject<{
|
|
|
48
64
|
}>>;
|
|
49
65
|
licenseLocked: z.ZodBoolean;
|
|
50
66
|
buyHref: z.ZodNullable<z.ZodString>;
|
|
67
|
+
licensePlan: z.ZodOptional<z.ZodObject<{
|
|
68
|
+
key: z.ZodString;
|
|
69
|
+
name: z.ZodNullable<z.ZodString>;
|
|
70
|
+
bundle: z.ZodOptional<z.ZodObject<{
|
|
71
|
+
pluginId: z.ZodString;
|
|
72
|
+
name: z.ZodString;
|
|
73
|
+
}, z.core.$strip>>;
|
|
74
|
+
}, z.core.$strip>>;
|
|
51
75
|
roleOffers: z.ZodArray<z.ZodObject<{
|
|
52
76
|
id: z.ZodString;
|
|
53
77
|
label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
|
|
@@ -59,6 +83,8 @@ export declare const ManagedPluginSchema: z.ZodObject<{
|
|
|
59
83
|
grantedRoleCount: z.ZodNumber;
|
|
60
84
|
updateAvailable: z.ZodNullable<z.ZodObject<{
|
|
61
85
|
version: z.ZodString;
|
|
86
|
+
renewToUpdate: z.ZodOptional<z.ZodLiteral<true>>;
|
|
87
|
+
renewHref: z.ZodOptional<z.ZodString>;
|
|
62
88
|
}, z.core.$strip>>;
|
|
63
89
|
}, z.core.$strip>;
|
|
64
90
|
export type ManagedPlugin = z.infer<typeof ManagedPluginSchema>;
|
|
@@ -69,8 +95,18 @@ export declare const ManagedPluginListQuerySchema: z.ZodObject<{
|
|
|
69
95
|
export declare const ManagedPluginListResponseSchema: z.ZodObject<{
|
|
70
96
|
items: z.ZodArray<z.ZodObject<{
|
|
71
97
|
pluginId: z.ZodString;
|
|
98
|
+
readOnly: z.ZodOptional<z.ZodObject<{
|
|
99
|
+
code: z.ZodLiteral<"plugin_read_only">;
|
|
100
|
+
pluginId: z.ZodString;
|
|
101
|
+
pluginName: z.ZodString;
|
|
102
|
+
canRenew: z.ZodBoolean;
|
|
103
|
+
message: z.ZodString;
|
|
104
|
+
renewUrl: z.ZodOptional<z.ZodString>;
|
|
105
|
+
lapsedAt: z.ZodOptional<z.ZodString>;
|
|
106
|
+
}, z.core.$strip>>;
|
|
72
107
|
name: z.ZodString;
|
|
73
108
|
type: z.ZodString;
|
|
109
|
+
bundledPlugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
74
110
|
version: z.ZodString;
|
|
75
111
|
trustTier: z.ZodEnum<{
|
|
76
112
|
verified: "verified";
|
|
@@ -87,6 +123,12 @@ export declare const ManagedPluginListResponseSchema: z.ZodObject<{
|
|
|
87
123
|
licenseLastValidatedAt: z.ZodNullable<z.ZodString>;
|
|
88
124
|
licenseLastValidIssuedAt: z.ZodNullable<z.ZodString>;
|
|
89
125
|
licenseLastAttemptError: z.ZodNullable<z.ZodString>;
|
|
126
|
+
licenseSwitchOffAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
127
|
+
licenseLastAttemptKind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
128
|
+
unreachable: "unreachable";
|
|
129
|
+
rejected: "rejected";
|
|
130
|
+
"site-domain-missing": "site-domain-missing";
|
|
131
|
+
}>>>;
|
|
90
132
|
boundDomain: z.ZodNullable<z.ZodString>;
|
|
91
133
|
lockedFromEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
92
134
|
tamperKind: z.ZodNullable<z.ZodEnum<{
|
|
@@ -96,6 +138,14 @@ export declare const ManagedPluginListResponseSchema: z.ZodObject<{
|
|
|
96
138
|
}>>;
|
|
97
139
|
licenseLocked: z.ZodBoolean;
|
|
98
140
|
buyHref: z.ZodNullable<z.ZodString>;
|
|
141
|
+
licensePlan: z.ZodOptional<z.ZodObject<{
|
|
142
|
+
key: z.ZodString;
|
|
143
|
+
name: z.ZodNullable<z.ZodString>;
|
|
144
|
+
bundle: z.ZodOptional<z.ZodObject<{
|
|
145
|
+
pluginId: z.ZodString;
|
|
146
|
+
name: z.ZodString;
|
|
147
|
+
}, z.core.$strip>>;
|
|
148
|
+
}, z.core.$strip>>;
|
|
99
149
|
roleOffers: z.ZodArray<z.ZodObject<{
|
|
100
150
|
id: z.ZodString;
|
|
101
151
|
label: z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodObject<{
|
|
@@ -107,10 +157,13 @@ export declare const ManagedPluginListResponseSchema: z.ZodObject<{
|
|
|
107
157
|
grantedRoleCount: z.ZodNumber;
|
|
108
158
|
updateAvailable: z.ZodNullable<z.ZodObject<{
|
|
109
159
|
version: z.ZodString;
|
|
160
|
+
renewToUpdate: z.ZodOptional<z.ZodLiteral<true>>;
|
|
161
|
+
renewHref: z.ZodOptional<z.ZodString>;
|
|
110
162
|
}, z.core.$strip>>;
|
|
111
163
|
}, z.core.$strip>>;
|
|
112
164
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
113
165
|
licenseGraceDays: z.ZodNumber;
|
|
166
|
+
licenseStaleWarnDays: z.ZodOptional<z.ZodNumber>;
|
|
114
167
|
}, z.core.$strip>;
|
|
115
168
|
export type ManagedPluginListResponse = z.infer<typeof ManagedPluginListResponseSchema>;
|
|
116
169
|
export declare const PluginIdParamsSchema: z.ZodObject<{
|
|
@@ -144,6 +197,8 @@ export declare const UninstallBlockedByDocumentTypesSchema: z.ZodObject<{
|
|
|
144
197
|
export type UninstallBlockedByDocumentTypes = z.infer<typeof UninstallBlockedByDocumentTypesSchema>;
|
|
145
198
|
export declare const UninstallSucceededSchema: z.ZodObject<{
|
|
146
199
|
snapshotGroupId: z.ZodNullable<z.ZodString>;
|
|
200
|
+
dataTypesSnapshotGroupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
201
|
+
removedDataTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
147
202
|
}, z.core.$strip>;
|
|
148
203
|
export type UninstallSucceeded = z.infer<typeof UninstallSucceededSchema>;
|
|
149
204
|
export declare const BundleUninstallSucceededSchema: z.ZodObject<{
|
|
@@ -151,6 +206,12 @@ export declare const BundleUninstallSucceededSchema: z.ZodObject<{
|
|
|
151
206
|
pluginId: z.ZodString;
|
|
152
207
|
snapshotGroupId: z.ZodString;
|
|
153
208
|
}, z.core.$strip>>;
|
|
209
|
+
removedDataTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
210
|
+
dataTypesSnapshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
211
|
+
pluginId: z.ZodString;
|
|
212
|
+
snapshotGroupId: z.ZodString;
|
|
213
|
+
}, z.core.$strip>>>;
|
|
214
|
+
leftDataTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
154
215
|
}, z.core.$strip>;
|
|
155
216
|
export type BundleUninstallSucceeded = z.infer<typeof BundleUninstallSucceededSchema>;
|
|
156
217
|
export declare const MarketplaceStatusResponseSchema: z.ZodObject<{
|
|
@@ -163,8 +224,21 @@ export declare const LicenseRecheckResponseSchema: z.ZodObject<{
|
|
|
163
224
|
status: z.ZodNullable<z.ZodString>;
|
|
164
225
|
reason: z.ZodNullable<z.ZodString>;
|
|
165
226
|
lastValidatedAt: z.ZodNullable<z.ZodString>;
|
|
227
|
+
skipped: z.ZodOptional<z.ZodString>;
|
|
166
228
|
}, z.core.$strip>;
|
|
167
229
|
export type LicenseRecheckResponse = z.infer<typeof LicenseRecheckResponseSchema>;
|
|
230
|
+
export declare const LicenseVerdictTermSchema: z.ZodObject<{
|
|
231
|
+
state: z.ZodString;
|
|
232
|
+
endsAt: z.ZodNullable<z.ZodString>;
|
|
233
|
+
renewalAmountCents: z.ZodNullable<z.ZodNumber>;
|
|
234
|
+
cancelAtPeriodEnd: z.ZodBoolean;
|
|
235
|
+
}, z.core.$strip>;
|
|
236
|
+
export declare const ListingPlanSummarySchema: z.ZodObject<{
|
|
237
|
+
key: z.ZodString;
|
|
238
|
+
shape: z.ZodString;
|
|
239
|
+
priceCents: z.ZodNumber;
|
|
240
|
+
position: z.ZodNumber;
|
|
241
|
+
}, z.core.$strip>;
|
|
168
242
|
export declare const LicenseVerdictEnvelopeSchema: z.ZodObject<{
|
|
169
243
|
v: z.ZodLiteral<1>;
|
|
170
244
|
alg: z.ZodLiteral<"ed25519">;
|
|
@@ -187,11 +261,24 @@ export declare const LicenseVerdictEnvelopeSchema: z.ZodObject<{
|
|
|
187
261
|
"modified-on-disk": "modified-on-disk";
|
|
188
262
|
}>>;
|
|
189
263
|
detail: z.ZodOptional<z.ZodString>;
|
|
264
|
+
planId: z.ZodOptional<z.ZodString>;
|
|
265
|
+
term: z.ZodOptional<z.ZodObject<{
|
|
266
|
+
state: z.ZodString;
|
|
267
|
+
endsAt: z.ZodNullable<z.ZodString>;
|
|
268
|
+
renewalAmountCents: z.ZodNullable<z.ZodNumber>;
|
|
269
|
+
cancelAtPeriodEnd: z.ZodBoolean;
|
|
270
|
+
}, z.core.$strip>>;
|
|
190
271
|
}, z.core.$strip>;
|
|
191
272
|
export type LicenseVerdictEnvelopeWire = z.infer<typeof LicenseVerdictEnvelopeSchema>;
|
|
192
273
|
export declare const EntitlementSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
193
274
|
kind: z.ZodLiteral<"exempt">;
|
|
194
275
|
reason: z.ZodLiteral<"non-production">;
|
|
276
|
+
listingPlans: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
277
|
+
key: z.ZodString;
|
|
278
|
+
shape: z.ZodString;
|
|
279
|
+
priceCents: z.ZodNumber;
|
|
280
|
+
position: z.ZodNumber;
|
|
281
|
+
}, z.core.$strip>>>;
|
|
195
282
|
}, z.core.$strip>, z.ZodObject<{
|
|
196
283
|
kind: z.ZodLiteral<"verdict">;
|
|
197
284
|
envelope: z.ZodObject<{
|
|
@@ -216,8 +303,16 @@ export declare const EntitlementSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
216
303
|
"modified-on-disk": "modified-on-disk";
|
|
217
304
|
}>>;
|
|
218
305
|
detail: z.ZodOptional<z.ZodString>;
|
|
306
|
+
planId: z.ZodOptional<z.ZodString>;
|
|
307
|
+
term: z.ZodOptional<z.ZodObject<{
|
|
308
|
+
state: z.ZodString;
|
|
309
|
+
endsAt: z.ZodNullable<z.ZodString>;
|
|
310
|
+
renewalAmountCents: z.ZodNullable<z.ZodNumber>;
|
|
311
|
+
cancelAtPeriodEnd: z.ZodBoolean;
|
|
312
|
+
}, z.core.$strip>>;
|
|
219
313
|
}, z.core.$strip>;
|
|
220
314
|
signature: z.ZodString;
|
|
315
|
+
termSignature: z.ZodOptional<z.ZodString>;
|
|
221
316
|
}, z.core.$strip>, z.ZodObject<{
|
|
222
317
|
kind: z.ZodLiteral<"none">;
|
|
223
318
|
}, z.core.$strip>], "kind">;
|
|
@@ -226,6 +321,12 @@ export declare const EntitlementResponseSchema: z.ZodObject<{
|
|
|
226
321
|
entitlement: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
227
322
|
kind: z.ZodLiteral<"exempt">;
|
|
228
323
|
reason: z.ZodLiteral<"non-production">;
|
|
324
|
+
listingPlans: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
325
|
+
key: z.ZodString;
|
|
326
|
+
shape: z.ZodString;
|
|
327
|
+
priceCents: z.ZodNumber;
|
|
328
|
+
position: z.ZodNumber;
|
|
329
|
+
}, z.core.$strip>>>;
|
|
229
330
|
}, z.core.$strip>, z.ZodObject<{
|
|
230
331
|
kind: z.ZodLiteral<"verdict">;
|
|
231
332
|
envelope: z.ZodObject<{
|
|
@@ -250,12 +351,29 @@ export declare const EntitlementResponseSchema: z.ZodObject<{
|
|
|
250
351
|
"modified-on-disk": "modified-on-disk";
|
|
251
352
|
}>>;
|
|
252
353
|
detail: z.ZodOptional<z.ZodString>;
|
|
354
|
+
planId: z.ZodOptional<z.ZodString>;
|
|
355
|
+
term: z.ZodOptional<z.ZodObject<{
|
|
356
|
+
state: z.ZodString;
|
|
357
|
+
endsAt: z.ZodNullable<z.ZodString>;
|
|
358
|
+
renewalAmountCents: z.ZodNullable<z.ZodNumber>;
|
|
359
|
+
cancelAtPeriodEnd: z.ZodBoolean;
|
|
360
|
+
}, z.core.$strip>>;
|
|
253
361
|
}, z.core.$strip>;
|
|
254
362
|
signature: z.ZodString;
|
|
363
|
+
termSignature: z.ZodOptional<z.ZodString>;
|
|
255
364
|
}, z.core.$strip>, z.ZodObject<{
|
|
256
365
|
kind: z.ZodLiteral<"none">;
|
|
257
366
|
}, z.core.$strip>], "kind">;
|
|
258
367
|
valid: z.ZodBoolean;
|
|
368
|
+
readOnly: z.ZodOptional<z.ZodObject<{
|
|
369
|
+
code: z.ZodLiteral<"plugin_read_only">;
|
|
370
|
+
pluginId: z.ZodString;
|
|
371
|
+
pluginName: z.ZodString;
|
|
372
|
+
canRenew: z.ZodBoolean;
|
|
373
|
+
message: z.ZodString;
|
|
374
|
+
renewUrl: z.ZodOptional<z.ZodString>;
|
|
375
|
+
lapsedAt: z.ZodOptional<z.ZodString>;
|
|
376
|
+
}, z.core.$strip>>;
|
|
259
377
|
}, z.core.$strip>;
|
|
260
378
|
export type EntitlementResponse = z.infer<typeof EntitlementResponseSchema>;
|
|
261
379
|
export declare const EntitlementRefusalSchema: z.ZodObject<{
|
|
@@ -328,6 +446,97 @@ export declare const RestoreBodySchema: z.ZodOptional<z.ZodNullable<z.ZodObject<
|
|
|
328
446
|
confirmRestore: z.ZodOptional<z.ZodBoolean>;
|
|
329
447
|
planHash: z.ZodOptional<z.ZodString>;
|
|
330
448
|
}, z.core.$strip>>>;
|
|
449
|
+
export declare const DataTypeRestoreSkipReasonSchema: z.ZodEnum<{
|
|
450
|
+
"name-taken": "name-taken";
|
|
451
|
+
"id-exists": "id-exists";
|
|
452
|
+
"editor-missing": "editor-missing";
|
|
453
|
+
"editor-inactive": "editor-inactive";
|
|
454
|
+
"settings-invalid": "settings-invalid";
|
|
455
|
+
}>;
|
|
456
|
+
export type DataTypeRestoreSkipReason = z.infer<typeof DataTypeRestoreSkipReasonSchema>;
|
|
457
|
+
export declare const DataTypeRestoreEntrySchema: z.ZodObject<{
|
|
458
|
+
id: z.ZodString;
|
|
459
|
+
name: z.ZodString;
|
|
460
|
+
}, z.core.$strip>;
|
|
461
|
+
export type DataTypeRestoreEntry = z.infer<typeof DataTypeRestoreEntrySchema>;
|
|
462
|
+
export declare const DataTypeRestoreSkipSchema: z.ZodObject<{
|
|
463
|
+
id: z.ZodString;
|
|
464
|
+
name: z.ZodString;
|
|
465
|
+
reason: z.ZodEnum<{
|
|
466
|
+
"name-taken": "name-taken";
|
|
467
|
+
"id-exists": "id-exists";
|
|
468
|
+
"editor-missing": "editor-missing";
|
|
469
|
+
"editor-inactive": "editor-inactive";
|
|
470
|
+
"settings-invalid": "settings-invalid";
|
|
471
|
+
}>;
|
|
472
|
+
}, z.core.$strip>;
|
|
473
|
+
export type DataTypeRestoreSkip = z.infer<typeof DataTypeRestoreSkipSchema>;
|
|
474
|
+
export declare const DataTypeRestorePlanSchema: z.ZodObject<{
|
|
475
|
+
snapshotGroupId: z.ZodString;
|
|
476
|
+
restore: z.ZodArray<z.ZodObject<{
|
|
477
|
+
id: z.ZodString;
|
|
478
|
+
name: z.ZodString;
|
|
479
|
+
}, z.core.$strip>>;
|
|
480
|
+
skip: z.ZodArray<z.ZodObject<{
|
|
481
|
+
id: z.ZodString;
|
|
482
|
+
name: z.ZodString;
|
|
483
|
+
reason: z.ZodEnum<{
|
|
484
|
+
"name-taken": "name-taken";
|
|
485
|
+
"id-exists": "id-exists";
|
|
486
|
+
"editor-missing": "editor-missing";
|
|
487
|
+
"editor-inactive": "editor-inactive";
|
|
488
|
+
"settings-invalid": "settings-invalid";
|
|
489
|
+
}>;
|
|
490
|
+
}, z.core.$strip>>;
|
|
491
|
+
}, z.core.$strip>;
|
|
492
|
+
export type DataTypeRestorePlan = z.infer<typeof DataTypeRestorePlanSchema>;
|
|
493
|
+
export declare const DataTypeRestoreConfirmationRequiredSchema: z.ZodObject<{
|
|
494
|
+
snapshotGroupId: z.ZodString;
|
|
495
|
+
restore: z.ZodArray<z.ZodObject<{
|
|
496
|
+
id: z.ZodString;
|
|
497
|
+
name: z.ZodString;
|
|
498
|
+
}, z.core.$strip>>;
|
|
499
|
+
skip: z.ZodArray<z.ZodObject<{
|
|
500
|
+
id: z.ZodString;
|
|
501
|
+
name: z.ZodString;
|
|
502
|
+
reason: z.ZodEnum<{
|
|
503
|
+
"name-taken": "name-taken";
|
|
504
|
+
"id-exists": "id-exists";
|
|
505
|
+
"editor-missing": "editor-missing";
|
|
506
|
+
"editor-inactive": "editor-inactive";
|
|
507
|
+
"settings-invalid": "settings-invalid";
|
|
508
|
+
}>;
|
|
509
|
+
}, z.core.$strip>>;
|
|
510
|
+
requiresConfirmation: z.ZodLiteral<true>;
|
|
511
|
+
planHash: z.ZodString;
|
|
512
|
+
message: z.ZodString;
|
|
513
|
+
}, z.core.$strip>;
|
|
514
|
+
export type DataTypeRestoreConfirmationRequired = z.infer<typeof DataTypeRestoreConfirmationRequiredSchema>;
|
|
515
|
+
export declare const DataTypeRestoreSucceededSchema: z.ZodObject<{
|
|
516
|
+
snapshotGroupId: z.ZodString;
|
|
517
|
+
restored: z.ZodArray<z.ZodObject<{
|
|
518
|
+
id: z.ZodString;
|
|
519
|
+
name: z.ZodString;
|
|
520
|
+
}, z.core.$strip>>;
|
|
521
|
+
skipped: z.ZodArray<z.ZodObject<{
|
|
522
|
+
id: z.ZodString;
|
|
523
|
+
name: z.ZodString;
|
|
524
|
+
reason: z.ZodEnum<{
|
|
525
|
+
"name-taken": "name-taken";
|
|
526
|
+
"id-exists": "id-exists";
|
|
527
|
+
"editor-missing": "editor-missing";
|
|
528
|
+
"editor-inactive": "editor-inactive";
|
|
529
|
+
"settings-invalid": "settings-invalid";
|
|
530
|
+
}>;
|
|
531
|
+
}, z.core.$strip>>;
|
|
532
|
+
}, z.core.$strip>;
|
|
533
|
+
export type DataTypeRestoreSucceeded = z.infer<typeof DataTypeRestoreSucceededSchema>;
|
|
534
|
+
export declare const DataTypeRestoreBodySchema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
535
|
+
snapshotGroupId: z.ZodOptional<z.ZodString>;
|
|
536
|
+
confirmRestore: z.ZodOptional<z.ZodBoolean>;
|
|
537
|
+
planHash: z.ZodOptional<z.ZodString>;
|
|
538
|
+
}, z.core.$strip>>>;
|
|
539
|
+
export type DataTypeRestoreBody = z.infer<typeof DataTypeRestoreBodySchema>;
|
|
331
540
|
export declare const PluginUploadResponseSchema: z.ZodObject<{
|
|
332
541
|
pluginId: z.ZodString;
|
|
333
542
|
name: z.ZodString;
|
|
@@ -381,6 +590,15 @@ export declare const PackageRefusedSchema: z.ZodObject<{
|
|
|
381
590
|
reasons: z.ZodArray<z.ZodString>;
|
|
382
591
|
}, z.core.$strip>;
|
|
383
592
|
export type PackageRefused = z.infer<typeof PackageRefusedSchema>;
|
|
593
|
+
/** S357 (D2): the 422 an install or update answers when its rollback did not
|
|
594
|
+
* complete: the refusal's message and how many rollback steps failed (each
|
|
595
|
+
* one's record is kept). Sent only when at least one failed; before
|
|
596
|
+
* ApiErrorSchema in each route's union, which would drop the count. */
|
|
597
|
+
export declare const PluginRollbackIncompleteSchema: z.ZodObject<{
|
|
598
|
+
message: z.ZodString;
|
|
599
|
+
rollbackFailures: z.ZodNumber;
|
|
600
|
+
}, z.core.$strip>;
|
|
601
|
+
export type PluginRollbackIncomplete = z.infer<typeof PluginRollbackIncompleteSchema>;
|
|
384
602
|
/** S274c: the 409 an upload over a verified plugin answers before it stores
|
|
385
603
|
* anything, until the retry carries confirmTrustDowngrade=true. */
|
|
386
604
|
export declare const TrustDowngradeConfirmationSchema: z.ZodObject<{
|
|
@@ -396,3 +614,36 @@ export type UninstallPluginBody = NonNullable<z.infer<typeof UninstallPluginBody
|
|
|
396
614
|
export type SnapshotGroupListQuery = z.infer<typeof SnapshotGroupListQuerySchema>;
|
|
397
615
|
/** The restore body as a caller writes it: the object, without the null and undefined the route also accepts. */
|
|
398
616
|
export type RestoreBody = NonNullable<z.infer<typeof RestoreBodySchema>>;
|
|
617
|
+
export declare const DataTypeFieldBlockerSchema: z.ZodObject<{
|
|
618
|
+
documentTypeId: z.ZodString;
|
|
619
|
+
documentType: z.ZodString;
|
|
620
|
+
kind: z.ZodEnum<{
|
|
621
|
+
media: "media";
|
|
622
|
+
page: "page";
|
|
623
|
+
element: "element";
|
|
624
|
+
}>;
|
|
625
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
626
|
+
id: z.ZodString;
|
|
627
|
+
name: z.ZodString;
|
|
628
|
+
dataType: z.ZodString;
|
|
629
|
+
}, z.core.$strip>>;
|
|
630
|
+
}, z.core.$strip>;
|
|
631
|
+
export type DataTypeFieldBlocker = z.infer<typeof DataTypeFieldBlockerSchema>;
|
|
632
|
+
export declare const PluginDataTypesInUseSchema: z.ZodObject<{
|
|
633
|
+
message: z.ZodString;
|
|
634
|
+
blockedByFields: z.ZodArray<z.ZodObject<{
|
|
635
|
+
documentTypeId: z.ZodString;
|
|
636
|
+
documentType: z.ZodString;
|
|
637
|
+
kind: z.ZodEnum<{
|
|
638
|
+
media: "media";
|
|
639
|
+
page: "page";
|
|
640
|
+
element: "element";
|
|
641
|
+
}>;
|
|
642
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
643
|
+
id: z.ZodString;
|
|
644
|
+
name: z.ZodString;
|
|
645
|
+
dataType: z.ZodString;
|
|
646
|
+
}, z.core.$strip>>;
|
|
647
|
+
}, z.core.$strip>>;
|
|
648
|
+
}, z.core.$strip>;
|
|
649
|
+
export type PluginDataTypesInUse = z.infer<typeof PluginDataTypesInUseSchema>;
|