@ngrx/effects
Advanced tools
Comparing version 15.0.0-beta.0 to 15.0.0-beta.1
{ | ||
"name": "@ngrx/effects", | ||
"version": "15.0.0-beta.0", | ||
"version": "15.0.0-beta.1", | ||
"description": "Side effect model for @ngrx/store", | ||
@@ -24,4 +24,4 @@ "repository": { | ||
"peerDependencies": { | ||
"@angular/core": "^15.0.0-rc.0", | ||
"@ngrx/store": "15.0.0-beta.0", | ||
"@angular/core": "^15.0.0", | ||
"@ngrx/store": "15.0.0-beta.1", | ||
"rxjs": "^6.5.3 || ^7.5.0" | ||
@@ -28,0 +28,0 @@ }, |
"use strict"; | ||
exports.__esModule = true; | ||
exports.platformVersion = void 0; | ||
exports.platformVersion = '^15.0.0-beta.0'; | ||
exports.platformVersion = '^15.0.0-beta.1'; | ||
//# sourceMappingURL=libs-version.js.map |
@@ -6,4 +6,6 @@ import { ModuleWithProviders, Type } from '@angular/core'; | ||
export declare class EffectsModule { | ||
static forFeature(featureEffects?: Type<unknown>[]): ModuleWithProviders<EffectsFeatureModule>; | ||
static forRoot(rootEffects?: Type<unknown>[]): ModuleWithProviders<EffectsRootModule>; | ||
static forFeature(featureEffects: Type<unknown>[]): ModuleWithProviders<EffectsFeatureModule>; | ||
static forFeature(...featureEffects: Type<unknown>[]): ModuleWithProviders<EffectsFeatureModule>; | ||
static forRoot(rootEffects: Type<unknown>[]): ModuleWithProviders<EffectsRootModule>; | ||
static forRoot(...rootEffects: Type<unknown>[]): ModuleWithProviders<EffectsRootModule>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<EffectsModule, never>; | ||
@@ -10,0 +12,0 @@ static ɵmod: i0.ɵɵNgModuleDeclaration<EffectsModule, never, never, never>; |
@@ -5,28 +5,8 @@ import { EnvironmentProviders, Type } from '@angular/core'; | ||
* Can be called at the root and feature levels. | ||
* | ||
* @usageNotes | ||
* | ||
* ### Providing effects at the root level | ||
* | ||
* ```ts | ||
* bootstrapApplication(AppComponent, { | ||
* providers: [provideEffects(RouterEffects]], | ||
* }); | ||
* ``` | ||
* | ||
* ### Providing effects at the feature level | ||
* | ||
* ```ts | ||
* const booksRoutes: Route[] = [ | ||
* { | ||
* path: '', | ||
* providers: [provideEffects(BooksApiEffects)], | ||
* children: [ | ||
* { path: '', component: BookListComponent }, | ||
* { path: ':id', component: BookDetailsComponent }, | ||
* ], | ||
* }, | ||
* ]; | ||
* ``` | ||
*/ | ||
export declare function provideEffects(effects: Type<unknown>[]): EnvironmentProviders; | ||
/** | ||
* Runs the provided effects. | ||
* Can be called at the root and feature levels. | ||
*/ | ||
export declare function provideEffects(...effects: Type<unknown>[]): EnvironmentProviders; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
558841
4965