@docusaurus/types
Advanced tools
Comparing version 2.0.0-alpha.9fd8a3c69 to 2.0.0-alpha.aff656182
{ | ||
"name": "@docusaurus/types", | ||
"version": "2.0.0-alpha.9fd8a3c69", | ||
"version": "2.0.0-alpha.aff656182", | ||
"description": "Common used typings for Docusaurus packages", | ||
@@ -22,3 +22,3 @@ "main": "./src/index.js", | ||
}, | ||
"gitHead": "45f57f674dc0394927c200624420b7e85d657760" | ||
"gitHead": "fb2bbd0fdac96702be419724a65fb9605c6fc343" | ||
} |
@@ -95,5 +95,10 @@ /** | ||
export type I18nLocaleConfig = { | ||
label: string; | ||
}; | ||
export type I18nConfig = { | ||
defaultLocale: string; | ||
locales: [string, ...string[]]; | ||
localeConfigs: Record<string, I18nLocaleConfig>; | ||
}; | ||
@@ -348,6 +353,6 @@ | ||
export interface MarkdownRightTableOfContents { | ||
export interface TOCItem { | ||
readonly value: string; | ||
readonly id: string; | ||
readonly children: MarkdownRightTableOfContents[]; | ||
readonly children: TOCItem[]; | ||
} |
10786
322
19
40
9