@smartsoft001/crud-shell-angular 2.99.0 → 2.100.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3246,14 +3246,20 @@ class CrudModule {
|
|
|
3246
3246
|
],
|
|
3247
3247
|
};
|
|
3248
3248
|
}
|
|
3249
|
-
|
|
3249
|
+
constructor(config, effects) {
|
|
3250
|
+
NgrxStoreService.addReducer(config.entity, config.reducerFactory
|
|
3251
|
+
? config.reducerFactory()
|
|
3252
|
+
: getReducer(config.entity));
|
|
3253
|
+
effects.init();
|
|
3254
|
+
}
|
|
3255
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: CrudModule, deps: [{ token: CrudConfig }, { token: CrudEffects }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3250
3256
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.0", ngImport: i0, type: CrudModule });
|
|
3251
3257
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: CrudModule });
|
|
3252
3258
|
}
|
|
3253
3259
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: CrudModule, decorators: [{
|
|
3254
3260
|
type: NgModule,
|
|
3255
3261
|
args: [{}]
|
|
3256
|
-
}] });
|
|
3262
|
+
}], ctorParameters: () => [{ type: CrudConfig }, { type: CrudEffects }] });
|
|
3257
3263
|
|
|
3258
3264
|
/**
|
|
3259
3265
|
* Generated bundle index. Do not edit.
|