/
vshmidt
/
cloudbeaver
Обзор
Документация
Войти
/
vshmidt
/
cloudbeaver
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
devel
webapp/packages/plugin-administration/src/ConfigurationWizard/ServerConfiguration/IServerConfigurationFormPartState.ts
48 строк
2 KB
sergeyteleshev
[CB] The generated Custom SSL certificate domain is not displayed (#4127)
18 фев 2026, 14:29
Не верифицирован
18 фев 2026, 14:29
a0e6154
Код
Авторство
О чём код?
/* * CloudBeaver - Cloud Database Manager * Copyright (C) 2020-2026 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 { schema } from '@cloudbeaver/core-utils'; const ServerConfigurationFormPartStateConfigSchema = schema.object({ adminCredentialsSaveEnabled: schema.boolean().optional(), adminName: schema.string().trim().optional(), adminPassword: schema.string().trim().optional(), adminPasswordRepeat: schema.string().trim().optional(), anonymousAccessEnabled: schema.boolean().optional(), authenticationEnabled: schema.boolean().optional(), customConnectionsEnabled: schema.boolean().optional(), disabledDrivers: schema.array(schema.string()).optional(), enabledAuthProviders: schema.array(schema.string()).optional(), enabledFeatures: schema.array(schema.string()).optional(), publicCredentialsSaveEnabled: schema.boolean().optional(), resourceManagerEnabled: schema.boolean().optional(), secretManagerEnabled: schema.boolean().optional(), serverName: schema.string().trim().optional(), sessionExpireTime: schema.number().optional(), forceHttps: schema.boolean().optional(), supportedHosts: schema.string(), bindSessionToIp: schema.string().optional(), }); const ServerConfigurationFormPartStateNavigatorSchema = schema.object({ hideFolders: schema.boolean(), hideSchemas: schema.boolean(), hideVirtualModel: schema.boolean(), mergeEntities: schema.boolean(), showOnlyEntities: schema.boolean(), showSystemObjects: schema.boolean(), showUtilityObjects: schema.boolean(), }); export const ServerConfigStateSchema = schema.object({ serverConfig: ServerConfigurationFormPartStateConfigSchema, navigatorConfig: ServerConfigurationFormPartStateNavigatorSchema, }); export type IServerConfig = schema.infer<typeof ServerConfigurationFormPartStateConfigSchema>; export type INavigatorConfig = schema.infer<typeof ServerConfigurationFormPartStateNavigatorSchema>; export type IServerConfigurationFormPartState = schema.infer<typeof ServerConfigStateSchema>;