@backstage/plugin-catalog-common 0.1.2 → 0.1.3

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,13 @@
1
1
  # @backstage/plugin-catalog-common
2
2
 
3
+ ## 0.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - c77c5c7eb6: Added `backstage.role` to `package.json`
8
+ - Updated dependencies
9
+ - @backstage/plugin-permission-common@0.5.0
10
+
3
11
  ## 0.1.2
4
12
 
5
13
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-common",
3
3
  "description": "Common functionalities for the catalog plugin",
4
- "version": "0.1.2",
4
+ "version": "0.1.3",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -12,6 +12,9 @@
12
12
  "module": "dist/index.esm.js",
13
13
  "types": "dist/index.d.ts"
14
14
  },
15
+ "backstage": {
16
+ "role": "common-library"
17
+ },
15
18
  "homepage": "https://backstage.io",
16
19
  "repository": {
17
20
  "type": "git",
@@ -22,22 +25,22 @@
22
25
  "backstage"
23
26
  ],
24
27
  "scripts": {
25
- "build": "backstage-cli build",
26
- "lint": "backstage-cli lint",
27
- "test": "backstage-cli test --passWithNoTests",
28
- "prepack": "backstage-cli prepack",
29
- "postpack": "backstage-cli postpack",
30
- "clean": "backstage-cli clean"
28
+ "build": "backstage-cli package build",
29
+ "lint": "backstage-cli package lint",
30
+ "test": "backstage-cli package test",
31
+ "prepack": "backstage-cli package prepack",
32
+ "postpack": "backstage-cli package postpack",
33
+ "clean": "backstage-cli package clean"
31
34
  },
32
35
  "dependencies": {
33
- "@backstage/plugin-permission-common": "^0.4.0"
36
+ "@backstage/plugin-permission-common": "^0.5.0"
34
37
  },
35
38
  "devDependencies": {
36
- "@backstage/cli": "^0.13.1"
39
+ "@backstage/cli": "^0.14.0"
37
40
  },
38
41
  "files": [
39
42
  "dist"
40
43
  ],
41
- "gitHead": "f944a625c4a8ec7f6a6237502691da9209ce6b14",
44
+ "gitHead": "4805c3d13ce9bfc369e53c271b1b95e722b3b4dc",
42
45
  "module": "dist/index.esm.js"
43
46
  }
package/dist/index.d.ts DELETED
@@ -1,58 +0,0 @@
1
- import { Permission } from '@backstage/plugin-permission-common';
2
-
3
- /**
4
- * {@link https://backstage.io/docs/features/software-catalog/software-catalog-overview}
5
- * @public
6
- */
7
- declare const RESOURCE_TYPE_CATALOG_ENTITY = "catalog-entity";
8
- /**
9
- * This permission is used to authorize actions that involve reading one or more
10
- * entities from the catalog.
11
- *
12
- * If this permission is not authorized, it will appear that the entity does not
13
- * exist in the catalog — both in the frontend and in API responses.
14
- * @public
15
- */
16
- declare const catalogEntityReadPermission: Permission;
17
- /**
18
- * This permission is used to authorize actions that involve creating a new
19
- * catalog entity. This includes registering an existing component into the
20
- * catalog.
21
- * @public
22
- */
23
- declare const catalogEntityCreatePermission: Permission;
24
- /**
25
- * This permission is used to designate actions that involve removing one or
26
- * more entities from the catalog.
27
- * @public
28
- */
29
- declare const catalogEntityDeletePermission: Permission;
30
- /**
31
- * This permission is used to designate refreshing one or more entities from the
32
- * catalog.
33
- * @public
34
- */
35
- declare const catalogEntityRefreshPermission: Permission;
36
- /**
37
- * This permission is used to designate actions that involve reading one or more
38
- * locations from the catalog.
39
- *
40
- * If this permission is not authorized, it will appear that the location does
41
- * not exist in the catalog — both in the frontend and in API responses.
42
- * @public
43
- */
44
- declare const catalogLocationReadPermission: Permission;
45
- /**
46
- * This permission is used to designate actions that involve creating catalog
47
- * locations.
48
- * @public
49
- */
50
- declare const catalogLocationCreatePermission: Permission;
51
- /**
52
- * This permission is used to designate actions that involve deleting locations
53
- * from the catalog.
54
- * @public
55
- */
56
- declare const catalogLocationDeletePermission: Permission;
57
-
58
- export { RESOURCE_TYPE_CATALOG_ENTITY, catalogEntityCreatePermission, catalogEntityDeletePermission, catalogEntityReadPermission, catalogEntityRefreshPermission, catalogLocationCreatePermission, catalogLocationDeletePermission, catalogLocationReadPermission };