@slidev/types 0.48.9 → 0.49.0-beta.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.
Files changed (2) hide show
  1. package/dist/index.d.mts +3 -1
  2. package/package.json +3 -3
package/dist/index.d.mts CHANGED
@@ -406,7 +406,9 @@ interface SlideInfo extends SlideInfoBase {
406
406
  /**
407
407
  * Editable fields for a slide
408
408
  */
409
- type SlidePatch = Partial<Pick<SlideInfoBase, 'content' | 'note'>>;
409
+ type SlidePatch = Partial<Pick<SlideInfoBase, 'content' | 'note' | 'frontmatter'>> & {
410
+ skipHmr?: boolean;
411
+ };
410
412
  /**
411
413
  * Metadata for "slidev" field in themes' package.json
412
414
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/types",
3
- "version": "0.48.9",
3
+ "version": "0.49.0-beta.1",
4
4
  "description": "Shared types declarations for Slidev",
5
5
  "author": "antfu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -29,8 +29,8 @@
29
29
  "katex": "^0.16.10",
30
30
  "mermaid": "^10.9.0",
31
31
  "monaco-editor": "^0.47.0",
32
- "shiki": "^1.2.3",
33
- "unocss": "^0.58.9",
32
+ "shiki": "^1.3.0",
33
+ "unocss": "^0.59.0",
34
34
  "unplugin-icons": "^0.18.5",
35
35
  "unplugin-vue-markdown": "^0.26.0",
36
36
  "vite-plugin-remote-assets": "^0.4.1",