Merge pull request #33789 from backstage/freben/location-uuid-names
feat(catalog): expose `entityRef` on Location type and add `PUT /locations/:id`
This commit is contained in:
@@ -58,7 +58,12 @@ describe('DefaultApiExplorerPage', () => {
|
||||
],
|
||||
}),
|
||||
getLocationByRef: () =>
|
||||
Promise.resolve({ id: 'id', type: 'url', target: 'url' }),
|
||||
Promise.resolve({
|
||||
id: 'id',
|
||||
type: 'url',
|
||||
target: 'url',
|
||||
entityRef: 'location:default/generated-id',
|
||||
}),
|
||||
getEntitiesByRefs: () => Promise.resolve({ items: [] }),
|
||||
getEntityFacets: async () => ({
|
||||
facets: { 'relations.ownedBy': [] },
|
||||
|
||||
Reference in New Issue
Block a user