@backstage/plugin-scaffolder-backend 1.6.0-next.3 → 1.6.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/dist/index.d.ts CHANGED
@@ -32,6 +32,7 @@ import { TaskSpec } from '@backstage/plugin-scaffolder-common';
32
32
  import { TaskSpecV1beta3 } from '@backstage/plugin-scaffolder-common';
33
33
  import { TemplateInfo } from '@backstage/plugin-scaffolder-common';
34
34
  import { UrlReader } from '@backstage/backend-common';
35
+ import { UserEntity } from '@backstage/catalog-model';
35
36
  import { Writable } from 'stream';
36
37
 
37
38
  /**
@@ -55,6 +56,19 @@ export declare type ActionContext<Input extends JsonObject> = {
55
56
  * This will only ever be true if the actions as marked as supporting dry-runs.
56
57
  */
57
58
  isDryRun?: boolean;
59
+ /**
60
+ * The user which triggered the action.
61
+ */
62
+ user?: {
63
+ /**
64
+ * The decorated entity from the Catalog
65
+ */
66
+ entity?: UserEntity;
67
+ /**
68
+ * An entity ref for the author of the task
69
+ */
70
+ ref?: string;
71
+ };
58
72
  };
59
73
 
60
74
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder-backend",
3
3
  "description": "The Backstage backend plugin that helps you create new things",
4
- "version": "1.6.0-next.3",
4
+ "version": "1.6.0",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -34,17 +34,17 @@
34
34
  "build:assets": "node scripts/build-nunjucks.js"
35
35
  },
36
36
  "dependencies": {
37
- "@backstage/backend-common": "^0.15.1-next.3",
38
- "@backstage/backend-plugin-api": "^0.1.2-next.2",
39
- "@backstage/catalog-client": "^1.1.0-next.2",
40
- "@backstage/catalog-model": "^1.1.1-next.0",
41
- "@backstage/config": "^1.0.2-next.0",
42
- "@backstage/errors": "^1.1.1-next.0",
43
- "@backstage/integration": "^1.3.1-next.2",
44
- "@backstage/plugin-auth-node": "^0.2.5-next.3",
45
- "@backstage/plugin-catalog-backend": "^1.4.0-next.3",
46
- "@backstage/plugin-catalog-node": "^1.1.0-next.2",
47
- "@backstage/plugin-scaffolder-common": "^1.2.0-next.1",
37
+ "@backstage/backend-common": "^0.15.1",
38
+ "@backstage/backend-plugin-api": "^0.1.2",
39
+ "@backstage/catalog-client": "^1.1.0",
40
+ "@backstage/catalog-model": "^1.1.1",
41
+ "@backstage/config": "^1.0.2",
42
+ "@backstage/errors": "^1.1.1",
43
+ "@backstage/integration": "^1.3.1",
44
+ "@backstage/plugin-auth-node": "^0.2.5",
45
+ "@backstage/plugin-catalog-backend": "^1.4.0",
46
+ "@backstage/plugin-catalog-node": "^1.1.0",
47
+ "@backstage/plugin-scaffolder-common": "^1.2.0",
48
48
  "@backstage/types": "^1.0.0",
49
49
  "@gitbeaker/core": "^35.6.0",
50
50
  "@gitbeaker/node": "^35.1.0",
@@ -79,8 +79,8 @@
79
79
  "zod": "^3.11.6"
80
80
  },
81
81
  "devDependencies": {
82
- "@backstage/backend-test-utils": "^0.1.28-next.3",
83
- "@backstage/cli": "^0.19.0-next.3",
82
+ "@backstage/backend-test-utils": "^0.1.28",
83
+ "@backstage/cli": "^0.19.0",
84
84
  "@types/command-exists": "^1.2.0",
85
85
  "@types/fs-extra": "^9.0.1",
86
86
  "@types/git-url-parse": "^9.0.0",
@@ -103,5 +103,5 @@
103
103
  "assets"
104
104
  ],
105
105
  "configSchema": "config.d.ts",
106
- "gitHead": "2f458448f850dc68a711e2f31d14a91f96cf175d"
106
+ "gitHead": "25b94e63455f1fb170506f9e84e3f430f4b79406"
107
107
  }