@terasky/backstage-plugin-vcf-automation 1.11.0 → 1.12.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 +15 -829
- package/dist/alpha.esm.js.map +1 -1
- package/dist/components/VCFAutomationVSphereVMOverview.esm.js +1 -1
- package/dist/index.d.ts +2 -2
- package/package.json +12 -12
package/dist/alpha.d.ts
CHANGED
|
@@ -1,846 +1,32 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as react from 'react';
|
|
3
|
-
import * as _backstage_filter_predicates from '@backstage/filter-predicates';
|
|
4
|
-
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
|
|
5
|
-
import { Entity } from '@backstage/catalog-model';
|
|
1
|
+
import { FrontendPlugin, ExtensionDefinition } from '@backstage/frontend-plugin-api';
|
|
6
2
|
|
|
7
3
|
/** @alpha */
|
|
8
|
-
declare const vcfAutomationApi:
|
|
9
|
-
kind: "api";
|
|
10
|
-
name: "vcfAutomationApi";
|
|
11
|
-
config: {};
|
|
12
|
-
configInput: {};
|
|
13
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
|
|
14
|
-
inputs: {};
|
|
15
|
-
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
|
-
}>;
|
|
4
|
+
declare const vcfAutomationApi: ExtensionDefinition;
|
|
17
5
|
/** @alpha */
|
|
18
|
-
declare const vcfDeploymentOverviewCard:
|
|
19
|
-
kind: "entity-card";
|
|
20
|
-
name: "vcf-automation.deployment-overview";
|
|
21
|
-
config: {
|
|
22
|
-
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
23
|
-
type: "content" | "info" | undefined;
|
|
24
|
-
};
|
|
25
|
-
configInput: {
|
|
26
|
-
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
27
|
-
type?: "content" | "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_filter_predicates.FilterPredicate | ((entity: Entity) => boolean);
|
|
40
|
-
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
41
|
-
};
|
|
42
|
-
}>;
|
|
6
|
+
declare const vcfDeploymentOverviewCard: ExtensionDefinition;
|
|
43
7
|
/** @alpha */
|
|
44
|
-
declare const vcfDeploymentContent:
|
|
45
|
-
kind: "entity-content";
|
|
46
|
-
name: "vcf-automation.deployment-details";
|
|
47
|
-
config: {
|
|
48
|
-
path: string | undefined;
|
|
49
|
-
title: string | undefined;
|
|
50
|
-
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
51
|
-
group: string | false | undefined;
|
|
52
|
-
icon: string | undefined;
|
|
53
|
-
};
|
|
54
|
-
configInput: {
|
|
55
|
-
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
56
|
-
title?: string | undefined;
|
|
57
|
-
path?: string | undefined;
|
|
58
|
-
group?: string | false | undefined;
|
|
59
|
-
icon?: string | undefined;
|
|
60
|
-
};
|
|
61
|
-
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", {
|
|
62
|
-
optional: true;
|
|
63
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
64
|
-
optional: true;
|
|
65
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
66
|
-
optional: true;
|
|
67
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
68
|
-
optional: true;
|
|
69
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string | react.ReactElement<any, string | react.JSXElementConstructor<any>>, "catalog.entity-content-icon", {
|
|
70
|
-
optional: true;
|
|
71
|
-
}>;
|
|
72
|
-
inputs: {};
|
|
73
|
-
params: {
|
|
74
|
-
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
75
|
-
path: string;
|
|
76
|
-
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
77
|
-
title: string;
|
|
78
|
-
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
79
|
-
group?: ("documentation" | "deployment" | "operation" | "overview" | "development" | "observability") | (string & {});
|
|
80
|
-
icon?: string | react.ReactElement;
|
|
81
|
-
loader: () => Promise<JSX.Element>;
|
|
82
|
-
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
83
|
-
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: Entity) => boolean);
|
|
84
|
-
};
|
|
85
|
-
}>;
|
|
8
|
+
declare const vcfDeploymentContent: ExtensionDefinition;
|
|
86
9
|
/** @alpha */
|
|
87
|
-
declare const vcfVSphereVMOverviewCard:
|
|
88
|
-
kind: "entity-card";
|
|
89
|
-
name: "vcf-automation.vsphere-vm-overview";
|
|
90
|
-
config: {
|
|
91
|
-
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
92
|
-
type: "content" | "info" | undefined;
|
|
93
|
-
};
|
|
94
|
-
configInput: {
|
|
95
|
-
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
96
|
-
type?: "content" | "info" | undefined;
|
|
97
|
-
};
|
|
98
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
99
|
-
optional: true;
|
|
100
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
101
|
-
optional: true;
|
|
102
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
103
|
-
optional: true;
|
|
104
|
-
}>;
|
|
105
|
-
inputs: {};
|
|
106
|
-
params: {
|
|
107
|
-
loader: () => Promise<JSX.Element>;
|
|
108
|
-
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: Entity) => boolean);
|
|
109
|
-
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
110
|
-
};
|
|
111
|
-
}>;
|
|
10
|
+
declare const vcfVSphereVMOverviewCard: ExtensionDefinition;
|
|
112
11
|
/** @alpha */
|
|
113
|
-
declare const vcfVSphereVMContent:
|
|
114
|
-
kind: "entity-content";
|
|
115
|
-
name: "vcf-automation.vsphere-vm-details";
|
|
116
|
-
config: {
|
|
117
|
-
path: string | undefined;
|
|
118
|
-
title: string | undefined;
|
|
119
|
-
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
120
|
-
group: string | false | undefined;
|
|
121
|
-
icon: string | undefined;
|
|
122
|
-
};
|
|
123
|
-
configInput: {
|
|
124
|
-
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
125
|
-
title?: string | undefined;
|
|
126
|
-
path?: string | undefined;
|
|
127
|
-
group?: string | false | undefined;
|
|
128
|
-
icon?: string | undefined;
|
|
129
|
-
};
|
|
130
|
-
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", {
|
|
131
|
-
optional: true;
|
|
132
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
133
|
-
optional: true;
|
|
134
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
135
|
-
optional: true;
|
|
136
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
137
|
-
optional: true;
|
|
138
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string | react.ReactElement<any, string | react.JSXElementConstructor<any>>, "catalog.entity-content-icon", {
|
|
139
|
-
optional: true;
|
|
140
|
-
}>;
|
|
141
|
-
inputs: {};
|
|
142
|
-
params: {
|
|
143
|
-
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
144
|
-
path: string;
|
|
145
|
-
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
146
|
-
title: string;
|
|
147
|
-
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
148
|
-
group?: ("documentation" | "deployment" | "operation" | "overview" | "development" | "observability") | (string & {});
|
|
149
|
-
icon?: string | react.ReactElement;
|
|
150
|
-
loader: () => Promise<JSX.Element>;
|
|
151
|
-
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
152
|
-
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: Entity) => boolean);
|
|
153
|
-
};
|
|
154
|
-
}>;
|
|
12
|
+
declare const vcfVSphereVMContent: ExtensionDefinition;
|
|
155
13
|
/** @alpha */
|
|
156
|
-
declare const vcfProjectOverviewCard:
|
|
157
|
-
kind: "entity-card";
|
|
158
|
-
name: "vcf-automation.project-overview";
|
|
159
|
-
config: {
|
|
160
|
-
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
161
|
-
type: "content" | "info" | undefined;
|
|
162
|
-
};
|
|
163
|
-
configInput: {
|
|
164
|
-
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
165
|
-
type?: "content" | "info" | undefined;
|
|
166
|
-
};
|
|
167
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
168
|
-
optional: true;
|
|
169
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
170
|
-
optional: true;
|
|
171
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
172
|
-
optional: true;
|
|
173
|
-
}>;
|
|
174
|
-
inputs: {};
|
|
175
|
-
params: {
|
|
176
|
-
loader: () => Promise<JSX.Element>;
|
|
177
|
-
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: Entity) => boolean);
|
|
178
|
-
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
179
|
-
};
|
|
180
|
-
}>;
|
|
14
|
+
declare const vcfProjectOverviewCard: ExtensionDefinition;
|
|
181
15
|
/** @alpha */
|
|
182
|
-
declare const vcfProjectContent:
|
|
183
|
-
kind: "entity-content";
|
|
184
|
-
name: "vcf-automation.project-details";
|
|
185
|
-
config: {
|
|
186
|
-
path: string | undefined;
|
|
187
|
-
title: string | undefined;
|
|
188
|
-
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
189
|
-
group: string | false | undefined;
|
|
190
|
-
icon: string | undefined;
|
|
191
|
-
};
|
|
192
|
-
configInput: {
|
|
193
|
-
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
194
|
-
title?: string | undefined;
|
|
195
|
-
path?: string | undefined;
|
|
196
|
-
group?: string | false | undefined;
|
|
197
|
-
icon?: string | undefined;
|
|
198
|
-
};
|
|
199
|
-
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", {
|
|
200
|
-
optional: true;
|
|
201
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
202
|
-
optional: true;
|
|
203
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
204
|
-
optional: true;
|
|
205
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
206
|
-
optional: true;
|
|
207
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string | react.ReactElement<any, string | react.JSXElementConstructor<any>>, "catalog.entity-content-icon", {
|
|
208
|
-
optional: true;
|
|
209
|
-
}>;
|
|
210
|
-
inputs: {};
|
|
211
|
-
params: {
|
|
212
|
-
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
213
|
-
path: string;
|
|
214
|
-
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
215
|
-
title: string;
|
|
216
|
-
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
217
|
-
group?: ("documentation" | "deployment" | "operation" | "overview" | "development" | "observability") | (string & {});
|
|
218
|
-
icon?: string | react.ReactElement;
|
|
219
|
-
loader: () => Promise<JSX.Element>;
|
|
220
|
-
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
221
|
-
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: Entity) => boolean);
|
|
222
|
-
};
|
|
223
|
-
}>;
|
|
16
|
+
declare const vcfProjectContent: ExtensionDefinition;
|
|
224
17
|
/** @alpha */
|
|
225
|
-
declare const vcfGenericResourceOverviewCard:
|
|
226
|
-
kind: "entity-card";
|
|
227
|
-
name: "vcf-automation.generic-resource-overview";
|
|
228
|
-
config: {
|
|
229
|
-
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
230
|
-
type: "content" | "info" | undefined;
|
|
231
|
-
};
|
|
232
|
-
configInput: {
|
|
233
|
-
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
234
|
-
type?: "content" | "info" | undefined;
|
|
235
|
-
};
|
|
236
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
237
|
-
optional: true;
|
|
238
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
239
|
-
optional: true;
|
|
240
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
241
|
-
optional: true;
|
|
242
|
-
}>;
|
|
243
|
-
inputs: {};
|
|
244
|
-
params: {
|
|
245
|
-
loader: () => Promise<JSX.Element>;
|
|
246
|
-
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: Entity) => boolean);
|
|
247
|
-
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
248
|
-
};
|
|
249
|
-
}>;
|
|
18
|
+
declare const vcfGenericResourceOverviewCard: ExtensionDefinition;
|
|
250
19
|
/** @alpha */
|
|
251
|
-
declare const vcfGenericResourceContent:
|
|
252
|
-
kind: "entity-content";
|
|
253
|
-
name: "vcf-automation.generic-resource-details";
|
|
254
|
-
config: {
|
|
255
|
-
path: string | undefined;
|
|
256
|
-
title: string | undefined;
|
|
257
|
-
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
258
|
-
group: string | false | undefined;
|
|
259
|
-
icon: string | undefined;
|
|
260
|
-
};
|
|
261
|
-
configInput: {
|
|
262
|
-
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
263
|
-
title?: string | undefined;
|
|
264
|
-
path?: string | undefined;
|
|
265
|
-
group?: string | false | undefined;
|
|
266
|
-
icon?: string | undefined;
|
|
267
|
-
};
|
|
268
|
-
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", {
|
|
269
|
-
optional: true;
|
|
270
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
271
|
-
optional: true;
|
|
272
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
273
|
-
optional: true;
|
|
274
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
275
|
-
optional: true;
|
|
276
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string | react.ReactElement<any, string | react.JSXElementConstructor<any>>, "catalog.entity-content-icon", {
|
|
277
|
-
optional: true;
|
|
278
|
-
}>;
|
|
279
|
-
inputs: {};
|
|
280
|
-
params: {
|
|
281
|
-
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
282
|
-
path: string;
|
|
283
|
-
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
284
|
-
title: string;
|
|
285
|
-
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
286
|
-
group?: ("documentation" | "deployment" | "operation" | "overview" | "development" | "observability") | (string & {});
|
|
287
|
-
icon?: string | react.ReactElement;
|
|
288
|
-
loader: () => Promise<JSX.Element>;
|
|
289
|
-
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
290
|
-
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: Entity) => boolean);
|
|
291
|
-
};
|
|
292
|
-
}>;
|
|
20
|
+
declare const vcfGenericResourceContent: ExtensionDefinition;
|
|
293
21
|
/** @alpha */
|
|
294
|
-
declare const vcfCCINamespaceOverviewCard:
|
|
295
|
-
kind: "entity-card";
|
|
296
|
-
name: "vcf-automation.cci-namespace-overview";
|
|
297
|
-
config: {
|
|
298
|
-
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
299
|
-
type: "content" | "info" | undefined;
|
|
300
|
-
};
|
|
301
|
-
configInput: {
|
|
302
|
-
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
303
|
-
type?: "content" | "info" | undefined;
|
|
304
|
-
};
|
|
305
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
306
|
-
optional: true;
|
|
307
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
308
|
-
optional: true;
|
|
309
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
310
|
-
optional: true;
|
|
311
|
-
}>;
|
|
312
|
-
inputs: {};
|
|
313
|
-
params: {
|
|
314
|
-
loader: () => Promise<JSX.Element>;
|
|
315
|
-
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: Entity) => boolean);
|
|
316
|
-
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
317
|
-
};
|
|
318
|
-
}>;
|
|
22
|
+
declare const vcfCCINamespaceOverviewCard: ExtensionDefinition;
|
|
319
23
|
/** @alpha */
|
|
320
|
-
declare const vcfCCINamespaceContent:
|
|
321
|
-
kind: "entity-content";
|
|
322
|
-
name: "vcf-automation.cci-namespace-details";
|
|
323
|
-
config: {
|
|
324
|
-
path: string | undefined;
|
|
325
|
-
title: string | undefined;
|
|
326
|
-
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
327
|
-
group: string | false | undefined;
|
|
328
|
-
icon: string | undefined;
|
|
329
|
-
};
|
|
330
|
-
configInput: {
|
|
331
|
-
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
332
|
-
title?: string | undefined;
|
|
333
|
-
path?: string | undefined;
|
|
334
|
-
group?: string | false | undefined;
|
|
335
|
-
icon?: string | undefined;
|
|
336
|
-
};
|
|
337
|
-
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", {
|
|
338
|
-
optional: true;
|
|
339
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
340
|
-
optional: true;
|
|
341
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
342
|
-
optional: true;
|
|
343
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
344
|
-
optional: true;
|
|
345
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string | react.ReactElement<any, string | react.JSXElementConstructor<any>>, "catalog.entity-content-icon", {
|
|
346
|
-
optional: true;
|
|
347
|
-
}>;
|
|
348
|
-
inputs: {};
|
|
349
|
-
params: {
|
|
350
|
-
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
351
|
-
path: string;
|
|
352
|
-
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
353
|
-
title: string;
|
|
354
|
-
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
355
|
-
group?: ("documentation" | "deployment" | "operation" | "overview" | "development" | "observability") | (string & {});
|
|
356
|
-
icon?: string | react.ReactElement;
|
|
357
|
-
loader: () => Promise<JSX.Element>;
|
|
358
|
-
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
359
|
-
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: Entity) => boolean);
|
|
360
|
-
};
|
|
361
|
-
}>;
|
|
24
|
+
declare const vcfCCINamespaceContent: ExtensionDefinition;
|
|
362
25
|
/** @alpha */
|
|
363
|
-
declare const vcfCCIResourceOverviewCard:
|
|
364
|
-
kind: "entity-card";
|
|
365
|
-
name: "vcf-automation.cci-resource-overview";
|
|
366
|
-
config: {
|
|
367
|
-
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
368
|
-
type: "content" | "info" | undefined;
|
|
369
|
-
};
|
|
370
|
-
configInput: {
|
|
371
|
-
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
372
|
-
type?: "content" | "info" | undefined;
|
|
373
|
-
};
|
|
374
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
375
|
-
optional: true;
|
|
376
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
377
|
-
optional: true;
|
|
378
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
379
|
-
optional: true;
|
|
380
|
-
}>;
|
|
381
|
-
inputs: {};
|
|
382
|
-
params: {
|
|
383
|
-
loader: () => Promise<JSX.Element>;
|
|
384
|
-
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: Entity) => boolean);
|
|
385
|
-
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
386
|
-
};
|
|
387
|
-
}>;
|
|
26
|
+
declare const vcfCCIResourceOverviewCard: ExtensionDefinition;
|
|
388
27
|
/** @alpha */
|
|
389
|
-
declare const vcfCCIResourceContent:
|
|
390
|
-
kind: "entity-content";
|
|
391
|
-
name: "vcf-automation.cci-resource-details";
|
|
392
|
-
config: {
|
|
393
|
-
path: string | undefined;
|
|
394
|
-
title: string | undefined;
|
|
395
|
-
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
396
|
-
group: string | false | undefined;
|
|
397
|
-
icon: string | undefined;
|
|
398
|
-
};
|
|
399
|
-
configInput: {
|
|
400
|
-
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
401
|
-
title?: string | undefined;
|
|
402
|
-
path?: string | undefined;
|
|
403
|
-
group?: string | false | undefined;
|
|
404
|
-
icon?: string | undefined;
|
|
405
|
-
};
|
|
406
|
-
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", {
|
|
407
|
-
optional: true;
|
|
408
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
409
|
-
optional: true;
|
|
410
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
411
|
-
optional: true;
|
|
412
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
413
|
-
optional: true;
|
|
414
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string | react.ReactElement<any, string | react.JSXElementConstructor<any>>, "catalog.entity-content-icon", {
|
|
415
|
-
optional: true;
|
|
416
|
-
}>;
|
|
417
|
-
inputs: {};
|
|
418
|
-
params: {
|
|
419
|
-
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
420
|
-
path: string;
|
|
421
|
-
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
422
|
-
title: string;
|
|
423
|
-
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
424
|
-
group?: ("documentation" | "deployment" | "operation" | "overview" | "development" | "observability") | (string & {});
|
|
425
|
-
icon?: string | react.ReactElement;
|
|
426
|
-
loader: () => Promise<JSX.Element>;
|
|
427
|
-
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
428
|
-
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: Entity) => boolean);
|
|
429
|
-
};
|
|
430
|
-
}>;
|
|
28
|
+
declare const vcfCCIResourceContent: ExtensionDefinition;
|
|
431
29
|
/** @alpha */
|
|
432
|
-
declare const vcfAutomationPlugin:
|
|
433
|
-
"api:vcf-automation/vcfAutomationApi": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
434
|
-
kind: "api";
|
|
435
|
-
name: "vcfAutomationApi";
|
|
436
|
-
config: {};
|
|
437
|
-
configInput: {};
|
|
438
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
|
|
439
|
-
inputs: {};
|
|
440
|
-
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>;
|
|
441
|
-
}>;
|
|
442
|
-
"entity-card:vcf-automation/vcf-automation.cci-namespace-overview": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
443
|
-
kind: "entity-card";
|
|
444
|
-
name: "vcf-automation.cci-namespace-overview";
|
|
445
|
-
config: {
|
|
446
|
-
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
447
|
-
type: "content" | "info" | undefined;
|
|
448
|
-
};
|
|
449
|
-
configInput: {
|
|
450
|
-
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
451
|
-
type?: "content" | "info" | undefined;
|
|
452
|
-
};
|
|
453
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
454
|
-
optional: true;
|
|
455
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
456
|
-
optional: true;
|
|
457
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
458
|
-
optional: true;
|
|
459
|
-
}>;
|
|
460
|
-
inputs: {};
|
|
461
|
-
params: {
|
|
462
|
-
loader: () => Promise<JSX.Element>;
|
|
463
|
-
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: Entity) => boolean);
|
|
464
|
-
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
465
|
-
};
|
|
466
|
-
}>;
|
|
467
|
-
"entity-card:vcf-automation/vcf-automation.cci-resource-overview": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
468
|
-
kind: "entity-card";
|
|
469
|
-
name: "vcf-automation.cci-resource-overview";
|
|
470
|
-
config: {
|
|
471
|
-
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
472
|
-
type: "content" | "info" | undefined;
|
|
473
|
-
};
|
|
474
|
-
configInput: {
|
|
475
|
-
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
476
|
-
type?: "content" | "info" | undefined;
|
|
477
|
-
};
|
|
478
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
479
|
-
optional: true;
|
|
480
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
481
|
-
optional: true;
|
|
482
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
483
|
-
optional: true;
|
|
484
|
-
}>;
|
|
485
|
-
inputs: {};
|
|
486
|
-
params: {
|
|
487
|
-
loader: () => Promise<JSX.Element>;
|
|
488
|
-
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: Entity) => boolean);
|
|
489
|
-
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
490
|
-
};
|
|
491
|
-
}>;
|
|
492
|
-
"entity-card:vcf-automation/vcf-automation.deployment-overview": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
493
|
-
kind: "entity-card";
|
|
494
|
-
name: "vcf-automation.deployment-overview";
|
|
495
|
-
config: {
|
|
496
|
-
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
497
|
-
type: "content" | "info" | undefined;
|
|
498
|
-
};
|
|
499
|
-
configInput: {
|
|
500
|
-
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
501
|
-
type?: "content" | "info" | undefined;
|
|
502
|
-
};
|
|
503
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
504
|
-
optional: true;
|
|
505
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
506
|
-
optional: true;
|
|
507
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
508
|
-
optional: true;
|
|
509
|
-
}>;
|
|
510
|
-
inputs: {};
|
|
511
|
-
params: {
|
|
512
|
-
loader: () => Promise<JSX.Element>;
|
|
513
|
-
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: Entity) => boolean);
|
|
514
|
-
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
515
|
-
};
|
|
516
|
-
}>;
|
|
517
|
-
"entity-card:vcf-automation/vcf-automation.generic-resource-overview": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
518
|
-
kind: "entity-card";
|
|
519
|
-
name: "vcf-automation.generic-resource-overview";
|
|
520
|
-
config: {
|
|
521
|
-
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
522
|
-
type: "content" | "info" | undefined;
|
|
523
|
-
};
|
|
524
|
-
configInput: {
|
|
525
|
-
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
526
|
-
type?: "content" | "info" | undefined;
|
|
527
|
-
};
|
|
528
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
529
|
-
optional: true;
|
|
530
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
531
|
-
optional: true;
|
|
532
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
533
|
-
optional: true;
|
|
534
|
-
}>;
|
|
535
|
-
inputs: {};
|
|
536
|
-
params: {
|
|
537
|
-
loader: () => Promise<JSX.Element>;
|
|
538
|
-
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: Entity) => boolean);
|
|
539
|
-
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
540
|
-
};
|
|
541
|
-
}>;
|
|
542
|
-
"entity-card:vcf-automation/vcf-automation.project-overview": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
543
|
-
kind: "entity-card";
|
|
544
|
-
name: "vcf-automation.project-overview";
|
|
545
|
-
config: {
|
|
546
|
-
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
547
|
-
type: "content" | "info" | undefined;
|
|
548
|
-
};
|
|
549
|
-
configInput: {
|
|
550
|
-
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
551
|
-
type?: "content" | "info" | undefined;
|
|
552
|
-
};
|
|
553
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
554
|
-
optional: true;
|
|
555
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
556
|
-
optional: true;
|
|
557
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
558
|
-
optional: true;
|
|
559
|
-
}>;
|
|
560
|
-
inputs: {};
|
|
561
|
-
params: {
|
|
562
|
-
loader: () => Promise<JSX.Element>;
|
|
563
|
-
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: Entity) => boolean);
|
|
564
|
-
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
565
|
-
};
|
|
566
|
-
}>;
|
|
567
|
-
"entity-card:vcf-automation/vcf-automation.vsphere-vm-overview": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
568
|
-
kind: "entity-card";
|
|
569
|
-
name: "vcf-automation.vsphere-vm-overview";
|
|
570
|
-
config: {
|
|
571
|
-
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
572
|
-
type: "content" | "info" | undefined;
|
|
573
|
-
};
|
|
574
|
-
configInput: {
|
|
575
|
-
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
576
|
-
type?: "content" | "info" | undefined;
|
|
577
|
-
};
|
|
578
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
579
|
-
optional: true;
|
|
580
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
581
|
-
optional: true;
|
|
582
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
583
|
-
optional: true;
|
|
584
|
-
}>;
|
|
585
|
-
inputs: {};
|
|
586
|
-
params: {
|
|
587
|
-
loader: () => Promise<JSX.Element>;
|
|
588
|
-
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: Entity) => boolean);
|
|
589
|
-
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
590
|
-
};
|
|
591
|
-
}>;
|
|
592
|
-
"entity-content:vcf-automation/vcf-automation.cci-namespace-details": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
593
|
-
kind: "entity-content";
|
|
594
|
-
name: "vcf-automation.cci-namespace-details";
|
|
595
|
-
config: {
|
|
596
|
-
path: string | undefined;
|
|
597
|
-
title: string | undefined;
|
|
598
|
-
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
599
|
-
group: string | false | undefined;
|
|
600
|
-
icon: string | undefined;
|
|
601
|
-
};
|
|
602
|
-
configInput: {
|
|
603
|
-
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
604
|
-
title?: string | undefined;
|
|
605
|
-
path?: string | undefined;
|
|
606
|
-
group?: string | false | undefined;
|
|
607
|
-
icon?: string | undefined;
|
|
608
|
-
};
|
|
609
|
-
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", {
|
|
610
|
-
optional: true;
|
|
611
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
612
|
-
optional: true;
|
|
613
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
614
|
-
optional: true;
|
|
615
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
616
|
-
optional: true;
|
|
617
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string | react.ReactElement<any, string | react.JSXElementConstructor<any>>, "catalog.entity-content-icon", {
|
|
618
|
-
optional: true;
|
|
619
|
-
}>;
|
|
620
|
-
inputs: {};
|
|
621
|
-
params: {
|
|
622
|
-
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
623
|
-
path: string;
|
|
624
|
-
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
625
|
-
title: string;
|
|
626
|
-
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
627
|
-
group?: ("documentation" | "deployment" | "operation" | "overview" | "development" | "observability") | (string & {});
|
|
628
|
-
icon?: string | react.ReactElement;
|
|
629
|
-
loader: () => Promise<JSX.Element>;
|
|
630
|
-
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
631
|
-
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: Entity) => boolean);
|
|
632
|
-
};
|
|
633
|
-
}>;
|
|
634
|
-
"entity-content:vcf-automation/vcf-automation.cci-resource-details": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
635
|
-
kind: "entity-content";
|
|
636
|
-
name: "vcf-automation.cci-resource-details";
|
|
637
|
-
config: {
|
|
638
|
-
path: string | undefined;
|
|
639
|
-
title: string | undefined;
|
|
640
|
-
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
641
|
-
group: string | false | undefined;
|
|
642
|
-
icon: string | undefined;
|
|
643
|
-
};
|
|
644
|
-
configInput: {
|
|
645
|
-
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
646
|
-
title?: string | undefined;
|
|
647
|
-
path?: string | undefined;
|
|
648
|
-
group?: string | false | undefined;
|
|
649
|
-
icon?: string | 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
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string | react.ReactElement<any, string | react.JSXElementConstructor<any>>, "catalog.entity-content-icon", {
|
|
660
|
-
optional: true;
|
|
661
|
-
}>;
|
|
662
|
-
inputs: {};
|
|
663
|
-
params: {
|
|
664
|
-
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
665
|
-
path: string;
|
|
666
|
-
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
667
|
-
title: string;
|
|
668
|
-
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
669
|
-
group?: ("documentation" | "deployment" | "operation" | "overview" | "development" | "observability") | (string & {});
|
|
670
|
-
icon?: string | react.ReactElement;
|
|
671
|
-
loader: () => Promise<JSX.Element>;
|
|
672
|
-
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
673
|
-
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: Entity) => boolean);
|
|
674
|
-
};
|
|
675
|
-
}>;
|
|
676
|
-
"entity-content:vcf-automation/vcf-automation.deployment-details": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
677
|
-
kind: "entity-content";
|
|
678
|
-
name: "vcf-automation.deployment-details";
|
|
679
|
-
config: {
|
|
680
|
-
path: string | undefined;
|
|
681
|
-
title: string | undefined;
|
|
682
|
-
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
683
|
-
group: string | false | undefined;
|
|
684
|
-
icon: string | undefined;
|
|
685
|
-
};
|
|
686
|
-
configInput: {
|
|
687
|
-
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
688
|
-
title?: string | undefined;
|
|
689
|
-
path?: string | undefined;
|
|
690
|
-
group?: string | false | undefined;
|
|
691
|
-
icon?: string | undefined;
|
|
692
|
-
};
|
|
693
|
-
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", {
|
|
694
|
-
optional: true;
|
|
695
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
696
|
-
optional: true;
|
|
697
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
698
|
-
optional: true;
|
|
699
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
700
|
-
optional: true;
|
|
701
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string | react.ReactElement<any, string | react.JSXElementConstructor<any>>, "catalog.entity-content-icon", {
|
|
702
|
-
optional: true;
|
|
703
|
-
}>;
|
|
704
|
-
inputs: {};
|
|
705
|
-
params: {
|
|
706
|
-
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
707
|
-
path: string;
|
|
708
|
-
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
709
|
-
title: string;
|
|
710
|
-
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
711
|
-
group?: ("documentation" | "deployment" | "operation" | "overview" | "development" | "observability") | (string & {});
|
|
712
|
-
icon?: string | react.ReactElement;
|
|
713
|
-
loader: () => Promise<JSX.Element>;
|
|
714
|
-
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
715
|
-
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: Entity) => boolean);
|
|
716
|
-
};
|
|
717
|
-
}>;
|
|
718
|
-
"entity-content:vcf-automation/vcf-automation.generic-resource-details": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
719
|
-
kind: "entity-content";
|
|
720
|
-
name: "vcf-automation.generic-resource-details";
|
|
721
|
-
config: {
|
|
722
|
-
path: string | undefined;
|
|
723
|
-
title: string | undefined;
|
|
724
|
-
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
725
|
-
group: string | false | undefined;
|
|
726
|
-
icon: string | undefined;
|
|
727
|
-
};
|
|
728
|
-
configInput: {
|
|
729
|
-
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
730
|
-
title?: string | undefined;
|
|
731
|
-
path?: string | undefined;
|
|
732
|
-
group?: string | false | undefined;
|
|
733
|
-
icon?: string | undefined;
|
|
734
|
-
};
|
|
735
|
-
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", {
|
|
736
|
-
optional: true;
|
|
737
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
738
|
-
optional: true;
|
|
739
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
740
|
-
optional: true;
|
|
741
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
742
|
-
optional: true;
|
|
743
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string | react.ReactElement<any, string | react.JSXElementConstructor<any>>, "catalog.entity-content-icon", {
|
|
744
|
-
optional: true;
|
|
745
|
-
}>;
|
|
746
|
-
inputs: {};
|
|
747
|
-
params: {
|
|
748
|
-
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
749
|
-
path: string;
|
|
750
|
-
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
751
|
-
title: string;
|
|
752
|
-
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
753
|
-
group?: ("documentation" | "deployment" | "operation" | "overview" | "development" | "observability") | (string & {});
|
|
754
|
-
icon?: string | react.ReactElement;
|
|
755
|
-
loader: () => Promise<JSX.Element>;
|
|
756
|
-
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
757
|
-
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: Entity) => boolean);
|
|
758
|
-
};
|
|
759
|
-
}>;
|
|
760
|
-
"entity-content:vcf-automation/vcf-automation.project-details": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
761
|
-
kind: "entity-content";
|
|
762
|
-
name: "vcf-automation.project-details";
|
|
763
|
-
config: {
|
|
764
|
-
path: string | undefined;
|
|
765
|
-
title: string | undefined;
|
|
766
|
-
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
767
|
-
group: string | false | undefined;
|
|
768
|
-
icon: string | undefined;
|
|
769
|
-
};
|
|
770
|
-
configInput: {
|
|
771
|
-
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
772
|
-
title?: string | undefined;
|
|
773
|
-
path?: string | undefined;
|
|
774
|
-
group?: string | false | undefined;
|
|
775
|
-
icon?: string | undefined;
|
|
776
|
-
};
|
|
777
|
-
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", {
|
|
778
|
-
optional: true;
|
|
779
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
780
|
-
optional: true;
|
|
781
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
782
|
-
optional: true;
|
|
783
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
784
|
-
optional: true;
|
|
785
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string | react.ReactElement<any, string | react.JSXElementConstructor<any>>, "catalog.entity-content-icon", {
|
|
786
|
-
optional: true;
|
|
787
|
-
}>;
|
|
788
|
-
inputs: {};
|
|
789
|
-
params: {
|
|
790
|
-
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
791
|
-
path: string;
|
|
792
|
-
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
793
|
-
title: string;
|
|
794
|
-
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
795
|
-
group?: ("documentation" | "deployment" | "operation" | "overview" | "development" | "observability") | (string & {});
|
|
796
|
-
icon?: string | react.ReactElement;
|
|
797
|
-
loader: () => Promise<JSX.Element>;
|
|
798
|
-
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
799
|
-
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: Entity) => boolean);
|
|
800
|
-
};
|
|
801
|
-
}>;
|
|
802
|
-
"entity-content:vcf-automation/vcf-automation.vsphere-vm-details": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
803
|
-
kind: "entity-content";
|
|
804
|
-
name: "vcf-automation.vsphere-vm-details";
|
|
805
|
-
config: {
|
|
806
|
-
path: string | undefined;
|
|
807
|
-
title: string | undefined;
|
|
808
|
-
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
809
|
-
group: string | false | undefined;
|
|
810
|
-
icon: string | undefined;
|
|
811
|
-
};
|
|
812
|
-
configInput: {
|
|
813
|
-
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
814
|
-
title?: string | undefined;
|
|
815
|
-
path?: string | undefined;
|
|
816
|
-
group?: string | false | undefined;
|
|
817
|
-
icon?: string | undefined;
|
|
818
|
-
};
|
|
819
|
-
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", {
|
|
820
|
-
optional: true;
|
|
821
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
822
|
-
optional: true;
|
|
823
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
824
|
-
optional: true;
|
|
825
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
826
|
-
optional: true;
|
|
827
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string | react.ReactElement<any, string | react.JSXElementConstructor<any>>, "catalog.entity-content-icon", {
|
|
828
|
-
optional: true;
|
|
829
|
-
}>;
|
|
830
|
-
inputs: {};
|
|
831
|
-
params: {
|
|
832
|
-
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
833
|
-
path: string;
|
|
834
|
-
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
835
|
-
title: string;
|
|
836
|
-
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
837
|
-
group?: ("documentation" | "deployment" | "operation" | "overview" | "development" | "observability") | (string & {});
|
|
838
|
-
icon?: string | react.ReactElement;
|
|
839
|
-
loader: () => Promise<JSX.Element>;
|
|
840
|
-
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
841
|
-
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: Entity) => boolean);
|
|
842
|
-
};
|
|
843
|
-
}>;
|
|
844
|
-
}>;
|
|
30
|
+
declare const vcfAutomationPlugin: FrontendPlugin;
|
|
845
31
|
|
|
846
32
|
export { vcfAutomationPlugin as default, vcfAutomationApi, vcfAutomationPlugin, vcfCCINamespaceContent, vcfCCINamespaceOverviewCard, vcfCCIResourceContent, vcfCCIResourceOverviewCard, vcfDeploymentContent, vcfDeploymentOverviewCard, vcfGenericResourceContent, vcfGenericResourceOverviewCard, vcfProjectContent, vcfProjectOverviewCard, vcfVSphereVMContent, vcfVSphereVMOverviewCard };
|
package/dist/alpha.esm.js.map
CHANGED
|
@@ -1 +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});\n\nexport default vcfAutomationPlugin;"],"names":[],"mappings":";;;;;;AAMA,MAAM,eAAA,GAAkB,CAAC,MAAA,KAAmB;AAC1C,EAAA,OAAO,MAAA,CAAO,MAAM,IAAA,KAAS,2BAAA;AAC/B,CAAA;AAEA,MAAM,cAAA,GAAiB,CAAC,MAAA,KAAmB;AACzC,EAAA,MAAM,SAAA,GAAY,OAAO,IAAA,EAAM,IAAA;AAE/B,EAAA,IAAI,OAAO,cAAc,QAAA,EAAU;AACjC,IAAA,OAAO,SAAA,CAAU,aAAY,KAAM,uBAAA;AAAA,EACrC;AACA,EAAA,OAAO,KAAA;AACT,CAAA;AAEA,MAAM,YAAA,GAAe,CAAC,MAAA,KAAmB;AACvC,EAAA,OAAO,MAAA,CAAO,MAAM,IAAA,KAAS,wBAAA;AAC/B,CAAA;AAEA,MAAM,oBAAA,GAAuB,CAAC,MAAA,KAAmB;AAC/C,EAAA,OAAQ,MAAA,CAAO,SAAS,IAAA,EAAM,QAAA,CAAS,yBAAyB,CAAA,IAAK,MAAA,CAAO,SAAS,UAAA,IAAe,KAAA;AACtG,CAAA;AAEA,MAAM,iBAAA,GAAoB,CAAC,MAAA,KAAmB;AAC5C,EAAA,MAAM,SAAA,GAAY,OAAO,IAAA,EAAM,IAAA;AAE/B,EAAA,IAAI,OAAO,cAAc,QAAA,EAAU;AACjC,IAAA,OAAO,SAAA,CAAU,aAAY,KAAM,0BAAA;AAAA,EACrC;AACA,EAAA,OAAO,KAAA;AACT,CAAA;AAEA,MAAM,gBAAA,GAAmB,CAAC,MAAA,KAAmB;AAC3C,EAAA,MAAM,SAAA,GAAY,OAAO,IAAA,EAAM,IAAA;AAE/B,EAAA,IAAI,OAAO,cAAc,QAAA,EAAU;AACjC,IAAA,OAAO,SAAA,CAAU,aAAY,KAAM,yBAA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AAA;AAAA,IACA,0BAAA;AAAA,IACA;AAAA;AAEJ,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"alpha.esm.js","sources":["../src/alpha.tsx"],"sourcesContent":["import {\n createFrontendPlugin,\n ApiBlueprint,\n type ExtensionDefinition,\n type FrontendPlugin,\n} 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: ExtensionDefinition = 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: ExtensionDefinition =\n 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: ExtensionDefinition =\n 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: ExtensionDefinition =\n 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: ExtensionDefinition =\n 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: ExtensionDefinition =\n 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: ExtensionDefinition =\n 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: ExtensionDefinition =\n 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: ExtensionDefinition =\n 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: ExtensionDefinition =\n 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: ExtensionDefinition =\n 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: ExtensionDefinition =\n 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: ExtensionDefinition =\n 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: FrontendPlugin = 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});\n\nexport default vcfAutomationPlugin;"],"names":[],"mappings":";;;;;;AAWA,MAAM,eAAA,GAAkB,CAAC,MAAA,KAAmB;AAC1C,EAAA,OAAO,MAAA,CAAO,MAAM,IAAA,KAAS,2BAAA;AAC/B,CAAA;AAEA,MAAM,cAAA,GAAiB,CAAC,MAAA,KAAmB;AACzC,EAAA,MAAM,SAAA,GAAY,OAAO,IAAA,EAAM,IAAA;AAE/B,EAAA,IAAI,OAAO,cAAc,QAAA,EAAU;AACjC,IAAA,OAAO,SAAA,CAAU,aAAY,KAAM,uBAAA;AAAA,EACrC;AACA,EAAA,OAAO,KAAA;AACT,CAAA;AAEA,MAAM,YAAA,GAAe,CAAC,MAAA,KAAmB;AACvC,EAAA,OAAO,MAAA,CAAO,MAAM,IAAA,KAAS,wBAAA;AAC/B,CAAA;AAEA,MAAM,oBAAA,GAAuB,CAAC,MAAA,KAAmB;AAC/C,EAAA,OAAQ,MAAA,CAAO,SAAS,IAAA,EAAM,QAAA,CAAS,yBAAyB,CAAA,IAAK,MAAA,CAAO,SAAS,UAAA,IAAe,KAAA;AACtG,CAAA;AAEA,MAAM,iBAAA,GAAoB,CAAC,MAAA,KAAmB;AAC5C,EAAA,MAAM,SAAA,GAAY,OAAO,IAAA,EAAM,IAAA;AAE/B,EAAA,IAAI,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AGM,MAAM,sBAAsC,oBAAA,CAAqB;AAAA,EACtE,QAAA,EAAU,gBAAA;AAAA,EACV,UAAA,EAAY;AAAA,IACV,gBAAA;AAAA,IACA,yBAAA;AAAA,IACA,oBAAA;AAAA,IACA,wBAAA;AAAA,IACA,mBAAA;AAAA,IACA,sBAAA;AAAA,IACA,iBAAA;AAAA,IACA,8BAAA;AAAA,IACA,yBAAA;AAAA,IACA,2BAAA;AAAA,IACA,sBAAA;AAAA,IACA,0BAAA;AAAA,IACA;AAAA;AAEJ,CAAC;;;;"}
|
|
@@ -3,7 +3,7 @@ import { useEntity } from '@backstage/plugin-catalog-react';
|
|
|
3
3
|
import { useApi } from '@backstage/core-plugin-api';
|
|
4
4
|
import { vcfAutomationApiRef } from '../api/VcfAutomationClient.esm.js';
|
|
5
5
|
import { InfoCard, Progress, ResponseErrorPanel, StatusPending, StatusError, StatusOK } from '@backstage/core-components';
|
|
6
|
-
import {
|
|
6
|
+
import { Typography, Grid, makeStyles } from '@material-ui/core';
|
|
7
7
|
import useAsync from 'react-use/lib/useAsync';
|
|
8
8
|
import { usePermission } from '@backstage/plugin-permission-react';
|
|
9
9
|
import { showDeploymentResourcesDataPermission } from '@terasky/backstage-plugin-vcf-automation-common';
|
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 from 'react';
|
|
5
5
|
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
|
|
6
6
|
|
|
7
7
|
declare const vcfAutomationPlugin: _backstage_core_plugin_api.BackstagePlugin<{
|
|
@@ -43,7 +43,7 @@ interface VCFAutomationVMPowerManagementProps {
|
|
|
43
43
|
namespaceName?: string;
|
|
44
44
|
namespaceUrnId?: string;
|
|
45
45
|
}
|
|
46
|
-
declare const VCFAutomationVMPowerManagement:
|
|
46
|
+
declare const VCFAutomationVMPowerManagement: React.FC<VCFAutomationVMPowerManagementProps>;
|
|
47
47
|
|
|
48
48
|
interface VcfPageable {
|
|
49
49
|
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.12.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.
|
|
40
|
-
"@backstage/core-plugin-api": "^1.12.
|
|
41
|
-
"@backstage/frontend-plugin-api": "^0.
|
|
42
|
-
"@backstage/plugin-catalog-react": "^2.
|
|
43
|
-
"@backstage/plugin-permission-react": "^0.4.
|
|
39
|
+
"@backstage/core-components": "^0.18.8",
|
|
40
|
+
"@backstage/core-plugin-api": "^1.12.4",
|
|
41
|
+
"@backstage/frontend-plugin-api": "^0.15.1",
|
|
42
|
+
"@backstage/plugin-catalog-react": "^2.1.0",
|
|
43
|
+
"@backstage/plugin-permission-react": "^0.4.41",
|
|
44
44
|
"@backstage/theme": "^0.7.2",
|
|
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.
|
|
49
|
+
"@terasky/backstage-plugin-vcf-automation-common": "^1.2.12",
|
|
50
50
|
"js-yaml": "^4.1.0",
|
|
51
51
|
"react-use": "^17.6.0"
|
|
52
52
|
},
|
|
@@ -56,17 +56,17 @@
|
|
|
56
56
|
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@backstage/cli": "^0.
|
|
60
|
-
"@backstage/core-app-api": "^1.19.
|
|
61
|
-
"@backstage/dev-utils": "^1.1.
|
|
62
|
-
"@backstage/test-utils": "^1.7.
|
|
59
|
+
"@backstage/cli": "^0.36.0",
|
|
60
|
+
"@backstage/core-app-api": "^1.19.6",
|
|
61
|
+
"@backstage/dev-utils": "^1.1.21",
|
|
62
|
+
"@backstage/test-utils": "^1.7.16",
|
|
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",
|
|
66
66
|
"@types/js-yaml": "^4.0.5",
|
|
67
67
|
"@types/node": "*",
|
|
68
68
|
"@types/react": "^16.13.1 || ^17.0.0",
|
|
69
|
-
"msw": "^
|
|
69
|
+
"msw": "^2.12.4"
|
|
70
70
|
},
|
|
71
71
|
"files": [
|
|
72
72
|
"dist",
|