@velora-cms/plugin-sdk 0.9.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/LICENSE +202 -0
- package/README.md +27 -0
- package/dist/admin-section-registry.d.ts +4 -0
- package/dist/admin-section-registry.js +17 -0
- package/dist/built-in-serializers.d.ts +3 -0
- package/dist/built-in-serializers.js +18 -0
- package/dist/built-in-settings-schemas.d.ts +6 -0
- package/dist/built-in-settings-schemas.js +37 -0
- package/dist/built-ins.d.ts +1 -0
- package/dist/built-ins.js +142 -0
- package/dist/data-type-plugin.d.ts +21 -0
- package/dist/data-type-plugin.js +1 -0
- package/dist/datatypes-entry.d.ts +2 -0
- package/dist/datatypes-entry.js +10 -0
- package/dist/define-plugin.d.ts +25 -0
- package/dist/define-plugin.js +51 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +27 -0
- package/dist/manifest-entry.d.ts +6 -0
- package/dist/manifest-entry.js +9 -0
- package/dist/manifest-schema.d.ts +728 -0
- package/dist/manifest-schema.js +348 -0
- package/dist/manifest.d.ts +370 -0
- package/dist/manifest.js +12 -0
- package/dist/plugin-context.d.ts +30 -0
- package/dist/plugin-context.js +58 -0
- package/dist/registry.d.ts +4 -0
- package/dist/registry.js +17 -0
- package/dist/simple-storage-value-provider.d.ts +9 -0
- package/dist/simple-storage-value-provider.js +58 -0
- package/dist/structured-storage-types.d.ts +53 -0
- package/dist/structured-storage-types.js +11 -0
- package/dist/views/image-view.d.ts +3 -0
- package/dist/views/image-view.js +108 -0
- package/dist/views/rich-text-view.d.ts +2 -0
- package/dist/views/rich-text-view.js +58 -0
- package/package.json +58 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// The `@velora-cms/plugin-sdk/manifest` subpath: manifest contract + runtime
|
|
2
|
+
// validation ONLY. Exists for non-browser consumers (apps/server's plugin
|
|
3
|
+
// registry, the future `velora-plugin validate` CLI) — unlike the package
|
|
4
|
+
// index, importing this pulls in no React components, no TipTap, no
|
|
5
|
+
// @velora-cms/ui, and does NOT side-effect-register the built-in datatypes.
|
|
6
|
+
// Runtime deps: zod + @velora-cms/api-schemas, both server-safe.
|
|
7
|
+
export { CLIENT_BUNDLE_TYPES, hasClientBundle } from "./manifest.js";
|
|
8
|
+
export { CMSPluginSchema, DataTypePluginSchema, formatIssues, validatePluginManifest, } from "./manifest-schema.js";
|
|
9
|
+
export { definePlugin, PluginDefinitionError } from "./define-plugin.js";
|