@backstage/plugin-scaffolder-common
Advanced tools
Comparing version 1.5.7 to 1.5.8-next.0
# @backstage/plugin-scaffolder-common | ||
## 1.5.8-next.0 | ||
### Patch Changes | ||
- 3c62a50: Experimental support for `formDecorators` to enable secret collection and mutations to the parameters for scaffolder tasks | ||
- Updated dependencies | ||
- @backstage/catalog-model@1.7.1 | ||
- @backstage/types@1.2.0 | ||
- @backstage/plugin-permission-common@0.8.2 | ||
## 1.5.7 | ||
@@ -4,0 +14,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { EntityMeta, UserEntity, KindValidator, Entity } from '@backstage/catalog-model'; | ||
import { EntityMeta, UserEntity, Entity, KindValidator } from '@backstage/catalog-model'; | ||
import { JsonObject, JsonArray, JsonValue } from '@backstage/types'; | ||
@@ -171,2 +171,9 @@ | ||
/** | ||
* Form hooks to be run | ||
*/ | ||
EXPERIMENTAL_formDecorators?: { | ||
id: string; | ||
input?: JsonObject; | ||
}[]; | ||
/** | ||
* This is a JSONSchema or an array of JSONSchema's which is used to render a form in the frontend | ||
@@ -173,0 +180,0 @@ * to collect user input and validate it against that schema. This can then be used in the `steps` part below to template |
@@ -205,2 +205,19 @@ 'use strict'; | ||
}, | ||
EXPERIMENTAL_formDecorators: { | ||
type: "array", | ||
description: "A list of decorators and their inputs that the form should trigger before submitting the job", | ||
items: { | ||
type: "object", | ||
properties: { | ||
id: { | ||
type: "string", | ||
description: "The form hook ID" | ||
}, | ||
input: { | ||
type: "object", | ||
description: "A object describing the inputs to the form hook." | ||
} | ||
} | ||
} | ||
}, | ||
steps: { | ||
@@ -207,0 +224,0 @@ type: "array", |
@@ -201,2 +201,19 @@ var $schema = "http://json-schema.org/draft-07/schema"; | ||
}, | ||
EXPERIMENTAL_formDecorators: { | ||
type: "array", | ||
description: "A list of decorators and their inputs that the form should trigger before submitting the job", | ||
items: { | ||
type: "object", | ||
properties: { | ||
id: { | ||
type: "string", | ||
description: "The form hook ID" | ||
}, | ||
input: { | ||
type: "object", | ||
description: "A object describing the inputs to the form hook." | ||
} | ||
} | ||
} | ||
}, | ||
steps: { | ||
@@ -203,0 +220,0 @@ type: "array", |
{ | ||
"name": "@backstage/plugin-scaffolder-common", | ||
"version": "1.5.7", | ||
"version": "1.5.8-next.0", | ||
"description": "Common functionalities for the scaffolder, to be shared between scaffolder and scaffolder-backend plugin", | ||
@@ -73,10 +73,10 @@ "backstage": { | ||
"dependencies": { | ||
"@backstage/catalog-model": "^1.7.1", | ||
"@backstage/plugin-permission-common": "^0.8.2", | ||
"@backstage/types": "^1.2.0" | ||
"@backstage/catalog-model": "1.7.1", | ||
"@backstage/plugin-permission-common": "0.8.2", | ||
"@backstage/types": "1.2.0" | ||
}, | ||
"devDependencies": { | ||
"@backstage/cli": "^0.29.0" | ||
"@backstage/cli": "0.29.3-next.0" | ||
}, | ||
"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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
83566
1292
80247
1
34
180