udi service

This commit is contained in:
Lone Iversen
2023-02-17 11:22:11 +01:00
parent 598be3dbbe
commit 40c5900388
3 changed files with 19 additions and 8 deletions

View File

@@ -1,2 +1,3 @@
export * from './utils';
export * from './umbraco-path';
export * from './udi-service';

View File

@@ -0,0 +1,3 @@
export function buildUdi(entityType: string, guid: string) {
return 'umb://' + entityType + '/' + guid.replace(/-/g, '');
}