@spddse/schematics
v1.0.7
Published
Custom schematics to generate advanced state Angular services & components
Downloads
223
Readme
advanced state schematics for angular
state service structure
Currently, the library only offers one schematics to generate the following service structure used in advanced state management:
- data-access
- views
- mock-views.api.service.ts
- http-views.api.service.ts
- views.api.service.ts // abtract class interface to be implemented by http and mock
- views.service.ts // state service holding the signal state object
- index.ts // Index file for easier import of above files
The following command creates a folder views
at pm-tool/portfolio-management/alm/views
that contains all the above service related files
ng g @spddse/schematics:state-service pm-tool/portfolio-management/alm/views