UNPKG

@wearesage/schema

Version:

A flexible schema definition and validation system for TypeScript with multi-database support

23 lines (16 loc) 885 B
# @wearesage/schema > A TypeScript decorator-based schema definition system that works across multiple database adapters (PostgreSQL, MongoDB, Neo4j, Redis, SQLite). Define your entities once with decorators, then use them with any supported database through a unified repository interface. ## Coverage ![statements](https://img.shields.io/badge/statements-68%25-red) ![branches](https://img.shields.io/badge/branches-49%25-red) ![functions](https://img.shields.io/badge/functions-74%25-orange) ![lines](https://img.shields.io/badge/lines-68%25-red) ### Overall | Metric | Percentage | |--------|-----------| | Statements | 68% | | Branches | 49% | | Functions | 74% | | Lines | 68% | ### By Module | Module | Statements | Branches | Functions | Lines | |---------|-----------|----------|-----------|-------| | adapters | 70% | 51% | 65% | 69% | | core | 94% | 53% | 86% | 95% |