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

import { SyncProtocolService } from './services/sync-protocol.service';

const SERVICES = [SyncProtocolService];

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