@backstage/plugin-api-docs 0.0.0-nightly-20240918022959 → 0.0.0-nightly-20240920023120
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -5
- package/alpha/package.json +1 -1
- package/dist/alpha.d.ts +51 -11
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# @backstage/plugin-api-docs
|
|
2
2
|
|
|
3
|
-
## 0.0.0-nightly-
|
|
3
|
+
## 0.0.0-nightly-20240920023120
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- Updated dependencies
|
|
8
|
-
- @backstage/frontend-plugin-api@0.0.0-nightly-
|
|
9
|
-
- @backstage/
|
|
10
|
-
- @backstage/
|
|
11
|
-
- @backstage/plugin-catalog-react@0.0.0-nightly-
|
|
8
|
+
- @backstage/frontend-plugin-api@0.0.0-nightly-20240920023120
|
|
9
|
+
- @backstage/plugin-catalog@0.0.0-nightly-20240920023120
|
|
10
|
+
- @backstage/core-compat-api@0.0.0-nightly-20240920023120
|
|
11
|
+
- @backstage/plugin-catalog-react@0.0.0-nightly-20240920023120
|
|
12
12
|
- @backstage/catalog-model@1.7.0
|
|
13
13
|
- @backstage/core-components@0.15.0
|
|
14
14
|
- @backstage/core-plugin-api@1.9.4
|
package/alpha/package.json
CHANGED
package/dist/alpha.d.ts
CHANGED
|
@@ -10,7 +10,6 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
10
10
|
}, {
|
|
11
11
|
"nav-item:api-docs": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
12
12
|
kind: "nav-item";
|
|
13
|
-
namespace: undefined;
|
|
14
13
|
name: undefined;
|
|
15
14
|
config: {};
|
|
16
15
|
configInput: {};
|
|
@@ -20,15 +19,22 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
20
19
|
routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
|
|
21
20
|
}, "core.nav-item.target", {}>;
|
|
22
21
|
inputs: {};
|
|
22
|
+
params: {
|
|
23
|
+
title: string;
|
|
24
|
+
icon: _backstage_core_plugin_api.IconComponent;
|
|
25
|
+
routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
|
|
26
|
+
};
|
|
23
27
|
}>;
|
|
24
28
|
"api:api-docs/config": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
25
29
|
kind: "api";
|
|
26
|
-
namespace: undefined;
|
|
27
30
|
name: "config";
|
|
28
31
|
config: {};
|
|
29
32
|
configInput: {};
|
|
30
33
|
output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
|
|
31
34
|
inputs: {};
|
|
35
|
+
params: {
|
|
36
|
+
factory: _backstage_frontend_plugin_api.AnyApiFactory;
|
|
37
|
+
};
|
|
32
38
|
}>;
|
|
33
39
|
"page:api-docs": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
34
40
|
config: {
|
|
@@ -51,12 +57,15 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
51
57
|
}>;
|
|
52
58
|
};
|
|
53
59
|
kind: "page";
|
|
54
|
-
namespace: undefined;
|
|
55
60
|
name: undefined;
|
|
61
|
+
params: {
|
|
62
|
+
defaultPath: string;
|
|
63
|
+
loader: () => Promise<JSX.Element>;
|
|
64
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
|
|
65
|
+
};
|
|
56
66
|
}>;
|
|
57
67
|
"entity-card:api-docs/has-apis": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
58
68
|
kind: "entity-card";
|
|
59
|
-
namespace: undefined;
|
|
60
69
|
name: "has-apis";
|
|
61
70
|
config: {
|
|
62
71
|
filter: string | undefined;
|
|
@@ -70,10 +79,13 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
70
79
|
optional: true;
|
|
71
80
|
}>;
|
|
72
81
|
inputs: {};
|
|
82
|
+
params: {
|
|
83
|
+
loader: () => Promise<JSX.Element>;
|
|
84
|
+
filter?: string | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
|
|
85
|
+
};
|
|
73
86
|
}>;
|
|
74
87
|
"entity-card:api-docs/definition": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
75
88
|
kind: "entity-card";
|
|
76
|
-
namespace: undefined;
|
|
77
89
|
name: "definition";
|
|
78
90
|
config: {
|
|
79
91
|
filter: string | undefined;
|
|
@@ -87,10 +99,13 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
87
99
|
optional: true;
|
|
88
100
|
}>;
|
|
89
101
|
inputs: {};
|
|
102
|
+
params: {
|
|
103
|
+
loader: () => Promise<JSX.Element>;
|
|
104
|
+
filter?: string | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
|
|
105
|
+
};
|
|
90
106
|
}>;
|
|
91
107
|
"entity-card:api-docs/consumed-apis": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
92
108
|
kind: "entity-card";
|
|
93
|
-
namespace: undefined;
|
|
94
109
|
name: "consumed-apis";
|
|
95
110
|
config: {
|
|
96
111
|
filter: string | undefined;
|
|
@@ -104,10 +119,13 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
104
119
|
optional: true;
|
|
105
120
|
}>;
|
|
106
121
|
inputs: {};
|
|
122
|
+
params: {
|
|
123
|
+
loader: () => Promise<JSX.Element>;
|
|
124
|
+
filter?: string | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
|
|
125
|
+
};
|
|
107
126
|
}>;
|
|
108
127
|
"entity-card:api-docs/provided-apis": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
109
128
|
kind: "entity-card";
|
|
110
|
-
namespace: undefined;
|
|
111
129
|
name: "provided-apis";
|
|
112
130
|
config: {
|
|
113
131
|
filter: string | undefined;
|
|
@@ -121,10 +139,13 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
121
139
|
optional: true;
|
|
122
140
|
}>;
|
|
123
141
|
inputs: {};
|
|
142
|
+
params: {
|
|
143
|
+
loader: () => Promise<JSX.Element>;
|
|
144
|
+
filter?: string | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
|
|
145
|
+
};
|
|
124
146
|
}>;
|
|
125
147
|
"entity-card:api-docs/consuming-components": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
126
148
|
kind: "entity-card";
|
|
127
|
-
namespace: undefined;
|
|
128
149
|
name: "consuming-components";
|
|
129
150
|
config: {
|
|
130
151
|
filter: string | undefined;
|
|
@@ -138,10 +159,13 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
138
159
|
optional: true;
|
|
139
160
|
}>;
|
|
140
161
|
inputs: {};
|
|
162
|
+
params: {
|
|
163
|
+
loader: () => Promise<JSX.Element>;
|
|
164
|
+
filter?: string | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
|
|
165
|
+
};
|
|
141
166
|
}>;
|
|
142
167
|
"entity-card:api-docs/providing-components": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
143
168
|
kind: "entity-card";
|
|
144
|
-
namespace: undefined;
|
|
145
169
|
name: "providing-components";
|
|
146
170
|
config: {
|
|
147
171
|
filter: string | undefined;
|
|
@@ -155,10 +179,13 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
155
179
|
optional: true;
|
|
156
180
|
}>;
|
|
157
181
|
inputs: {};
|
|
182
|
+
params: {
|
|
183
|
+
loader: () => Promise<JSX.Element>;
|
|
184
|
+
filter?: string | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
|
|
185
|
+
};
|
|
158
186
|
}>;
|
|
159
187
|
"entity-content:api-docs/definition": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
160
188
|
kind: "entity-content";
|
|
161
|
-
namespace: undefined;
|
|
162
189
|
name: "definition";
|
|
163
190
|
config: {
|
|
164
191
|
path: string | undefined;
|
|
@@ -178,10 +205,16 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
178
205
|
optional: true;
|
|
179
206
|
}>;
|
|
180
207
|
inputs: {};
|
|
208
|
+
params: {
|
|
209
|
+
loader: () => Promise<JSX.Element>;
|
|
210
|
+
defaultPath: string;
|
|
211
|
+
defaultTitle: string;
|
|
212
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
|
|
213
|
+
filter?: string | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
|
|
214
|
+
};
|
|
181
215
|
}>;
|
|
182
216
|
"entity-content:api-docs/apis": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
183
217
|
kind: "entity-content";
|
|
184
|
-
namespace: undefined;
|
|
185
218
|
name: "apis";
|
|
186
219
|
config: {
|
|
187
220
|
path: string | undefined;
|
|
@@ -201,6 +234,13 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
201
234
|
optional: true;
|
|
202
235
|
}>;
|
|
203
236
|
inputs: {};
|
|
237
|
+
params: {
|
|
238
|
+
loader: () => Promise<JSX.Element>;
|
|
239
|
+
defaultPath: string;
|
|
240
|
+
defaultTitle: string;
|
|
241
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
|
|
242
|
+
filter?: string | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
|
|
243
|
+
};
|
|
204
244
|
}>;
|
|
205
245
|
}>;
|
|
206
246
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-api-docs",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20240920023120",
|
|
4
4
|
"description": "A Backstage plugin that helps represent API entities in the frontend",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -54,13 +54,13 @@
|
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@asyncapi/react-component": "1.3.1",
|
|
56
56
|
"@backstage/catalog-model": "^1.7.0",
|
|
57
|
-
"@backstage/core-compat-api": "^0.0.0-nightly-
|
|
57
|
+
"@backstage/core-compat-api": "^0.0.0-nightly-20240920023120",
|
|
58
58
|
"@backstage/core-components": "^0.15.0",
|
|
59
59
|
"@backstage/core-plugin-api": "^1.9.4",
|
|
60
|
-
"@backstage/frontend-plugin-api": "^0.0.0-nightly-
|
|
61
|
-
"@backstage/plugin-catalog": "^0.0.0-nightly-
|
|
60
|
+
"@backstage/frontend-plugin-api": "^0.0.0-nightly-20240920023120",
|
|
61
|
+
"@backstage/plugin-catalog": "^0.0.0-nightly-20240920023120",
|
|
62
62
|
"@backstage/plugin-catalog-common": "^1.1.0",
|
|
63
|
-
"@backstage/plugin-catalog-react": "^0.0.0-nightly-
|
|
63
|
+
"@backstage/plugin-catalog-react": "^0.0.0-nightly-20240920023120",
|
|
64
64
|
"@backstage/plugin-permission-react": "^0.4.26",
|
|
65
65
|
"@graphiql/react": "^0.23.0",
|
|
66
66
|
"@material-ui/core": "^4.12.2",
|
|
@@ -75,9 +75,9 @@
|
|
|
75
75
|
"swagger-ui-react": "^5.0.0"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@backstage/cli": "^0.0.0-nightly-
|
|
78
|
+
"@backstage/cli": "^0.0.0-nightly-20240920023120",
|
|
79
79
|
"@backstage/core-app-api": "^1.15.0",
|
|
80
|
-
"@backstage/dev-utils": "^0.0.0-nightly-
|
|
80
|
+
"@backstage/dev-utils": "^0.0.0-nightly-20240920023120",
|
|
81
81
|
"@backstage/test-utils": "^1.6.0",
|
|
82
82
|
"@testing-library/dom": "^10.0.0",
|
|
83
83
|
"@testing-library/jest-dom": "^6.0.0",
|