import { injectable } from '@cloudbeaver/core-di' ; import { SessionResource } from './SessionResource' ; import { SessionSettingsService } from './SessionSettingsService' ; @ injectable ( ) export class SessionService { readonly settings = new SessionSettingsService ( 'session_settings' ) ; constructor ( readonly session ) { } async update ( ) { await this . session . refresh ( ) ; } }