fumadocs-mdx 11.5.0 → 11.5.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/index.d.cts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/loader-mdx.js +3 -3
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Source, PageData, MetaData, VirtualFile } from 'fumadocs-core/source';
|
|
2
|
-
import { F as FileInfo, e as defineCollections, M as MarkdownProps, B as BaseCollectionEntry
|
|
2
|
+
import { F as FileInfo, e as defineCollections, M as MarkdownProps, B as BaseCollectionEntry } from './define-_brlBG8j.cjs';
|
|
3
3
|
import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
4
4
|
import '@mdx-js/mdx';
|
|
5
5
|
import 'mdx/types';
|
|
@@ -16,7 +16,11 @@ interface RuntimeFile {
|
|
|
16
16
|
interface Runtime {
|
|
17
17
|
doc: <C>(files: RuntimeFile[]) => C extends ReturnType<typeof defineCollections<'doc', infer Schema extends StandardSchemaV1, false>> ? (Omit<MarkdownProps, keyof StandardSchemaV1.InferOutput<Schema>> & StandardSchemaV1.InferOutput<Schema> & BaseCollectionEntry)[] : never;
|
|
18
18
|
meta: <C>(files: RuntimeFile[]) => C extends ReturnType<typeof defineCollections<'meta', infer Schema extends StandardSchemaV1, false>> ? (StandardSchemaV1.InferOutput<Schema> & BaseCollectionEntry)[] : never;
|
|
19
|
-
docs: <Docs>(docs: RuntimeFile[], metas: RuntimeFile[]) => Docs extends
|
|
19
|
+
docs: <Docs>(docs: RuntimeFile[], metas: RuntimeFile[]) => Docs extends {
|
|
20
|
+
type: 'docs';
|
|
21
|
+
docs: unknown;
|
|
22
|
+
meta: unknown;
|
|
23
|
+
} ? {
|
|
20
24
|
docs: ReturnType<typeof _runtime.doc<Docs['docs']>>;
|
|
21
25
|
meta: ReturnType<typeof _runtime.meta<Docs['meta']>>;
|
|
22
26
|
toFumadocsSource: () => Source<{
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Source, PageData, MetaData, VirtualFile } from 'fumadocs-core/source';
|
|
2
|
-
import { F as FileInfo, e as defineCollections, M as MarkdownProps, B as BaseCollectionEntry
|
|
2
|
+
import { F as FileInfo, e as defineCollections, M as MarkdownProps, B as BaseCollectionEntry } from './define-_brlBG8j.js';
|
|
3
3
|
import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
4
4
|
import '@mdx-js/mdx';
|
|
5
5
|
import 'mdx/types';
|
|
@@ -16,7 +16,11 @@ interface RuntimeFile {
|
|
|
16
16
|
interface Runtime {
|
|
17
17
|
doc: <C>(files: RuntimeFile[]) => C extends ReturnType<typeof defineCollections<'doc', infer Schema extends StandardSchemaV1, false>> ? (Omit<MarkdownProps, keyof StandardSchemaV1.InferOutput<Schema>> & StandardSchemaV1.InferOutput<Schema> & BaseCollectionEntry)[] : never;
|
|
18
18
|
meta: <C>(files: RuntimeFile[]) => C extends ReturnType<typeof defineCollections<'meta', infer Schema extends StandardSchemaV1, false>> ? (StandardSchemaV1.InferOutput<Schema> & BaseCollectionEntry)[] : never;
|
|
19
|
-
docs: <Docs>(docs: RuntimeFile[], metas: RuntimeFile[]) => Docs extends
|
|
19
|
+
docs: <Docs>(docs: RuntimeFile[], metas: RuntimeFile[]) => Docs extends {
|
|
20
|
+
type: 'docs';
|
|
21
|
+
docs: unknown;
|
|
22
|
+
meta: unknown;
|
|
23
|
+
} ? {
|
|
20
24
|
docs: ReturnType<typeof _runtime.doc<Docs['docs']>>;
|
|
21
25
|
meta: ReturnType<typeof _runtime.meta<Docs['meta']>>;
|
|
22
26
|
toFumadocsSource: () => Source<{
|
package/dist/loader-mdx.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-mdx",
|
|
3
|
-
"version": "11.5.
|
|
3
|
+
"version": "11.5.1",
|
|
4
4
|
"description": "The built-in source for Fumadocs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"NextJs",
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
"vfile": "^6.0.3",
|
|
67
67
|
"webpack": "^5.97.1",
|
|
68
68
|
"@fumadocs/mdx-remote": "1.2.0",
|
|
69
|
-
"eslint-config-custom": "0.0.0",
|
|
70
69
|
"fumadocs-core": "15.0.3",
|
|
71
|
-
"tsconfig": "0.0.0"
|
|
70
|
+
"tsconfig": "0.0.0",
|
|
71
|
+
"eslint-config-custom": "0.0.0"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
74
|
"@fumadocs/mdx-remote": "^1.2.0",
|