import { IUiSettingsClient } from '../ui_settings' ; import { CoreService } from '../../types' ; import { MomentService } from './moment' ; import { StylesService } from './styles' ; interface Deps { uiSettings : IUiSettingsClient ; } internal export class IntegrationsService implements CoreService { private readonly styles = new StylesService ( ) ; private readonly moment = new MomentService ( ) ; public async setup ( ) { await this . styles . setup ( ) ; await this . moment . setup ( ) ; } public async start ( { uiSettings } ) { await this . styles . start ( { uiSettings } ) ; await this . moment . start ( { uiSettings } ) ; } public async stop ( ) { await this . styles . stop ( ) ; await this . moment . stop ( ) ; } }