fumadocs-mdx 8.2.34 → 9.0.1

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/dist/config.mjs CHANGED
@@ -50,7 +50,7 @@ function getMdastExport(name, value) {
50
50
  source: null,
51
51
  declaration: {
52
52
  type: "VariableDeclaration",
53
- kind: "const",
53
+ kind: "let",
54
54
  declarations: [
55
55
  {
56
56
  type: "VariableDeclarator",
package/dist/index.d.mts CHANGED
@@ -11,16 +11,19 @@ declare const defaultSchemas: {
11
11
  description: z.ZodOptional<z.ZodString>;
12
12
  icon: z.ZodOptional<z.ZodString>;
13
13
  full: z.ZodOptional<z.ZodBoolean>;
14
+ _openapi: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
14
15
  }, "strip", z.ZodTypeAny, {
15
16
  title: string;
16
17
  icon?: string | undefined;
17
18
  description?: string | undefined;
18
19
  full?: boolean | undefined;
20
+ _openapi?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
19
21
  }, {
20
22
  title: string;
21
23
  icon?: string | undefined;
22
24
  description?: string | undefined;
23
25
  full?: boolean | undefined;
26
+ _openapi?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
24
27
  }>;
25
28
  meta: z.ZodObject<{
26
29
  title: z.ZodOptional<z.ZodString>;
package/dist/index.mjs CHANGED
@@ -14,7 +14,9 @@ var frontmatterSchema = z.object({
14
14
  title: z.string(),
15
15
  description: z.string().optional(),
16
16
  icon: z.string().optional(),
17
- full: z.boolean().optional()
17
+ full: z.boolean().optional(),
18
+ // Fumadocs OpenAPI generated
19
+ _openapi: z.object({}).passthrough().optional()
18
20
  });
19
21
  var defaultSchemas = {
20
22
  frontmatter: frontmatterSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fumadocs-mdx",
3
- "version": "8.2.34",
3
+ "version": "9.0.1",
4
4
  "description": "The built-in source for Fumadocs",
5
5
  "keywords": [
6
6
  "NextJs",
@@ -53,11 +53,11 @@
53
53
  "unified": "^11.0.5",
54
54
  "webpack": "^5.90.3",
55
55
  "eslint-config-custom": "0.0.0",
56
- "fumadocs-core": "12.5.3",
56
+ "fumadocs-core": "13.2.1",
57
57
  "tsconfig": "0.0.0"
58
58
  },
59
59
  "peerDependencies": {
60
- "fumadocs-core": "12.x.x",
60
+ "fumadocs-core": "13.x.x",
61
61
  "next": ">= 14.1.0"
62
62
  },
63
63
  "publishConfig": {