@docusaurus/plugin-debug 2.0.0-beta.8e9b829d9 → 2.0.0-beta.9
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/copyUntypedFiles.js +20 -0
- package/lib/.tsbuildinfo +1 -1
- package/lib/index.js +11 -11
- package/lib/theme/DebugConfig/index.d.ts +9 -0
- package/lib/theme/DebugConfig/index.js +20 -0
- package/lib/theme/DebugContent/index.d.ts +10 -0
- package/lib/theme/DebugContent/index.js +36 -0
- package/lib/theme/DebugGlobalData/index.d.ts +9 -0
- package/lib/theme/DebugGlobalData/index.js +20 -0
- package/lib/theme/DebugJsonView/index.d.ts +10 -0
- package/lib/theme/DebugJsonView/index.js +42 -0
- package/lib/theme/DebugLayout/index.d.ts +11 -0
- package/lib/theme/DebugLayout/index.js +32 -0
- package/lib/theme/DebugLayout/styles.module.css +75 -0
- package/lib/theme/DebugRegistry/index.d.ts +9 -0
- package/lib/theme/DebugRegistry/index.js +25 -0
- package/lib/theme/DebugRegistry/styles.module.css +18 -0
- package/lib/theme/DebugRoutes/index.d.ts +9 -0
- package/lib/theme/DebugRoutes/index.js +28 -0
- package/lib/theme/DebugRoutes/styles.module.css +26 -0
- package/lib/theme/DebugSiteMetadata/index.d.ts +9 -0
- package/lib/theme/DebugSiteMetadata/index.js +35 -0
- package/lib/theme/DebugSiteMetadata/styles.module.css +31 -0
- package/package.json +11 -9
- package/src/index.ts +1 -1
- package/src/theme/DebugConfig/{index.js → index.tsx} +4 -4
- package/src/theme/DebugContent/{index.js → index.tsx} +19 -6
- package/src/theme/DebugGlobalData/{index.js → index.tsx} +4 -4
- package/src/theme/DebugJsonView/{index.js → index.tsx} +10 -7
- package/src/theme/DebugLayout/{index.js → index.tsx} +3 -3
- package/src/theme/DebugRegistry/{index.js → index.tsx} +2 -2
- package/src/theme/DebugRoutes/{index.js → index.tsx} +3 -3
- package/src/theme/DebugSiteMetadata/{index.js → index.tsx} +8 -7
- package/src/types.d.ts +51 -0
package/src/types.d.ts
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/// <reference types="@docusaurus/module-type-aliases" />
|
|
9
|
+
|
|
10
|
+
declare module '@theme/DebugConfig' {
|
|
11
|
+
export default function DebugMetadata(): JSX.Element;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
declare module '@theme/DebugContent' {
|
|
15
|
+
import type {AllContent} from '@docusaurus/types';
|
|
16
|
+
|
|
17
|
+
export interface Props {
|
|
18
|
+
readonly allContent: AllContent;
|
|
19
|
+
}
|
|
20
|
+
export default function DebugContent(props: Props): JSX.Element;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
declare module '@theme/DebugGlobalData' {
|
|
24
|
+
export default function DebugGlobalData(): JSX.Element;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
declare module '@theme/DebugJsonView' {
|
|
28
|
+
export interface Props {
|
|
29
|
+
readonly src: unknown;
|
|
30
|
+
readonly collapseDepth?: number;
|
|
31
|
+
}
|
|
32
|
+
export default function DebugJsonView(props: Props): JSX.Element;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
declare module '@theme/DebugLayout' {
|
|
36
|
+
export default function DebugLayout(props: {
|
|
37
|
+
children: ReactNode;
|
|
38
|
+
}): JSX.Element;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
declare module '@theme/DebugRegistry' {
|
|
42
|
+
export default function DebugRegistry(): JSX.Element;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
declare module '@theme/DebugRoutes' {
|
|
46
|
+
export default function DebugRoutes(): JSX.Element;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
declare module '@theme/DebugSiteMetadata' {
|
|
50
|
+
export default function DebugSiteMetadata(): JSX.Element;
|
|
51
|
+
}
|