mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
20 lines
514 B
TypeScript
20 lines
514 B
TypeScript
|
|
import { NgModule } from '@angular/core';
|
||
|
|
import { SignalRService } from 'src/app/infra/socket/signalR/signal-r.service';
|
||
|
|
import { ISignalRService } from 'src/app/infra/socket/adapter';
|
||
|
|
import { HttpModule } from 'src/app/infra/http/http.module';
|
||
|
|
@NgModule({
|
||
|
|
imports: [HttpModule],
|
||
|
|
providers: [
|
||
|
|
{
|
||
|
|
provide: ISignalRService,
|
||
|
|
useClass: SignalRService, // or MockDataService
|
||
|
|
},
|
||
|
|
],
|
||
|
|
declarations: [],
|
||
|
|
schemas: [],
|
||
|
|
entryComponents: []
|
||
|
|
})
|
||
|
|
export class GabineteModule {
|
||
|
|
constructor() {}
|
||
|
|
}
|