fumadocs-openapi 11.0.1 → 11.0.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.
@@ -0,0 +1,11 @@
1
+ import { CreateOpenAPIPageOptions, OpenAPIPageProps, createOpenAPIPage } from "./index.js";
2
+
3
+ //#region src/ui/create-client.d.ts
4
+ /** @deprecated Use `CreateOpenAPIPageOptions` insteawd */
5
+ type CreateClientAPIPageOptions = CreateOpenAPIPageOptions;
6
+ /** @deprecated Use `OpenAPIPageProps` instead */
7
+ type ClientApiPageProps = OpenAPIPageProps;
8
+ /** @deprecated use `createOpenAPIPage()` from `fumadocs-openapi/ui` instead */
9
+ declare const createClientAPIPage: typeof createOpenAPIPage;
10
+ //#endregion
11
+ export { ClientApiPageProps, CreateClientAPIPageOptions, createClientAPIPage };
@@ -0,0 +1,7 @@
1
+ "use client";
2
+ import { createOpenAPIPage } from "./index.js";
3
+ //#region src/ui/create-client.tsx
4
+ /** @deprecated use `createOpenAPIPage()` from `fumadocs-openapi/ui` instead */
5
+ const createClientAPIPage = createOpenAPIPage;
6
+ //#endregion
7
+ export { createClientAPIPage };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fumadocs-openapi",
3
- "version": "11.0.1",
3
+ "version": "11.0.2",
4
4
  "description": "Generate MDX docs for your OpenAPI spec",
5
5
  "keywords": [
6
6
  "Docs",
@@ -31,6 +31,7 @@
31
31
  "./server": "./dist/server/index.js",
32
32
  "./ui": "./dist/ui/index.js",
33
33
  "./ui/base": "./dist/ui/base.js",
34
+ "./ui/create-client": "./dist/ui/create-client.js",
34
35
  "./package.json": "./package.json",
35
36
  "./css/*": "./css/*"
36
37
  },
@@ -64,9 +65,9 @@
64
65
  "json-schema-typed": "^8.0.2",
65
66
  "tsdown": "0.22.2",
66
67
  "xml-js": "^1.6.11",
68
+ "tsconfig": "0.0.0",
67
69
  "fumadocs-core": "16.10.1",
68
- "fumadocs-ui": "16.10.1",
69
- "tsconfig": "0.0.0"
70
+ "fumadocs-ui": "16.10.1"
70
71
  },
71
72
  "peerDependencies": {
72
73
  "@scalar/api-client-react": "^2.0.20",