@ace-grid/schema-core
v1.0.9
Published
Ace Grid core schema contracts, validation helpers, and serializable grid view metadata.
Downloads
639
Maintainers
Readme
@ace-grid/schema-core
Ace Grid Schema Core contains serializable schema contracts and validation helpers for Ace Grid view state, commands, and automation.
Install
npm install @ace-grid/schema-coreUse cases
- Serialize and restore Ace Grid view state.
- Validate grid command payloads before applying them.
- Exchange grid configuration between UI, backend services, and automation tools.
- Build migration, review, or audit workflows without depending on the React runtime.
Quick start
import {
extractGridViewSchema,
validateGridViewSchema,
applyGridViewSchema,
} from "@ace-grid/schema-core";
const schema = extractGridViewSchema({ rows, actions });
const result = validateGridViewSchema(schema);
if (result.valid) {
applyGridViewSchema({ actions, schema });
}Related packages
@ace-grid/corerenders the free Ace Grid runtime.@ace-grid/schema-aiadds AI-ready result schemas and chat workflows for Pro and Enterprise use cases.@ace-grid/compat-agand@ace-grid/compat-muican emit schema-backed migration reports.
Docs and API reference: https://ace-grid.com
License
MIT. See the package license for details.
