Merge pull request #15975 from tr-fteixeira/ft/tech-insights-api-fact-schemas

feat(tech-inights): adds getFactSchemas method to client
This commit is contained in:
Fredrik Adelöw
2023-01-31 10:28:11 +01:00
committed by GitHub
12 changed files with 110 additions and 78 deletions
+18
View File
@@ -0,0 +1,18 @@
---
'@backstage/plugin-tech-insights-backend': patch
'@backstage/plugin-tech-insights-common': patch
'@backstage/plugin-tech-insights-node': minor
'@backstage/plugin-tech-insights': patch
---
TechInsightsApi interface now has getFactSchemas() method.
TechInsightsClient now implements method getFactSchemas().
**BREAKING** FactSchema type moved from @backstage/plugin-tech-insights-node into @backstage/plugin-tech-insights-common
These changes are **required** if you were importing this type directly.
```diff
- import { FactSchema } from '@backstage/plugin-tech-insights-node';
+ import { FactSchema } from '@backstage/plugin-tech-insights-common';
```