@skeems/types
v0.6.0
Published
Shared types for the skeem CLI and its backend adapters.
Maintainers
Readme
@skeems/types
Shared types for skeem.
Responsibilities
- define the backend-agnostic data model (
Schema,Collection,Field,Relation) - define the
SkemAdaptercontract that every backend adapter implements - define the schema-mutation input shapes (
SchemaCollectionInput,SchemaFieldInput,SchemaRelationInput)
This package has zero runtime dependencies. Both the core skeem CLI and the
adapter packages depend on it, which keeps the data model in one place and
avoids an import cycle between the CLI and its adapters.
Useful Paths
Common Commands
npm run build --workspace @skeems/types
npm run typecheck --workspace @skeems/types