Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
declarations: [app_component_1.AppComponent],
imports: [
platform_browser_1.BrowserModule,
animations_1.BrowserAnimationsModule,
core_module_1.CoreModule,
header_module_1.HeaderModule,
store_1.StoreModule.forRoot(reducers_1.ROOT_REDUCERS, {
metaReducers: reducers_1.metaReducers,
runtimeChecks: {
strictStateImmutability: true,
strictActionImmutability: true,
strictStateSerializability: true,
strictActionSerializability: true,
},
}),
effects_1.EffectsModule.forRoot([]),
],
providers: [],
bootstrap: [app_component_1.AppComponent],
})
], AppModule);
exports.AppModule = AppModule;
});
==============================================================================*/
const core_1 = require("@angular/core");
const http_1 = require("@angular/common/http");
const store_1 = require("@ngrx/store");
const effects_1 = require("@ngrx/effects");
const core_reducers_1 = require("org_tensorflow_tensorboard/tensorboard/components/tf_ng_tensorboard/core/core.reducers");
const core_service_1 = require("org_tensorflow_tensorboard/tensorboard/components/tf_ng_tensorboard/core/core.service");
const core_effects_1 = require("org_tensorflow_tensorboard/tensorboard/components/tf_ng_tensorboard/core/core.effects");
let CoreModule = class CoreModule {
};
CoreModule = __decorate([
core_1.NgModule({
imports: [
http_1.HttpClientModule,
store_1.StoreModule.forFeature(core_reducers_1.CORE_FEATURE_KEY, core_reducers_1.reducers),
effects_1.EffectsModule.forFeature([core_effects_1.CoreEffects]),
],
providers: [core_service_1.CoreService],
})
], CoreModule);
exports.CoreModule = CoreModule;
});
*/
function AppModule() {
}
AppModule = __decorate([
core_1.NgModule({
bootstrap: [
app_component_1.AppComponent
],
imports: [
nativescript_module_1.NativeScriptModule,
forms_1.NativeScriptFormsModule,
app_routing_1.AppRoutingModule,
http_1.HttpClientModule,
http_client_1.NativeScriptHttpClientModule,
store_1.StoreModule.forRoot({ appState: user_reducer_1.userReducer, hueReducer: hue_reducer_1.hueReducer }),
effects_1.EffectsModule.forRoot([user_effects_1.UserEffects, hue_effects_1.HueEffects]),
],
declarations: [
app_component_1.AppComponent,
user_component_1.UserComponent,
home_component_1.HomeComponent,
remoteAccess_component_1.RemoteAccessComponent,
light_management_component_1.LightManagementComponent,
light_management_info_component_1.LightManagementInfoComponent,
scene_management_component_1.SceneManagementComponent,
expansion_panel_component_1.ExpansionPanelComponent
],
providers: [
{
provide: http_1.HTTP_INTERCEPTORS,
useClass: user_interceptor_1.EmptyResponseBodyErrorInterceptor,
multi: true