@harnessio/react-idp-service-client 0.103.1 → 0.104.0
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.
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function traverseEntityGraph(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/v1/graph/
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/graph/entity`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Traverse the catalog entity graph starting from a given entity, following relationships up to a specified depth. Returns a graph structure with nodes and edges.
|