import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
import { NativeScriptCommonModule } from '@nativescript/angular';
import { NativeScriptUIListViewModule } from 'nativescript-ui-listview/angular';
import { ProfileComponent } from '~/pages/home/containers/profile/profile.component';
import { SharedModule } from '~/shared/shared.module';
import { HomeComponent } from './containers/home/home.component';
import { HomeRoutingModule } from './home-routing.module';
import { ProfileSectionComponent } from './components/profile-section/profile-section.component';
import { ProfilePageComponent } from './containers/profile-page/profile-page.component';
import { StsSectionComponent } from './components/sts-section/sts-section.component';
import { StsModule } from './../sts/sts.module';
import { MorePageComponent } from './components/more-page/more-page.component';
import { SearchPageComponent } from './components/search-page/search-page.component';
import { MyUnitPageComponent } from './components/my-unit-page/my-unit-page.component';
import { MessageSectionComponent } from '~/pages/home/components/message-section/message-section.component';

@NgModule({
    imports: [
    NativeScriptCommonModule,
        HomeRoutingModule,
        NativeScriptUIListViewModule,
        SharedModule,
        StsModule,
    ],
    declarations: [
        HomeComponent,
        ProfileComponent,
        ProfilePageComponent,
        StsSectionComponent,
        ProfileSectionComponent,
        MessageSectionComponent,
        SearchPageComponent,
        MorePageComponent,
        MyUnitPageComponent,
    ],
    schemas: [
        NO_ERRORS_SCHEMA
    ]
})
export class HomeModule {
}
