import { injectable } from '@cloudbeaver/core-di' ; import { ProductManagerService } from '@cloudbeaver/core-product' ; import { PluginSettings } from './PluginSettings' ; @ injectable ( ) export class PluginManagerService { constructor ( private productManagerService ) { } getPluginSettings < T > ( scope , defaults ) { return new PluginSettings ( this . productManagerService . settings , scope , defaults ) ; } }