README
avPro.App.Core
Services and Components of avLight.App reusable for more projekts and products in ArriView style.
Changelog
Error Codes
Repositories
avPro.App.Core wird benutzt in:
Install
npm install --save https://github.com/dff-solutions/avPro.App.Core.git
Usage
Store
App core makes use of ngrx. The store should be configured as feature within the app module.
import { StoreModule } from "@ngrx/store";
import { EffectsModule } from "@ngrx/effects";
import { STORE_FEATURE_CORE, reducers, effects } from "@dff/avpro-app-core";
@NgModule({
imports: [
StoreModule.forRoot({}), // or whatever configuration you like
StoreModule.forFeature(STORE_FEATURE_CORE, reducers),
EffectsModule.forRoot([]),
EffectsModule.forFeature(effects),
]
})
export class AppModule {}
Effects
IndexedDB Effects
To load and store data from IndexedDB optional IdbEffects
can be used.
These effects are not use by default.
If you like to use these effects add them in your AppModule
import { effects, IdbEffects } from "@dff/avpro-app-core";
EffectsModule.forFeature([
...effects,
IdbEffects
]),
Contributing
Team member dff
- Annika Bokelmann - annika.bokelmann@dff-solutions.de
- Frank Königstein - frank.königstein@dff-solutions.de
- Martin Holzke - martin.holzke@dff-solutions.de