@backstage-community/plugin-servicenow 1.9.0 → 1.10.0

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,19 @@
1
1
  # @backstage-community/plugin-servicenow
2
2
 
3
+ ## 1.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - a229130: Backstage version bump to v1.49.2
8
+
9
+ ### Patch Changes
10
+
11
+ - 0467b33: Updated dependency `@testing-library/react` to `^16.0.0`.
12
+ Updated dependency `@testing-library/dom` to `10.4.1`.
13
+ Updated dependency `@testing-library/jest-dom` to `^6.0.0`.
14
+ - Updated dependencies [a229130]
15
+ - @backstage-community/plugin-servicenow-common@1.9.0
16
+
3
17
  ## 1.9.0
4
18
 
5
19
  ### Minor Changes
package/dist/alpha.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _backstage_catalog_model from '@backstage/catalog-model';
3
2
  import * as react from 'react';
4
3
  import * as _backstage_filter_predicates from '@backstage/filter-predicates';
@@ -51,9 +50,7 @@ declare const servicenowApi: _backstage_frontend_plugin_api.OverridableExtension
51
50
  configInput: {};
52
51
  output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
53
52
  inputs: {};
54
- params: <TApi, TImpl extends TApi, TDeps extends {
55
- [x: string]: unknown;
56
- }>(params: _backstage_frontend_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_frontend_plugin_api.AnyApiFactory>;
53
+ params: <TApi, TImpl extends TApi, TDeps extends { [name in string]: unknown; }>(params: _backstage_frontend_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_frontend_plugin_api.AnyApiFactory>;
57
54
  }>;
58
55
  /**
59
56
  * Servicenow entity content that shows an incident table with a
@@ -90,16 +87,16 @@ declare const entityServicenowContent: _backstage_frontend_plugin_api.Overridabl
90
87
  }>;
91
88
  inputs: {};
92
89
  params: {
93
- defaultPath?: [Error: "Use the 'path' param instead"] | undefined;
90
+ defaultPath?: [Error: `Use the 'path' param instead`];
94
91
  path: string;
95
- defaultTitle?: [Error: "Use the 'title' param instead"] | undefined;
92
+ defaultTitle?: [Error: `Use the 'title' param instead`];
96
93
  title: string;
97
- defaultGroup?: [Error: "Use the 'group' param instead"] | undefined;
98
- group?: (string & {}) | "overview" | "documentation" | "development" | "deployment" | "operation" | "observability" | undefined;
99
- icon?: string | react.ReactElement<any, string | react.JSXElementConstructor<any>> | undefined;
94
+ defaultGroup?: [Error: `Use the 'group' param instead`];
95
+ group?: ("overview" | "documentation" | "development" | "deployment" | "operation" | "observability") | (string & {});
96
+ icon?: string | react.ReactElement;
100
97
  loader: () => Promise<JSX.Element>;
101
- routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
102
- filter?: _backstage_filter_predicates.FilterPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
98
+ routeRef?: _backstage_frontend_plugin_api.RouteRef;
99
+ filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
103
100
  };
104
101
  }>;
105
102
  /** @alpha */
@@ -111,9 +108,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
111
108
  configInput: {};
112
109
  output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
113
110
  inputs: {};
114
- params: <TApi, TImpl extends TApi, TDeps extends {
115
- [x: string]: unknown;
116
- }>(params: _backstage_frontend_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_frontend_plugin_api.AnyApiFactory>;
111
+ params: <TApi, TImpl extends TApi, TDeps extends { [name in string]: unknown; }>(params: _backstage_frontend_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_frontend_plugin_api.AnyApiFactory>;
117
112
  }>;
118
113
  "entity-content:servicenow/EntityServicenowContent": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
119
114
  kind: "entity-content";
@@ -145,16 +140,16 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
145
140
  }>;
146
141
  inputs: {};
147
142
  params: {
148
- defaultPath?: [Error: "Use the 'path' param instead"] | undefined;
143
+ defaultPath?: [Error: `Use the 'path' param instead`];
149
144
  path: string;
150
- defaultTitle?: [Error: "Use the 'title' param instead"] | undefined;
145
+ defaultTitle?: [Error: `Use the 'title' param instead`];
151
146
  title: string;
152
- defaultGroup?: [Error: "Use the 'group' param instead"] | undefined;
153
- group?: (string & {}) | "overview" | "documentation" | "development" | "deployment" | "operation" | "observability" | undefined;
154
- icon?: string | react.ReactElement<any, string | react.JSXElementConstructor<any>> | undefined;
147
+ defaultGroup?: [Error: `Use the 'group' param instead`];
148
+ group?: ("overview" | "documentation" | "development" | "deployment" | "operation" | "observability") | (string & {});
149
+ icon?: string | react.ReactElement;
155
150
  loader: () => Promise<JSX.Element>;
156
- routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
157
- filter?: _backstage_filter_predicates.FilterPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
151
+ routeRef?: _backstage_frontend_plugin_api.RouteRef;
152
+ filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
158
153
  };
159
154
  }>;
160
155
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-servicenow",
3
- "version": "1.9.0",
3
+ "version": "1.10.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",
@@ -59,13 +59,13 @@
59
59
  "postpack": "backstage-cli package postpack"
60
60
  },
61
61
  "dependencies": {
62
- "@backstage-community/plugin-servicenow-common": "^1.8.0",
63
- "@backstage/catalog-model": "^1.7.6",
64
- "@backstage/core-compat-api": "^0.5.8",
65
- "@backstage/core-components": "^0.18.7",
66
- "@backstage/core-plugin-api": "^1.12.3",
67
- "@backstage/frontend-plugin-api": "^0.14.1",
68
- "@backstage/plugin-catalog-react": "^2.0.0",
62
+ "@backstage-community/plugin-servicenow-common": "^1.9.0",
63
+ "@backstage/catalog-model": "^1.7.7",
64
+ "@backstage/core-compat-api": "^0.5.9",
65
+ "@backstage/core-components": "^0.18.8",
66
+ "@backstage/core-plugin-api": "^1.12.4",
67
+ "@backstage/frontend-plugin-api": "^0.15.1",
68
+ "@backstage/plugin-catalog-react": "^2.1.0",
69
69
  "@backstage/theme": "^0.7.2",
70
70
  "@mui/icons-material": "^5.15.17",
71
71
  "@mui/lab": "^5.0.0-alpha.153",
@@ -82,15 +82,16 @@
82
82
  },
83
83
  "devDependencies": {
84
84
  "@axe-core/playwright": "^4.11.0",
85
- "@backstage/cli": "^0.35.4",
86
- "@backstage/core-app-api": "^1.19.5",
87
- "@backstage/dev-utils": "^1.1.20",
88
- "@backstage/frontend-test-utils": "^0.5.0",
89
- "@backstage/test-utils": "^1.7.15",
85
+ "@backstage/cli": "^0.36.0",
86
+ "@backstage/core-app-api": "^1.19.6",
87
+ "@backstage/dev-utils": "^1.1.21",
88
+ "@backstage/frontend-test-utils": "^0.5.1",
89
+ "@backstage/test-utils": "^1.7.16",
90
90
  "@material-ui/core": "^4.12.4",
91
91
  "@playwright/test": "^1.57.0",
92
+ "@testing-library/dom": "^10.4.1",
92
93
  "@testing-library/jest-dom": "^6.0.0",
93
- "@testing-library/react": "^14.0.0",
94
+ "@testing-library/react": "^16.0.0",
94
95
  "@testing-library/user-event": "^14.0.0",
95
96
  "msw": "^1.0.0",
96
97
  "react": "^16.13.1 || ^17.0.0 || ^18.0.0",