@gooddata/sdk-ui-catalog 11.36.0-alpha.1 → 11.36.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/lineage/utils.d.ts +3 -3
- package/esm/lineage/utils.js +5 -16
- package/package.json +13 -13
package/esm/lineage/utils.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type IReferencesResult } from "@gooddata/sdk-backend-spi";
|
|
2
|
-
import { type
|
|
3
|
-
export declare function objRefToId(
|
|
4
|
-
export declare function objRefToType(
|
|
2
|
+
import { type IdentifierRef, type ObjectType } from "@gooddata/sdk-model";
|
|
3
|
+
export declare function objRefToId(ref: IdentifierRef): string;
|
|
4
|
+
export declare function objRefToType(ref: IdentifierRef): "unknown" | ObjectType;
|
|
5
5
|
export declare function filterNodes(nodes: IReferencesResult["nodes"], edges: IReferencesResult["edges"], typesToFilter?: ObjectType[]): {
|
|
6
6
|
nodes: IReferencesResult["nodes"];
|
|
7
7
|
edges: IReferencesResult["edges"];
|
package/esm/lineage/utils.js
CHANGED
|
@@ -1,22 +1,11 @@
|
|
|
1
1
|
// (C) 2025-2026 GoodData Corporation
|
|
2
2
|
import {} from "@gooddata/sdk-backend-spi";
|
|
3
|
-
import {
|
|
4
|
-
export function objRefToId(
|
|
5
|
-
|
|
6
|
-
if (objRef.type) {
|
|
7
|
-
return `${objRef.type}/${objRef.identifier}`;
|
|
8
|
-
}
|
|
9
|
-
return objRef.identifier;
|
|
10
|
-
}
|
|
11
|
-
return objRef.uri;
|
|
3
|
+
import {} from "@gooddata/sdk-model";
|
|
4
|
+
export function objRefToId(ref) {
|
|
5
|
+
return ref.type ? `${ref.type}/${ref.identifier}` : ref.identifier;
|
|
12
6
|
}
|
|
13
|
-
export function objRefToType(
|
|
14
|
-
|
|
15
|
-
if (objRef.type) {
|
|
16
|
-
return objRef.type;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
return "unknown";
|
|
7
|
+
export function objRefToType(ref) {
|
|
8
|
+
return ref.type ?? "unknown";
|
|
20
9
|
}
|
|
21
10
|
export function filterNodes(nodes, edges, typesToFilter) {
|
|
22
11
|
if (!typesToFilter) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-catalog",
|
|
3
|
-
"version": "11.36.0-alpha.
|
|
3
|
+
"version": "11.36.0-alpha.2",
|
|
4
4
|
"description": "GoodData SDK - Analytics Catalog",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -45,13 +45,13 @@
|
|
|
45
45
|
"tslib": "2.8.1",
|
|
46
46
|
"yaml": "^2.2.2",
|
|
47
47
|
"zod": "^4.3.6",
|
|
48
|
-
"@gooddata/sdk-
|
|
49
|
-
"@gooddata/sdk-
|
|
50
|
-
"@gooddata/sdk-ui
|
|
51
|
-
"@gooddata/sdk-ui-kit": "11.36.0-alpha.
|
|
52
|
-
"@gooddata/sdk-ui": "11.36.0-alpha.
|
|
53
|
-
"@gooddata/sdk-ui-theme-provider": "11.36.0-alpha.
|
|
54
|
-
"@gooddata/util": "11.36.0-alpha.
|
|
48
|
+
"@gooddata/sdk-backend-spi": "11.36.0-alpha.2",
|
|
49
|
+
"@gooddata/sdk-model": "11.36.0-alpha.2",
|
|
50
|
+
"@gooddata/sdk-ui": "11.36.0-alpha.2",
|
|
51
|
+
"@gooddata/sdk-ui-kit": "11.36.0-alpha.2",
|
|
52
|
+
"@gooddata/sdk-ui-semantic-search": "11.36.0-alpha.2",
|
|
53
|
+
"@gooddata/sdk-ui-theme-provider": "11.36.0-alpha.2",
|
|
54
|
+
"@gooddata/util": "11.36.0-alpha.2"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@microsoft/api-documenter": "^7.17.0",
|
|
@@ -91,11 +91,11 @@
|
|
|
91
91
|
"typescript": "5.9.3",
|
|
92
92
|
"vitest": "4.1.0",
|
|
93
93
|
"vitest-dom": "0.1.1",
|
|
94
|
-
"@gooddata/eslint-config": "11.36.0-alpha.
|
|
95
|
-
"@gooddata/i18n-toolkit": "11.36.0-alpha.
|
|
96
|
-
"@gooddata/
|
|
97
|
-
"@gooddata/
|
|
98
|
-
"@gooddata/sdk-backend-mockingbird": "11.36.0-alpha.
|
|
94
|
+
"@gooddata/eslint-config": "11.36.0-alpha.2",
|
|
95
|
+
"@gooddata/i18n-toolkit": "11.36.0-alpha.2",
|
|
96
|
+
"@gooddata/oxlint-config": "11.36.0-alpha.2",
|
|
97
|
+
"@gooddata/stylelint-config": "11.36.0-alpha.2",
|
|
98
|
+
"@gooddata/sdk-backend-mockingbird": "11.36.0-alpha.2"
|
|
99
99
|
},
|
|
100
100
|
"peerDependencies": {
|
|
101
101
|
"react": "^18.0.0 || ^19.0.0",
|