@backstage/plugin-permission-common 0.9.0 → 0.9.1

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,21 @@
1
1
  # @backstage/plugin-permission-common
2
2
 
3
+ ## 0.9.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 3507fcd: Just some more circular dep cleanup
8
+ - Updated dependencies
9
+ - @backstage/config@1.3.3
10
+
11
+ ## 0.9.1-next.0
12
+
13
+ ### Patch Changes
14
+
15
+ - 3507fcd: Just some more circular dep cleanup
16
+ - Updated dependencies
17
+ - @backstage/config@1.3.3-next.0
18
+
3
19
  ## 0.9.0
4
20
 
5
21
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -65,14 +65,6 @@ type ResourcePermission<TResourceType extends string = string> = PermissionBase<
65
65
  */
66
66
  resourceType: TResourceType;
67
67
  }>;
68
- /**
69
- * A client interacting with the permission backend can implement this authorizer interface.
70
- * @public
71
- * @deprecated Use {@link @backstage/plugin-permission-common#PermissionEvaluator} instead
72
- */
73
- interface PermissionAuthorizer {
74
- authorize(requests: EvaluatePermissionRequest[], options?: AuthorizeRequestOptions): Promise<EvaluatePermissionResponse[]>;
75
- }
76
68
  /**
77
69
  * Options for authorization requests.
78
70
  * @public
@@ -332,6 +324,15 @@ type MetadataResponse = {
332
324
  rules: MetadataResponseSerializedRule[];
333
325
  };
334
326
 
327
+ /**
328
+ * A client interacting with the permission backend can implement this authorizer interface.
329
+ * @public
330
+ * @deprecated Use {@link @backstage/plugin-permission-common#PermissionEvaluator} instead
331
+ */
332
+ interface PermissionAuthorizer {
333
+ authorize(requests: EvaluatePermissionRequest[], options?: AuthorizeRequestOptions): Promise<EvaluatePermissionResponse[]>;
334
+ }
335
+
335
336
  /**
336
337
  * Check if the two parameters are equivalent permissions.
337
338
  * @public
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-permission-common",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Isomorphic types and client for Backstage permissions and authorization",
5
5
  "backstage": {
6
6
  "role": "common-library",
@@ -48,7 +48,7 @@
48
48
  "test": "backstage-cli package test"
49
49
  },
50
50
  "dependencies": {
51
- "@backstage/config": "^1.3.2",
51
+ "@backstage/config": "^1.3.3",
52
52
  "@backstage/errors": "^1.2.7",
53
53
  "@backstage/types": "^1.2.1",
54
54
  "cross-fetch": "^4.0.0",
@@ -57,7 +57,7 @@
57
57
  "zod-to-json-schema": "^3.20.4"
58
58
  },
59
59
  "devDependencies": {
60
- "@backstage/cli": "^0.32.1",
60
+ "@backstage/cli": "^0.33.1",
61
61
  "msw": "^1.0.0"
62
62
  },
63
63
  "configSchema": "config.d.ts",