feat(adrs): display associated entity in AdrSearchResultListItem

Signed-off-by: Phil Kuang <pkuang@factset.com>
This commit is contained in:
Phil Kuang
2022-08-08 15:30:25 -04:00
parent af1e11b744
commit bfc7c50a09
7 changed files with 33 additions and 0 deletions
+2
View File
@@ -10,6 +10,8 @@ import { ScmIntegrationRegistry } from '@backstage/integration';
// @public
export interface AdrDocument extends IndexableDocument {
date?: string;
entityRef: string;
entityTitle?: string;
status?: string;
}
+8
View File
@@ -84,6 +84,14 @@ export const madrFilePathFilter: AdrFilePathFilterFn = (path: string) =>
* @public
*/
export interface AdrDocument extends IndexableDocument {
/**
* Ref of the entity associated with this ADR
*/
entityRef: string;
/**
* Title of the entity associated with this ADR
*/
entityTitle?: string;
/**
* ADR status label
*/