Constructs a new class of a typed CrudEffectFactory.
The actions observable of an ngrx-store
The normalizr schema to create effects for
The actions observable of an ngrx-store
The ngrx-normalizr-crud actions
The normalizr schema to create effects for
The ngrx-normalizr actions
Create an effect which will listen to the CREATE typed action and
perform the given action handler. The result will be dispatched to
an ngrx-normalizr AddData action and a CreateSuccess action
with the handler result as payload. 'CreateFail' is dispatched
with the error argument of the observables catch handler.
The handler to call for creating entities
Create an effect which will listen to the DELETE typed action and
perform the given action handler. The result will be dispatched to
an ngrx-normalizr RemoveData action and an DeleteSuccess action
with the handler result as payload. 'DeleteFail' is dispatched
with the error argument of the observables catch handler.
The handler to call for deleting an entity
Create a typed split effect
Create an effect which will listen to the SEARCH typed action and
perform the given action handler. The result will be dispatched to
an ngrx-normalizr AddData action and a SearchComplete action
with the handler result as payload. 'SearchComplete' is dispatched
with an empty array if any error occurs.
The handler to call for searching entities
Create an effect which will listen to the UPDATE typed action and
perform the given action handler. The result will be dispatched to
an ngrx-normalizr AddData action and an UpdateSuccess action
with the handler result as payload. 'UpdateFail' is dispatched
with the error argument of the observables catch handler.
The handler to call for creating entities
Generated using TypeDoc
Factory class for creating typed "CRUD" effects.