@backstage/plugin-org 0.6.37-next.1 → 0.6.37-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,18 @@
1
1
  # @backstage/plugin-org
2
2
 
3
+ ## 0.6.37-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/frontend-plugin-api@0.10.0-next.2
9
+ - @backstage/plugin-catalog-react@1.16.0-next.2
10
+ - @backstage/core-compat-api@0.4.0-next.2
11
+ - @backstage/core-components@0.16.5-next.1
12
+ - @backstage/catalog-model@1.7.3
13
+ - @backstage/core-plugin-api@1.10.4
14
+ - @backstage/plugin-catalog-common@1.1.3
15
+
3
16
  ## 0.6.37-next.1
4
17
 
5
18
  ### Patch Changes
package/dist/alpha.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import * as _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
2
1
  import * as _backstage_catalog_model from '@backstage/catalog-model';
2
+ import * as _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
3
3
  import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
4
4
  import React__default from 'react';
5
5
 
@@ -11,12 +11,12 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {
11
11
  kind: "entity-card";
12
12
  name: "group-profile";
13
13
  config: {
14
- filter: string | undefined;
15
- type: "full" | "info" | "peek" | undefined;
14
+ filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
15
+ type: "content" | "summary" | "info" | undefined;
16
16
  };
17
17
  configInput: {
18
- filter?: string | undefined;
19
- type?: "full" | "info" | "peek" | undefined;
18
+ filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
19
+ type?: "content" | "summary" | "info" | undefined;
20
20
  };
21
21
  output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
22
22
  optional: true;
@@ -28,20 +28,20 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {
28
28
  inputs: {};
29
29
  params: {
30
30
  loader: () => Promise<JSX.Element>;
31
- filter?: string | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
32
- type?: _backstage_plugin_catalog_react_alpha.EntityCardType | undefined;
31
+ filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
32
+ type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
33
33
  };
34
34
  }>;
35
35
  "entity-card:org/members-list": _backstage_frontend_plugin_api.ExtensionDefinition<{
36
36
  kind: "entity-card";
37
37
  name: "members-list";
38
38
  config: {
39
- filter: string | undefined;
40
- type: "full" | "info" | "peek" | undefined;
39
+ filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
40
+ type: "content" | "summary" | "info" | undefined;
41
41
  };
42
42
  configInput: {
43
- filter?: string | undefined;
44
- type?: "full" | "info" | "peek" | undefined;
43
+ filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
44
+ type?: "content" | "summary" | "info" | undefined;
45
45
  };
46
46
  output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
47
47
  optional: true;
@@ -53,20 +53,20 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {
53
53
  inputs: {};
54
54
  params: {
55
55
  loader: () => Promise<JSX.Element>;
56
- filter?: string | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
57
- type?: _backstage_plugin_catalog_react_alpha.EntityCardType | undefined;
56
+ filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
57
+ type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
58
58
  };
59
59
  }>;
60
60
  "entity-card:org/ownership": _backstage_frontend_plugin_api.ExtensionDefinition<{
61
61
  kind: "entity-card";
62
62
  name: "ownership";
63
63
  config: {
64
- filter: string | undefined;
65
- type: "full" | "info" | "peek" | undefined;
64
+ filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
65
+ type: "content" | "summary" | "info" | undefined;
66
66
  };
67
67
  configInput: {
68
- filter?: string | undefined;
69
- type?: "full" | "info" | "peek" | undefined;
68
+ filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
69
+ type?: "content" | "summary" | "info" | undefined;
70
70
  };
71
71
  output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
72
72
  optional: true;
@@ -78,20 +78,20 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {
78
78
  inputs: {};
79
79
  params: {
80
80
  loader: () => Promise<JSX.Element>;
81
- filter?: string | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
82
- type?: _backstage_plugin_catalog_react_alpha.EntityCardType | undefined;
81
+ filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
82
+ type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
83
83
  };
84
84
  }>;
85
85
  "entity-card:org/user-profile": _backstage_frontend_plugin_api.ExtensionDefinition<{
86
86
  kind: "entity-card";
87
87
  name: "user-profile";
88
88
  config: {
89
- filter: string | undefined;
90
- type: "full" | "info" | "peek" | undefined;
89
+ filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
90
+ type: "content" | "summary" | "info" | undefined;
91
91
  };
92
92
  configInput: {
93
- filter?: string | undefined;
94
- type?: "full" | "info" | "peek" | undefined;
93
+ filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
94
+ type?: "content" | "summary" | "info" | undefined;
95
95
  };
96
96
  output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
97
97
  optional: true;
@@ -103,8 +103,8 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {
103
103
  inputs: {};
104
104
  params: {
105
105
  loader: () => Promise<JSX.Element>;
106
- filter?: string | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
107
- type?: _backstage_plugin_catalog_react_alpha.EntityCardType | undefined;
106
+ filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
107
+ type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
108
108
  };
109
109
  }>;
110
110
  }>;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as React from 'react';
3
2
  import React__default from 'react';
4
3
  import * as _backstage_core_components from '@backstage/core-components';
@@ -65,31 +64,31 @@ declare const orgPlugin: _backstage_core_plugin_api.BackstagePlugin<{}, {
65
64
  }>;
66
65
  /** @public */
67
66
  declare const EntityGroupProfileCard: (props: {
68
- variant?: _backstage_core_components.InfoCardVariants | undefined;
69
- showLinks?: boolean | undefined;
67
+ variant?: _backstage_core_components.InfoCardVariants;
68
+ showLinks?: boolean;
70
69
  }) => React.JSX.Element;
71
70
  /** @public */
72
71
  declare const EntityMembersListCard: (props: {
73
- memberDisplayTitle?: string | undefined;
74
- pageSize?: number | undefined;
75
- showAggregateMembersToggle?: boolean | undefined;
76
- relationType?: string | undefined;
77
- relationsType?: EntityRelationAggregation | undefined;
78
- relationAggregation?: EntityRelationAggregation | undefined;
72
+ memberDisplayTitle?: string;
73
+ pageSize?: number;
74
+ showAggregateMembersToggle?: boolean;
75
+ relationType?: string;
76
+ relationsType?: EntityRelationAggregation;
77
+ relationAggregation?: EntityRelationAggregation;
79
78
  }) => React.JSX.Element;
80
79
  /** @public */
81
80
  declare const EntityOwnershipCard: (props: {
82
- variant?: _backstage_core_components.InfoCardVariants | undefined;
83
- entityFilterKind?: string[] | undefined;
84
- hideRelationsToggle?: boolean | undefined;
85
- relationsType?: EntityRelationAggregation | undefined;
86
- relationAggregation?: EntityRelationAggregation | undefined;
87
- entityLimit?: number | undefined;
81
+ variant?: _backstage_core_components.InfoCardVariants;
82
+ entityFilterKind?: string[];
83
+ hideRelationsToggle?: boolean;
84
+ relationsType?: EntityRelationAggregation;
85
+ relationAggregation?: EntityRelationAggregation;
86
+ entityLimit?: number;
88
87
  }) => React.JSX.Element;
89
88
  /** @public */
90
89
  declare const EntityUserProfileCard: (props: {
91
- variant?: _backstage_core_components.InfoCardVariants | undefined;
92
- showLinks?: boolean | undefined;
90
+ variant?: _backstage_core_components.InfoCardVariants;
91
+ showLinks?: boolean;
93
92
  }) => React.JSX.Element;
94
93
 
95
94
  export { EntityGroupProfileCard, EntityMembersListCard, EntityOwnershipCard, type EntityRelationAggregation, EntityUserProfileCard, GroupProfileCard, type MemberComponentClassKey, MembersListCard, type MembersListCardClassKey, MyGroupsSidebarItem, OwnershipCard, UserProfileCard, orgPlugin, orgPlugin as plugin };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-org",
3
- "version": "0.6.37-next.1",
3
+ "version": "0.6.37-next.2",
4
4
  "description": "A Backstage plugin that helps you create entity pages for your organization",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -42,7 +42,7 @@
42
42
  "types": "./dist/index.d.ts",
43
43
  "typesVersions": {
44
44
  "*": {
45
- "index": [
45
+ "*": [
46
46
  "dist/index.d.ts"
47
47
  ],
48
48
  "alpha": [
@@ -64,12 +64,12 @@
64
64
  },
65
65
  "dependencies": {
66
66
  "@backstage/catalog-model": "1.7.3",
67
- "@backstage/core-compat-api": "0.3.7-next.1",
68
- "@backstage/core-components": "0.16.5-next.0",
67
+ "@backstage/core-compat-api": "0.4.0-next.2",
68
+ "@backstage/core-components": "0.16.5-next.1",
69
69
  "@backstage/core-plugin-api": "1.10.4",
70
- "@backstage/frontend-plugin-api": "0.9.6-next.1",
70
+ "@backstage/frontend-plugin-api": "0.10.0-next.2",
71
71
  "@backstage/plugin-catalog-common": "1.1.3",
72
- "@backstage/plugin-catalog-react": "1.16.0-next.1",
72
+ "@backstage/plugin-catalog-react": "1.16.0-next.2",
73
73
  "@material-ui/core": "^4.12.2",
74
74
  "@material-ui/icons": "^4.9.1",
75
75
  "@material-ui/lab": "4.0.0-alpha.61",
@@ -81,13 +81,13 @@
81
81
  },
82
82
  "devDependencies": {
83
83
  "@backstage/catalog-client": "1.9.1",
84
- "@backstage/cli": "0.30.1-next.0",
85
- "@backstage/core-app-api": "1.15.5",
86
- "@backstage/dev-utils": "1.1.8-next.1",
87
- "@backstage/plugin-catalog": "1.28.0-next.1",
84
+ "@backstage/cli": "0.31.0-next.1",
85
+ "@backstage/core-app-api": "1.16.0-next.0",
86
+ "@backstage/dev-utils": "1.1.8-next.2",
87
+ "@backstage/plugin-catalog": "1.28.0-next.2",
88
88
  "@backstage/plugin-permission-common": "0.8.4",
89
89
  "@backstage/plugin-permission-react": "0.4.31",
90
- "@backstage/test-utils": "1.7.5",
90
+ "@backstage/test-utils": "1.7.6-next.0",
91
91
  "@backstage/types": "1.2.1",
92
92
  "@testing-library/dom": "^10.0.0",
93
93
  "@testing-library/jest-dom": "^6.0.0",