@docusaurus/types 0.0.0-5872 → 0.0.0-5879
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 +2 -2
- package/src/context.d.ts +1 -0
- package/src/plugin.d.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/types",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-5879",
|
|
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": "
|
|
30
|
+
"gitHead": "d6a69714471afae150cd24db11f3f5e757c6e032"
|
|
31
31
|
}
|
package/src/context.d.ts
CHANGED
package/src/plugin.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import type {TranslationFile} from './i18n';
|
|
8
|
+
import type {CodeTranslations, TranslationFile} from './i18n';
|
|
9
9
|
import type {RuleSetRule, Configuration as WebpackConfiguration} from 'webpack';
|
|
10
10
|
import type {CustomizeRuleString} from 'webpack-merge/dist/types';
|
|
11
11
|
import type {CommanderStatic} from 'commander';
|
|
@@ -185,6 +185,7 @@ export type LoadedPlugin = InitializedPlugin & {
|
|
|
185
185
|
readonly content: unknown;
|
|
186
186
|
readonly globalData: unknown;
|
|
187
187
|
readonly routes: RouteConfig[];
|
|
188
|
+
readonly defaultCodeTranslations: CodeTranslations;
|
|
188
189
|
};
|
|
189
190
|
|
|
190
191
|
export type PluginModule<Content = unknown> = {
|