@authcircuit/bus
v0.0.2
Published
The @authcircuit/bus package serves as the central hub for the @authcircuit/core package, inspired by the concept of a data bus. It provides a shared database schema and migration files, enabling seamless development of plugins and maintenance of the enti
Downloads
15
Readme
@authcircuit/bus
The @authcircuit/bus package serves as the central hub for the @authcircuit/core package, inspired by the concept of a data bus. It provides a shared database schema and migration files, enabling seamless development of plugins and maintenance of the entire project.
Purpose
The primary goal of this package is to decouple the database schema and migration files from the core package, allowing for greater flexibility and modularity. By depending on this package, developers can easily create plugins that interact with the core package's database, without having to worry about schema inconsistencies or migration conflicts.
Features
- Shared database schema for the @authcircuit/core package
- Migration files for easy database versioning and updates
- Enables development of plugins that interact with the core package's database
- Simplifies maintenance of the entire project by providing a single source of truth for the database schema
Usage
To use this package, simply install it as a dependency in your project:
npm install @authcircuit/bus
Then, import the package in your plugin or application code:
const { dbSchema, migrations } = require('@authcircuit/bus');
Contributing
Contributions to this package are welcome. Please submit pull requests or issues to the repository, and we will review them promptly.
License
This package is licensed under the MIT License.