build: update dependencies and fumadocs

This commit is contained in:
rzmk 2025-12-02 21:16:06 -05:00
parent 100165ec29
commit fd5ebf4af0
144 changed files with 301 additions and 431 deletions

View file

@ -1,13 +1,12 @@
import defaultMdxComponents from 'fumadocs-ui/mdx';
import { APIPage } from 'fumadocs-openapi/ui';
import { openapi } from '@/lib/openapi';
import type { MDXComponents } from 'mdx/types';
import defaultComponents from "fumadocs-ui/mdx";
import type { MDXComponents } from "mdx/types";
import { APIPage } from "@/components/api-page";
// use this function to get MDX components, you will need it for rendering MDX
// make sure you can use it in MDX files
export function getMDXComponents(components?: MDXComponents): MDXComponents {
return {
...defaultMdxComponents,
APIPage: (props) => <APIPage {...openapi.getAPIPageProps(props)} />,
...defaultComponents,
APIPage,
...components,
};
}