@backstage/plugin-catalog-node 1.3.5-next.1 → 1.3.5-next.2

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,17 @@
1
1
  # @backstage/plugin-catalog-node
2
2
 
3
+ ## 1.3.5-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/catalog-client@1.4.1-next.0
9
+ - @backstage/backend-plugin-api@0.5.1-next.2
10
+ - @backstage/catalog-model@1.2.1
11
+ - @backstage/errors@1.1.5
12
+ - @backstage/types@1.0.2
13
+ - @backstage/plugin-catalog-common@1.0.13-next.0
14
+
3
15
  ## 1.3.5-next.1
4
16
 
5
17
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-node",
3
- "version": "1.3.5-next.1",
3
+ "version": "1.3.5-next.2",
4
4
  "main": "../dist/alpha.cjs.js",
5
5
  "types": "../dist/alpha.d.ts"
6
6
  }
package/dist/index.d.ts CHANGED
@@ -15,13 +15,13 @@ import { LocationSpec as LocationSpec$1 } from '@backstage/plugin-catalog-common
15
15
  * @public
16
16
  * @deprecated use the same type from `@backstage/plugin-catalog-common` instead
17
17
  */
18
- declare type LocationSpec = LocationSpec$1;
18
+ type LocationSpec = LocationSpec$1;
19
19
  /**
20
20
  * Holds the relation data for entities.
21
21
  *
22
22
  * @public
23
23
  */
24
- declare type EntityRelationSpec = {
24
+ type EntityRelationSpec = {
25
25
  /**
26
26
  * The source entity of this relation.
27
27
  */
@@ -39,7 +39,7 @@ declare type EntityRelationSpec = {
39
39
  /**
40
40
  * @public
41
41
  */
42
- declare type CatalogProcessor = {
42
+ type CatalogProcessor = {
43
43
  /**
44
44
  * A unique identifier for the Catalog Processor.
45
45
  */
@@ -103,7 +103,7 @@ declare type CatalogProcessor = {
103
103
  * document parsing.
104
104
  * @public
105
105
  */
106
- declare type CatalogProcessorParser = (options: {
106
+ type CatalogProcessorParser = (options: {
107
107
  data: Buffer;
108
108
  location: LocationSpec$1;
109
109
  }) => AsyncIterable<CatalogProcessorResult>;
@@ -134,36 +134,36 @@ interface CatalogProcessorCache {
134
134
  set<ItemType extends JsonValue>(key: string, value: ItemType): Promise<void>;
135
135
  }
136
136
  /** @public */
137
- declare type CatalogProcessorEmit = (generated: CatalogProcessorResult) => void;
137
+ type CatalogProcessorEmit = (generated: CatalogProcessorResult) => void;
138
138
  /** @public */
139
- declare type CatalogProcessorLocationResult = {
139
+ type CatalogProcessorLocationResult = {
140
140
  type: 'location';
141
141
  location: LocationSpec$1;
142
142
  };
143
143
  /** @public */
144
- declare type CatalogProcessorEntityResult = {
144
+ type CatalogProcessorEntityResult = {
145
145
  type: 'entity';
146
146
  entity: Entity;
147
147
  location: LocationSpec$1;
148
148
  };
149
149
  /** @public */
150
- declare type CatalogProcessorRelationResult = {
150
+ type CatalogProcessorRelationResult = {
151
151
  type: 'relation';
152
152
  relation: EntityRelationSpec;
153
153
  };
154
154
  /** @public */
155
- declare type CatalogProcessorErrorResult = {
155
+ type CatalogProcessorErrorResult = {
156
156
  type: 'error';
157
157
  error: Error;
158
158
  location: LocationSpec$1;
159
159
  };
160
160
  /** @public */
161
- declare type CatalogProcessorRefreshKeysResult = {
161
+ type CatalogProcessorRefreshKeysResult = {
162
162
  type: 'refresh';
163
163
  key: string;
164
164
  };
165
165
  /** @public */
166
- declare type CatalogProcessorResult = CatalogProcessorLocationResult | CatalogProcessorEntityResult | CatalogProcessorRelationResult | CatalogProcessorErrorResult | CatalogProcessorRefreshKeysResult;
166
+ type CatalogProcessorResult = CatalogProcessorLocationResult | CatalogProcessorEntityResult | CatalogProcessorRelationResult | CatalogProcessorErrorResult | CatalogProcessorRefreshKeysResult;
167
167
 
168
168
  /**
169
169
  * Factory functions for the standard processing result types.
@@ -184,7 +184,7 @@ declare const processingResult: Readonly<{
184
184
  * Entities that are not yet processed.
185
185
  * @public
186
186
  */
187
- declare type DeferredEntity = {
187
+ type DeferredEntity = {
188
188
  entity: Entity;
189
189
  locationKey?: string;
190
190
  };
@@ -196,7 +196,7 @@ declare type DeferredEntity = {
196
196
  *
197
197
  * @public
198
198
  */
199
- declare type EntityProviderMutation = {
199
+ type EntityProviderMutation = {
200
200
  type: 'full';
201
201
  entities: DeferredEntity[];
202
202
  } | {
@@ -212,7 +212,7 @@ declare type EntityProviderMutation = {
212
212
  *
213
213
  * @public
214
214
  */
215
- declare type EntityProviderRefreshOptions = {
215
+ type EntityProviderRefreshOptions = {
216
216
  keys: string[];
217
217
  };
218
218
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-node",
3
3
  "description": "The plugin-catalog-node module for @backstage/plugin-catalog-backend",
4
- "version": "1.3.5-next.1",
4
+ "version": "1.3.5-next.2",
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
  "postpack": "backstage-cli package postpack"
35
35
  },
36
36
  "dependencies": {
37
- "@backstage/backend-plugin-api": "^0.5.1-next.1",
38
- "@backstage/catalog-client": "^1.4.0",
37
+ "@backstage/backend-plugin-api": "^0.5.1-next.2",
38
+ "@backstage/catalog-client": "^1.4.1-next.0",
39
39
  "@backstage/catalog-model": "^1.2.1",
40
40
  "@backstage/errors": "^1.1.5",
41
41
  "@backstage/plugin-catalog-common": "^1.0.13-next.0",
42
42
  "@backstage/types": "^1.0.2"
43
43
  },
44
44
  "devDependencies": {
45
- "@backstage/backend-common": "^0.18.4-next.1",
46
- "@backstage/backend-test-utils": "^0.1.36-next.1",
47
- "@backstage/cli": "^0.22.6-next.1"
45
+ "@backstage/backend-common": "^0.18.4-next.2",
46
+ "@backstage/backend-test-utils": "^0.1.36-next.2",
47
+ "@backstage/cli": "^0.22.6-next.2"
48
48
  },
49
49
  "files": [
50
50
  "dist",