In a similar way to how we ensure the validity of the Entity lifecycle, we can ensure that only a small number of component types are valid.
Create a check with the following attributes:
Field | Input |
---|---|
Name | Backstage Component type must be valid. |
Description | Only a small number of Component types are valid. service, website, library |
Data source | Entity Metadata (this is built-in). |
Fact | Type |
Fact operator | Is One Of |
Value | library,website,service,documentation |