catalog-model: rename parse/stringifyLocationRef

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2022-02-11 17:11:10 +01:00
parent d3292ab1ba
commit 216725b434
17 changed files with 139 additions and 73 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ import { resolveSafeChildPath, UrlReader } from '@backstage/backend-common';
import {
Entity,
getEntitySourceLocation,
parseLocationReference,
parseLocationRef,
} from '@backstage/catalog-model';
import { InputError } from '@backstage/errors';
import { ScmIntegrationRegistry } from '@backstage/integration';
@@ -42,7 +42,7 @@ export const parseReferenceAnnotation = (
);
}
const { type, target } = parseLocationReference(annotation);
const { type, target } = parseLocationRef(annotation);
return {
type: type as RemoteProtocol,
target,