import { NgModule, ModuleWithProviders } from '@angular/core';

import { QueryProtocolService } from './services/query-protocol.service';

const SERVICES = [QueryProtocolService];

@NgModule({
  declarations: [],
  imports: [],
  exports: []
})
export class UCapQueryProtocolModule {
  public static forRoot(): ModuleWithProviders<UCapQueryProtocolModule> {
    return {
      ngModule: UCapQueryProtocolModule,
      providers: [...SERVICES]
    };
  }
}
