@backstage/plugin-catalog-node 1.3.5-next.1 → 1.3.5-next.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 +24 -0
- package/alpha/package.json +1 -1
- package/dist/index.d.ts +14 -14
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-node
|
|
2
2
|
|
|
3
|
+
## 1.3.5-next.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/catalog-model@1.3.0-next.0
|
|
9
|
+
- @backstage/backend-plugin-api@0.5.1-next.2
|
|
10
|
+
- @backstage/catalog-client@1.4.1-next.1
|
|
11
|
+
- @backstage/errors@1.1.5
|
|
12
|
+
- @backstage/types@1.0.2
|
|
13
|
+
- @backstage/plugin-catalog-common@1.0.13-next.1
|
|
14
|
+
|
|
15
|
+
## 1.3.5-next.2
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
- @backstage/catalog-client@1.4.1-next.0
|
|
21
|
+
- @backstage/backend-plugin-api@0.5.1-next.2
|
|
22
|
+
- @backstage/catalog-model@1.2.1
|
|
23
|
+
- @backstage/errors@1.1.5
|
|
24
|
+
- @backstage/types@1.0.2
|
|
25
|
+
- @backstage/plugin-catalog-common@1.0.13-next.0
|
|
26
|
+
|
|
3
27
|
## 1.3.5-next.1
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/alpha/package.json
CHANGED
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
|
-
|
|
18
|
+
type LocationSpec = LocationSpec$1;
|
|
19
19
|
/**
|
|
20
20
|
* Holds the relation data for entities.
|
|
21
21
|
*
|
|
22
22
|
* @public
|
|
23
23
|
*/
|
|
24
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
137
|
+
type CatalogProcessorEmit = (generated: CatalogProcessorResult) => void;
|
|
138
138
|
/** @public */
|
|
139
|
-
|
|
139
|
+
type CatalogProcessorLocationResult = {
|
|
140
140
|
type: 'location';
|
|
141
141
|
location: LocationSpec$1;
|
|
142
142
|
};
|
|
143
143
|
/** @public */
|
|
144
|
-
|
|
144
|
+
type CatalogProcessorEntityResult = {
|
|
145
145
|
type: 'entity';
|
|
146
146
|
entity: Entity;
|
|
147
147
|
location: LocationSpec$1;
|
|
148
148
|
};
|
|
149
149
|
/** @public */
|
|
150
|
-
|
|
150
|
+
type CatalogProcessorRelationResult = {
|
|
151
151
|
type: 'relation';
|
|
152
152
|
relation: EntityRelationSpec;
|
|
153
153
|
};
|
|
154
154
|
/** @public */
|
|
155
|
-
|
|
155
|
+
type CatalogProcessorErrorResult = {
|
|
156
156
|
type: 'error';
|
|
157
157
|
error: Error;
|
|
158
158
|
location: LocationSpec$1;
|
|
159
159
|
};
|
|
160
160
|
/** @public */
|
|
161
|
-
|
|
161
|
+
type CatalogProcessorRefreshKeysResult = {
|
|
162
162
|
type: 'refresh';
|
|
163
163
|
key: string;
|
|
164
164
|
};
|
|
165
165
|
/** @public */
|
|
166
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
4
|
+
"version": "1.3.5-next.3",
|
|
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.
|
|
38
|
-
"@backstage/catalog-client": "^1.4.
|
|
39
|
-
"@backstage/catalog-model": "^1.
|
|
37
|
+
"@backstage/backend-plugin-api": "^0.5.1-next.2",
|
|
38
|
+
"@backstage/catalog-client": "^1.4.1-next.1",
|
|
39
|
+
"@backstage/catalog-model": "^1.3.0-next.0",
|
|
40
40
|
"@backstage/errors": "^1.1.5",
|
|
41
|
-
"@backstage/plugin-catalog-common": "^1.0.13-next.
|
|
41
|
+
"@backstage/plugin-catalog-common": "^1.0.13-next.1",
|
|
42
42
|
"@backstage/types": "^1.0.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@backstage/backend-common": "^0.18.4-next.
|
|
46
|
-
"@backstage/backend-test-utils": "^0.1.36-next.
|
|
47
|
-
"@backstage/cli": "^0.22.6-next.
|
|
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.3"
|
|
48
48
|
},
|
|
49
49
|
"files": [
|
|
50
50
|
"dist",
|