@docusaurus/plugin-content-blog 0.0.0-4850 → 0.0.0-4853

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/plugin-content-blog",
3
- "version": "0.0.0-4850",
3
+ "version": "0.0.0-4853",
4
4
  "description": "Blog plugin for Docusaurus.",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/plugin-content-blog.d.ts",
@@ -18,12 +18,12 @@
18
18
  },
19
19
  "license": "MIT",
20
20
  "dependencies": {
21
- "@docusaurus/core": "0.0.0-4850",
22
- "@docusaurus/logger": "0.0.0-4850",
23
- "@docusaurus/mdx-loader": "0.0.0-4850",
24
- "@docusaurus/utils": "0.0.0-4850",
25
- "@docusaurus/utils-common": "0.0.0-4850",
26
- "@docusaurus/utils-validation": "0.0.0-4850",
21
+ "@docusaurus/core": "0.0.0-4853",
22
+ "@docusaurus/logger": "0.0.0-4853",
23
+ "@docusaurus/mdx-loader": "0.0.0-4853",
24
+ "@docusaurus/utils": "0.0.0-4853",
25
+ "@docusaurus/utils-common": "0.0.0-4853",
26
+ "@docusaurus/utils-validation": "0.0.0-4853",
27
27
  "cheerio": "^1.0.0-rc.10",
28
28
  "feed": "^4.2.2",
29
29
  "fs-extra": "^10.0.1",
@@ -35,7 +35,7 @@
35
35
  "webpack": "^5.72.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@docusaurus/types": "0.0.0-4850",
38
+ "@docusaurus/types": "0.0.0-4853",
39
39
  "escape-string-regexp": "^4.0.0"
40
40
  },
41
41
  "peerDependencies": {
@@ -45,5 +45,5 @@
45
45
  "engines": {
46
46
  "node": ">=14"
47
47
  },
48
- "gitHead": "fdcbca6d6e4861538bfdbb590b770ca0238632ab"
48
+ "gitHead": "4b716dd2a6d3cbe3516aac8ca20e7f9c61504f46"
49
49
  }
@@ -414,7 +414,7 @@ declare module '@docusaurus/plugin-content-blog' {
414
414
  }
415
415
 
416
416
  declare module '@theme/BlogPostPage' {
417
- import type {TOCItem} from '@docusaurus/types';
417
+ import type {LoadedMDXContent} from '@docusaurus/mdx-loader';
418
418
  import type {
419
419
  BlogPostFrontMatter,
420
420
  BlogPostMetadata,
@@ -433,22 +433,7 @@ declare module '@theme/BlogPostPage' {
433
433
  }
434
434
  >;
435
435
 
436
- export type Content = {
437
- /** Same as `metadata.frontMatter` */
438
- readonly frontMatter: FrontMatter;
439
- /**
440
- * Usually image assets that may be collocated like `./img/thumbnail.png`.
441
- * The loader would also bundle these assets and the client should use these
442
- * in priority.
443
- */
444
- readonly assets: Assets;
445
- /** Metadata of the post. */
446
- readonly metadata: Metadata;
447
- /** A list of TOC items (headings). */
448
- readonly toc: readonly TOCItem[];
449
- /** Renders the actual MDX content. */
450
- (): JSX.Element;
451
- };
436
+ export type Content = LoadedMDXContent<FrontMatter, Metadata, Assets>;
452
437
 
453
438
  export interface Props {
454
439
  /** Blog sidebar. */