/
vshmidt
/
cloudbeaver
Обзор
Документация
Войти
/
vshmidt
/
cloudbeaver
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
devel
webapp/packages/plugin-object-viewer/src/ObjectPropertiesPage/NavNodeView/VirtualFolder/VirtualFolderUtils.ts
23 строки
580 B
serge-rider
dbeaver/pro#2341 Copyright update
10 янв 2024, 10:31
10 янв 2024, 10:31
904375a
Код
Авторство
О чём код?
/* * CloudBeaver - Cloud Database Manager * Copyright (C) 2020-2024 DBeaver Corp and others * * Licensed under the Apache License, Version 2.0. * you may not use this file except in compliance with the License. */ export const VirtualFolderUtils = { prefix: 'object-viewer://virtual-folder/', getFolderId(nodeType: string): string { return this.prefix + nodeType; }, getNodeType(folderId: string): string { return folderId.replace(this.prefix, ''); }, isVirtualFolder(folderId: string): boolean { return folderId.startsWith(this.prefix); }, };