Licence
SEE LICENSE IN LICENSE
Version
0.3.0
Deps
0
Size
93 kB
Vulns
0
Weekly
0
@nexus-cms/core
Framework-agnostic core for Nexus CMS. Zero runtime dependencies.
Provides the shared contracts used by every other package:
- Schema (
schema.ts) — the build-time description of editable regions (CmsSchema,Region, capabilities). - Content model (
content.ts) — the override model (OverrideMap,ContentDocument, localized values). - Diff/merge (
diff.ts) — original/diff preview and revert. - Versions (
version.ts) — snapshots and rollback. - Storage (
storage.ts) — theStorageAdapterinterface backends implement. - Features + license (
features.ts,license.ts) — effective capability resolution and Pro gating seam. - Config (
config.ts) — thenexus.config.tsshape +defineConfig. - Directives (
directives.ts) —@cms-ignore/@cms-readonly/@cms-name/@cms-richtextparsing.
import { resolveCapabilities, resolveFeatureFlags, resolveLicense } from "@nexus-cms/core";