@rxap/data-source
Version:
Provides a set of classes and decorators for creating and managing data sources in Angular applications, including base classes, static data sources, observable data sources, and method data sources. It also includes a component for displaying data source
36 lines (29 loc) • 1.64 kB
Markdown
Provides a set of classes and decorators for creating and managing data sources in Angular applications, including base classes, static data sources, observable data sources, and method data sources. It also includes a component for displaying data source errors. The library offers features like data persistence, refresh and retry mechanisms, and integration with RxJS observables.
[](https://www.npmjs.com/package/@rxap/data-source)
[](https://commitizen.github.io/cz-cli/)
[](https://github.com/prettier/prettier)



- [Installation](#installation)
- [Generators](#generators)
- [init](#init)
# Installation
**Add the package to your workspace:**
```bash
yarn add /data-source
```
**Install peer dependencies:**
```bash
yarn add /cdk /common /core /material /data-structure-tree /definition /environment /pattern /rxjs /utilities rxjs
```
**Execute the init generator:**
```bash
yarn nx g /data-source:init
```
# Generators
## init
> Initialize the package in the workspace
```bash
nx g /data-source:init
```