/
vshmidt
/
cloudbeaver
Обзор
Документация
Войти
/
vshmidt
/
cloudbeaver
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
devel
webapp/packages/plugin-connection-custom/src/module.ts
25 строк
984 B
Alexey Potsetsuev
dbeaver/pro#6783 refactor: plugins bundles (#3761)
23 сен 2025, 13:37
Не верифицирован
23 сен 2025, 13:37
0fe432f
Код
Авторство
О чём код?
/* * CloudBeaver - Cloud Database Manager * Copyright (C) 2020-2025 DBeaver Corp and others * * Licensed under the Apache License, Version 2.0. * you may not use this file except in compliance with the License. */ import { Bootstrap, Dependency, ModuleRegistry, proxy } from '@cloudbeaver/core-di'; import { LocaleService } from './LocaleService.js'; import { CustomConnectionSettingsService } from './CustomConnectionSettingsService.js'; import { CustomConnectionPluginBootstrap } from './CustomConnectionPluginBootstrap.js'; export default ModuleRegistry.add({ name: '@cloudbeaver/plugin-connection-custom', configure: serviceCollection => { serviceCollection .addSingleton(Dependency, proxy(CustomConnectionSettingsService)) .addSingleton(Bootstrap, proxy(CustomConnectionPluginBootstrap)) .addSingleton(Bootstrap, LocaleService) .addSingleton(CustomConnectionPluginBootstrap) .addSingleton(CustomConnectionSettingsService); }, });