@docusaurus/types 0.0.0-5869 → 0.0.0-5872

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/package.json +2 -2
  2. package/src/plugin.d.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/types",
3
- "version": "0.0.0-5869",
3
+ "version": "0.0.0-5872",
4
4
  "description": "Common types for Docusaurus packages.",
5
5
  "types": "./src/index.d.ts",
6
6
  "publishConfig": {
@@ -27,5 +27,5 @@
27
27
  "react": "^18.0.0",
28
28
  "react-dom": "^18.0.0"
29
29
  },
30
- "gitHead": "b04beb0c2db54db2bf9f87733009a35221383933"
30
+ "gitHead": "b059cfb578e4a80cdd8b5cf9a3c8978fb41693e3"
31
31
  }
package/src/plugin.d.ts CHANGED
@@ -183,6 +183,8 @@ export type InitializedPlugin = Plugin & {
183
183
 
184
184
  export type LoadedPlugin = InitializedPlugin & {
185
185
  readonly content: unknown;
186
+ readonly globalData: unknown;
187
+ readonly routes: RouteConfig[];
186
188
  };
187
189
 
188
190
  export type PluginModule<Content = unknown> = {