Merge pull request #9768 from backstage/blam/depracations/scaffolder/more

🧹 more scaffolder frontend changes
This commit is contained in:
Fredrik Adelöw
2022-02-24 14:41:11 +01:00
committed by GitHub
21 changed files with 398 additions and 216 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-backend': minor
---
- **BREAKING** - the `/v2/tasks` endpoint now takes `templateRef` instead of `templateName` in the POST body. This should be a valid stringified `entityRef`.
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-scaffolder': patch
---
- Moved the `JSONSchema` type from `@backstage/catalog-model` to `JSONSchema7`.
- Renamed and prefixed some types ready for exporting.
+8
View File
@@ -0,0 +1,8 @@
---
'@backstage/plugin-scaffolder': minor
---
- **BREAKING** - `scaffolderApi.scaffold()` now takes one `options` argument instead of 3, the existing arguments should just be wrapped up in one object instead.
- **BREAKING** - `scaffolderApi.scaffold()` now returns an object instead of a single string for the job ID. It's now `{ taskId: string }`
- **BREAKING** - `scaffolderApi.scaffold()` now takes a `templateRef` instead of `templateName` as an argument in the options. This should be a valid stringified `entityRef`.
- **BREAKING** - `scaffolderApi.getIntegrationsList` now returns an object `{ integrations: { type: string, title: string, host: string }[] }` instead of just an array.