@backstage-community/plugin-servicenow 1.8.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,31 @@
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
+
17
+ ## 1.9.0
18
+
19
+ ### Minor Changes
20
+
21
+ - d578507: Backstage version bump to v1.48.4
22
+
23
+ ### Patch Changes
24
+
25
+ - 1d15595: Translation updated for German and Spanish
26
+ - Updated dependencies [d578507]
27
+ - @backstage-community/plugin-servicenow-common@1.8.0
28
+
3
29
  ## 1.8.0
4
30
 
5
31
  ### Minor Changes
package/dist/alpha.d.ts CHANGED
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  import * as _backstage_catalog_model from '@backstage/catalog-model';
3
2
  import * as react from 'react';
4
- import * as _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
3
+ import * as _backstage_filter_predicates from '@backstage/filter-predicates';
5
4
  import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
6
5
 
7
6
  /**
@@ -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
@@ -66,35 +63,40 @@ declare const entityServicenowContent: _backstage_frontend_plugin_api.Overridabl
66
63
  config: {
67
64
  path: string | undefined;
68
65
  title: string | undefined;
69
- filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
66
+ filter: _backstage_filter_predicates.FilterPredicate | undefined;
70
67
  group: string | false | undefined;
68
+ icon: string | undefined;
71
69
  };
72
70
  configInput: {
73
- filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
71
+ filter?: _backstage_filter_predicates.FilterPredicate | undefined;
74
72
  title?: string | undefined;
75
73
  path?: string | undefined;
76
74
  group?: string | false | undefined;
75
+ icon?: string | undefined;
77
76
  };
78
- output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
77
+ output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
79
78
  optional: true;
80
- }> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
79
+ }> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
81
80
  optional: true;
82
81
  }> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
83
82
  optional: true;
84
83
  }> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
85
84
  optional: true;
85
+ }> | _backstage_frontend_plugin_api.ExtensionDataRef<string | react.ReactElement<any, string | react.JSXElementConstructor<any>>, "catalog.entity-content-icon", {
86
+ optional: true;
86
87
  }>;
87
88
  inputs: {};
88
89
  params: {
89
- defaultPath?: [Error: "Use the 'path' param instead"] | undefined;
90
+ defaultPath?: [Error: `Use the 'path' param instead`];
90
91
  path: string;
91
- defaultTitle?: [Error: "Use the 'title' param instead"] | undefined;
92
+ defaultTitle?: [Error: `Use the 'title' param instead`];
92
93
  title: string;
93
- defaultGroup?: [Error: "Use the 'group' param instead"] | undefined;
94
- group?: (string & {}) | "overview" | "documentation" | "development" | "deployment" | "operation" | "observability" | undefined;
94
+ defaultGroup?: [Error: `Use the 'group' param instead`];
95
+ group?: ("overview" | "documentation" | "development" | "deployment" | "operation" | "observability") | (string & {});
96
+ icon?: string | react.ReactElement;
95
97
  loader: () => Promise<JSX.Element>;
96
- routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
97
- filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | ((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);
98
100
  };
99
101
  }>;
100
102
  /** @alpha */
@@ -106,9 +108,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
106
108
  configInput: {};
107
109
  output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
108
110
  inputs: {};
109
- params: <TApi, TImpl extends TApi, TDeps extends {
110
- [x: string]: unknown;
111
- }>(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>;
112
112
  }>;
113
113
  "entity-content:servicenow/EntityServicenowContent": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
114
114
  kind: "entity-content";
@@ -116,35 +116,40 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
116
116
  config: {
117
117
  path: string | undefined;
118
118
  title: string | undefined;
119
- filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
119
+ filter: _backstage_filter_predicates.FilterPredicate | undefined;
120
120
  group: string | false | undefined;
121
+ icon: string | undefined;
121
122
  };
122
123
  configInput: {
123
- filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
124
+ filter?: _backstage_filter_predicates.FilterPredicate | undefined;
124
125
  title?: string | undefined;
125
126
  path?: string | undefined;
126
127
  group?: string | false | undefined;
128
+ icon?: string | undefined;
127
129
  };
128
- output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
130
+ output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
129
131
  optional: true;
130
- }> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
132
+ }> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
131
133
  optional: true;
132
134
  }> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
133
135
  optional: true;
134
136
  }> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
135
137
  optional: true;
138
+ }> | _backstage_frontend_plugin_api.ExtensionDataRef<string | react.ReactElement<any, string | react.JSXElementConstructor<any>>, "catalog.entity-content-icon", {
139
+ optional: true;
136
140
  }>;
137
141
  inputs: {};
138
142
  params: {
139
- defaultPath?: [Error: "Use the 'path' param instead"] | undefined;
143
+ defaultPath?: [Error: `Use the 'path' param instead`];
140
144
  path: string;
141
- defaultTitle?: [Error: "Use the 'title' param instead"] | undefined;
145
+ defaultTitle?: [Error: `Use the 'title' param instead`];
142
146
  title: string;
143
- defaultGroup?: [Error: "Use the 'group' param instead"] | undefined;
144
- group?: (string & {}) | "overview" | "documentation" | "development" | "deployment" | "operation" | "observability" | undefined;
147
+ defaultGroup?: [Error: `Use the 'group' param instead`];
148
+ group?: ("overview" | "documentation" | "development" | "deployment" | "operation" | "observability") | (string & {});
149
+ icon?: string | react.ReactElement;
145
150
  loader: () => Promise<JSX.Element>;
146
- routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
147
- filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | ((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);
148
153
  };
149
154
  }>;
150
155
  }>;
@@ -4,8 +4,8 @@ import { servicenowTranslationRef } from './ref.esm.js';
4
4
  const servicenowTranslationDe = createTranslationMessages({
5
5
  ref: servicenowTranslationRef,
6
6
  messages: {
7
- "page.title": "ServiceNow Tickets",
8
- "page.titleWithCount": "ServiceNow Tickets ({{count}})",
7
+ "page.title": "ServiceNow-Tickets",
8
+ "page.titleWithCount": "ServiceNow-Tickets ({{count}})",
9
9
  "table.searchPlaceholder": "Suchen",
10
10
  "table.labelRowsSelect": "{{count}} Zeilen",
11
11
  "table.columns.incidentNumber": "Vorfallnummer",
@@ -14,17 +14,17 @@ const servicenowTranslationDe = createTranslationMessages({
14
14
  "table.columns.priority": "Priorit\xE4t",
15
15
  "table.columns.state": "Status",
16
16
  "table.columns.actions": "Aktionen",
17
- "table.emptyContent": "Keine Eintr\xE4ge gefunden",
17
+ "table.emptyContent": "Keine Datens\xE4tze gefunden",
18
18
  "filter.state": "Status",
19
19
  "filter.priority": "Priorit\xE4t",
20
20
  "priority.critical": "Kritisch",
21
21
  "priority.high": "Hoch",
22
- "priority.moderate": "Mittel",
22
+ "priority.moderate": "M\xE4\xDFig",
23
23
  "priority.low": "Niedrig",
24
24
  "priority.planning": "Planung",
25
25
  "incidentState.new": "Neu",
26
- "incidentState.inProgress": "In Bearbeitung",
27
- "incidentState.onHold": "Wartend",
26
+ "incidentState.inProgress": "Wird verarbeitet",
27
+ "incidentState.onHold": "Angehalten",
28
28
  "incidentState.resolved": "Gel\xF6st",
29
29
  "incidentState.closed": "Geschlossen",
30
30
  "incidentState.cancelled": "Abgebrochen",
@@ -1 +1 @@
1
- {"version":3,"file":"de.esm.js","sources":["../../src/translations/de.ts"],"sourcesContent":["/*\n * Copyright 2025 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { createTranslationMessages } from '@backstage/core-plugin-api/alpha';\nimport { servicenowTranslationRef } from './ref';\n\nconst servicenowTranslationDe = createTranslationMessages({\n ref: servicenowTranslationRef,\n messages: {\n 'page.title': 'ServiceNow Tickets',\n 'page.titleWithCount': 'ServiceNow Tickets ({{count}})',\n 'table.searchPlaceholder': 'Suchen',\n 'table.labelRowsSelect': '{{count}} Zeilen',\n 'table.columns.incidentNumber': 'Vorfallnummer',\n 'table.columns.description': 'Beschreibung',\n 'table.columns.created': 'Erstellt',\n 'table.columns.priority': 'Priorität',\n 'table.columns.state': 'Status',\n 'table.columns.actions': 'Aktionen',\n 'table.emptyContent': 'Keine Einträge gefunden',\n 'filter.state': 'Status',\n 'filter.priority': 'Priorität',\n 'priority.critical': 'Kritisch',\n 'priority.high': 'Hoch',\n 'priority.moderate': 'Mittel',\n 'priority.low': 'Niedrig',\n 'priority.planning': 'Planung',\n 'incidentState.new': 'Neu',\n 'incidentState.inProgress': 'In Bearbeitung',\n 'incidentState.onHold': 'Wartend',\n 'incidentState.resolved': 'Gelöst',\n 'incidentState.closed': 'Geschlossen',\n 'incidentState.cancelled': 'Abgebrochen',\n 'errors.loadingIncidents': 'Fehler beim Laden der Vorfälle: {{error}}',\n 'actions.openInServicenow': 'In ServiceNow öffnen',\n },\n});\n\nexport default servicenowTranslationDe;\n"],"names":[],"mappings":";;;AAkBA,MAAM,0BAA0B,yBAA0B,CAAA;AAAA,EACxD,GAAK,EAAA,wBAAA;AAAA,EACL,QAAU,EAAA;AAAA,IACR,YAAc,EAAA,oBAAA;AAAA,IACd,qBAAuB,EAAA,gCAAA;AAAA,IACvB,yBAA2B,EAAA,QAAA;AAAA,IAC3B,uBAAyB,EAAA,kBAAA;AAAA,IACzB,8BAAgC,EAAA,eAAA;AAAA,IAChC,2BAA6B,EAAA,cAAA;AAAA,IAC7B,uBAAyB,EAAA,UAAA;AAAA,IACzB,wBAA0B,EAAA,cAAA;AAAA,IAC1B,qBAAuB,EAAA,QAAA;AAAA,IACvB,uBAAyB,EAAA,UAAA;AAAA,IACzB,oBAAsB,EAAA,4BAAA;AAAA,IACtB,cAAgB,EAAA,QAAA;AAAA,IAChB,iBAAmB,EAAA,cAAA;AAAA,IACnB,mBAAqB,EAAA,UAAA;AAAA,IACrB,eAAiB,EAAA,MAAA;AAAA,IACjB,mBAAqB,EAAA,QAAA;AAAA,IACrB,cAAgB,EAAA,SAAA;AAAA,IAChB,mBAAqB,EAAA,SAAA;AAAA,IACrB,mBAAqB,EAAA,KAAA;AAAA,IACrB,0BAA4B,EAAA,gBAAA;AAAA,IAC5B,sBAAwB,EAAA,SAAA;AAAA,IACxB,wBAA0B,EAAA,WAAA;AAAA,IAC1B,sBAAwB,EAAA,aAAA;AAAA,IACxB,yBAA2B,EAAA,aAAA;AAAA,IAC3B,yBAA2B,EAAA,8CAAA;AAAA,IAC3B,0BAA4B,EAAA;AAAA;AAEhC,CAAC;;;;"}
1
+ {"version":3,"file":"de.esm.js","sources":["../../src/translations/de.ts"],"sourcesContent":["/*\n * Copyright 2025 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createTranslationMessages } from '@backstage/core-plugin-api/alpha';\nimport { servicenowTranslationRef } from './ref';\n\n/**\n * de translation for plugin.servicenow.\n * @public\n */\nconst servicenowTranslationDe = createTranslationMessages({\n ref: servicenowTranslationRef,\n messages: {\n 'page.title': 'ServiceNow-Tickets',\n 'page.titleWithCount': 'ServiceNow-Tickets ({{count}})',\n 'table.searchPlaceholder': 'Suchen',\n 'table.labelRowsSelect': '{{count}} Zeilen',\n 'table.columns.incidentNumber': 'Vorfallnummer',\n 'table.columns.description': 'Beschreibung',\n 'table.columns.created': 'Erstellt',\n 'table.columns.priority': 'Priorität',\n 'table.columns.state': 'Status',\n 'table.columns.actions': 'Aktionen',\n 'table.emptyContent': 'Keine Datensätze gefunden',\n 'filter.state': 'Status',\n 'filter.priority': 'Priorität',\n 'priority.critical': 'Kritisch',\n 'priority.high': 'Hoch',\n 'priority.moderate': 'Mäßig',\n 'priority.low': 'Niedrig',\n 'priority.planning': 'Planung',\n 'incidentState.new': 'Neu',\n 'incidentState.inProgress': 'Wird verarbeitet',\n 'incidentState.onHold': 'Angehalten',\n 'incidentState.resolved': 'Gelöst',\n 'incidentState.closed': 'Geschlossen',\n 'incidentState.cancelled': 'Abgebrochen',\n 'errors.loadingIncidents': 'Fehler beim Laden der Vorfälle: {{error}}',\n 'actions.openInServicenow': 'In ServiceNow öffnen',\n },\n});\n\nexport default servicenowTranslationDe;\n"],"names":[],"mappings":";;;AAuBA,MAAM,0BAA0B,yBAA0B,CAAA;AAAA,EACxD,GAAK,EAAA,wBAAA;AAAA,EACL,QAAU,EAAA;AAAA,IACR,YAAc,EAAA,oBAAA;AAAA,IACd,qBAAuB,EAAA,gCAAA;AAAA,IACvB,yBAA2B,EAAA,QAAA;AAAA,IAC3B,uBAAyB,EAAA,kBAAA;AAAA,IACzB,8BAAgC,EAAA,eAAA;AAAA,IAChC,2BAA6B,EAAA,cAAA;AAAA,IAC7B,uBAAyB,EAAA,UAAA;AAAA,IACzB,wBAA0B,EAAA,cAAA;AAAA,IAC1B,qBAAuB,EAAA,QAAA;AAAA,IACvB,uBAAyB,EAAA,UAAA;AAAA,IACzB,oBAAsB,EAAA,8BAAA;AAAA,IACtB,cAAgB,EAAA,QAAA;AAAA,IAChB,iBAAmB,EAAA,cAAA;AAAA,IACnB,mBAAqB,EAAA,UAAA;AAAA,IACrB,eAAiB,EAAA,MAAA;AAAA,IACjB,mBAAqB,EAAA,aAAA;AAAA,IACrB,cAAgB,EAAA,SAAA;AAAA,IAChB,mBAAqB,EAAA,SAAA;AAAA,IACrB,mBAAqB,EAAA,KAAA;AAAA,IACrB,0BAA4B,EAAA,kBAAA;AAAA,IAC5B,sBAAwB,EAAA,YAAA;AAAA,IACxB,wBAA0B,EAAA,WAAA;AAAA,IAC1B,sBAAwB,EAAA,aAAA;AAAA,IACxB,yBAA2B,EAAA,aAAA;AAAA,IAC3B,yBAA2B,EAAA,8CAAA;AAAA,IAC3B,0BAA4B,EAAA;AAAA;AAEhC,CAAC;;;;"}
@@ -7,7 +7,7 @@ const servicenowTranslationEs = createTranslationMessages({
7
7
  "page.title": "Tickets de ServiceNow",
8
8
  "page.titleWithCount": "Tickets de ServiceNow ({{count}})",
9
9
  "table.searchPlaceholder": "Buscar",
10
- "table.labelRowsSelect": "{{count}} filas",
10
+ "table.labelRowsSelect": "{{count}}\xA0filas",
11
11
  "table.columns.incidentNumber": "N\xFAmero de incidente",
12
12
  "table.columns.description": "Descripci\xF3n",
13
13
  "table.columns.created": "Creado",
@@ -23,7 +23,7 @@ const servicenowTranslationEs = createTranslationMessages({
23
23
  "priority.low": "Baja",
24
24
  "priority.planning": "Planificaci\xF3n",
25
25
  "incidentState.new": "Nuevo",
26
- "incidentState.inProgress": "En progreso",
26
+ "incidentState.inProgress": "En curso",
27
27
  "incidentState.onHold": "En espera",
28
28
  "incidentState.resolved": "Resuelto",
29
29
  "incidentState.closed": "Cerrado",
@@ -1 +1 @@
1
- {"version":3,"file":"es.esm.js","sources":["../../src/translations/es.ts"],"sourcesContent":["/*\n * Copyright 2025 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { createTranslationMessages } from '@backstage/core-plugin-api/alpha';\nimport { servicenowTranslationRef } from './ref';\n\nconst servicenowTranslationEs = createTranslationMessages({\n ref: servicenowTranslationRef,\n messages: {\n 'page.title': 'Tickets de ServiceNow',\n 'page.titleWithCount': 'Tickets de ServiceNow ({{count}})',\n 'table.searchPlaceholder': 'Buscar',\n 'table.labelRowsSelect': '{{count}} filas',\n 'table.columns.incidentNumber': 'Número de incidente',\n 'table.columns.description': 'Descripción',\n 'table.columns.created': 'Creado',\n 'table.columns.priority': 'Prioridad',\n 'table.columns.state': 'Estado',\n 'table.columns.actions': 'Acciones',\n 'table.emptyContent': 'No se encontraron registros',\n 'filter.state': 'Estado',\n 'filter.priority': 'Prioridad',\n 'priority.critical': 'Crítica',\n 'priority.high': 'Alta',\n 'priority.moderate': 'Moderada',\n 'priority.low': 'Baja',\n 'priority.planning': 'Planificación',\n 'incidentState.new': 'Nuevo',\n 'incidentState.inProgress': 'En progreso',\n 'incidentState.onHold': 'En espera',\n 'incidentState.resolved': 'Resuelto',\n 'incidentState.closed': 'Cerrado',\n 'incidentState.cancelled': 'Cancelado',\n 'errors.loadingIncidents': 'Error al cargar incidentes: {{error}}',\n 'actions.openInServicenow': 'Abrir en ServiceNow',\n },\n});\n\nexport default servicenowTranslationEs;\n"],"names":[],"mappings":";;;AAkBA,MAAM,0BAA0B,yBAA0B,CAAA;AAAA,EACxD,GAAK,EAAA,wBAAA;AAAA,EACL,QAAU,EAAA;AAAA,IACR,YAAc,EAAA,uBAAA;AAAA,IACd,qBAAuB,EAAA,mCAAA;AAAA,IACvB,yBAA2B,EAAA,QAAA;AAAA,IAC3B,uBAAyB,EAAA,iBAAA;AAAA,IACzB,8BAAgC,EAAA,wBAAA;AAAA,IAChC,2BAA6B,EAAA,gBAAA;AAAA,IAC7B,uBAAyB,EAAA,QAAA;AAAA,IACzB,wBAA0B,EAAA,WAAA;AAAA,IAC1B,qBAAuB,EAAA,QAAA;AAAA,IACvB,uBAAyB,EAAA,UAAA;AAAA,IACzB,oBAAsB,EAAA,6BAAA;AAAA,IACtB,cAAgB,EAAA,QAAA;AAAA,IAChB,iBAAmB,EAAA,WAAA;AAAA,IACnB,mBAAqB,EAAA,YAAA;AAAA,IACrB,eAAiB,EAAA,MAAA;AAAA,IACjB,mBAAqB,EAAA,UAAA;AAAA,IACrB,cAAgB,EAAA,MAAA;AAAA,IAChB,mBAAqB,EAAA,kBAAA;AAAA,IACrB,mBAAqB,EAAA,OAAA;AAAA,IACrB,0BAA4B,EAAA,aAAA;AAAA,IAC5B,sBAAwB,EAAA,WAAA;AAAA,IACxB,wBAA0B,EAAA,UAAA;AAAA,IAC1B,sBAAwB,EAAA,SAAA;AAAA,IACxB,yBAA2B,EAAA,WAAA;AAAA,IAC3B,yBAA2B,EAAA,uCAAA;AAAA,IAC3B,0BAA4B,EAAA;AAAA;AAEhC,CAAC;;;;"}
1
+ {"version":3,"file":"es.esm.js","sources":["../../src/translations/es.ts"],"sourcesContent":["/*\n * Copyright 2025 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createTranslationMessages } from '@backstage/core-plugin-api/alpha';\nimport { servicenowTranslationRef } from './ref';\n\n/**\n * es translation for plugin.servicenow.\n * @public\n */\nconst servicenowTranslationEs = createTranslationMessages({\n ref: servicenowTranslationRef,\n messages: {\n 'page.title': 'Tickets de ServiceNow',\n 'page.titleWithCount': 'Tickets de ServiceNow ({{count}})',\n 'table.searchPlaceholder': 'Buscar',\n 'table.labelRowsSelect': '{{count}} filas',\n 'table.columns.incidentNumber': 'Número de incidente',\n 'table.columns.description': 'Descripción',\n 'table.columns.created': 'Creado',\n 'table.columns.priority': 'Prioridad',\n 'table.columns.state': 'Estado',\n 'table.columns.actions': 'Acciones',\n 'table.emptyContent': 'No se encontraron registros',\n 'filter.state': 'Estado',\n 'filter.priority': 'Prioridad',\n 'priority.critical': 'Crítica',\n 'priority.high': 'Alta',\n 'priority.moderate': 'Moderada',\n 'priority.low': 'Baja',\n 'priority.planning': 'Planificación',\n 'incidentState.new': 'Nuevo',\n 'incidentState.inProgress': 'En curso',\n 'incidentState.onHold': 'En espera',\n 'incidentState.resolved': 'Resuelto',\n 'incidentState.closed': 'Cerrado',\n 'incidentState.cancelled': 'Cancelado',\n 'errors.loadingIncidents': 'Error al cargar incidentes: {{error}}',\n 'actions.openInServicenow': 'Abrir en ServiceNow',\n },\n});\n\nexport default servicenowTranslationEs;\n"],"names":[],"mappings":";;;AAuBA,MAAM,0BAA0B,yBAA0B,CAAA;AAAA,EACxD,GAAK,EAAA,wBAAA;AAAA,EACL,QAAU,EAAA;AAAA,IACR,YAAc,EAAA,uBAAA;AAAA,IACd,qBAAuB,EAAA,mCAAA;AAAA,IACvB,yBAA2B,EAAA,QAAA;AAAA,IAC3B,uBAAyB,EAAA,oBAAA;AAAA,IACzB,8BAAgC,EAAA,wBAAA;AAAA,IAChC,2BAA6B,EAAA,gBAAA;AAAA,IAC7B,uBAAyB,EAAA,QAAA;AAAA,IACzB,wBAA0B,EAAA,WAAA;AAAA,IAC1B,qBAAuB,EAAA,QAAA;AAAA,IACvB,uBAAyB,EAAA,UAAA;AAAA,IACzB,oBAAsB,EAAA,6BAAA;AAAA,IACtB,cAAgB,EAAA,QAAA;AAAA,IAChB,iBAAmB,EAAA,WAAA;AAAA,IACnB,mBAAqB,EAAA,YAAA;AAAA,IACrB,eAAiB,EAAA,MAAA;AAAA,IACjB,mBAAqB,EAAA,UAAA;AAAA,IACrB,cAAgB,EAAA,MAAA;AAAA,IAChB,mBAAqB,EAAA,kBAAA;AAAA,IACrB,mBAAqB,EAAA,OAAA;AAAA,IACrB,0BAA4B,EAAA,UAAA;AAAA,IAC5B,sBAAwB,EAAA,WAAA;AAAA,IACxB,wBAA0B,EAAA,UAAA;AAAA,IAC1B,sBAAwB,EAAA,SAAA;AAAA,IACxB,yBAA2B,EAAA,WAAA;AAAA,IAC3B,yBAA2B,EAAA,uCAAA;AAAA,IAC3B,0BAA4B,EAAA;AAAA;AAEhC,CAAC;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-servicenow",
3
- "version": "1.8.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,14 +59,14 @@
59
59
  "postpack": "backstage-cli package postpack"
60
60
  },
61
61
  "dependencies": {
62
- "@backstage-community/plugin-servicenow-common": "^1.7.0",
63
- "@backstage/catalog-model": "^1.7.6",
64
- "@backstage/core-compat-api": "^0.5.7",
65
- "@backstage/core-components": "^0.18.6",
66
- "@backstage/core-plugin-api": "^1.12.2",
67
- "@backstage/frontend-plugin-api": "^0.13.4",
68
- "@backstage/plugin-catalog-react": "^1.21.6",
69
- "@backstage/theme": "^0.7.1",
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
+ "@backstage/theme": "^0.7.2",
70
70
  "@mui/icons-material": "^5.15.17",
71
71
  "@mui/lab": "^5.0.0-alpha.153",
72
72
  "@mui/material": "^5.17.1",
@@ -82,14 +82,16 @@
82
82
  },
83
83
  "devDependencies": {
84
84
  "@axe-core/playwright": "^4.11.0",
85
- "@backstage/cli": "^0.35.3",
86
- "@backstage/core-app-api": "^1.19.4",
87
- "@backstage/dev-utils": "^1.1.19",
88
- "@backstage/test-utils": "^1.7.14",
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",
89
90
  "@material-ui/core": "^4.12.4",
90
91
  "@playwright/test": "^1.57.0",
92
+ "@testing-library/dom": "^10.4.1",
91
93
  "@testing-library/jest-dom": "^6.0.0",
92
- "@testing-library/react": "^14.0.0",
94
+ "@testing-library/react": "^16.0.0",
93
95
  "@testing-library/user-event": "^14.0.0",
94
96
  "msw": "^1.0.0",
95
97
  "react": "^16.13.1 || ^17.0.0 || ^18.0.0",