import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';

import { DiscoveryStoreModule } from './discovery-store.module';
import { DiscoveryRPCModule } from './discovery-rpc.module';
import { DiscoveryLoggerModule } from './discovery-logger.module';

import { COMPONENTS } from './component';
import { SERVICES } from './service';
import { PrimeNGModules } from '@overflow/commons/prime-ng/prime-ng.module';
import { KeyValueModule } from '@overflow/commons/component/key-value/key-value.module';
import { CONTAINER_COMPONENTS } from './container';

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    PrimeNGModules,
    DiscoveryStoreModule,
    DiscoveryRPCModule,
    DiscoveryLoggerModule,
    KeyValueModule
  ],
  declarations: [
    COMPONENTS,
    CONTAINER_COMPONENTS
  ],
  exports: [
    COMPONENTS,
    CONTAINER_COMPONENTS
  ],
  providers: [
    SERVICES,
  ],
})
export class DiscoveryModule { }
