mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-26 06:31:49 +00:00
fix(openapi): missing legacy export
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'fumadocs-openapi': patch
|
||||
---
|
||||
|
||||
fix missing legacy export
|
||||
@@ -1,8 +1,11 @@
|
||||
'use client';
|
||||
import { createOpenAPIPage, type CreateOpenAPIPageOptions } from '.';
|
||||
import { createOpenAPIPage, type OpenAPIPageProps, type CreateOpenAPIPageOptions } from '.';
|
||||
|
||||
/** @deprecated Use `CreateOpenAPIPageOptions` insteawd */
|
||||
export type CreateClientAPIPageOptions = CreateOpenAPIPageOptions;
|
||||
|
||||
/** @deprecated Use `OpenAPIPageProps` instead */
|
||||
export type ClientApiPageProps = OpenAPIPageProps;
|
||||
|
||||
/** @deprecated use `createOpenAPIPage()` from `fumadocs-openapi/ui` instead */
|
||||
export const createClientAPIPage = createOpenAPIPage;
|
||||
|
||||
@@ -9,8 +9,7 @@ export default defineConfig({
|
||||
target: 'es2023',
|
||||
entry: [
|
||||
'./src/{index,i18n}.ts',
|
||||
'./src/ui/index.tsx',
|
||||
'./src/ui/base.tsx',
|
||||
'./src/ui/{index,base,create-client}.tsx',
|
||||
'./src/ui/asyncapi/index.tsx',
|
||||
'./src/ui/asyncapi-base.tsx',
|
||||
'./src/ui/client/index.tsx',
|
||||
|
||||
Reference in New Issue
Block a user