Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
player: playerReducer,
playlist: playlistReducer,
progress: progressReducer,
search: searchReducer,
sharedlist: sharedlistReducer,
shoutout: shoutoutReducer
}),
ShoutOutPlayModule,
EffectsModule.run(FirebaseEffects),
EffectsModule.run(PlayerEffects),
EffectsModule.run(PlaylistEffects),
EffectsModule.run(ProgressEffects),
EffectsModule.run(SharedlistEffects),
EffectsModule.run(ShoutoutEffects),
ComponentsModule,
NativeScriptRouterModule.forRoot(routes)
],
declarations: [
AppComponent,
ENTRY_COMPONENTS
],
bootstrap: [AppComponent]
})
export class NativeModule { }
platformNativeScriptDynamic().bootstrapModule(NativeModule);
@NgModule({
bootstrap: [
AppComponent
],
declarations: [
APP_COMPONENTS,
SIDEDRAWER_DIRECTIVES,
AUX_COMPONENTS,
],
imports: [
NativeScriptModule,
NativeScriptFormsModule,
NativeScriptHttpModule,
NativeScriptRouterModule,
NativeScriptRouterModule.forRoot(APP_ROUTES)
],
exports: [
SIDEDRAWER_DIRECTIVES,
AUX_COMPONENTS,
NativeScriptModule,
NativeScriptFormsModule,
NativeScriptHttpModule,
NativeScriptRouterModule,
],
providers: [
DrawerService,
]
})
class AppModule { }
platformNativeScriptDynamic().bootstrapModule(AppModule);
function makeExampleModule(componentType) {
let imports: any[] = [ExampleModule];
if (componentType.routes) {
imports.push(NativeScriptRouterModule.forRoot(componentType.routes))
}
let exports: any[] = [];
if (componentType.exports) {
exports = componentType.exports;
}
let entries = [];
if (componentType.entries) {
entries = componentType.entries;
}
entries.push(componentType);
let providers = [];
if (componentType.providers) {
providers = componentType.providers;
}
@NgModule({
bootstrap: [componentType],
HomePage,
SettingsPage,
TodoPage,
DrawerComponent,
TodoListComponent,
CheckboxComponent,
StatusPipe
],
bootstrap: [
AppComponent
],
imports: [
NativeScriptModule,
NativeScriptFormsModule,
NativeScriptRouterModule,
NativeScriptRouterModule.forRoot(APP_ROUTES),
TNSFontIconModule.forRoot({
'fa': 'fonts/font-awesome.css'
})
],
providers: [
TodosService
],
schemas: [
NO_ERRORS_SCHEMA
]
})
export class AppModule {
}