@slidev/types 0.49.7 → 0.49.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/dist/index.d.mts +12 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -90,6 +90,12 @@ interface SlidevConfig {
|
|
|
90
90
|
* @default []
|
|
91
91
|
*/
|
|
92
92
|
monacoTypesAdditionalPackages: string[];
|
|
93
|
+
/**
|
|
94
|
+
* Packages to ignore when loading monaco types
|
|
95
|
+
*
|
|
96
|
+
* @default []
|
|
97
|
+
*/
|
|
98
|
+
monacoTypesIgnorePackages: string[];
|
|
93
99
|
/**
|
|
94
100
|
* Additional local modules to load as dependencies of monaco runnable
|
|
95
101
|
*
|
|
@@ -641,6 +647,7 @@ interface TocItem {
|
|
|
641
647
|
children: TocItem[];
|
|
642
648
|
hasActiveParent?: boolean;
|
|
643
649
|
level: number;
|
|
650
|
+
titleLevel: number;
|
|
644
651
|
path: string;
|
|
645
652
|
hideInToc?: boolean;
|
|
646
653
|
title?: string;
|
|
@@ -699,6 +706,10 @@ interface ResolvedSlidevOptions extends RootsInfo {
|
|
|
699
706
|
mode: 'dev' | 'build' | 'export';
|
|
700
707
|
remote?: string;
|
|
701
708
|
inspect?: boolean;
|
|
709
|
+
utils: ResolvedSlidevUtils;
|
|
710
|
+
}
|
|
711
|
+
interface ResolvedSlidevUtils {
|
|
712
|
+
isMonacoTypesIgnored: (pkg: string) => boolean;
|
|
702
713
|
}
|
|
703
714
|
interface SlidevServerOptions {
|
|
704
715
|
/**
|
|
@@ -787,4 +798,4 @@ interface ClicksContext {
|
|
|
787
798
|
readonly total: number;
|
|
788
799
|
}
|
|
789
800
|
|
|
790
|
-
export { type AppContext, type AppSetup, type BuildArgs, type BuiltinSlideTransition, type ClicksContext, type ClicksElement, type ClicksInfo, type CodeRunner, type CodeRunnerContext, type CodeRunnerOutput, type CodeRunnerOutputDom, type CodeRunnerOutputError, type CodeRunnerOutputHtml, type CodeRunnerOutputText, type CodeRunnerOutputTextArray, type CodeRunnerOutputs, type CodeRunnerProviders, type CodeRunnersSetup, type CommonArgs, type ContextMenuItem, type ContextMenuSetup, type DrawingsOptions, type ExportArgs, type FontOptions, type FrontmatterStyle, type KatexSetup, type LoadedSnippets, type MarkdownTransformContext, type MarkdownTransformer, type MermaidOptions, type MermaidSetup, type MonacoSetup, type MonacoSetupReturn, type NavOperations, type NormalizedAtValue, type NormalizedRangeClickValue, type NormalizedSingleClickValue, type PreparserExtensionLoader, type PreparserSetup, type RawAtValue, type RawRangeAtValue, type RawSingleAtValue, type RenderContext, type ResolvedDrawingsOptions, type ResolvedExportOptions, type ResolvedFontOptions, type ResolvedSlidevOptions, type RootSetup, type RootsInfo, type RoutesSetup, type ShikiContext, type ShikiSetup, type ShikiSetupReturn, type ShortcutOptions, type ShortcutsSetup, type SlideInfo, type SlideInfoBase, type SlidePatch, type SlideRoute, type SlidevConfig, type SlidevData, type SlidevDetectedFeatures, type SlidevEntryOptions, type SlidevMarkdown, type SlidevPluginOptions, type SlidevPreparserExtension, type SlidevServerOptions, type SlidevThemeConfig, type SlidevThemeMeta, type SourceSlideInfo, type TocItem, type UnoSetup, defineAppSetup, defineCodeRunnersSetup, defineContextMenuSetup, defineKatexSetup, defineMermaidSetup, defineMonacoSetup, definePreparserSetup, defineRootSetup, defineRoutesSetup, defineShikiSetup, defineShortcutsSetup, defineUnoSetup };
|
|
801
|
+
export { type AppContext, type AppSetup, type BuildArgs, type BuiltinSlideTransition, type ClicksContext, type ClicksElement, type ClicksInfo, type CodeRunner, type CodeRunnerContext, type CodeRunnerOutput, type CodeRunnerOutputDom, type CodeRunnerOutputError, type CodeRunnerOutputHtml, type CodeRunnerOutputText, type CodeRunnerOutputTextArray, type CodeRunnerOutputs, type CodeRunnerProviders, type CodeRunnersSetup, type CommonArgs, type ContextMenuItem, type ContextMenuSetup, type DrawingsOptions, type ExportArgs, type FontOptions, type FrontmatterStyle, type KatexSetup, type LoadedSnippets, type MarkdownTransformContext, type MarkdownTransformer, type MermaidOptions, type MermaidSetup, type MonacoSetup, type MonacoSetupReturn, type NavOperations, type NormalizedAtValue, type NormalizedRangeClickValue, type NormalizedSingleClickValue, type PreparserExtensionLoader, type PreparserSetup, type RawAtValue, type RawRangeAtValue, type RawSingleAtValue, type RenderContext, type ResolvedDrawingsOptions, type ResolvedExportOptions, type ResolvedFontOptions, type ResolvedSlidevOptions, type ResolvedSlidevUtils, type RootSetup, type RootsInfo, type RoutesSetup, type ShikiContext, type ShikiSetup, type ShikiSetupReturn, type ShortcutOptions, type ShortcutsSetup, type SlideInfo, type SlideInfoBase, type SlidePatch, type SlideRoute, type SlidevConfig, type SlidevData, type SlidevDetectedFeatures, type SlidevEntryOptions, type SlidevMarkdown, type SlidevPluginOptions, type SlidevPreparserExtension, type SlidevServerOptions, type SlidevThemeConfig, type SlidevThemeMeta, type SourceSlideInfo, type TocItem, type UnoSetup, defineAppSetup, defineCodeRunnersSetup, defineContextMenuSetup, defineKatexSetup, defineMermaidSetup, defineMonacoSetup, definePreparserSetup, defineRootSetup, defineRoutesSetup, defineShikiSetup, defineShortcutsSetup, defineUnoSetup };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/types",
|
|
3
|
-
"version": "0.49.
|
|
3
|
+
"version": "0.49.9",
|
|
4
4
|
"description": "Shared types declarations for Slidev",
|
|
5
5
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@antfu/utils": "^0.7.8",
|
|
27
|
-
"@vitejs/plugin-vue": "^5.0.
|
|
27
|
+
"@vitejs/plugin-vue": "^5.0.5",
|
|
28
28
|
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
|
29
29
|
"katex": "^0.16.10",
|
|
30
30
|
"mermaid": "^10.9.1",
|
|
31
31
|
"monaco-editor": "^0.49.0",
|
|
32
32
|
"shiki": "^1.6.1",
|
|
33
|
-
"unocss": "^0.60.
|
|
33
|
+
"unocss": "^0.60.4",
|
|
34
34
|
"unplugin-icons": "^0.19.0",
|
|
35
35
|
"unplugin-vue-markdown": "^0.26.2",
|
|
36
36
|
"vite-plugin-remote-assets": "^0.4.1",
|