@backstage/plugin-scaffolder-backend 1.19.2 → 1.19.3-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,33 @@
1
1
  # @backstage/plugin-scaffolder-backend
2
2
 
3
+ ## 1.19.3-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - e9ab1c4: Fixed an issue where not passing a `value` to any of the action's permission conditions caused an error.
8
+ - Updated dependencies
9
+ - @backstage/backend-common@0.20.1-next.0
10
+ - @backstage/catalog-client@1.5.2-next.0
11
+ - @backstage/plugin-scaffolder-backend-module-github@0.1.1-next.0
12
+ - @backstage/plugin-scaffolder-backend-module-azure@0.1.1-next.0
13
+ - @backstage/plugin-catalog-backend-module-scaffolder-entity-model@0.1.6-next.0
14
+ - @backstage/plugin-catalog-node@1.6.1-next.0
15
+ - @backstage/backend-plugin-api@0.6.9-next.0
16
+ - @backstage/backend-tasks@0.5.14-next.0
17
+ - @backstage/catalog-model@1.4.3
18
+ - @backstage/config@1.1.1
19
+ - @backstage/errors@1.2.3
20
+ - @backstage/integration@1.8.0
21
+ - @backstage/types@1.1.1
22
+ - @backstage/plugin-auth-node@0.4.3-next.0
23
+ - @backstage/plugin-permission-common@0.7.11
24
+ - @backstage/plugin-permission-node@0.7.20-next.0
25
+ - @backstage/plugin-scaffolder-backend-module-bitbucket@0.1.1-next.0
26
+ - @backstage/plugin-scaffolder-backend-module-gerrit@0.1.1-next.0
27
+ - @backstage/plugin-scaffolder-backend-module-gitlab@0.2.12-next.0
28
+ - @backstage/plugin-scaffolder-common@1.4.4
29
+ - @backstage/plugin-scaffolder-node@0.2.10-next.0
30
+
3
31
  ## 1.19.2
4
32
 
5
33
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder-backend",
3
- "version": "1.19.2",
3
+ "version": "1.19.3-next.0",
4
4
  "main": "../dist/alpha.cjs.js",
5
5
  "types": "../dist/alpha.d.ts"
6
6
  }
package/dist/alpha.cjs.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var alpha = require('@backstage/plugin-scaffolder-common/alpha');
6
6
  var pluginPermissionNode = require('@backstage/plugin-permission-node');
7
- var router = require('./cjs/router-ca1e7c8a.cjs.js');
7
+ var router = require('./cjs/router-03a1f408.cjs.js');
8
8
  var backendPluginApi = require('@backstage/backend-plugin-api');
9
9
  var backendCommon = require('@backstage/backend-common');
10
10
  var integration = require('@backstage/integration');
@@ -2043,7 +2043,7 @@ function buildHasProperty({
2043
2043
  resourceType: alpha.RESOURCE_TYPE_SCAFFOLDER_ACTION,
2044
2044
  paramsSchema: zod.z.object({
2045
2045
  key: zod.z.string().describe(`Property within the action parameters to match on`),
2046
- value: valueSchema.describe(`Value of the given property to match on`)
2046
+ value: valueSchema.optional().describe(`Value of the given property to match on`)
2047
2047
  }),
2048
2048
  apply: (resource, { key, value }) => {
2049
2049
  const foundValue = lodash.get(resource.input, key);
@@ -3208,4 +3208,4 @@ exports.createRouter = createRouter;
3208
3208
  exports.createWaitAction = createWaitAction;
3209
3209
  exports.scaffolderActionRules = scaffolderActionRules;
3210
3210
  exports.scaffolderTemplateRules = scaffolderTemplateRules;
3211
- //# sourceMappingURL=router-ca1e7c8a.cjs.js.map
3211
+ //# sourceMappingURL=router-03a1f408.cjs.js.map