MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / useBuildObjectPath

Function useBuildObjectPath

console/src/platform/routeHelpers.ts:89–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87}
88
89export function useBuildObjectPath() {
90 const regionSlug = useRegionSlug();
91 return (params: ObjectPathParams, _basePath?: string) =>
92 objectExplorerObjectPath(regionSlug, params);
93}
94
95export interface ObjectWithoutTypePathParams {
96 databaseName: string | null;

Callers 2

useBuildSinkPathFunction · 0.85
useBuildSourcePathFunction · 0.85

Calls 2

useRegionSlugFunction · 0.90
objectExplorerObjectPathFunction · 0.85

Tested by

no test coverage detected