We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1032789 commit 6306685Copy full SHA for 6306685
src/packages/core/dashboard/index.ts
@@ -1,2 +1,3 @@
1
export * from './dashboard.extension.js';
2
export * from './dashboard-element.interface.js';
3
+export * from './paths.js';
src/packages/core/dashboard/paths.ts
@@ -0,0 +1,7 @@
+import { UMB_SECTION_PATH_PATTERN } from '@umbraco-cms/backoffice/section';
+import { UmbPathPattern } from '@umbraco-cms/backoffice/router';
+
4
+export const UMB_DASHBOARD_PATH_PATTERN = new UmbPathPattern<
5
+ { dashboardPathname: string },
6
+ typeof UMB_SECTION_PATH_PATTERN.ABSOLUTE_PARAMS
7
+>('dashboard/:dashboardPathname', UMB_SECTION_PATH_PATTERN);
0 commit comments