dbeaver/pro#7769 fix properties mapping for enums (#4052)

* dbeaver/pro#7769 fix properties mapping for enums

* dbeaver/pro#7769 fix annotations

* dbeaver/pro#7769 use custom extended interface

* dbeaver/pro#7769 check explicit value

* dbeaver/pro#7769 avoid declaring extra variable

* dbeaver/pro#7769 always use isNotNullDefined in terms of backend data

---------

Co-authored-by: naumov <iamemptyhuh@gmail.com>
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
Co-authored-by: Ainur <59531286+yagudin10@users.noreply.github.com>
This commit is contained in:
Ruslan Musaev
2026-01-27 12:53:40 +01:00
committed by GitHub
co-authored by naumov mr-anton-t Evgenia Ainur
parent d2d3ada58a
commit 0bfdcf0886
29 changed files with 207 additions and 129 deletions
@@ -9,7 +9,7 @@ import { useCallback, useState } from 'react';
import { EventTableItemSelectionFlag, TableColumnValue, TableItem } from '@cloudbeaver/core-blocks';
import { EventContext } from '@cloudbeaver/core-events';
import type { ObjectPropertyInfo } from '@cloudbeaver/core-sdk';
import type { IObjectPropertyInfo } from '@cloudbeaver/core-sdk';
import type { IExecutionPlanNode } from './ExecutionPlanTreeContext.js';
import { Expand } from './Expand.js';
@@ -17,7 +17,7 @@ import { getPropertyValue } from './getPropertyValue.js';
import classes from './NestedNode.module.css';
interface Props {
columns: ObjectPropertyInfo[];
columns: IObjectPropertyInfo[];
node: IExecutionPlanNode;
depth: number;
className?: string;
@@ -8,14 +8,14 @@
import { useState } from 'react';
import { TableColumnValue, TableItem } from '@cloudbeaver/core-blocks';
import type { ObjectPropertyInfo } from '@cloudbeaver/core-sdk';
import type { IObjectPropertyInfo } from '@cloudbeaver/core-sdk';
import { Expand } from '../Expand.js';
import { getPropertyValue } from '../getPropertyValue.js';
import classes from './PropertiesPanelItemsGroup.module.css';
interface Props {
properties: ObjectPropertyInfo[];
properties: IObjectPropertyInfo[];
name: string;
}
@@ -5,9 +5,9 @@
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
*/
import type { ObjectPropertyInfo } from '@cloudbeaver/core-sdk';
import type { IObjectPropertyInfo } from '@cloudbeaver/core-sdk';
export function getPropertyValue(property: ObjectPropertyInfo): string {
export function getPropertyValue(property: IObjectPropertyInfo): string {
const value = property.value;
if (!value) {