@terasky/backstage-plugin-vcf-automation 1.5.3 → 1.7.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/dist/alpha.d.ts CHANGED
@@ -1,21 +1,20 @@
1
1
  import * as react from 'react';
2
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
- import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
5
4
  import { Entity } from '@backstage/catalog-model';
6
5
 
7
6
  /** @alpha */
8
- declare const vcfAutomationApi: _backstage_frontend_plugin_api.ExtensionDefinition<{
7
+ declare const vcfAutomationApi: _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
9
8
  kind: "api";
10
9
  name: "vcfAutomationApi";
11
10
  config: {};
12
11
  configInput: {};
13
- output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>;
12
+ output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
14
13
  inputs: {};
15
- params: <TApi, TImpl extends TApi, TDeps extends { [name in string]: unknown; }>(params: _backstage_core_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_core_plugin_api.AnyApiFactory>;
14
+ 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>;
16
15
  }>;
17
16
  /** @alpha */
18
- declare const vcfDeploymentOverviewCard: _backstage_frontend_plugin_api.ExtensionDefinition<{
17
+ declare const vcfDeploymentOverviewCard: _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
19
18
  kind: "entity-card";
20
19
  name: "vcf-automation.deployment-overview";
21
20
  config: {
@@ -41,7 +40,7 @@ declare const vcfDeploymentOverviewCard: _backstage_frontend_plugin_api.Extensio
41
40
  };
42
41
  }>;
43
42
  /** @alpha */
44
- declare const vcfDeploymentContent: _backstage_frontend_plugin_api.ExtensionDefinition<{
43
+ declare const vcfDeploymentContent: _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
45
44
  kind: "entity-content";
46
45
  name: "vcf-automation.deployment-details";
47
46
  config: {
@@ -79,7 +78,7 @@ declare const vcfDeploymentContent: _backstage_frontend_plugin_api.ExtensionDefi
79
78
  };
80
79
  }>;
81
80
  /** @alpha */
82
- declare const vcfVSphereVMOverviewCard: _backstage_frontend_plugin_api.ExtensionDefinition<{
81
+ declare const vcfVSphereVMOverviewCard: _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
83
82
  kind: "entity-card";
84
83
  name: "vcf-automation.vsphere-vm-overview";
85
84
  config: {
@@ -105,7 +104,7 @@ declare const vcfVSphereVMOverviewCard: _backstage_frontend_plugin_api.Extension
105
104
  };
106
105
  }>;
107
106
  /** @alpha */
108
- declare const vcfVSphereVMContent: _backstage_frontend_plugin_api.ExtensionDefinition<{
107
+ declare const vcfVSphereVMContent: _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
109
108
  kind: "entity-content";
110
109
  name: "vcf-automation.vsphere-vm-details";
111
110
  config: {
@@ -143,7 +142,7 @@ declare const vcfVSphereVMContent: _backstage_frontend_plugin_api.ExtensionDefin
143
142
  };
144
143
  }>;
145
144
  /** @alpha */
146
- declare const vcfProjectOverviewCard: _backstage_frontend_plugin_api.ExtensionDefinition<{
145
+ declare const vcfProjectOverviewCard: _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
147
146
  kind: "entity-card";
148
147
  name: "vcf-automation.project-overview";
149
148
  config: {
@@ -169,7 +168,7 @@ declare const vcfProjectOverviewCard: _backstage_frontend_plugin_api.ExtensionDe
169
168
  };
170
169
  }>;
171
170
  /** @alpha */
172
- declare const vcfProjectContent: _backstage_frontend_plugin_api.ExtensionDefinition<{
171
+ declare const vcfProjectContent: _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
173
172
  kind: "entity-content";
174
173
  name: "vcf-automation.project-details";
175
174
  config: {
@@ -207,7 +206,7 @@ declare const vcfProjectContent: _backstage_frontend_plugin_api.ExtensionDefinit
207
206
  };
208
207
  }>;
209
208
  /** @alpha */
210
- declare const vcfGenericResourceOverviewCard: _backstage_frontend_plugin_api.ExtensionDefinition<{
209
+ declare const vcfGenericResourceOverviewCard: _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
211
210
  kind: "entity-card";
212
211
  name: "vcf-automation.generic-resource-overview";
213
212
  config: {
@@ -233,7 +232,7 @@ declare const vcfGenericResourceOverviewCard: _backstage_frontend_plugin_api.Ext
233
232
  };
234
233
  }>;
235
234
  /** @alpha */
236
- declare const vcfGenericResourceContent: _backstage_frontend_plugin_api.ExtensionDefinition<{
235
+ declare const vcfGenericResourceContent: _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
237
236
  kind: "entity-content";
238
237
  name: "vcf-automation.generic-resource-details";
239
238
  config: {
@@ -271,7 +270,7 @@ declare const vcfGenericResourceContent: _backstage_frontend_plugin_api.Extensio
271
270
  };
272
271
  }>;
273
272
  /** @alpha */
274
- declare const vcfCCINamespaceOverviewCard: _backstage_frontend_plugin_api.ExtensionDefinition<{
273
+ declare const vcfCCINamespaceOverviewCard: _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
275
274
  kind: "entity-card";
276
275
  name: "vcf-automation.cci-namespace-overview";
277
276
  config: {
@@ -297,7 +296,7 @@ declare const vcfCCINamespaceOverviewCard: _backstage_frontend_plugin_api.Extens
297
296
  };
298
297
  }>;
299
298
  /** @alpha */
300
- declare const vcfCCINamespaceContent: _backstage_frontend_plugin_api.ExtensionDefinition<{
299
+ declare const vcfCCINamespaceContent: _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
301
300
  kind: "entity-content";
302
301
  name: "vcf-automation.cci-namespace-details";
303
302
  config: {
@@ -335,7 +334,7 @@ declare const vcfCCINamespaceContent: _backstage_frontend_plugin_api.ExtensionDe
335
334
  };
336
335
  }>;
337
336
  /** @alpha */
338
- declare const vcfCCIResourceOverviewCard: _backstage_frontend_plugin_api.ExtensionDefinition<{
337
+ declare const vcfCCIResourceOverviewCard: _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
339
338
  kind: "entity-card";
340
339
  name: "vcf-automation.cci-resource-overview";
341
340
  config: {
@@ -361,7 +360,7 @@ declare const vcfCCIResourceOverviewCard: _backstage_frontend_plugin_api.Extensi
361
360
  };
362
361
  }>;
363
362
  /** @alpha */
364
- declare const vcfCCIResourceContent: _backstage_frontend_plugin_api.ExtensionDefinition<{
363
+ declare const vcfCCIResourceContent: _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
365
364
  kind: "entity-content";
366
365
  name: "vcf-automation.cci-resource-details";
367
366
  config: {
@@ -400,16 +399,16 @@ declare const vcfCCIResourceContent: _backstage_frontend_plugin_api.ExtensionDef
400
399
  }>;
401
400
  /** @alpha */
402
401
  declare const vcfAutomationPlugin: _backstage_frontend_plugin_api.OverridableFrontendPlugin<{}, {}, {
403
- "api:vcf-automation/vcfAutomationApi": _backstage_frontend_plugin_api.ExtensionDefinition<{
402
+ "api:vcf-automation/vcfAutomationApi": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
404
403
  kind: "api";
405
404
  name: "vcfAutomationApi";
406
405
  config: {};
407
406
  configInput: {};
408
- output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>;
407
+ output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
409
408
  inputs: {};
410
- params: <TApi, TImpl extends TApi, TDeps extends { [name in string]: unknown; }>(params: _backstage_core_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_core_plugin_api.AnyApiFactory>;
409
+ 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>;
411
410
  }>;
412
- "entity-card:vcf-automation/vcf-automation.cci-namespace-overview": _backstage_frontend_plugin_api.ExtensionDefinition<{
411
+ "entity-card:vcf-automation/vcf-automation.cci-namespace-overview": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
413
412
  kind: "entity-card";
414
413
  name: "vcf-automation.cci-namespace-overview";
415
414
  config: {
@@ -434,7 +433,7 @@ declare const vcfAutomationPlugin: _backstage_frontend_plugin_api.OverridableFro
434
433
  type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
435
434
  };
436
435
  }>;
437
- "entity-card:vcf-automation/vcf-automation.cci-resource-overview": _backstage_frontend_plugin_api.ExtensionDefinition<{
436
+ "entity-card:vcf-automation/vcf-automation.cci-resource-overview": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
438
437
  kind: "entity-card";
439
438
  name: "vcf-automation.cci-resource-overview";
440
439
  config: {
@@ -459,7 +458,7 @@ declare const vcfAutomationPlugin: _backstage_frontend_plugin_api.OverridableFro
459
458
  type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
460
459
  };
461
460
  }>;
462
- "entity-card:vcf-automation/vcf-automation.deployment-overview": _backstage_frontend_plugin_api.ExtensionDefinition<{
461
+ "entity-card:vcf-automation/vcf-automation.deployment-overview": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
463
462
  kind: "entity-card";
464
463
  name: "vcf-automation.deployment-overview";
465
464
  config: {
@@ -484,7 +483,7 @@ declare const vcfAutomationPlugin: _backstage_frontend_plugin_api.OverridableFro
484
483
  type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
485
484
  };
486
485
  }>;
487
- "entity-card:vcf-automation/vcf-automation.generic-resource-overview": _backstage_frontend_plugin_api.ExtensionDefinition<{
486
+ "entity-card:vcf-automation/vcf-automation.generic-resource-overview": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
488
487
  kind: "entity-card";
489
488
  name: "vcf-automation.generic-resource-overview";
490
489
  config: {
@@ -509,7 +508,7 @@ declare const vcfAutomationPlugin: _backstage_frontend_plugin_api.OverridableFro
509
508
  type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
510
509
  };
511
510
  }>;
512
- "entity-card:vcf-automation/vcf-automation.project-overview": _backstage_frontend_plugin_api.ExtensionDefinition<{
511
+ "entity-card:vcf-automation/vcf-automation.project-overview": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
513
512
  kind: "entity-card";
514
513
  name: "vcf-automation.project-overview";
515
514
  config: {
@@ -534,7 +533,7 @@ declare const vcfAutomationPlugin: _backstage_frontend_plugin_api.OverridableFro
534
533
  type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
535
534
  };
536
535
  }>;
537
- "entity-card:vcf-automation/vcf-automation.vsphere-vm-overview": _backstage_frontend_plugin_api.ExtensionDefinition<{
536
+ "entity-card:vcf-automation/vcf-automation.vsphere-vm-overview": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
538
537
  kind: "entity-card";
539
538
  name: "vcf-automation.vsphere-vm-overview";
540
539
  config: {
@@ -559,7 +558,7 @@ declare const vcfAutomationPlugin: _backstage_frontend_plugin_api.OverridableFro
559
558
  type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
560
559
  };
561
560
  }>;
562
- "entity-content:vcf-automation/vcf-automation.cci-namespace-details": _backstage_frontend_plugin_api.ExtensionDefinition<{
561
+ "entity-content:vcf-automation/vcf-automation.cci-namespace-details": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
563
562
  kind: "entity-content";
564
563
  name: "vcf-automation.cci-namespace-details";
565
564
  config: {
@@ -596,7 +595,7 @@ declare const vcfAutomationPlugin: _backstage_frontend_plugin_api.OverridableFro
596
595
  filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
597
596
  };
598
597
  }>;
599
- "entity-content:vcf-automation/vcf-automation.cci-resource-details": _backstage_frontend_plugin_api.ExtensionDefinition<{
598
+ "entity-content:vcf-automation/vcf-automation.cci-resource-details": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
600
599
  kind: "entity-content";
601
600
  name: "vcf-automation.cci-resource-details";
602
601
  config: {
@@ -633,7 +632,7 @@ declare const vcfAutomationPlugin: _backstage_frontend_plugin_api.OverridableFro
633
632
  filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
634
633
  };
635
634
  }>;
636
- "entity-content:vcf-automation/vcf-automation.deployment-details": _backstage_frontend_plugin_api.ExtensionDefinition<{
635
+ "entity-content:vcf-automation/vcf-automation.deployment-details": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
637
636
  kind: "entity-content";
638
637
  name: "vcf-automation.deployment-details";
639
638
  config: {
@@ -670,7 +669,7 @@ declare const vcfAutomationPlugin: _backstage_frontend_plugin_api.OverridableFro
670
669
  filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
671
670
  };
672
671
  }>;
673
- "entity-content:vcf-automation/vcf-automation.generic-resource-details": _backstage_frontend_plugin_api.ExtensionDefinition<{
672
+ "entity-content:vcf-automation/vcf-automation.generic-resource-details": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
674
673
  kind: "entity-content";
675
674
  name: "vcf-automation.generic-resource-details";
676
675
  config: {
@@ -707,7 +706,7 @@ declare const vcfAutomationPlugin: _backstage_frontend_plugin_api.OverridableFro
707
706
  filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
708
707
  };
709
708
  }>;
710
- "entity-content:vcf-automation/vcf-automation.project-details": _backstage_frontend_plugin_api.ExtensionDefinition<{
709
+ "entity-content:vcf-automation/vcf-automation.project-details": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
711
710
  kind: "entity-content";
712
711
  name: "vcf-automation.project-details";
713
712
  config: {
@@ -744,7 +743,7 @@ declare const vcfAutomationPlugin: _backstage_frontend_plugin_api.OverridableFro
744
743
  filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
745
744
  };
746
745
  }>;
747
- "entity-content:vcf-automation/vcf-automation.vsphere-vm-details": _backstage_frontend_plugin_api.ExtensionDefinition<{
746
+ "entity-content:vcf-automation/vcf-automation.vsphere-vm-details": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
748
747
  kind: "entity-content";
749
748
  name: "vcf-automation.vsphere-vm-details";
750
749
  config: {
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
2
2
  import { DiscoveryApi, IdentityApi } from '@backstage/core-plugin-api';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import react__default from 'react';
5
+ import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
5
6
 
6
7
  declare const vcfAutomationPlugin: _backstage_core_plugin_api.BackstagePlugin<{
7
8
  root: _backstage_core_plugin_api.RouteRef<undefined>;
@@ -464,7 +465,7 @@ interface VcfAutomationApi {
464
465
  getSupervisorResourceManifest(namespaceUrnId: string, namespaceName: string, resourceName: string, apiVersion: string, kind: string, instanceName?: string): Promise<any>;
465
466
  updateSupervisorResourceManifest(namespaceUrnId: string, namespaceName: string, resourceName: string, apiVersion: string, kind: string, manifest: any, instanceName?: string): Promise<any>;
466
467
  }
467
- declare const vcfAutomationApiRef: _backstage_core_plugin_api.ApiRef<VcfAutomationApi>;
468
+ declare const vcfAutomationApiRef: _backstage_frontend_plugin_api.ApiRef<VcfAutomationApi>;
468
469
  declare class VcfAutomationClient implements VcfAutomationApi {
469
470
  private readonly discoveryApi;
470
471
  private readonly identityApi;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@terasky/backstage-plugin-vcf-automation",
3
- "version": "1.5.3",
3
+ "version": "1.7.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",
@@ -36,17 +36,17 @@
36
36
  "postpack": "backstage-cli package postpack"
37
37
  },
38
38
  "dependencies": {
39
- "@backstage/core-components": "^0.18.2",
40
- "@backstage/core-plugin-api": "^1.11.1",
41
- "@backstage/frontend-plugin-api": "^0.12.1",
42
- "@backstage/plugin-catalog-react": "^1.21.2",
43
- "@backstage/plugin-permission-react": "^0.4.37",
44
- "@backstage/theme": "^0.7.0",
39
+ "@backstage/core-components": "^0.18.4",
40
+ "@backstage/core-plugin-api": "^1.12.1",
41
+ "@backstage/frontend-plugin-api": "^0.13.2",
42
+ "@backstage/plugin-catalog-react": "^1.21.4",
43
+ "@backstage/plugin-permission-react": "^0.4.39",
44
+ "@backstage/theme": "^0.7.1",
45
45
  "@material-ui/core": "^4.12.4",
46
46
  "@material-ui/icons": "^4.11.3",
47
47
  "@material-ui/lab": "4.0.0-alpha.61",
48
48
  "@monaco-editor/react": "^4.7.0",
49
- "@terasky/backstage-plugin-vcf-automation-common": "^1.2.5",
49
+ "@terasky/backstage-plugin-vcf-automation-common": "^1.2.7",
50
50
  "js-yaml": "^4.1.0",
51
51
  "react-use": "^17.6.0"
52
52
  },
@@ -56,10 +56,10 @@
56
56
  "react-router-dom": "6.0.0-beta.0 || ^6.3.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@backstage/cli": "^0.34.4",
60
- "@backstage/core-app-api": "^1.19.1",
61
- "@backstage/dev-utils": "^1.1.16",
62
- "@backstage/test-utils": "^1.7.12",
59
+ "@backstage/cli": "^0.35.1",
60
+ "@backstage/core-app-api": "^1.19.3",
61
+ "@backstage/dev-utils": "^1.1.18",
62
+ "@backstage/test-utils": "^1.7.14",
63
63
  "@testing-library/jest-dom": "^5.10.1",
64
64
  "@testing-library/react": "^12.1.3",
65
65
  "@testing-library/user-event": "^14.0.0",