@backstage/plugin-scaffolder-common 1.0.1 → 1.1.1-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # @backstage/plugin-scaffolder-common
2
2
 
3
+ ## 1.1.1-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/catalog-model@1.0.3-next.0
9
+
10
+ ## 1.1.0
11
+
12
+ ### Minor Changes
13
+
14
+ - f8baf7df44: Added the ability to reference the user in the `template.yaml` manifest
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+ - @backstage/catalog-model@1.0.2
20
+
21
+ ## 1.1.0-next.0
22
+
23
+ ### Minor Changes
24
+
25
+ - f8baf7df44: Added the ability to reference the user in the `template.yaml` manifest
26
+
27
+ ### Patch Changes
28
+
29
+ - Updated dependencies
30
+ - @backstage/catalog-model@1.0.2-next.0
31
+
3
32
  ## 1.0.1
4
33
 
5
34
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
+ import { UserEntity, Entity, KindValidator } from '@backstage/catalog-model';
1
2
  import { JsonObject, JsonValue } from '@backstage/types';
2
- import { Entity, KindValidator } from '@backstage/catalog-model';
3
3
 
4
4
  /**
5
5
  * Information about a template that is stored on a task specification.
@@ -76,6 +76,19 @@ interface TaskSpecV1beta3 {
76
76
  * Some information about the template that is stored on the task spec.
77
77
  */
78
78
  templateInfo?: TemplateInfo;
79
+ /**
80
+ * Some decoration of the author of the task that should be available in the context
81
+ */
82
+ user?: {
83
+ /**
84
+ * The decorated entity from the Catalog
85
+ */
86
+ entity?: UserEntity;
87
+ /**
88
+ * An entity ref for the author of the task
89
+ */
90
+ ref?: string;
91
+ };
79
92
  }
80
93
  /**
81
94
  * A scaffolder task as stored in the database, generated from a Template.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder-common",
3
3
  "description": "Common functionalities for the scaffolder, to be shared between scaffolder and scaffolder-backend plugin",
4
- "version": "1.0.1",
4
+ "version": "1.1.1-next.0",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -39,12 +39,12 @@
39
39
  "url": "https://github.com/backstage/backstage/issues"
40
40
  },
41
41
  "dependencies": {
42
- "@backstage/catalog-model": "^1.0.1",
42
+ "@backstage/catalog-model": "^1.0.3-next.0",
43
43
  "@backstage/types": "^1.0.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@backstage/cli": "^0.17.0"
46
+ "@backstage/cli": "^0.17.2-next.1"
47
47
  },
48
- "gitHead": "e0e44c433319711c2fb8b175db411a621f7aaec2",
48
+ "gitHead": "e15c24ddb5d14034629ced8a5a5d8f12b8f1a7dd",
49
49
  "module": "dist/index.esm.js"
50
50
  }