@backstage/plugin-scaffolder-common
Advanced tools
Comparing version 0.0.0-nightly-202192822050 to 0.0.0-nightly-20220623347
# @backstage/plugin-scaffolder-common | ||
## 0.0.0-nightly-202192822050 | ||
## 0.1.2 | ||
### Patch Changes | ||
- d078377f67: Support navigating back to pre-filled templates to update inputs of scaffolder tasks for resubmission | ||
## 0.1.1 | ||
### Patch Changes | ||
- 10615525f3: Switch to use the json and observable types from `@backstage/types` | ||
- Updated dependencies | ||
- @backstage/catalog-model@0.0.0-nightly-202192822050 | ||
- @backstage/catalog-model@0.9.6 |
import { Entity, JSONSchema } from '@backstage/catalog-model'; | ||
import { JsonObject } from '@backstage/types'; | ||
import { JsonObject, JsonValue } from '@backstage/types'; | ||
@@ -26,2 +26,59 @@ /** @public */ | ||
/** | ||
* TemplateMetadata | ||
* | ||
* @public | ||
*/ | ||
declare type TemplateMetadata = { | ||
name: string; | ||
}; | ||
/** | ||
* TaskStep | ||
* | ||
* @public | ||
*/ | ||
interface TaskStep { | ||
id: string; | ||
name: string; | ||
action: string; | ||
input?: JsonObject; | ||
if?: string | boolean; | ||
} | ||
/** | ||
* TaskSpecV1beta2 | ||
* | ||
* @public | ||
*/ | ||
interface TaskSpecV1beta2 { | ||
apiVersion: 'backstage.io/v1beta2'; | ||
baseUrl?: string; | ||
values: JsonObject; | ||
steps: TaskStep[]; | ||
output: { | ||
[name: string]: string; | ||
}; | ||
metadata?: TemplateMetadata; | ||
} | ||
/** | ||
* TaskSpecV1beta3 | ||
* | ||
* @public | ||
*/ | ||
interface TaskSpecV1beta3 { | ||
apiVersion: 'scaffolder.backstage.io/v1beta3'; | ||
baseUrl?: string; | ||
parameters: JsonObject; | ||
steps: TaskStep[]; | ||
output: { | ||
[name: string]: JsonValue; | ||
}; | ||
metadata?: TemplateMetadata; | ||
} | ||
/** | ||
* TaskSpec | ||
* | ||
* @public | ||
*/ | ||
declare type TaskSpec = TaskSpecV1beta2 | TaskSpecV1beta3; | ||
/** | ||
* Common functionalities for the scaffolder, to be shared between scaffolder and scaffolder-backend plugin | ||
@@ -35,2 +92,2 @@ * | ||
export { TemplateEntityV1beta3, templateEntityV1beta3Schema }; | ||
export { TaskSpec, TaskSpecV1beta2, TaskSpecV1beta3, TaskStep, TemplateEntityV1beta3, TemplateMetadata, templateEntityV1beta3Schema }; |
{ | ||
"name": "@backstage/plugin-scaffolder-common", | ||
"description": "Common functionalities for the scaffolder, to be shared between scaffolder and scaffolder-backend plugin", | ||
"version": "0.0.0-nightly-202192822050", | ||
"version": "0.0.0-nightly-20220623347", | ||
"main": "dist/index.cjs.js", | ||
@@ -39,9 +39,9 @@ "types": "dist/index.d.ts", | ||
"dependencies": { | ||
"@backstage/catalog-model": "^0.0.0-nightly-202192822050", | ||
"@backstage/types": "^0.1.1" | ||
"@backstage/catalog-model": "^0.0.0-nightly-20220623347", | ||
"@backstage/types": "^0.0.0-nightly-20220623347" | ||
}, | ||
"devDependencies": { | ||
"@backstage/cli": "^0.0.0-nightly-202192822050" | ||
"@backstage/cli": "^0.0.0-nightly-20220623347" | ||
}, | ||
"module": "dist/index.esm.js" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18473
546
+ Added@backstage/types@0.0.0-nightly-20241119023621(transitive)
- Removed@backstage/types@0.1.3(transitive)