Apply suggestions from code review

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-03-03 13:37:33 +01:00
committed by GitHub
parent 50b09a5fff
commit 2255bfd1c4
2 changed files with 6 additions and 2 deletions
@@ -21,7 +21,7 @@ import { IndexableDocument } from '@backstage/search-common';
* @public
*/
export interface CatalogEntityDocument extends IndexableDocument {
/** @deprecated use `type` as well, as `componentType` will be removed after a few releases but we dont want to break indexing */
/** @deprecated `componentType` is being renamed to `type`. During the transition both of these fields should be set to the same value, in order to avoid issues with indexing. */
componentType: string;
type: string;
namespace: string;