@terasky/backstage-plugin-vcf-automation 1.3.1 → 1.4.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 +786 -0
- package/dist/alpha.esm.js +177 -0
- package/dist/alpha.esm.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/package.json +25 -8
package/dist/alpha.d.ts
ADDED
|
@@ -0,0 +1,786 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import * as _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
|
|
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
|
+
import { Entity } from '@backstage/catalog-model';
|
|
6
|
+
|
|
7
|
+
/** @alpha */
|
|
8
|
+
declare const vcfAutomationApi: _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
9
|
+
kind: "api";
|
|
10
|
+
name: "vcfAutomationApi";
|
|
11
|
+
config: {};
|
|
12
|
+
configInput: {};
|
|
13
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>;
|
|
14
|
+
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>;
|
|
16
|
+
}>;
|
|
17
|
+
/** @alpha */
|
|
18
|
+
declare const vcfDeploymentOverviewCard: _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
19
|
+
kind: "entity-card";
|
|
20
|
+
name: "vcf-automation.deployment-overview";
|
|
21
|
+
config: {
|
|
22
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
23
|
+
type: "content" | "summary" | "info" | undefined;
|
|
24
|
+
};
|
|
25
|
+
configInput: {
|
|
26
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
27
|
+
type?: "content" | "summary" | "info" | undefined;
|
|
28
|
+
};
|
|
29
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
30
|
+
optional: true;
|
|
31
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
32
|
+
optional: true;
|
|
33
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
34
|
+
optional: true;
|
|
35
|
+
}>;
|
|
36
|
+
inputs: {};
|
|
37
|
+
params: {
|
|
38
|
+
loader: () => Promise<JSX.Element>;
|
|
39
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
|
|
40
|
+
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
41
|
+
};
|
|
42
|
+
}>;
|
|
43
|
+
/** @alpha */
|
|
44
|
+
declare const vcfDeploymentContent: _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
45
|
+
kind: "entity-content";
|
|
46
|
+
name: "vcf-automation.deployment-details";
|
|
47
|
+
config: {
|
|
48
|
+
path: string | undefined;
|
|
49
|
+
title: string | undefined;
|
|
50
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
51
|
+
group: string | false | undefined;
|
|
52
|
+
};
|
|
53
|
+
configInput: {
|
|
54
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
55
|
+
title?: string | undefined;
|
|
56
|
+
path?: string | undefined;
|
|
57
|
+
group?: string | false | undefined;
|
|
58
|
+
};
|
|
59
|
+
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", {
|
|
60
|
+
optional: true;
|
|
61
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
62
|
+
optional: true;
|
|
63
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
64
|
+
optional: true;
|
|
65
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
66
|
+
optional: true;
|
|
67
|
+
}>;
|
|
68
|
+
inputs: {};
|
|
69
|
+
params: {
|
|
70
|
+
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
71
|
+
path: string;
|
|
72
|
+
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
73
|
+
title: string;
|
|
74
|
+
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
75
|
+
group?: ("development" | "deployment" | "documentation" | "operation" | "overview" | "observability") | (string & {});
|
|
76
|
+
loader: () => Promise<JSX.Element>;
|
|
77
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
78
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
|
|
79
|
+
};
|
|
80
|
+
}>;
|
|
81
|
+
/** @alpha */
|
|
82
|
+
declare const vcfVSphereVMOverviewCard: _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
83
|
+
kind: "entity-card";
|
|
84
|
+
name: "vcf-automation.vsphere-vm-overview";
|
|
85
|
+
config: {
|
|
86
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
87
|
+
type: "content" | "summary" | "info" | undefined;
|
|
88
|
+
};
|
|
89
|
+
configInput: {
|
|
90
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
91
|
+
type?: "content" | "summary" | "info" | undefined;
|
|
92
|
+
};
|
|
93
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
94
|
+
optional: true;
|
|
95
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
96
|
+
optional: true;
|
|
97
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
98
|
+
optional: true;
|
|
99
|
+
}>;
|
|
100
|
+
inputs: {};
|
|
101
|
+
params: {
|
|
102
|
+
loader: () => Promise<JSX.Element>;
|
|
103
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
|
|
104
|
+
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
105
|
+
};
|
|
106
|
+
}>;
|
|
107
|
+
/** @alpha */
|
|
108
|
+
declare const vcfVSphereVMContent: _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
109
|
+
kind: "entity-content";
|
|
110
|
+
name: "vcf-automation.vsphere-vm-details";
|
|
111
|
+
config: {
|
|
112
|
+
path: string | undefined;
|
|
113
|
+
title: string | undefined;
|
|
114
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
115
|
+
group: string | false | undefined;
|
|
116
|
+
};
|
|
117
|
+
configInput: {
|
|
118
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
119
|
+
title?: string | undefined;
|
|
120
|
+
path?: string | undefined;
|
|
121
|
+
group?: string | false | undefined;
|
|
122
|
+
};
|
|
123
|
+
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", {
|
|
124
|
+
optional: true;
|
|
125
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
126
|
+
optional: true;
|
|
127
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
128
|
+
optional: true;
|
|
129
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
130
|
+
optional: true;
|
|
131
|
+
}>;
|
|
132
|
+
inputs: {};
|
|
133
|
+
params: {
|
|
134
|
+
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
135
|
+
path: string;
|
|
136
|
+
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
137
|
+
title: string;
|
|
138
|
+
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
139
|
+
group?: ("development" | "deployment" | "documentation" | "operation" | "overview" | "observability") | (string & {});
|
|
140
|
+
loader: () => Promise<JSX.Element>;
|
|
141
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
142
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
|
|
143
|
+
};
|
|
144
|
+
}>;
|
|
145
|
+
/** @alpha */
|
|
146
|
+
declare const vcfProjectOverviewCard: _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
147
|
+
kind: "entity-card";
|
|
148
|
+
name: "vcf-automation.project-overview";
|
|
149
|
+
config: {
|
|
150
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
151
|
+
type: "content" | "summary" | "info" | undefined;
|
|
152
|
+
};
|
|
153
|
+
configInput: {
|
|
154
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
155
|
+
type?: "content" | "summary" | "info" | undefined;
|
|
156
|
+
};
|
|
157
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
158
|
+
optional: true;
|
|
159
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
160
|
+
optional: true;
|
|
161
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
162
|
+
optional: true;
|
|
163
|
+
}>;
|
|
164
|
+
inputs: {};
|
|
165
|
+
params: {
|
|
166
|
+
loader: () => Promise<JSX.Element>;
|
|
167
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
|
|
168
|
+
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
169
|
+
};
|
|
170
|
+
}>;
|
|
171
|
+
/** @alpha */
|
|
172
|
+
declare const vcfProjectContent: _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
173
|
+
kind: "entity-content";
|
|
174
|
+
name: "vcf-automation.project-details";
|
|
175
|
+
config: {
|
|
176
|
+
path: string | undefined;
|
|
177
|
+
title: string | undefined;
|
|
178
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
179
|
+
group: string | false | undefined;
|
|
180
|
+
};
|
|
181
|
+
configInput: {
|
|
182
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
183
|
+
title?: string | undefined;
|
|
184
|
+
path?: string | undefined;
|
|
185
|
+
group?: string | false | undefined;
|
|
186
|
+
};
|
|
187
|
+
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", {
|
|
188
|
+
optional: true;
|
|
189
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
190
|
+
optional: true;
|
|
191
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
192
|
+
optional: true;
|
|
193
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
194
|
+
optional: true;
|
|
195
|
+
}>;
|
|
196
|
+
inputs: {};
|
|
197
|
+
params: {
|
|
198
|
+
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
199
|
+
path: string;
|
|
200
|
+
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
201
|
+
title: string;
|
|
202
|
+
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
203
|
+
group?: ("development" | "deployment" | "documentation" | "operation" | "overview" | "observability") | (string & {});
|
|
204
|
+
loader: () => Promise<JSX.Element>;
|
|
205
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
206
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
|
|
207
|
+
};
|
|
208
|
+
}>;
|
|
209
|
+
/** @alpha */
|
|
210
|
+
declare const vcfGenericResourceOverviewCard: _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
211
|
+
kind: "entity-card";
|
|
212
|
+
name: "vcf-automation.generic-resource-overview";
|
|
213
|
+
config: {
|
|
214
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
215
|
+
type: "content" | "summary" | "info" | undefined;
|
|
216
|
+
};
|
|
217
|
+
configInput: {
|
|
218
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
219
|
+
type?: "content" | "summary" | "info" | undefined;
|
|
220
|
+
};
|
|
221
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
222
|
+
optional: true;
|
|
223
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
224
|
+
optional: true;
|
|
225
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
226
|
+
optional: true;
|
|
227
|
+
}>;
|
|
228
|
+
inputs: {};
|
|
229
|
+
params: {
|
|
230
|
+
loader: () => Promise<JSX.Element>;
|
|
231
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
|
|
232
|
+
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
233
|
+
};
|
|
234
|
+
}>;
|
|
235
|
+
/** @alpha */
|
|
236
|
+
declare const vcfGenericResourceContent: _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
237
|
+
kind: "entity-content";
|
|
238
|
+
name: "vcf-automation.generic-resource-details";
|
|
239
|
+
config: {
|
|
240
|
+
path: string | undefined;
|
|
241
|
+
title: string | undefined;
|
|
242
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
243
|
+
group: string | false | undefined;
|
|
244
|
+
};
|
|
245
|
+
configInput: {
|
|
246
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
247
|
+
title?: string | undefined;
|
|
248
|
+
path?: string | undefined;
|
|
249
|
+
group?: string | false | undefined;
|
|
250
|
+
};
|
|
251
|
+
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", {
|
|
252
|
+
optional: true;
|
|
253
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
254
|
+
optional: true;
|
|
255
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
256
|
+
optional: true;
|
|
257
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
258
|
+
optional: true;
|
|
259
|
+
}>;
|
|
260
|
+
inputs: {};
|
|
261
|
+
params: {
|
|
262
|
+
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
263
|
+
path: string;
|
|
264
|
+
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
265
|
+
title: string;
|
|
266
|
+
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
267
|
+
group?: ("development" | "deployment" | "documentation" | "operation" | "overview" | "observability") | (string & {});
|
|
268
|
+
loader: () => Promise<JSX.Element>;
|
|
269
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
270
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
|
|
271
|
+
};
|
|
272
|
+
}>;
|
|
273
|
+
/** @alpha */
|
|
274
|
+
declare const vcfCCINamespaceOverviewCard: _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
275
|
+
kind: "entity-card";
|
|
276
|
+
name: "vcf-automation.cci-namespace-overview";
|
|
277
|
+
config: {
|
|
278
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
279
|
+
type: "content" | "summary" | "info" | undefined;
|
|
280
|
+
};
|
|
281
|
+
configInput: {
|
|
282
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
283
|
+
type?: "content" | "summary" | "info" | undefined;
|
|
284
|
+
};
|
|
285
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
286
|
+
optional: true;
|
|
287
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
288
|
+
optional: true;
|
|
289
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
290
|
+
optional: true;
|
|
291
|
+
}>;
|
|
292
|
+
inputs: {};
|
|
293
|
+
params: {
|
|
294
|
+
loader: () => Promise<JSX.Element>;
|
|
295
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
|
|
296
|
+
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
297
|
+
};
|
|
298
|
+
}>;
|
|
299
|
+
/** @alpha */
|
|
300
|
+
declare const vcfCCINamespaceContent: _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
301
|
+
kind: "entity-content";
|
|
302
|
+
name: "vcf-automation.cci-namespace-details";
|
|
303
|
+
config: {
|
|
304
|
+
path: string | undefined;
|
|
305
|
+
title: string | undefined;
|
|
306
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
307
|
+
group: string | false | undefined;
|
|
308
|
+
};
|
|
309
|
+
configInput: {
|
|
310
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
311
|
+
title?: string | undefined;
|
|
312
|
+
path?: string | undefined;
|
|
313
|
+
group?: string | false | undefined;
|
|
314
|
+
};
|
|
315
|
+
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", {
|
|
316
|
+
optional: true;
|
|
317
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
318
|
+
optional: true;
|
|
319
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
320
|
+
optional: true;
|
|
321
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
322
|
+
optional: true;
|
|
323
|
+
}>;
|
|
324
|
+
inputs: {};
|
|
325
|
+
params: {
|
|
326
|
+
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
327
|
+
path: string;
|
|
328
|
+
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
329
|
+
title: string;
|
|
330
|
+
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
331
|
+
group?: ("development" | "deployment" | "documentation" | "operation" | "overview" | "observability") | (string & {});
|
|
332
|
+
loader: () => Promise<JSX.Element>;
|
|
333
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
334
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
|
|
335
|
+
};
|
|
336
|
+
}>;
|
|
337
|
+
/** @alpha */
|
|
338
|
+
declare const vcfCCIResourceOverviewCard: _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
339
|
+
kind: "entity-card";
|
|
340
|
+
name: "vcf-automation.cci-resource-overview";
|
|
341
|
+
config: {
|
|
342
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
343
|
+
type: "content" | "summary" | "info" | undefined;
|
|
344
|
+
};
|
|
345
|
+
configInput: {
|
|
346
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
347
|
+
type?: "content" | "summary" | "info" | undefined;
|
|
348
|
+
};
|
|
349
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
350
|
+
optional: true;
|
|
351
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
352
|
+
optional: true;
|
|
353
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
354
|
+
optional: true;
|
|
355
|
+
}>;
|
|
356
|
+
inputs: {};
|
|
357
|
+
params: {
|
|
358
|
+
loader: () => Promise<JSX.Element>;
|
|
359
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
|
|
360
|
+
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
361
|
+
};
|
|
362
|
+
}>;
|
|
363
|
+
/** @alpha */
|
|
364
|
+
declare const vcfCCIResourceContent: _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
365
|
+
kind: "entity-content";
|
|
366
|
+
name: "vcf-automation.cci-resource-details";
|
|
367
|
+
config: {
|
|
368
|
+
path: string | undefined;
|
|
369
|
+
title: string | undefined;
|
|
370
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
371
|
+
group: string | false | undefined;
|
|
372
|
+
};
|
|
373
|
+
configInput: {
|
|
374
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
375
|
+
title?: string | undefined;
|
|
376
|
+
path?: string | undefined;
|
|
377
|
+
group?: string | false | undefined;
|
|
378
|
+
};
|
|
379
|
+
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", {
|
|
380
|
+
optional: true;
|
|
381
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
382
|
+
optional: true;
|
|
383
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
384
|
+
optional: true;
|
|
385
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
386
|
+
optional: true;
|
|
387
|
+
}>;
|
|
388
|
+
inputs: {};
|
|
389
|
+
params: {
|
|
390
|
+
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
391
|
+
path: string;
|
|
392
|
+
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
393
|
+
title: string;
|
|
394
|
+
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
395
|
+
group?: ("development" | "deployment" | "documentation" | "operation" | "overview" | "observability") | (string & {});
|
|
396
|
+
loader: () => Promise<JSX.Element>;
|
|
397
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
398
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
|
|
399
|
+
};
|
|
400
|
+
}>;
|
|
401
|
+
/** @alpha */
|
|
402
|
+
declare const vcfAutomationPlugin: _backstage_frontend_plugin_api.OverridableFrontendPlugin<{}, {}, {
|
|
403
|
+
"api:vcf-automation/vcfAutomationApi": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
404
|
+
kind: "api";
|
|
405
|
+
name: "vcfAutomationApi";
|
|
406
|
+
config: {};
|
|
407
|
+
configInput: {};
|
|
408
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>;
|
|
409
|
+
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>;
|
|
411
|
+
}>;
|
|
412
|
+
"entity-card:vcf-automation/vcf-automation.cci-namespace-overview": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
413
|
+
kind: "entity-card";
|
|
414
|
+
name: "vcf-automation.cci-namespace-overview";
|
|
415
|
+
config: {
|
|
416
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
417
|
+
type: "content" | "summary" | "info" | undefined;
|
|
418
|
+
};
|
|
419
|
+
configInput: {
|
|
420
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
421
|
+
type?: "content" | "summary" | "info" | undefined;
|
|
422
|
+
};
|
|
423
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
424
|
+
optional: true;
|
|
425
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
426
|
+
optional: true;
|
|
427
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
428
|
+
optional: true;
|
|
429
|
+
}>;
|
|
430
|
+
inputs: {};
|
|
431
|
+
params: {
|
|
432
|
+
loader: () => Promise<JSX.Element>;
|
|
433
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
|
|
434
|
+
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
435
|
+
};
|
|
436
|
+
}>;
|
|
437
|
+
"entity-card:vcf-automation/vcf-automation.cci-resource-overview": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
438
|
+
kind: "entity-card";
|
|
439
|
+
name: "vcf-automation.cci-resource-overview";
|
|
440
|
+
config: {
|
|
441
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
442
|
+
type: "content" | "summary" | "info" | undefined;
|
|
443
|
+
};
|
|
444
|
+
configInput: {
|
|
445
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
446
|
+
type?: "content" | "summary" | "info" | undefined;
|
|
447
|
+
};
|
|
448
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
449
|
+
optional: true;
|
|
450
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
451
|
+
optional: true;
|
|
452
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
453
|
+
optional: true;
|
|
454
|
+
}>;
|
|
455
|
+
inputs: {};
|
|
456
|
+
params: {
|
|
457
|
+
loader: () => Promise<JSX.Element>;
|
|
458
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
|
|
459
|
+
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
460
|
+
};
|
|
461
|
+
}>;
|
|
462
|
+
"entity-card:vcf-automation/vcf-automation.deployment-overview": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
463
|
+
kind: "entity-card";
|
|
464
|
+
name: "vcf-automation.deployment-overview";
|
|
465
|
+
config: {
|
|
466
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
467
|
+
type: "content" | "summary" | "info" | undefined;
|
|
468
|
+
};
|
|
469
|
+
configInput: {
|
|
470
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
471
|
+
type?: "content" | "summary" | "info" | undefined;
|
|
472
|
+
};
|
|
473
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
474
|
+
optional: true;
|
|
475
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
476
|
+
optional: true;
|
|
477
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
478
|
+
optional: true;
|
|
479
|
+
}>;
|
|
480
|
+
inputs: {};
|
|
481
|
+
params: {
|
|
482
|
+
loader: () => Promise<JSX.Element>;
|
|
483
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
|
|
484
|
+
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
485
|
+
};
|
|
486
|
+
}>;
|
|
487
|
+
"entity-card:vcf-automation/vcf-automation.generic-resource-overview": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
488
|
+
kind: "entity-card";
|
|
489
|
+
name: "vcf-automation.generic-resource-overview";
|
|
490
|
+
config: {
|
|
491
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
492
|
+
type: "content" | "summary" | "info" | undefined;
|
|
493
|
+
};
|
|
494
|
+
configInput: {
|
|
495
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
496
|
+
type?: "content" | "summary" | "info" | undefined;
|
|
497
|
+
};
|
|
498
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
499
|
+
optional: true;
|
|
500
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
501
|
+
optional: true;
|
|
502
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
503
|
+
optional: true;
|
|
504
|
+
}>;
|
|
505
|
+
inputs: {};
|
|
506
|
+
params: {
|
|
507
|
+
loader: () => Promise<JSX.Element>;
|
|
508
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
|
|
509
|
+
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
510
|
+
};
|
|
511
|
+
}>;
|
|
512
|
+
"entity-card:vcf-automation/vcf-automation.project-overview": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
513
|
+
kind: "entity-card";
|
|
514
|
+
name: "vcf-automation.project-overview";
|
|
515
|
+
config: {
|
|
516
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
517
|
+
type: "content" | "summary" | "info" | undefined;
|
|
518
|
+
};
|
|
519
|
+
configInput: {
|
|
520
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
521
|
+
type?: "content" | "summary" | "info" | undefined;
|
|
522
|
+
};
|
|
523
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
524
|
+
optional: true;
|
|
525
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
526
|
+
optional: true;
|
|
527
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
528
|
+
optional: true;
|
|
529
|
+
}>;
|
|
530
|
+
inputs: {};
|
|
531
|
+
params: {
|
|
532
|
+
loader: () => Promise<JSX.Element>;
|
|
533
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
|
|
534
|
+
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
535
|
+
};
|
|
536
|
+
}>;
|
|
537
|
+
"entity-card:vcf-automation/vcf-automation.vsphere-vm-overview": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
538
|
+
kind: "entity-card";
|
|
539
|
+
name: "vcf-automation.vsphere-vm-overview";
|
|
540
|
+
config: {
|
|
541
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
542
|
+
type: "content" | "summary" | "info" | undefined;
|
|
543
|
+
};
|
|
544
|
+
configInput: {
|
|
545
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
546
|
+
type?: "content" | "summary" | "info" | undefined;
|
|
547
|
+
};
|
|
548
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
549
|
+
optional: true;
|
|
550
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
551
|
+
optional: true;
|
|
552
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
553
|
+
optional: true;
|
|
554
|
+
}>;
|
|
555
|
+
inputs: {};
|
|
556
|
+
params: {
|
|
557
|
+
loader: () => Promise<JSX.Element>;
|
|
558
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
|
|
559
|
+
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
560
|
+
};
|
|
561
|
+
}>;
|
|
562
|
+
"entity-content:vcf-automation/vcf-automation.cci-namespace-details": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
563
|
+
kind: "entity-content";
|
|
564
|
+
name: "vcf-automation.cci-namespace-details";
|
|
565
|
+
config: {
|
|
566
|
+
path: string | undefined;
|
|
567
|
+
title: string | undefined;
|
|
568
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
569
|
+
group: string | false | undefined;
|
|
570
|
+
};
|
|
571
|
+
configInput: {
|
|
572
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
573
|
+
title?: string | undefined;
|
|
574
|
+
path?: string | undefined;
|
|
575
|
+
group?: string | false | undefined;
|
|
576
|
+
};
|
|
577
|
+
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", {
|
|
578
|
+
optional: true;
|
|
579
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
580
|
+
optional: true;
|
|
581
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
582
|
+
optional: true;
|
|
583
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
584
|
+
optional: true;
|
|
585
|
+
}>;
|
|
586
|
+
inputs: {};
|
|
587
|
+
params: {
|
|
588
|
+
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
589
|
+
path: string;
|
|
590
|
+
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
591
|
+
title: string;
|
|
592
|
+
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
593
|
+
group?: ("development" | "deployment" | "documentation" | "operation" | "overview" | "observability") | (string & {});
|
|
594
|
+
loader: () => Promise<JSX.Element>;
|
|
595
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
596
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
|
|
597
|
+
};
|
|
598
|
+
}>;
|
|
599
|
+
"entity-content:vcf-automation/vcf-automation.cci-resource-details": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
600
|
+
kind: "entity-content";
|
|
601
|
+
name: "vcf-automation.cci-resource-details";
|
|
602
|
+
config: {
|
|
603
|
+
path: string | undefined;
|
|
604
|
+
title: string | undefined;
|
|
605
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
606
|
+
group: string | false | undefined;
|
|
607
|
+
};
|
|
608
|
+
configInput: {
|
|
609
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
610
|
+
title?: string | undefined;
|
|
611
|
+
path?: string | undefined;
|
|
612
|
+
group?: string | false | undefined;
|
|
613
|
+
};
|
|
614
|
+
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", {
|
|
615
|
+
optional: true;
|
|
616
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
617
|
+
optional: true;
|
|
618
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
619
|
+
optional: true;
|
|
620
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
621
|
+
optional: true;
|
|
622
|
+
}>;
|
|
623
|
+
inputs: {};
|
|
624
|
+
params: {
|
|
625
|
+
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
626
|
+
path: string;
|
|
627
|
+
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
628
|
+
title: string;
|
|
629
|
+
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
630
|
+
group?: ("development" | "deployment" | "documentation" | "operation" | "overview" | "observability") | (string & {});
|
|
631
|
+
loader: () => Promise<JSX.Element>;
|
|
632
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
633
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
|
|
634
|
+
};
|
|
635
|
+
}>;
|
|
636
|
+
"entity-content:vcf-automation/vcf-automation.deployment-details": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
637
|
+
kind: "entity-content";
|
|
638
|
+
name: "vcf-automation.deployment-details";
|
|
639
|
+
config: {
|
|
640
|
+
path: string | undefined;
|
|
641
|
+
title: string | undefined;
|
|
642
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
643
|
+
group: string | false | undefined;
|
|
644
|
+
};
|
|
645
|
+
configInput: {
|
|
646
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
647
|
+
title?: string | undefined;
|
|
648
|
+
path?: string | undefined;
|
|
649
|
+
group?: string | false | undefined;
|
|
650
|
+
};
|
|
651
|
+
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", {
|
|
652
|
+
optional: true;
|
|
653
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
654
|
+
optional: true;
|
|
655
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
656
|
+
optional: true;
|
|
657
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
658
|
+
optional: true;
|
|
659
|
+
}>;
|
|
660
|
+
inputs: {};
|
|
661
|
+
params: {
|
|
662
|
+
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
663
|
+
path: string;
|
|
664
|
+
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
665
|
+
title: string;
|
|
666
|
+
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
667
|
+
group?: ("development" | "deployment" | "documentation" | "operation" | "overview" | "observability") | (string & {});
|
|
668
|
+
loader: () => Promise<JSX.Element>;
|
|
669
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
670
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
|
|
671
|
+
};
|
|
672
|
+
}>;
|
|
673
|
+
"entity-content:vcf-automation/vcf-automation.generic-resource-details": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
674
|
+
kind: "entity-content";
|
|
675
|
+
name: "vcf-automation.generic-resource-details";
|
|
676
|
+
config: {
|
|
677
|
+
path: string | undefined;
|
|
678
|
+
title: string | undefined;
|
|
679
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
680
|
+
group: string | false | undefined;
|
|
681
|
+
};
|
|
682
|
+
configInput: {
|
|
683
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
684
|
+
title?: string | undefined;
|
|
685
|
+
path?: string | undefined;
|
|
686
|
+
group?: string | false | undefined;
|
|
687
|
+
};
|
|
688
|
+
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", {
|
|
689
|
+
optional: true;
|
|
690
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
691
|
+
optional: true;
|
|
692
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
693
|
+
optional: true;
|
|
694
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
695
|
+
optional: true;
|
|
696
|
+
}>;
|
|
697
|
+
inputs: {};
|
|
698
|
+
params: {
|
|
699
|
+
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
700
|
+
path: string;
|
|
701
|
+
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
702
|
+
title: string;
|
|
703
|
+
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
704
|
+
group?: ("development" | "deployment" | "documentation" | "operation" | "overview" | "observability") | (string & {});
|
|
705
|
+
loader: () => Promise<JSX.Element>;
|
|
706
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
707
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
|
|
708
|
+
};
|
|
709
|
+
}>;
|
|
710
|
+
"entity-content:vcf-automation/vcf-automation.project-details": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
711
|
+
kind: "entity-content";
|
|
712
|
+
name: "vcf-automation.project-details";
|
|
713
|
+
config: {
|
|
714
|
+
path: string | undefined;
|
|
715
|
+
title: string | undefined;
|
|
716
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
717
|
+
group: string | false | undefined;
|
|
718
|
+
};
|
|
719
|
+
configInput: {
|
|
720
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
721
|
+
title?: string | undefined;
|
|
722
|
+
path?: string | undefined;
|
|
723
|
+
group?: string | false | undefined;
|
|
724
|
+
};
|
|
725
|
+
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", {
|
|
726
|
+
optional: true;
|
|
727
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
728
|
+
optional: true;
|
|
729
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
730
|
+
optional: true;
|
|
731
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
732
|
+
optional: true;
|
|
733
|
+
}>;
|
|
734
|
+
inputs: {};
|
|
735
|
+
params: {
|
|
736
|
+
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
737
|
+
path: string;
|
|
738
|
+
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
739
|
+
title: string;
|
|
740
|
+
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
741
|
+
group?: ("development" | "deployment" | "documentation" | "operation" | "overview" | "observability") | (string & {});
|
|
742
|
+
loader: () => Promise<JSX.Element>;
|
|
743
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
744
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
|
|
745
|
+
};
|
|
746
|
+
}>;
|
|
747
|
+
"entity-content:vcf-automation/vcf-automation.vsphere-vm-details": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
748
|
+
kind: "entity-content";
|
|
749
|
+
name: "vcf-automation.vsphere-vm-details";
|
|
750
|
+
config: {
|
|
751
|
+
path: string | undefined;
|
|
752
|
+
title: string | undefined;
|
|
753
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
754
|
+
group: string | false | undefined;
|
|
755
|
+
};
|
|
756
|
+
configInput: {
|
|
757
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
758
|
+
title?: string | undefined;
|
|
759
|
+
path?: string | undefined;
|
|
760
|
+
group?: string | false | undefined;
|
|
761
|
+
};
|
|
762
|
+
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", {
|
|
763
|
+
optional: true;
|
|
764
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
765
|
+
optional: true;
|
|
766
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
767
|
+
optional: true;
|
|
768
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
769
|
+
optional: true;
|
|
770
|
+
}>;
|
|
771
|
+
inputs: {};
|
|
772
|
+
params: {
|
|
773
|
+
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
774
|
+
path: string;
|
|
775
|
+
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
776
|
+
title: string;
|
|
777
|
+
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
778
|
+
group?: ("development" | "deployment" | "documentation" | "operation" | "overview" | "observability") | (string & {});
|
|
779
|
+
loader: () => Promise<JSX.Element>;
|
|
780
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
781
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: Entity) => boolean);
|
|
782
|
+
};
|
|
783
|
+
}>;
|
|
784
|
+
}>;
|
|
785
|
+
|
|
786
|
+
export { vcfAutomationApi, vcfAutomationPlugin, vcfCCINamespaceContent, vcfCCINamespaceOverviewCard, vcfCCIResourceContent, vcfCCIResourceOverviewCard, vcfDeploymentContent, vcfDeploymentOverviewCard, vcfGenericResourceContent, vcfGenericResourceOverviewCard, vcfProjectContent, vcfProjectOverviewCard, vcfVSphereVMContent, vcfVSphereVMOverviewCard };
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { ApiBlueprint, createFrontendPlugin } from '@backstage/frontend-plugin-api';
|
|
3
|
+
import { EntityCardBlueprint, EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';
|
|
4
|
+
import { vcfAutomationApiRef, VcfAutomationClient } from './api/VcfAutomationClient.esm.js';
|
|
5
|
+
import { discoveryApiRef, identityApiRef } from '@backstage/core-plugin-api';
|
|
6
|
+
|
|
7
|
+
const isVCFDeployment = (entity) => {
|
|
8
|
+
return entity.spec?.type === "vcf-automation-deployment";
|
|
9
|
+
};
|
|
10
|
+
const isVCFVSphereVM = (entity) => {
|
|
11
|
+
const typeValue = entity.spec?.type;
|
|
12
|
+
if (typeof typeValue === "string") {
|
|
13
|
+
return typeValue.toLowerCase() === "cloud.vsphere.machine";
|
|
14
|
+
}
|
|
15
|
+
return false;
|
|
16
|
+
};
|
|
17
|
+
const isVCFProject = (entity) => {
|
|
18
|
+
return entity.spec?.type === "vcf-automation-project";
|
|
19
|
+
};
|
|
20
|
+
const isVCFGenericResource = (entity) => {
|
|
21
|
+
return entity.metadata.tags?.includes("vcf-automation-resource") && entity.kind === "Resource" || false;
|
|
22
|
+
};
|
|
23
|
+
const isVCFCCINamespace = (entity) => {
|
|
24
|
+
const typeValue = entity.spec?.type;
|
|
25
|
+
if (typeof typeValue === "string") {
|
|
26
|
+
return typeValue.toLowerCase() === "cci.supervisor.namespace";
|
|
27
|
+
}
|
|
28
|
+
return false;
|
|
29
|
+
};
|
|
30
|
+
const isVCFCCIResource = (entity) => {
|
|
31
|
+
const typeValue = entity.spec?.type;
|
|
32
|
+
if (typeof typeValue === "string") {
|
|
33
|
+
return typeValue.toLowerCase() === "cci.supervisor.resource";
|
|
34
|
+
}
|
|
35
|
+
return false;
|
|
36
|
+
};
|
|
37
|
+
const vcfAutomationApi = ApiBlueprint.make({
|
|
38
|
+
name: "vcfAutomationApi",
|
|
39
|
+
params: (defineParams) => defineParams({
|
|
40
|
+
api: vcfAutomationApiRef,
|
|
41
|
+
deps: {
|
|
42
|
+
discoveryApi: discoveryApiRef,
|
|
43
|
+
identityApi: identityApiRef
|
|
44
|
+
},
|
|
45
|
+
factory: ({ discoveryApi, identityApi }) => new VcfAutomationClient({ discoveryApi, identityApi })
|
|
46
|
+
}),
|
|
47
|
+
disabled: false
|
|
48
|
+
});
|
|
49
|
+
const vcfDeploymentOverviewCard = EntityCardBlueprint.make({
|
|
50
|
+
name: "vcf-automation.deployment-overview",
|
|
51
|
+
params: {
|
|
52
|
+
filter: isVCFDeployment,
|
|
53
|
+
loader: () => import('./components/VCFAutomationDeploymentOverview.esm.js').then((m) => /* @__PURE__ */ jsx(m.VCFAutomationDeploymentOverview, {}))
|
|
54
|
+
},
|
|
55
|
+
disabled: false
|
|
56
|
+
});
|
|
57
|
+
const vcfDeploymentContent = EntityContentBlueprint.make({
|
|
58
|
+
name: "vcf-automation.deployment-details",
|
|
59
|
+
params: {
|
|
60
|
+
path: "/vcf-automation-deployment",
|
|
61
|
+
title: "VCF Deployment Details",
|
|
62
|
+
filter: isVCFDeployment,
|
|
63
|
+
loader: () => import('./components/VCFAutomationDeploymentDetails.esm.js').then((m) => /* @__PURE__ */ jsx(m.VCFAutomationDeploymentDetails, {}))
|
|
64
|
+
},
|
|
65
|
+
disabled: false
|
|
66
|
+
});
|
|
67
|
+
const vcfVSphereVMOverviewCard = EntityCardBlueprint.make({
|
|
68
|
+
name: "vcf-automation.vsphere-vm-overview",
|
|
69
|
+
params: {
|
|
70
|
+
filter: isVCFVSphereVM,
|
|
71
|
+
loader: () => import('./components/VCFAutomationVSphereVMOverview.esm.js').then((m) => /* @__PURE__ */ jsx(m.VCFAutomationVSphereVMOverview, {}))
|
|
72
|
+
},
|
|
73
|
+
disabled: false
|
|
74
|
+
});
|
|
75
|
+
const vcfVSphereVMContent = EntityContentBlueprint.make({
|
|
76
|
+
name: "vcf-automation.vsphere-vm-details",
|
|
77
|
+
params: {
|
|
78
|
+
path: "/vcf-automation-vsphere-vm",
|
|
79
|
+
title: "VCF vSphere VM Details",
|
|
80
|
+
filter: isVCFVSphereVM,
|
|
81
|
+
loader: () => import('./components/VCFAutomationVSphereVMDetails.esm.js').then((m) => /* @__PURE__ */ jsx(m.VCFAutomationVSphereVMDetails, {}))
|
|
82
|
+
},
|
|
83
|
+
disabled: false
|
|
84
|
+
});
|
|
85
|
+
const vcfProjectOverviewCard = EntityCardBlueprint.make({
|
|
86
|
+
name: "vcf-automation.project-overview",
|
|
87
|
+
params: {
|
|
88
|
+
filter: isVCFProject,
|
|
89
|
+
loader: () => import('./components/VCFAutomationProjectOverview.esm.js').then((m) => /* @__PURE__ */ jsx(m.VCFAutomationProjectOverview, {}))
|
|
90
|
+
},
|
|
91
|
+
disabled: false
|
|
92
|
+
});
|
|
93
|
+
const vcfProjectContent = EntityContentBlueprint.make({
|
|
94
|
+
name: "vcf-automation.project-details",
|
|
95
|
+
params: {
|
|
96
|
+
path: "/vcf-automation-project",
|
|
97
|
+
title: "VCF Project Details",
|
|
98
|
+
filter: isVCFProject,
|
|
99
|
+
loader: () => import('./components/VCFAutomationProjectDetails.esm.js').then((m) => /* @__PURE__ */ jsx(m.VCFAutomationProjectDetails, {}))
|
|
100
|
+
},
|
|
101
|
+
disabled: false
|
|
102
|
+
});
|
|
103
|
+
const vcfGenericResourceOverviewCard = EntityCardBlueprint.make({
|
|
104
|
+
name: "vcf-automation.generic-resource-overview",
|
|
105
|
+
params: {
|
|
106
|
+
filter: isVCFGenericResource,
|
|
107
|
+
loader: () => import('./components/VCFAutomationGenericResourceOverview.esm.js').then((m) => /* @__PURE__ */ jsx(m.VCFAutomationGenericResourceOverview, {}))
|
|
108
|
+
},
|
|
109
|
+
disabled: false
|
|
110
|
+
});
|
|
111
|
+
const vcfGenericResourceContent = EntityContentBlueprint.make({
|
|
112
|
+
name: "vcf-automation.generic-resource-details",
|
|
113
|
+
params: {
|
|
114
|
+
path: "/vcf-automation-generic-resource",
|
|
115
|
+
title: "VCF Generic Resource Details",
|
|
116
|
+
filter: isVCFGenericResource,
|
|
117
|
+
loader: () => import('./components/VCFAutomationGenericResourceDetails.esm.js').then((m) => /* @__PURE__ */ jsx(m.VCFAutomationGenericResourceDetails, {}))
|
|
118
|
+
},
|
|
119
|
+
disabled: false
|
|
120
|
+
});
|
|
121
|
+
const vcfCCINamespaceOverviewCard = EntityCardBlueprint.make({
|
|
122
|
+
name: "vcf-automation.cci-namespace-overview",
|
|
123
|
+
params: {
|
|
124
|
+
filter: isVCFCCINamespace,
|
|
125
|
+
loader: () => import('./components/VCFAutomationCCINamespaceOverview.esm.js').then((m) => /* @__PURE__ */ jsx(m.VCFAutomationCCINamespaceOverview, {}))
|
|
126
|
+
},
|
|
127
|
+
disabled: false
|
|
128
|
+
});
|
|
129
|
+
const vcfCCINamespaceContent = EntityContentBlueprint.make({
|
|
130
|
+
name: "vcf-automation.cci-namespace-details",
|
|
131
|
+
params: {
|
|
132
|
+
path: "/vcf-automation-cci-namespace",
|
|
133
|
+
title: "VCF CCI Namespace Details",
|
|
134
|
+
filter: isVCFCCINamespace,
|
|
135
|
+
loader: () => import('./components/VCFAutomationCCINamespaceDetails.esm.js').then((m) => /* @__PURE__ */ jsx(m.VCFAutomationCCINamespaceDetails, {}))
|
|
136
|
+
},
|
|
137
|
+
disabled: false
|
|
138
|
+
});
|
|
139
|
+
const vcfCCIResourceOverviewCard = EntityCardBlueprint.make({
|
|
140
|
+
name: "vcf-automation.cci-resource-overview",
|
|
141
|
+
params: {
|
|
142
|
+
filter: isVCFCCIResource,
|
|
143
|
+
loader: () => import('./components/VCFAutomationCCIResourceOverview.esm.js').then((m) => /* @__PURE__ */ jsx(m.VCFAutomationCCIResourceOverview, {}))
|
|
144
|
+
},
|
|
145
|
+
disabled: false
|
|
146
|
+
});
|
|
147
|
+
const vcfCCIResourceContent = EntityContentBlueprint.make({
|
|
148
|
+
name: "vcf-automation.cci-resource-details",
|
|
149
|
+
params: {
|
|
150
|
+
path: "/vcf-automation-cci-resource",
|
|
151
|
+
title: "VCF CCI Resource Details",
|
|
152
|
+
filter: isVCFCCIResource,
|
|
153
|
+
loader: () => import('./components/VCFAutomationCCIResourceDetails.esm.js').then((m) => /* @__PURE__ */ jsx(m.VCFAutomationCCIResourceDetails, {}))
|
|
154
|
+
},
|
|
155
|
+
disabled: false
|
|
156
|
+
});
|
|
157
|
+
const vcfAutomationPlugin = createFrontendPlugin({
|
|
158
|
+
pluginId: "vcf-automation",
|
|
159
|
+
extensions: [
|
|
160
|
+
vcfAutomationApi,
|
|
161
|
+
vcfDeploymentOverviewCard,
|
|
162
|
+
vcfDeploymentContent,
|
|
163
|
+
vcfVSphereVMOverviewCard,
|
|
164
|
+
vcfVSphereVMContent,
|
|
165
|
+
vcfProjectOverviewCard,
|
|
166
|
+
vcfProjectContent,
|
|
167
|
+
vcfGenericResourceOverviewCard,
|
|
168
|
+
vcfGenericResourceContent,
|
|
169
|
+
vcfCCINamespaceOverviewCard,
|
|
170
|
+
vcfCCINamespaceContent,
|
|
171
|
+
vcfCCIResourceOverviewCard,
|
|
172
|
+
vcfCCIResourceContent
|
|
173
|
+
]
|
|
174
|
+
});
|
|
175
|
+
|
|
176
|
+
export { vcfAutomationApi, vcfAutomationPlugin, vcfCCINamespaceContent, vcfCCINamespaceOverviewCard, vcfCCIResourceContent, vcfCCIResourceOverviewCard, vcfDeploymentContent, vcfDeploymentOverviewCard, vcfGenericResourceContent, vcfGenericResourceOverviewCard, vcfProjectContent, vcfProjectOverviewCard, vcfVSphereVMContent, vcfVSphereVMOverviewCard };
|
|
177
|
+
//# sourceMappingURL=alpha.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alpha.esm.js","sources":["../src/alpha.tsx"],"sourcesContent":["import { createFrontendPlugin, ApiBlueprint } from '@backstage/frontend-plugin-api';\nimport { EntityCardBlueprint, EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';\nimport { Entity } from '@backstage/catalog-model';\nimport { vcfAutomationApiRef, VcfAutomationClient } from './api';\nimport { discoveryApiRef, identityApiRef } from '@backstage/core-plugin-api';\n\nconst isVCFDeployment = (entity: Entity) => {\n return entity.spec?.type === 'vcf-automation-deployment';\n};\n\nconst isVCFVSphereVM = (entity: Entity) => {\n const typeValue = entity.spec?.type;\n\n if (typeof typeValue === 'string') {\n return typeValue.toLowerCase() === 'cloud.vsphere.machine';\n }\n return false;\n};\n\nconst isVCFProject = (entity: Entity) => {\n return entity.spec?.type === 'vcf-automation-project';\n};\n\nconst isVCFGenericResource = (entity: Entity) => {\n return (entity.metadata.tags?.includes('vcf-automation-resource') && entity.kind === 'Resource') || false;\n};\n\nconst isVCFCCINamespace = (entity: Entity) => {\n const typeValue = entity.spec?.type;\n\n if (typeof typeValue === 'string') {\n return typeValue.toLowerCase() === 'cci.supervisor.namespace';\n }\n return false;\n};\n\nconst isVCFCCIResource = (entity: Entity) => {\n const typeValue = entity.spec?.type;\n\n if (typeof typeValue === 'string') {\n return typeValue.toLowerCase() === 'cci.supervisor.resource';\n }\n return false;\n};\n\n/** @alpha */\nexport const vcfAutomationApi = ApiBlueprint.make({\n name: 'vcfAutomationApi',\n params: defineParams => defineParams({\n api: vcfAutomationApiRef,\n deps: {\n discoveryApi: discoveryApiRef,\n identityApi: identityApiRef,\n },\n factory: ({ discoveryApi, identityApi }) => new VcfAutomationClient({ discoveryApi, identityApi }),\n }),\n disabled: false,\n});\n\n/** @alpha */\nexport const vcfDeploymentOverviewCard = EntityCardBlueprint.make({\n name: 'vcf-automation.deployment-overview',\n params: {\n filter: isVCFDeployment,\n loader: () => import('./components/VCFAutomationDeploymentOverview').then(m => <m.VCFAutomationDeploymentOverview />),\n },\n disabled: false,\n});\n\n/** @alpha */\nexport const vcfDeploymentContent = EntityContentBlueprint.make({\n name: 'vcf-automation.deployment-details',\n params: {\n path: '/vcf-automation-deployment',\n title: 'VCF Deployment Details',\n filter: isVCFDeployment,\n loader: () => import('./components/VCFAutomationDeploymentDetails').then(m => <m.VCFAutomationDeploymentDetails />),\n },\n disabled: false,\n});\n\n/** @alpha */\nexport const vcfVSphereVMOverviewCard = EntityCardBlueprint.make({\n name: 'vcf-automation.vsphere-vm-overview',\n params: {\n filter: isVCFVSphereVM,\n loader: () => import('./components/VCFAutomationVSphereVMOverview').then(m => <m.VCFAutomationVSphereVMOverview />),\n },\n disabled: false,\n});\n\n/** @alpha */\nexport const vcfVSphereVMContent = EntityContentBlueprint.make({\n name: 'vcf-automation.vsphere-vm-details',\n params: {\n path: '/vcf-automation-vsphere-vm',\n title: 'VCF vSphere VM Details',\n filter: isVCFVSphereVM,\n loader: () => import('./components/VCFAutomationVSphereVMDetails').then(m => <m.VCFAutomationVSphereVMDetails />),\n },\n disabled: false,\n});\n\n/** @alpha */\nexport const vcfProjectOverviewCard = EntityCardBlueprint.make({\n name: 'vcf-automation.project-overview',\n params: {\n filter: isVCFProject,\n loader: () => import('./components/VCFAutomationProjectOverview').then(m => <m.VCFAutomationProjectOverview />),\n },\n disabled: false,\n});\n\n/** @alpha */\nexport const vcfProjectContent = EntityContentBlueprint.make({\n name: 'vcf-automation.project-details',\n params: {\n path: '/vcf-automation-project',\n title: 'VCF Project Details',\n filter: isVCFProject,\n loader: () => import('./components/VCFAutomationProjectDetails').then(m => <m.VCFAutomationProjectDetails />),\n },\n disabled: false,\n});\n\n/** @alpha */\nexport const vcfGenericResourceOverviewCard = EntityCardBlueprint.make({\n name: 'vcf-automation.generic-resource-overview',\n params: {\n filter: isVCFGenericResource,\n loader: () => import('./components/VCFAutomationGenericResourceOverview').then(m => <m.VCFAutomationGenericResourceOverview />),\n },\n disabled: false,\n});\n\n/** @alpha */\nexport const vcfGenericResourceContent = EntityContentBlueprint.make({\n name: 'vcf-automation.generic-resource-details',\n params: {\n path: '/vcf-automation-generic-resource',\n title: 'VCF Generic Resource Details',\n filter: isVCFGenericResource,\n loader: () => import('./components/VCFAutomationGenericResourceDetails').then(m => <m.VCFAutomationGenericResourceDetails />),\n },\n disabled: false,\n});\n\n/** @alpha */\nexport const vcfCCINamespaceOverviewCard = EntityCardBlueprint.make({\n name: 'vcf-automation.cci-namespace-overview',\n params: {\n filter: isVCFCCINamespace,\n loader: () => import('./components/VCFAutomationCCINamespaceOverview').then(m => <m.VCFAutomationCCINamespaceOverview />),\n },\n disabled: false,\n});\n\n/** @alpha */\nexport const vcfCCINamespaceContent = EntityContentBlueprint.make({\n name: 'vcf-automation.cci-namespace-details',\n params: {\n path: '/vcf-automation-cci-namespace',\n title: 'VCF CCI Namespace Details',\n filter: isVCFCCINamespace,\n loader: () => import('./components/VCFAutomationCCINamespaceDetails').then(m => <m.VCFAutomationCCINamespaceDetails />),\n },\n disabled: false,\n});\n\n/** @alpha */\nexport const vcfCCIResourceOverviewCard = EntityCardBlueprint.make({\n name: 'vcf-automation.cci-resource-overview',\n params: {\n filter: isVCFCCIResource,\n loader: () => import('./components/VCFAutomationCCIResourceOverview').then(m => <m.VCFAutomationCCIResourceOverview />),\n },\n disabled: false,\n});\n\n/** @alpha */\nexport const vcfCCIResourceContent = EntityContentBlueprint.make({\n name: 'vcf-automation.cci-resource-details',\n params: {\n path: '/vcf-automation-cci-resource',\n title: 'VCF CCI Resource Details',\n filter: isVCFCCIResource,\n loader: () => import('./components/VCFAutomationCCIResourceDetails').then(m => <m.VCFAutomationCCIResourceDetails />),\n },\n disabled: false,\n});\n\n/** @alpha */\nexport const vcfAutomationPlugin = createFrontendPlugin({\n pluginId: 'vcf-automation',\n extensions: [\n vcfAutomationApi,\n vcfDeploymentOverviewCard,\n vcfDeploymentContent,\n vcfVSphereVMOverviewCard,\n vcfVSphereVMContent,\n vcfProjectOverviewCard,\n vcfProjectContent,\n vcfGenericResourceOverviewCard,\n vcfGenericResourceContent,\n vcfCCINamespaceOverviewCard,\n vcfCCINamespaceContent,\n vcfCCIResourceOverviewCard,\n vcfCCIResourceContent,\n ],\n});"],"names":[],"mappings":"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"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
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
|
-
import
|
|
4
|
+
import react__default from 'react';
|
|
5
5
|
|
|
6
6
|
declare const vcfAutomationPlugin: _backstage_core_plugin_api.BackstagePlugin<{
|
|
7
7
|
root: _backstage_core_plugin_api.RouteRef<undefined>;
|
|
@@ -42,7 +42,7 @@ interface VCFAutomationVMPowerManagementProps {
|
|
|
42
42
|
namespaceName?: string;
|
|
43
43
|
namespaceUrnId?: string;
|
|
44
44
|
}
|
|
45
|
-
declare const VCFAutomationVMPowerManagement:
|
|
45
|
+
declare const VCFAutomationVMPowerManagement: react__default.FC<VCFAutomationVMPowerManagementProps>;
|
|
46
46
|
|
|
47
47
|
interface VcfPageable {
|
|
48
48
|
pageNumber: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@terasky/backstage-plugin-vcf-automation",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "dist/index.esm.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -35,16 +35,17 @@
|
|
|
35
35
|
"postpack": "backstage-cli package postpack"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@backstage/core-components": "^0.17.
|
|
38
|
+
"@backstage/core-components": "^0.17.5",
|
|
39
39
|
"@backstage/core-plugin-api": "^1.10.9",
|
|
40
|
-
"@backstage/plugin-
|
|
40
|
+
"@backstage/frontend-plugin-api": "^0.11.0",
|
|
41
|
+
"@backstage/plugin-catalog-react": "^1.20.1",
|
|
41
42
|
"@backstage/plugin-permission-react": "^0.4.36",
|
|
42
|
-
"@backstage/theme": "^0.6.
|
|
43
|
+
"@backstage/theme": "^0.6.8",
|
|
43
44
|
"@material-ui/core": "^4.12.4",
|
|
44
45
|
"@material-ui/icons": "^4.11.3",
|
|
45
46
|
"@material-ui/lab": "4.0.0-alpha.61",
|
|
46
47
|
"@monaco-editor/react": "^4.7.0",
|
|
47
|
-
"@terasky/backstage-plugin-vcf-automation-common": "^1.2.
|
|
48
|
+
"@terasky/backstage-plugin-vcf-automation-common": "^1.2.1",
|
|
48
49
|
"js-yaml": "^4.1.0",
|
|
49
50
|
"react-use": "^17.6.0"
|
|
50
51
|
},
|
|
@@ -54,10 +55,10 @@
|
|
|
54
55
|
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
|
|
55
56
|
},
|
|
56
57
|
"devDependencies": {
|
|
57
|
-
"@backstage/cli": "^0.
|
|
58
|
+
"@backstage/cli": "^0.34.1",
|
|
58
59
|
"@backstage/core-app-api": "^1.18.0",
|
|
59
|
-
"@backstage/dev-utils": "^1.1.
|
|
60
|
-
"@backstage/test-utils": "^1.7.
|
|
60
|
+
"@backstage/dev-utils": "^1.1.13",
|
|
61
|
+
"@backstage/test-utils": "^1.7.11",
|
|
61
62
|
"@testing-library/jest-dom": "^5.10.1",
|
|
62
63
|
"@testing-library/react": "^12.1.3",
|
|
63
64
|
"@testing-library/user-event": "^14.0.0",
|
|
@@ -70,8 +71,24 @@
|
|
|
70
71
|
"dist",
|
|
71
72
|
"config.d.ts"
|
|
72
73
|
],
|
|
74
|
+
"exports": {
|
|
75
|
+
".": {
|
|
76
|
+
"import": "./dist/index.esm.js",
|
|
77
|
+
"types": "./dist/index.d.ts",
|
|
78
|
+
"default": "./dist/index.esm.js"
|
|
79
|
+
},
|
|
80
|
+
"./alpha": {
|
|
81
|
+
"import": "./dist/alpha.esm.js",
|
|
82
|
+
"types": "./dist/alpha.d.ts",
|
|
83
|
+
"default": "./dist/alpha.esm.js"
|
|
84
|
+
},
|
|
85
|
+
"./package.json": "./package.json"
|
|
86
|
+
},
|
|
73
87
|
"typesVersions": {
|
|
74
88
|
"*": {
|
|
89
|
+
"alpha": [
|
|
90
|
+
"dist/alpha.d.ts"
|
|
91
|
+
],
|
|
75
92
|
"package.json": [
|
|
76
93
|
"package.json"
|
|
77
94
|
]
|