@slidev/types 0.49.0-beta.6 → 0.49.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/LICENSE +1 -1
- package/dist/index.d.mts +12 -0
- package/package.json +5 -5
package/LICENSE
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -402,8 +402,13 @@ interface SourceSlideInfo extends SlideInfoBase {
|
|
|
402
402
|
* The range of the slide in the markdown file
|
|
403
403
|
*/
|
|
404
404
|
start: number;
|
|
405
|
+
contentStart: number;
|
|
405
406
|
end: number;
|
|
406
407
|
raw: string;
|
|
408
|
+
/**
|
|
409
|
+
* Slides import by this slide.
|
|
410
|
+
*/
|
|
411
|
+
imports?: SourceSlideInfo[];
|
|
407
412
|
frontmatterRaw?: string;
|
|
408
413
|
frontmatterDoc?: YAML.Document;
|
|
409
414
|
frontmatterStyle?: FrontmatterStyle;
|
|
@@ -413,6 +418,13 @@ interface SlideInfo extends SlideInfoBase {
|
|
|
413
418
|
* The index of the slide in the presentation
|
|
414
419
|
*/
|
|
415
420
|
index: number;
|
|
421
|
+
/**
|
|
422
|
+
* The importers of this slide. `[]` if this slide is the entry markdown file
|
|
423
|
+
*/
|
|
424
|
+
importChain?: SourceSlideInfo[];
|
|
425
|
+
/**
|
|
426
|
+
* The source slide where the content is from
|
|
427
|
+
*/
|
|
416
428
|
source: SourceSlideInfo;
|
|
417
429
|
snippetsUsed?: LoadedSnippets;
|
|
418
430
|
noteHTML?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/types",
|
|
3
|
-
"version": "0.49.
|
|
3
|
+
"version": "0.49.1",
|
|
4
4
|
"description": "Shared types declarations for Slidev",
|
|
5
5
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,19 +23,19 @@
|
|
|
23
23
|
"node": ">=18.0.0"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@antfu/utils": "^0.7.
|
|
26
|
+
"@antfu/utils": "^0.7.8",
|
|
27
27
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
28
28
|
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
|
29
29
|
"katex": "^0.16.10",
|
|
30
30
|
"mermaid": "^10.9.0",
|
|
31
31
|
"monaco-editor": "^0.48.0",
|
|
32
|
-
"shiki": "^1.
|
|
33
|
-
"unocss": "^0.
|
|
32
|
+
"shiki": "^1.5.1",
|
|
33
|
+
"unocss": "^0.60.0",
|
|
34
34
|
"unplugin-icons": "^0.19.0",
|
|
35
35
|
"unplugin-vue-markdown": "^0.26.2",
|
|
36
36
|
"vite-plugin-remote-assets": "^0.4.1",
|
|
37
37
|
"vite-plugin-vue-server-ref": "^0.4.2",
|
|
38
|
-
"vue": "^3.4.
|
|
38
|
+
"vue": "^3.4.27",
|
|
39
39
|
"vue-router": "^4.3.2"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|