@farming-labs/next 0.2.120 → 0.2.122

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,21 @@
1
+ import { DocsConfig } from "@farming-labs/docs/build";
2
+ import { NextConfig } from "next";
3
+
4
+ //#region src/mdx-options.d.ts
5
+ type DocsMdxValue = string | number | boolean | null | DocsMdxValue[] | {
6
+ [key: string]: DocsMdxValue;
7
+ };
8
+ /** Module names/paths and JSON options work with both Webpack and Turbopack. */
9
+ type DocsMdxPlugin = string | [module: string, options?: DocsMdxValue];
10
+ interface WithDocsOptions {
11
+ mdx?: {
12
+ /** Additional remark plugins, run after the built-in remark plugins. */remarkPlugins?: DocsMdxPlugin[]; /** Additional rehype plugins, run after the built-in rehype plugins. */
13
+ rehypePlugins?: DocsMdxPlugin[]; /** Replace only the syntax-highlighting plugin; metadata and TOC stay enabled. */
14
+ codeHighlighter?: DocsMdxPlugin;
15
+ };
16
+ }
17
+ //#endregion
18
+ //#region src/config.d.ts
19
+ declare function withDocs(nextConfig?: NextConfig, docsConfig?: Pick<DocsConfig, "agent" | "mcp" | "theme">, options?: WithDocsOptions): NextConfig;
20
+ //#endregion
21
+ export { WithDocsOptions as i, DocsMdxPlugin as n, DocsMdxValue as r, withDocs as t };
package/dist/config.d.mts CHANGED
@@ -1,7 +1,2 @@
1
- import { DocsConfig } from "@farming-labs/docs";
2
- import { NextConfig } from "next";
3
-
4
- //#region src/config.d.ts
5
- declare function withDocs(nextConfig?: NextConfig, docsConfig?: Pick<DocsConfig, "agent" | "mcp" | "theme">): NextConfig;
6
- //#endregion
7
- export { withDocs };
1
+ import { i as WithDocsOptions, n as DocsMdxPlugin, r as DocsMdxValue, t as withDocs } from "./config-yzp9kyZ0.mjs";
2
+ export { DocsMdxPlugin, DocsMdxValue, WithDocsOptions, withDocs };