@backstage/plugin-catalog-backend-module-msgraph 0.5.3-next.1 → 0.5.3-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 +26 -0
- package/alpha/package.json +1 -1
- package/dist/index.d.ts +7 -7
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-backend-module-msgraph
|
|
2
2
|
|
|
3
|
+
## 0.5.3-next.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/catalog-model@1.3.0-next.0
|
|
9
|
+
- @backstage/backend-common@0.18.4-next.2
|
|
10
|
+
- @backstage/backend-plugin-api@0.5.1-next.2
|
|
11
|
+
- @backstage/backend-tasks@0.5.1-next.2
|
|
12
|
+
- @backstage/config@1.0.7
|
|
13
|
+
- @backstage/plugin-catalog-common@1.0.13-next.1
|
|
14
|
+
- @backstage/plugin-catalog-node@1.3.5-next.3
|
|
15
|
+
|
|
16
|
+
## 0.5.3-next.2
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
- @backstage/backend-common@0.18.4-next.2
|
|
22
|
+
- @backstage/backend-plugin-api@0.5.1-next.2
|
|
23
|
+
- @backstage/backend-tasks@0.5.1-next.2
|
|
24
|
+
- @backstage/catalog-model@1.2.1
|
|
25
|
+
- @backstage/config@1.0.7
|
|
26
|
+
- @backstage/plugin-catalog-common@1.0.13-next.0
|
|
27
|
+
- @backstage/plugin-catalog-node@1.3.5-next.2
|
|
28
|
+
|
|
3
29
|
## 0.5.3-next.1
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
package/alpha/package.json
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import { LocationSpec } from '@backstage/plugin-catalog-common';
|
|
|
13
13
|
*
|
|
14
14
|
* @public
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
type MicrosoftGraphProviderConfig = {
|
|
17
17
|
/**
|
|
18
18
|
* Identifier of the provider which will be used i.e. at the location key for ingested entities.
|
|
19
19
|
*/
|
|
@@ -128,7 +128,7 @@ declare function readMicrosoftGraphConfig(config: Config): MicrosoftGraphProvide
|
|
|
128
128
|
* {@link https://docs.microsoft.com/en-us/graph/query-parameters}
|
|
129
129
|
* @public
|
|
130
130
|
*/
|
|
131
|
-
|
|
131
|
+
type ODataQuery = {
|
|
132
132
|
/**
|
|
133
133
|
* search resources within a collection matching a free-text search expression.
|
|
134
134
|
*/
|
|
@@ -159,7 +159,7 @@ declare type ODataQuery = {
|
|
|
159
159
|
*
|
|
160
160
|
* @public
|
|
161
161
|
*/
|
|
162
|
-
|
|
162
|
+
type GroupMember = (MicrosoftGraph.Group & {
|
|
163
163
|
'@odata.type': '#microsoft.graph.user';
|
|
164
164
|
}) | (MicrosoftGraph.User & {
|
|
165
165
|
'@odata.type': '#microsoft.graph.group';
|
|
@@ -356,19 +356,19 @@ declare function defaultUserTransformer(user: MicrosoftGraph.User, userPhoto?: s
|
|
|
356
356
|
*
|
|
357
357
|
* @public
|
|
358
358
|
*/
|
|
359
|
-
|
|
359
|
+
type UserTransformer = (user: MicrosoftGraph.User, userPhoto?: string) => Promise<UserEntity | undefined>;
|
|
360
360
|
/**
|
|
361
361
|
* Customize the ingested organization Group entity
|
|
362
362
|
*
|
|
363
363
|
* @public
|
|
364
364
|
*/
|
|
365
|
-
|
|
365
|
+
type OrganizationTransformer = (organization: MicrosoftGraph.Organization) => Promise<GroupEntity | undefined>;
|
|
366
366
|
/**
|
|
367
367
|
* Customize the ingested Group entity
|
|
368
368
|
*
|
|
369
369
|
* @public
|
|
370
370
|
*/
|
|
371
|
-
|
|
371
|
+
type GroupTransformer = (group: MicrosoftGraph.Group, groupPhoto?: string) => Promise<GroupEntity | undefined>;
|
|
372
372
|
|
|
373
373
|
/**
|
|
374
374
|
* Reads an entire org as Group and User entities.
|
|
@@ -400,7 +400,7 @@ declare function readMicrosoftGraphOrg(client: MicrosoftGraphClient, tenantId: s
|
|
|
400
400
|
*
|
|
401
401
|
* @public
|
|
402
402
|
*/
|
|
403
|
-
|
|
403
|
+
type MicrosoftGraphOrgEntityProviderOptions = MicrosoftGraphOrgEntityProviderLegacyOptions | {
|
|
404
404
|
/**
|
|
405
405
|
* The logger to use.
|
|
406
406
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-catalog-backend-module-msgraph",
|
|
3
3
|
"description": "A Backstage catalog backend module that helps integrate towards Microsoft Graph",
|
|
4
|
-
"version": "0.5.3-next.
|
|
4
|
+
"version": "0.5.3-next.3",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -44,13 +44,13 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@azure/identity": "^2.1.0",
|
|
47
|
-
"@backstage/backend-common": "^0.18.4-next.
|
|
48
|
-
"@backstage/backend-plugin-api": "^0.5.1-next.
|
|
49
|
-
"@backstage/backend-tasks": "^0.5.1-next.
|
|
50
|
-
"@backstage/catalog-model": "^1.
|
|
47
|
+
"@backstage/backend-common": "^0.18.4-next.2",
|
|
48
|
+
"@backstage/backend-plugin-api": "^0.5.1-next.2",
|
|
49
|
+
"@backstage/backend-tasks": "^0.5.1-next.2",
|
|
50
|
+
"@backstage/catalog-model": "^1.3.0-next.0",
|
|
51
51
|
"@backstage/config": "^1.0.7",
|
|
52
|
-
"@backstage/plugin-catalog-common": "^1.0.13-next.
|
|
53
|
-
"@backstage/plugin-catalog-node": "^1.3.5-next.
|
|
52
|
+
"@backstage/plugin-catalog-common": "^1.0.13-next.1",
|
|
53
|
+
"@backstage/plugin-catalog-node": "^1.3.5-next.3",
|
|
54
54
|
"@microsoft/microsoft-graph-types": "^2.6.0",
|
|
55
55
|
"@types/node-fetch": "^2.5.12",
|
|
56
56
|
"lodash": "^4.17.21",
|
|
@@ -61,9 +61,9 @@
|
|
|
61
61
|
"winston": "^3.2.1"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@backstage/backend-common": "^0.18.4-next.
|
|
65
|
-
"@backstage/backend-test-utils": "^0.1.36-next.
|
|
66
|
-
"@backstage/cli": "^0.22.6-next.
|
|
64
|
+
"@backstage/backend-common": "^0.18.4-next.2",
|
|
65
|
+
"@backstage/backend-test-utils": "^0.1.36-next.2",
|
|
66
|
+
"@backstage/cli": "^0.22.6-next.3",
|
|
67
67
|
"@types/lodash": "^4.14.151",
|
|
68
68
|
"luxon": "^3.0.0",
|
|
69
69
|
"msw": "^1.0.0"
|