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

Function useBuildIndexPath

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

Source from the content-addressed store, hash-verified

110}
111
112export function useBuildIndexPath() {
113 const regionSlug = useRegionSlug();
114 return (params: ObjectWithoutTypePathParams) =>
115 objectExplorerObjectPath(regionSlug, {
116 ...params,
117 objectName: params.name,
118 objectType: "index",
119 });
120}
121
122export function useBuildSinkPath() {
123 const regionSlug = useRegionSlug();

Callers 1

IndexTableFunction · 0.90

Calls 2

useRegionSlugFunction · 0.90
objectExplorerObjectPathFunction · 0.85

Tested by

no test coverage detected