catalog-model: move LocationSpec to catalog-backend

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-02-18 15:14:58 +01:00
committed by Fredrik Adelöw
parent 78e31e6b68
commit ed09ad8093
63 changed files with 178 additions and 126 deletions
-1
View File
@@ -15,7 +15,6 @@ import { Entity } from '@backstage/catalog-model';
import { EntityName } from '@backstage/catalog-model';
import { FetchApi } from '@backstage/core-plugin-api';
import { IdentityApi } from '@backstage/core-plugin-api';
import { LocationSpec } from '@backstage/catalog-model';
import { PropsWithChildren } from 'react';
import { default as React_2 } from 'react';
import { RouteRef } from '@backstage/core-plugin-api';
+2 -2
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import { Entity, LocationSpec } from '@backstage/catalog-model';
import { Entity } from '@backstage/catalog-model';
export type TechDocsMetadata = {
site_name: string;
@@ -22,5 +22,5 @@ export type TechDocsMetadata = {
};
export type TechDocsEntityMetadata = Entity & {
locationMetadata?: LocationSpec;
locationMetadata?: { type: string; target: string };
};