docusaurus-plugin-openapi-docs 0.0.0-1015 → 0.0.0-1016
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/package.json +2 -2
- package/src/plugin-openapi.d.ts +3 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "docusaurus-plugin-openapi-docs",
|
|
3
3
|
"description": "OpenAPI plugin for Docusaurus.",
|
|
4
|
-
"version": "0.0.0-
|
|
4
|
+
"version": "0.0.0-1016",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"openapi",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"engines": {
|
|
66
66
|
"node": ">=14"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "c6ced382c6fb3ee6efd7e1b7b9a11c33355131c5"
|
|
69
69
|
}
|
package/src/plugin-openapi.d.ts
CHANGED
|
@@ -5,10 +5,11 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
* ========================================================================== */
|
|
7
7
|
|
|
8
|
+
import type { TOCItem } from "@docusaurus/mdx-loader";
|
|
9
|
+
import type { VersionBanner } from "@docusaurus/plugin-content-docs";
|
|
8
10
|
import type { FrontMatter as DocsFrontMatter } from "@docusaurus/types";
|
|
9
11
|
import type { Props as DocsProps } from "@docusaurus/types";
|
|
10
12
|
|
|
11
|
-
// TODO: figure out how to import this
|
|
12
13
|
declare module "docusaurus-plugin-openapi-docs" {
|
|
13
14
|
import type { PropSidebars } from "@docusaurus/plugin-content-docs-types";
|
|
14
15
|
|
|
@@ -77,7 +78,7 @@ declare module "@theme/ApiItem" {
|
|
|
77
78
|
readonly frontMatter: FrontMatter;
|
|
78
79
|
readonly metadata: Metadata;
|
|
79
80
|
readonly contentTitle: string | undefined;
|
|
80
|
-
readonly toc:
|
|
81
|
+
readonly toc: readonly TOCItem[] | undefined;
|
|
81
82
|
(): JSX.Element;
|
|
82
83
|
};
|
|
83
84
|
}
|