@backstage/plugin-scaffolder-common
Advanced tools
Comparing version 0.0.0-nightly-202111222339 to 0.0.0-nightly-202111282332
# @backstage/plugin-scaffolder-common | ||
## 0.0.0-nightly-202111282332 | ||
### Patch Changes | ||
- d078377f67: Support navigating back to pre-filled templates to update inputs of scaffolder tasks for resubmission | ||
## 0.1.1 | ||
@@ -4,0 +10,0 @@ |
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-202111222339", | ||
"version": "0.0.0-nightly-202111282332", | ||
"main": "dist/index.cjs.js", | ||
@@ -39,9 +39,9 @@ "types": "dist/index.d.ts", | ||
"dependencies": { | ||
"@backstage/catalog-model": "^0.0.0-nightly-202111222339", | ||
"@backstage/types": "^0.0.0-nightly-202111222339" | ||
"@backstage/catalog-model": "^0.9.7", | ||
"@backstage/types": "^0.1.1" | ||
}, | ||
"devDependencies": { | ||
"@backstage/cli": "^0.0.0-nightly-202111222339" | ||
"@backstage/cli": "^0.0.0-nightly-202111282332" | ||
}, | ||
"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
18456
546
+ Added@babel/runtime@7.26.0(transitive)
+ Added@backstage/catalog-model@0.9.10(transitive)
+ Added@backstage/config@0.1.15(transitive)
+ Added@backstage/errors@0.2.2(transitive)
+ Added@backstage/types@0.1.3(transitive)
+ Added@types/json-schema@7.0.15(transitive)
+ Added@types/lodash@4.17.14(transitive)
+ Added@types/yup@0.29.14(transitive)
+ Addedajv@7.2.4(transitive)
+ Addedcross-fetch@3.2.0(transitive)
+ Addedjson-schema@0.4.0(transitive)
+ Addedlodash-es@4.17.21(transitive)
+ Addednanoclone@0.2.1(transitive)
+ Addednode-fetch@2.7.0(transitive)
+ Addedproperty-expr@2.0.6(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedregenerator-runtime@0.14.1(transitive)
+ Addedtoposort@2.0.2(transitive)
+ Addedtr46@0.0.3(transitive)
+ Addeduri-js@4.4.1(transitive)
+ Addeduuid@8.3.2(transitive)
+ Addedwebidl-conversions@3.0.1(transitive)
+ Addedwhatwg-url@5.0.0(transitive)
+ Addedyup@0.32.11(transitive)
- Removed@backstage/catalog-model@0.0.0-nightly-20250107023211(transitive)
- Removed@backstage/errors@0.0.0-nightly-20250107023211(transitive)
- Removed@backstage/types@0.0.0-nightly-20250107023211(transitive)
- Removedajv@8.17.1(transitive)
- Removedfast-uri@3.0.5(transitive)
Updated@backstage/types@^0.1.1