@backstage/plugin-api-docs 0.13.2-next.0 → 0.13.2
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 +29 -0
- package/dist/alpha.d.ts +1 -8
- package/dist/index.d.ts +4 -2
- package/dist/package.json.esm.js +4 -4
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# @backstage/plugin-api-docs
|
|
2
2
|
|
|
3
|
+
## 0.13.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f3f84f1: Minor extension type updates after frontend API bump
|
|
8
|
+
- d02db50: Remove unnecessary use of `compatWrapper` and `convertLegacyRouteRef`(s) for the new frontend system.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
- @backstage/plugin-catalog@1.32.1
|
|
11
|
+
- @backstage/frontend-plugin-api@0.13.2
|
|
12
|
+
- @backstage/core-components@0.18.4
|
|
13
|
+
- @backstage/plugin-catalog-react@1.21.4
|
|
14
|
+
- @backstage/core-plugin-api@1.12.1
|
|
15
|
+
- @backstage/plugin-permission-react@0.4.39
|
|
16
|
+
|
|
17
|
+
## 0.13.2-next.1
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- f3f84f1: Minor extension type updates after frontend API bump
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
- @backstage/plugin-catalog@1.32.1-next.1
|
|
24
|
+
- @backstage/frontend-plugin-api@0.13.2-next.1
|
|
25
|
+
- @backstage/plugin-catalog-react@1.21.4-next.2
|
|
26
|
+
- @backstage/core-components@0.18.4-next.2
|
|
27
|
+
- @backstage/catalog-model@1.7.6
|
|
28
|
+
- @backstage/core-plugin-api@1.12.1-next.0
|
|
29
|
+
- @backstage/plugin-catalog-common@1.1.7
|
|
30
|
+
- @backstage/plugin-permission-react@0.4.39-next.0
|
|
31
|
+
|
|
3
32
|
## 0.13.2-next.0
|
|
4
33
|
|
|
5
34
|
### Patch Changes
|
package/dist/alpha.d.ts
CHANGED
|
@@ -297,23 +297,16 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
297
297
|
"page:api-docs": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
298
298
|
config: {
|
|
299
299
|
initiallySelectedFilter: "all" | "owned" | "starred" | undefined;
|
|
300
|
-
} & {
|
|
301
300
|
path: string | undefined;
|
|
302
301
|
};
|
|
303
302
|
configInput: {
|
|
304
303
|
initiallySelectedFilter?: "all" | "owned" | "starred" | undefined;
|
|
305
|
-
} & {
|
|
306
304
|
path?: string | undefined;
|
|
307
305
|
};
|
|
308
306
|
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", {
|
|
309
307
|
optional: true;
|
|
310
308
|
}>;
|
|
311
|
-
inputs: {
|
|
312
|
-
[x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ExtensionDataRef, {
|
|
313
|
-
singleton: boolean;
|
|
314
|
-
optional: boolean;
|
|
315
|
-
}>;
|
|
316
|
-
};
|
|
309
|
+
inputs: {};
|
|
317
310
|
kind: "page";
|
|
318
311
|
name: undefined;
|
|
319
312
|
params: {
|
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { UserListFilterKind, EntityOwnerPickerProps, EntityListPagination } from
|
|
|
6
6
|
import { ReactElement } from 'react';
|
|
7
7
|
import * as _backstage_catalog_model from '@backstage/catalog-model';
|
|
8
8
|
import { ApiEntity, ComponentEntity } from '@backstage/catalog-model';
|
|
9
|
+
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
|
|
9
10
|
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
10
11
|
|
|
11
12
|
/**
|
|
@@ -154,7 +155,7 @@ type TrpcApiDefinitionWidgetProps = {
|
|
|
154
155
|
declare const TrpcApiDefinitionWidget: (props: TrpcApiDefinitionWidgetProps) => react_jsx_runtime.JSX.Element;
|
|
155
156
|
|
|
156
157
|
/** @public */
|
|
157
|
-
declare const apiDocsConfigRef:
|
|
158
|
+
declare const apiDocsConfigRef: _backstage_frontend_plugin_api.ApiRef<ApiDocsConfig>;
|
|
158
159
|
/** @public */
|
|
159
160
|
interface ApiDocsConfig {
|
|
160
161
|
getApiDefinitionWidget: (apiEntity: ApiEntity) => ApiDefinitionWidget | undefined;
|
|
@@ -202,4 +203,5 @@ declare const EntityHasApisCard: (props: {
|
|
|
202
203
|
tableOptions?: _backstage_core_components.TableOptions;
|
|
203
204
|
}) => react_jsx_runtime.JSX.Element;
|
|
204
205
|
|
|
205
|
-
export { ApiDefinitionCard, ApiDefinitionDialog,
|
|
206
|
+
export { ApiDefinitionCard, ApiDefinitionDialog, ApiExplorerPage$1 as ApiExplorerIndexPage, ApiExplorerPage, ApiTypeTitle, AsyncApiDefinitionWidget, ConsumedApisCard, ConsumingComponentsCard, DefaultApiExplorerPage, EntityApiDefinitionCard, EntityConsumedApisCard, EntityConsumingComponentsCard, EntityHasApisCard, EntityProvidedApisCard, EntityProvidingComponentsCard, GraphQlDefinitionWidget, HasApisCard, OpenApiDefinitionWidget, PlainApiDefinitionWidget, ProvidedApisCard, ProvidingComponentsCard, TrpcApiDefinitionWidget, apiDocsConfigRef, apiDocsPlugin, defaultDefinitionWidgets, apiDocsPlugin as plugin };
|
|
207
|
+
export type { ApiDefinitionWidget, ApiDocsConfig, AsyncApiDefinitionWidgetProps, AsyncApiResolver, DefaultApiExplorerPageProps, GraphQlDefinitionWidgetProps, OpenApiDefinitionWidgetProps, PlainApiDefinitionWidgetProps, TrpcApiDefinitionWidgetProps };
|
package/dist/package.json.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var name = "@backstage/plugin-api-docs";
|
|
2
|
-
var version = "0.13.2
|
|
2
|
+
var version = "0.13.2";
|
|
3
3
|
var description = "A Backstage plugin that helps represent API entities in the frontend";
|
|
4
4
|
var backstage = {
|
|
5
5
|
role: "frontend-plugin",
|
|
@@ -22,7 +22,7 @@ var repository = {
|
|
|
22
22
|
};
|
|
23
23
|
var license = "Apache-2.0";
|
|
24
24
|
var sideEffects = false;
|
|
25
|
-
var exports = {
|
|
25
|
+
var exports$1 = {
|
|
26
26
|
".": "./src/index.ts",
|
|
27
27
|
"./alpha": "./src/alpha.tsx",
|
|
28
28
|
"./package.json": "./package.json"
|
|
@@ -109,7 +109,7 @@ var _package = {
|
|
|
109
109
|
repository: repository,
|
|
110
110
|
license: license,
|
|
111
111
|
sideEffects: sideEffects,
|
|
112
|
-
exports: exports,
|
|
112
|
+
exports: exports$1,
|
|
113
113
|
main: main,
|
|
114
114
|
types: types,
|
|
115
115
|
typesVersions: typesVersions,
|
|
@@ -121,5 +121,5 @@ var _package = {
|
|
|
121
121
|
peerDependenciesMeta: peerDependenciesMeta
|
|
122
122
|
};
|
|
123
123
|
|
|
124
|
-
export { backstage, _package as default, dependencies, description, devDependencies, exports, files, homepage, keywords, license, main, name, peerDependencies, peerDependenciesMeta, publishConfig, repository, scripts, sideEffects, types, typesVersions, version };
|
|
124
|
+
export { backstage, _package as default, dependencies, description, devDependencies, exports$1 as exports, files, homepage, keywords, license, main, name, peerDependencies, peerDependenciesMeta, publishConfig, repository, scripts, sideEffects, types, typesVersions, version };
|
|
125
125
|
//# sourceMappingURL=package.json.esm.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-api-docs",
|
|
3
|
-
"version": "0.13.2
|
|
3
|
+
"version": "0.13.2",
|
|
4
4
|
"description": "A Backstage plugin that helps represent API entities in the frontend",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -66,14 +66,14 @@
|
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"@asyncapi/react-component": "^2.3.3",
|
|
69
|
-
"@backstage/catalog-model": "1.7.6",
|
|
70
|
-
"@backstage/core-components": "0.18.4
|
|
71
|
-
"@backstage/core-plugin-api": "1.12.1
|
|
72
|
-
"@backstage/frontend-plugin-api": "0.13.2
|
|
73
|
-
"@backstage/plugin-catalog": "1.32.1
|
|
74
|
-
"@backstage/plugin-catalog-common": "1.1.7",
|
|
75
|
-
"@backstage/plugin-catalog-react": "1.21.4
|
|
76
|
-
"@backstage/plugin-permission-react": "0.4.39
|
|
69
|
+
"@backstage/catalog-model": "^1.7.6",
|
|
70
|
+
"@backstage/core-components": "^0.18.4",
|
|
71
|
+
"@backstage/core-plugin-api": "^1.12.1",
|
|
72
|
+
"@backstage/frontend-plugin-api": "^0.13.2",
|
|
73
|
+
"@backstage/plugin-catalog": "^1.32.1",
|
|
74
|
+
"@backstage/plugin-catalog-common": "^1.1.7",
|
|
75
|
+
"@backstage/plugin-catalog-react": "^1.21.4",
|
|
76
|
+
"@backstage/plugin-permission-react": "^0.4.39",
|
|
77
77
|
"@graphiql/react": "^0.23.0",
|
|
78
78
|
"@material-ui/core": "^4.12.2",
|
|
79
79
|
"@material-ui/icons": "^4.9.1",
|
|
@@ -85,10 +85,10 @@
|
|
|
85
85
|
"swagger-ui-react": "^5.27.1"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
|
-
"@backstage/cli": "0.
|
|
89
|
-
"@backstage/core-app-api": "1.19.3
|
|
90
|
-
"@backstage/dev-utils": "1.1.18
|
|
91
|
-
"@backstage/test-utils": "1.7.14
|
|
88
|
+
"@backstage/cli": "^0.35.0",
|
|
89
|
+
"@backstage/core-app-api": "^1.19.3",
|
|
90
|
+
"@backstage/dev-utils": "^1.1.18",
|
|
91
|
+
"@backstage/test-utils": "^1.7.14",
|
|
92
92
|
"@testing-library/dom": "^10.0.0",
|
|
93
93
|
"@testing-library/jest-dom": "^6.0.0",
|
|
94
94
|
"@testing-library/react": "^16.0.0",
|