@backstage/plugin-catalog-common 1.0.13-next.0 → 1.0.13-next.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,14 @@
1
1
  # @backstage/plugin-catalog-common
2
2
 
3
+ ## 1.0.13-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/catalog-model@1.3.0-next.0
9
+ - @backstage/plugin-permission-common@0.7.5-next.0
10
+ - @backstage/plugin-search-common@1.2.3-next.0
11
+
3
12
  ## 1.0.13-next.0
4
13
 
5
14
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-common",
3
- "version": "1.0.13-next.0",
3
+ "version": "1.0.13-next.1",
4
4
  "main": "../dist/alpha.cjs.js",
5
5
  "module": "../dist/alpha.esm.js",
6
6
  "types": "../dist/alpha.d.ts"
package/dist/alpha.d.ts CHANGED
@@ -13,7 +13,7 @@ declare const RESOURCE_TYPE_CATALOG_ENTITY = "catalog-entity";
13
13
  * {@link @backstage/plugin-permission-common#ResourcePermission}s.
14
14
  * @alpha
15
15
  */
16
- declare type CatalogEntityPermission = ResourcePermission<typeof RESOURCE_TYPE_CATALOG_ENTITY>;
16
+ type CatalogEntityPermission = ResourcePermission<typeof RESOURCE_TYPE_CATALOG_ENTITY>;
17
17
  /**
18
18
  * This permission is used to authorize actions that involve reading one or more
19
19
  * entities from the catalog.
package/dist/index.d.ts CHANGED
@@ -27,7 +27,7 @@ interface CatalogEntityDocument extends IndexableDocument {
27
27
  *
28
28
  * @public
29
29
  */
30
- declare type LocationSpec = {
30
+ type LocationSpec = {
31
31
  type: string;
32
32
  target: string;
33
33
  presence?: 'optional' | 'required';
@@ -37,17 +37,17 @@ declare type LocationSpec = {
37
37
  * Makes all keys of an entire hierarchy optional.
38
38
  * @ignore
39
39
  */
40
- declare type RecursivePartial<T> = {
40
+ type RecursivePartial<T> = {
41
41
  [P in keyof T]?: T[P] extends (infer U)[] ? RecursivePartial<U>[] : T[P] extends object ? RecursivePartial<T[P]> : T[P];
42
42
  };
43
43
 
44
44
  /** @public */
45
- declare type AnalyzeLocationRequest = {
45
+ type AnalyzeLocationRequest = {
46
46
  location: LocationSpec;
47
47
  catalogFilename?: string;
48
48
  };
49
49
  /** @public */
50
- declare type AnalyzeLocationResponse = {
50
+ type AnalyzeLocationResponse = {
51
51
  existingEntityFiles: AnalyzeLocationExistingEntity[];
52
52
  generateEntities: AnalyzeLocationGenerateEntity[];
53
53
  };
@@ -58,7 +58,7 @@ declare type AnalyzeLocationResponse = {
58
58
  * already
59
59
  * @public
60
60
  */
61
- declare type AnalyzeLocationExistingEntity = {
61
+ type AnalyzeLocationExistingEntity = {
62
62
  location: LocationSpec;
63
63
  isRegistered: boolean;
64
64
  entity: Entity;
@@ -71,12 +71,12 @@ declare type AnalyzeLocationExistingEntity = {
71
71
  * for overriding/completing the info.
72
72
  * @public
73
73
  */
74
- declare type AnalyzeLocationGenerateEntity = {
74
+ type AnalyzeLocationGenerateEntity = {
75
75
  entity: RecursivePartial<Entity>;
76
76
  fields: AnalyzeLocationEntityField[];
77
77
  };
78
78
  /** @public */
79
- declare type AnalyzeLocationEntityField = {
79
+ type AnalyzeLocationEntityField = {
80
80
  /**
81
81
  * e.g. "spec.owner"? The frontend needs to know how to "inject" the field into the
82
82
  * entity again if the user wants to change it
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": "1.0.13-next.0",
4
+ "version": "1.0.13-next.1",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -44,12 +44,12 @@
44
44
  "clean": "backstage-cli package clean"
45
45
  },
46
46
  "dependencies": {
47
- "@backstage/catalog-model": "^1.2.1",
47
+ "@backstage/catalog-model": "^1.3.0-next.0",
48
48
  "@backstage/plugin-permission-common": "^0.7.5-next.0",
49
49
  "@backstage/plugin-search-common": "^1.2.3-next.0"
50
50
  },
51
51
  "devDependencies": {
52
- "@backstage/cli": "^0.22.6-next.1"
52
+ "@backstage/cli": "^0.22.6-next.3"
53
53
  },
54
54
  "files": [
55
55
  "dist",