import { NgModule, Type } from '@angular/core';
import { SharedModule } from '@shared';
import { MenuManagerComponentsIndexComponent } from './components/index/index.component';
import { MenuManagerRoutingModule } from './menu-manager-routing.module';
import { MenuModalComponent } from './components/index/menu-modal/menu-modal.component';
import { ApiAuthComponent } from './components/api-auth/api-auth.component';
import { AuthDrawerComponent } from './components/api-auth/auth-drawer/auth-drawer.component';
import { MenuManagerMenusortComponent } from './components/menusort/menusort.component';

const COMPONENTS: Type<void>[] = [MenuManagerComponentsIndexComponent, ApiAuthComponent];
const COMPONENTS_NOROUNT: Type<void>[] = [MenuModalComponent, AuthDrawerComponent, MenuManagerMenusortComponent];
@NgModule({
  imports: [SharedModule, MenuManagerRoutingModule],
  declarations: [...COMPONENTS, ...COMPONENTS_NOROUNT]
})
export class MenuManagerModule {}
