@vuepress/core 2.0.0-beta.37 → 2.0.0-beta.38

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.
@@ -1,13 +1,13 @@
1
1
  import type { MarkdownLink } from '@vuepress/markdown';
2
- import type { PageData, PageFrontmatter } from '@vuepress/shared';
2
+ import type { PageBase, PageData, PageFrontmatter } from '@vuepress/shared';
3
3
  /**
4
4
  * Vuepress Page
5
5
  */
6
- export declare type Page<ExtraPageData extends Record<any, any> = Record<never, never>, ExtraPageFields extends Record<any, any> = Record<never, never>> = PageData & ExtraPageFields & {
6
+ export declare type Page<ExtraPageData extends Record<any, any> = Record<never, never>, ExtraPageFrontmatter extends Record<any, any> = Record<string, unknown>, ExtraPageFields extends Record<any, any> = Record<never, never>> = PageBase<ExtraPageFrontmatter> & ExtraPageFields & {
7
7
  /**
8
8
  * Data of the page, which will be available in client code
9
9
  */
10
- data: PageData<ExtraPageData>;
10
+ data: PageData<ExtraPageData, ExtraPageFrontmatter>;
11
11
  /**
12
12
  * Raw Content of the page
13
13
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuepress/core",
3
- "version": "2.0.0-beta.37",
3
+ "version": "2.0.0-beta.38",
4
4
  "description": "Core package of VuePress",
5
5
  "keywords": [
6
6
  "vuepress",
@@ -26,15 +26,15 @@
26
26
  "clean": "rimraf lib *.tsbuildinfo"
27
27
  },
28
28
  "dependencies": {
29
- "@vuepress/client": "2.0.0-beta.37",
30
- "@vuepress/markdown": "2.0.0-beta.37",
31
- "@vuepress/shared": "2.0.0-beta.37",
32
- "@vuepress/utils": "2.0.0-beta.37",
29
+ "@vuepress/client": "2.0.0-beta.38",
30
+ "@vuepress/markdown": "2.0.0-beta.38",
31
+ "@vuepress/shared": "2.0.0-beta.38",
32
+ "@vuepress/utils": "2.0.0-beta.38",
33
33
  "gray-matter": "^4.0.3",
34
34
  "toml": "^3.0.0"
35
35
  },
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "6600a8c1a293b948be977c348eb9907178bb3263"
39
+ "gitHead": "7cb24eab18628a66371a367090f7c9c33b519136"
40
40
  }