@cbnventures/docusaurus-preset-nova 0.19.0 → 0.21.0
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/README.md +10 -0
- package/bin/theme-nova.mjs +16 -0
- package/build/package.json +160 -0
- package/build/src/blocks/app-market-download/index.d.ts.map +1 -1
- package/build/src/blocks/app-market-download/index.js.map +1 -1
- package/build/src/blocks/blog-preview/index.d.ts.map +1 -1
- package/build/src/blocks/blog-preview/index.js.map +1 -1
- package/build/src/blocks/features/index.d.ts.map +1 -1
- package/build/src/blocks/features/index.js.map +1 -1
- package/build/src/blocks/frame/index.d.ts.map +1 -1
- package/build/src/blocks/frame/index.js.map +1 -1
- package/build/src/blocks/hero/index.d.ts.map +1 -1
- package/build/src/blocks/hero/index.js.map +1 -1
- package/build/src/blocks/install-strip/index.d.ts.map +1 -1
- package/build/src/blocks/install-strip/index.js.map +1 -1
- package/build/src/blocks/spotlight/index.d.ts.map +1 -1
- package/build/src/blocks/spotlight/index.js.map +1 -1
- package/build/src/blocks/stats/index.d.ts.map +1 -1
- package/build/src/blocks/stats/index.js.map +1 -1
- package/build/src/blocks/terminology/index.d.ts.map +1 -1
- package/build/src/blocks/terminology/index.js.map +1 -1
- package/build/src/blocks/typewriter/index.d.ts.map +1 -1
- package/build/src/blocks/typewriter/index.js.map +1 -1
- package/build/src/cli/i18n/check.d.ts +5 -0
- package/build/src/cli/i18n/check.d.ts.map +1 -0
- package/build/src/cli/i18n/check.js +35 -0
- package/build/src/cli/i18n/check.js.map +1 -0
- package/build/src/cli/i18n/coverage.d.ts +8 -0
- package/build/src/cli/i18n/coverage.d.ts.map +1 -0
- package/build/src/cli/i18n/coverage.js +178 -0
- package/build/src/cli/i18n/coverage.js.map +1 -0
- package/build/src/cli/i18n/sync.d.ts +5 -0
- package/build/src/cli/i18n/sync.d.ts.map +1 -0
- package/build/src/cli/i18n/sync.js +53 -0
- package/build/src/cli/i18n/sync.js.map +1 -0
- package/build/src/cli/index.d.ts +3 -0
- package/build/src/cli/index.d.ts.map +1 -0
- package/build/src/cli/index.js +113 -0
- package/build/src/cli/index.js.map +1 -0
- package/build/src/icons.d.ts +3 -0
- package/build/src/icons.d.ts.map +1 -0
- package/build/src/icons.js +8 -0
- package/build/src/icons.js.map +1 -0
- package/build/src/index.d.ts.map +1 -1
- package/build/src/index.js +30 -28
- package/build/src/index.js.map +1 -1
- package/build/src/lib/color.d.ts.map +1 -1
- package/build/src/lib/color.js.map +1 -1
- package/build/src/lib/google-fonts-url.d.ts.map +1 -1
- package/build/src/lib/google-fonts-url.js.map +1 -1
- package/build/src/lib/i18n/apply-plan.d.ts +10 -0
- package/build/src/lib/i18n/apply-plan.d.ts.map +1 -0
- package/build/src/lib/i18n/apply-plan.js +174 -0
- package/build/src/lib/i18n/apply-plan.js.map +1 -0
- package/build/src/lib/i18n/content-scan.d.ts +8 -0
- package/build/src/lib/i18n/content-scan.d.ts.map +1 -0
- package/build/src/lib/i18n/content-scan.js +180 -0
- package/build/src/lib/i18n/content-scan.js.map +1 -0
- package/build/src/lib/i18n/coverage.d.ts +8 -0
- package/build/src/lib/i18n/coverage.d.ts.map +1 -0
- package/build/src/lib/i18n/coverage.js +113 -0
- package/build/src/lib/i18n/coverage.js.map +1 -0
- package/build/src/lib/i18n/prompt.d.ts +6 -0
- package/build/src/lib/i18n/prompt.d.ts.map +1 -0
- package/build/src/lib/i18n/prompt.js +30 -0
- package/build/src/lib/i18n/prompt.js.map +1 -0
- package/build/src/lib/i18n/reconcile.d.ts +7 -0
- package/build/src/lib/i18n/reconcile.d.ts.map +1 -0
- package/build/src/lib/i18n/reconcile.js +201 -0
- package/build/src/lib/i18n/reconcile.js.map +1 -0
- package/build/src/lib/i18n/report.d.ts +5 -0
- package/build/src/lib/i18n/report.d.ts.map +1 -0
- package/build/src/lib/i18n/report.js +33 -0
- package/build/src/lib/i18n/report.js.map +1 -0
- package/build/src/lib/i18n/site-context.d.ts +9 -0
- package/build/src/lib/i18n/site-context.d.ts.map +1 -0
- package/build/src/lib/i18n/site-context.js +141 -0
- package/build/src/lib/i18n/site-context.js.map +1 -0
- package/build/src/lib/mermaid.js +8 -8
- package/build/src/lib/mermaid.js.map +1 -1
- package/build/src/lib/regex.d.ts +3 -0
- package/build/src/lib/regex.d.ts.map +1 -1
- package/build/src/lib/regex.js +42 -42
- package/build/src/lib/regex.js.map +1 -1
- package/build/src/lib/rehype-shiki.d.ts.map +1 -1
- package/build/src/lib/rehype-shiki.js.map +1 -1
- package/build/src/lib/search/indexer.d.ts.map +1 -1
- package/build/src/lib/search/indexer.js.map +1 -1
- package/build/src/lib/search/perform-search.d.ts.map +1 -1
- package/build/src/lib/search/perform-search.js +15 -10
- package/build/src/lib/search/perform-search.js.map +1 -1
- package/build/src/lib/search/worker.js +24 -16
- package/build/src/lib/search/worker.js.map +1 -1
- package/build/src/lib/sidebar-mobile-store.d.ts +5 -0
- package/build/src/lib/sidebar-mobile-store.d.ts.map +1 -0
- package/build/src/lib/sidebar-mobile-store.js +26 -0
- package/build/src/lib/sidebar-mobile-store.js.map +1 -0
- package/build/src/lib/toc-collapsible-store.d.ts +7 -0
- package/build/src/lib/toc-collapsible-store.d.ts.map +1 -0
- package/build/src/lib/toc-collapsible-store.js +40 -0
- package/build/src/lib/toc-collapsible-store.js.map +1 -0
- package/build/src/lib/translations.d.ts.map +1 -1
- package/build/src/lib/translations.js +10 -5
- package/build/src/lib/translations.js.map +1 -1
- package/build/src/lib/use-details-dismiss.d.ts.map +1 -1
- package/build/src/lib/use-details-dismiss.js.map +1 -1
- package/build/src/lib/use-navbar-overflow.d.ts.map +1 -1
- package/build/src/lib/use-navbar-overflow.js.map +1 -1
- package/build/src/plugins/bundle-guard/index.d.ts.map +1 -1
- package/build/src/plugins/bundle-guard/index.js.map +1 -1
- package/build/src/plugins/icons/generate.d.ts.map +1 -1
- package/build/src/plugins/icons/generate.js +4 -2
- package/build/src/plugins/icons/generate.js.map +1 -1
- package/build/src/plugins/icons/index.d.ts.map +1 -1
- package/build/src/plugins/icons/index.js.map +1 -1
- package/build/src/plugins/mermaid-tooltip/client.d.ts.map +1 -1
- package/build/src/plugins/mermaid-tooltip/client.js.map +1 -1
- package/build/src/plugins/mermaid-tooltip/index.d.ts.map +1 -1
- package/build/src/plugins/mermaid-tooltip/index.js.map +1 -1
- package/build/src/scripts/data-attribute-query.d.ts.map +1 -1
- package/build/src/scripts/data-attribute-query.js.map +1 -1
- package/build/src/styles/embed.css +132 -0
- package/build/src/tests/cascade-defensive.test.js +6 -3
- package/build/src/tests/cascade-defensive.test.js.map +1 -1
- package/build/src/tests/class-name-style-passthrough.test.js +4 -2
- package/build/src/tests/class-name-style-passthrough.test.js.map +1 -1
- package/build/src/tests/cli/i18n/check.test.d.ts +2 -0
- package/build/src/tests/cli/i18n/check.test.d.ts.map +1 -0
- package/build/src/tests/cli/i18n/check.test.js +79 -0
- package/build/src/tests/cli/i18n/check.test.js.map +1 -0
- package/build/src/tests/cli/i18n/coverage.test.d.ts +2 -0
- package/build/src/tests/cli/i18n/coverage.test.d.ts.map +1 -0
- package/build/src/tests/cli/i18n/coverage.test.js +150 -0
- package/build/src/tests/cli/i18n/coverage.test.js.map +1 -0
- package/build/src/tests/cli/i18n/sync.test.d.ts +2 -0
- package/build/src/tests/cli/i18n/sync.test.d.ts.map +1 -0
- package/build/src/tests/cli/i18n/sync.test.js +164 -0
- package/build/src/tests/cli/i18n/sync.test.js.map +1 -0
- package/build/src/tests/config-drift.test.js +18 -9
- package/build/src/tests/config-drift.test.js.map +1 -1
- package/build/src/tests/exports-module-format.test.d.ts +2 -0
- package/build/src/tests/exports-module-format.test.d.ts.map +1 -0
- package/build/src/tests/exports-module-format.test.js +106 -0
- package/build/src/tests/exports-module-format.test.js.map +1 -0
- package/build/src/tests/icons.test.js +16 -14
- package/build/src/tests/icons.test.js.map +1 -1
- package/build/src/tests/lib/color.test.js.map +1 -1
- package/build/src/tests/lib/css-generator.test.js +216 -108
- package/build/src/tests/lib/css-generator.test.js.map +1 -1
- package/build/src/tests/lib/i18n/apply-plan.test.d.ts +2 -0
- package/build/src/tests/lib/i18n/apply-plan.test.d.ts.map +1 -0
- package/build/src/tests/lib/i18n/apply-plan.test.js +361 -0
- package/build/src/tests/lib/i18n/apply-plan.test.js.map +1 -0
- package/build/src/tests/lib/i18n/content-scan.test.d.ts +2 -0
- package/build/src/tests/lib/i18n/content-scan.test.d.ts.map +1 -0
- package/build/src/tests/lib/i18n/content-scan.test.js +236 -0
- package/build/src/tests/lib/i18n/content-scan.test.js.map +1 -0
- package/build/src/tests/lib/i18n/coverage.test.d.ts +2 -0
- package/build/src/tests/lib/i18n/coverage.test.d.ts.map +1 -0
- package/build/src/tests/lib/i18n/coverage.test.js +304 -0
- package/build/src/tests/lib/i18n/coverage.test.js.map +1 -0
- package/build/src/tests/lib/i18n/reconcile.test.d.ts +2 -0
- package/build/src/tests/lib/i18n/reconcile.test.d.ts.map +1 -0
- package/build/src/tests/lib/i18n/reconcile.test.js +648 -0
- package/build/src/tests/lib/i18n/reconcile.test.js.map +1 -0
- package/build/src/tests/lib/i18n/site-context.test.d.ts +2 -0
- package/build/src/tests/lib/i18n/site-context.test.d.ts.map +1 -0
- package/build/src/tests/lib/i18n/site-context.test.js +48 -0
- package/build/src/tests/lib/i18n/site-context.test.js.map +1 -0
- package/build/src/tests/lib/search/indexer.test.js +2 -1
- package/build/src/tests/lib/search/indexer.test.js.map +1 -1
- package/build/src/tests/lib/search/worker.test.js +11 -0
- package/build/src/tests/lib/search/worker.test.js.map +1 -1
- package/build/src/tests/lib/sidebar-mobile-store.test.d.ts +2 -0
- package/build/src/tests/lib/sidebar-mobile-store.test.d.ts.map +1 -0
- package/build/src/tests/lib/sidebar-mobile-store.test.js +69 -0
- package/build/src/tests/lib/sidebar-mobile-store.test.js.map +1 -0
- package/build/src/tests/lib/toc-collapsible-store.test.d.ts +2 -0
- package/build/src/tests/lib/toc-collapsible-store.test.d.ts.map +1 -0
- package/build/src/tests/lib/toc-collapsible-store.test.js +64 -0
- package/build/src/tests/lib/toc-collapsible-store.test.js.map +1 -0
- package/build/src/tests/lib/translations.test.js +94 -47
- package/build/src/tests/lib/translations.test.js.map +1 -1
- package/build/src/tests/options.test.js +6 -3
- package/build/src/tests/options.test.js.map +1 -1
- package/build/src/tests/presets/envoy/preset.test.js +8 -4
- package/build/src/tests/presets/envoy/preset.test.js.map +1 -1
- package/build/src/tests/presets/foundry/preset.test.js +8 -4
- package/build/src/tests/presets/foundry/preset.test.js.map +1 -1
- package/build/src/tests/presets/lantern/preset.test.js +8 -4
- package/build/src/tests/presets/lantern/preset.test.js.map +1 -1
- package/build/src/tests/presets/marshal/preset.test.js +8 -4
- package/build/src/tests/presets/marshal/preset.test.js.map +1 -1
- package/build/src/tests/presets/sample/preset.test.js +8 -4
- package/build/src/tests/presets/sample/preset.test.js.map +1 -1
- package/build/src/tests/presets/sentinel/preset.test.js +8 -4
- package/build/src/tests/presets/sentinel/preset.test.js.map +1 -1
- package/build/src/tests/presets/signal/preset.test.js +8 -4
- package/build/src/tests/presets/signal/preset.test.js.map +1 -1
- package/build/src/tests/since-version.test.d.ts +2 -0
- package/build/src/tests/since-version.test.d.ts.map +1 -0
- package/build/src/tests/since-version.test.js +135 -0
- package/build/src/tests/since-version.test.js.map +1 -0
- package/build/src/tests/theme/CodeBlock/live-editor.test.js +13 -1
- package/build/src/tests/theme/CodeBlock/live-editor.test.js.map +1 -1
- package/build/src/tests/type-declarations.test.d.ts +1 -30
- package/build/src/tests/type-declarations.test.d.ts.map +1 -1
- package/build/src/tests/type-declarations.test.js +7 -3583
- package/build/src/tests/type-declarations.test.js.map +1 -1
- package/build/src/theme/Admonition/index.d.ts.map +1 -1
- package/build/src/theme/Admonition/index.js.map +1 -1
- package/build/src/theme/AnnouncementBar/index.d.ts.map +1 -1
- package/build/src/theme/AnnouncementBar/index.js +2 -1
- package/build/src/theme/AnnouncementBar/index.js.map +1 -1
- package/build/src/theme/Blog/Components/Author/Socials/index.d.ts.map +1 -1
- package/build/src/theme/Blog/Components/Author/Socials/index.js +28 -14
- package/build/src/theme/Blog/Components/Author/Socials/index.js.map +1 -1
- package/build/src/theme/Blog/Components/Author/index.d.ts.map +1 -1
- package/build/src/theme/Blog/Components/Author/index.js.map +1 -1
- package/build/src/theme/Blog/Pages/BlogAuthorsListPage/index.d.ts.map +1 -1
- package/build/src/theme/Blog/Pages/BlogAuthorsListPage/index.js.map +1 -1
- package/build/src/theme/Blog/Pages/BlogAuthorsPostsPage/index.d.ts.map +1 -1
- package/build/src/theme/Blog/Pages/BlogAuthorsPostsPage/index.js.map +1 -1
- package/build/src/theme/BlogArchivePage/index.d.ts.map +1 -1
- package/build/src/theme/BlogArchivePage/index.js.map +1 -1
- package/build/src/theme/BlogLayout/index.d.ts.map +1 -1
- package/build/src/theme/BlogLayout/index.js.map +1 -1
- package/build/src/theme/BlogListPage/StructuredData/index.d.ts.map +1 -1
- package/build/src/theme/BlogListPage/StructuredData/index.js.map +1 -1
- package/build/src/theme/BlogListPage/index.d.ts.map +1 -1
- package/build/src/theme/BlogListPage/index.js.map +1 -1
- package/build/src/theme/BlogListPaginator/index.d.ts.map +1 -1
- package/build/src/theme/BlogListPaginator/index.js.map +1 -1
- package/build/src/theme/BlogPostItem/index.d.ts.map +1 -1
- package/build/src/theme/BlogPostItem/index.js +14 -7
- package/build/src/theme/BlogPostItem/index.js.map +1 -1
- package/build/src/theme/BlogPostItems/index.d.ts.map +1 -1
- package/build/src/theme/BlogPostItems/index.js.map +1 -1
- package/build/src/theme/BlogPostPage/index.d.ts.map +1 -1
- package/build/src/theme/BlogPostPage/index.js +2 -1
- package/build/src/theme/BlogPostPage/index.js.map +1 -1
- package/build/src/theme/BlogPostPaginator/index.d.ts.map +1 -1
- package/build/src/theme/BlogPostPaginator/index.js.map +1 -1
- package/build/src/theme/BlogSidebar/index.d.ts.map +1 -1
- package/build/src/theme/BlogSidebar/index.js.map +1 -1
- package/build/src/theme/BlogSidebarMobile/index.d.ts.map +1 -1
- package/build/src/theme/BlogSidebarMobile/index.js.map +1 -1
- package/build/src/theme/BlogTagsListPage/index.d.ts.map +1 -1
- package/build/src/theme/BlogTagsListPage/index.js.map +1 -1
- package/build/src/theme/BlogTagsPostsPage/index.d.ts.map +1 -1
- package/build/src/theme/BlogTagsPostsPage/index.js.map +1 -1
- package/build/src/theme/CodeBlock/index.d.ts.map +1 -1
- package/build/src/theme/CodeBlock/index.js.map +1 -1
- package/build/src/theme/CodeBlock/live-editor.d.ts.map +1 -1
- package/build/src/theme/CodeBlock/live-editor.js +2 -2
- package/build/src/theme/CodeBlock/live-editor.js.map +1 -1
- package/build/src/theme/CodeInline/index.d.ts.map +1 -1
- package/build/src/theme/CodeInline/index.js.map +1 -1
- package/build/src/theme/ContentFooter/Edit/index.d.ts.map +1 -1
- package/build/src/theme/ContentFooter/Edit/index.js.map +1 -1
- package/build/src/theme/ContentFooter/Share/index.d.ts.map +1 -1
- package/build/src/theme/ContentFooter/Share/index.js.map +1 -1
- package/build/src/theme/ContentFooter/ShareButton/index.d.ts.map +1 -1
- package/build/src/theme/ContentFooter/ShareButton/index.js +3 -0
- package/build/src/theme/ContentFooter/ShareButton/index.js.map +1 -1
- package/build/src/theme/ContentFooter/Tags/index.d.ts.map +1 -1
- package/build/src/theme/ContentFooter/Tags/index.js.map +1 -1
- package/build/src/theme/ContentFooter/index.d.ts.map +1 -1
- package/build/src/theme/ContentFooter/index.js.map +1 -1
- package/build/src/theme/ContentVisibility/Draft/index.d.ts.map +1 -1
- package/build/src/theme/ContentVisibility/Draft/index.js.map +1 -1
- package/build/src/theme/ContentVisibility/Unlisted/index.d.ts.map +1 -1
- package/build/src/theme/ContentVisibility/Unlisted/index.js.map +1 -1
- package/build/src/theme/ContentVisibility/index.d.ts.map +1 -1
- package/build/src/theme/ContentVisibility/index.js.map +1 -1
- package/build/src/theme/Details/index.d.ts.map +1 -1
- package/build/src/theme/Details/index.js.map +1 -1
- package/build/src/theme/DocBreadcrumbs/StructuredData/index.d.ts.map +1 -1
- package/build/src/theme/DocBreadcrumbs/StructuredData/index.js.map +1 -1
- package/build/src/theme/DocCard/index.d.ts.map +1 -1
- package/build/src/theme/DocCard/index.js.map +1 -1
- package/build/src/theme/DocCardList/index.d.ts.map +1 -1
- package/build/src/theme/DocCardList/index.js.map +1 -1
- package/build/src/theme/DocCategoryGeneratedIndexPage/index.d.ts.map +1 -1
- package/build/src/theme/DocCategoryGeneratedIndexPage/index.js.map +1 -1
- package/build/src/theme/DocItem/Content/index.d.ts.map +1 -1
- package/build/src/theme/DocItem/Content/index.js.map +1 -1
- package/build/src/theme/DocItem/Footer/index.d.ts.map +1 -1
- package/build/src/theme/DocItem/Footer/index.js +11 -6
- package/build/src/theme/DocItem/Footer/index.js.map +1 -1
- package/build/src/theme/DocItem/Layout/index.d.ts.map +1 -1
- package/build/src/theme/DocItem/Layout/index.js.map +1 -1
- package/build/src/theme/DocItem/Metadata/index.d.ts.map +1 -1
- package/build/src/theme/DocItem/Metadata/index.js.map +1 -1
- package/build/src/theme/DocItem/Paginator/index.d.ts.map +1 -1
- package/build/src/theme/DocItem/Paginator/index.js.map +1 -1
- package/build/src/theme/DocItem/TOC/Desktop/index.d.ts.map +1 -1
- package/build/src/theme/DocItem/TOC/Desktop/index.js.map +1 -1
- package/build/src/theme/DocItem/TOC/Mobile/index.d.ts.map +1 -1
- package/build/src/theme/DocItem/TOC/Mobile/index.js.map +1 -1
- package/build/src/theme/DocItem/index.d.ts.map +1 -1
- package/build/src/theme/DocItem/index.js +2 -1
- package/build/src/theme/DocItem/index.js.map +1 -1
- package/build/src/theme/DocPaginator/index.d.ts.map +1 -1
- package/build/src/theme/DocPaginator/index.js.map +1 -1
- package/build/src/theme/DocRoot/Layout/Main/index.d.ts.map +1 -1
- package/build/src/theme/DocRoot/Layout/Main/index.js.map +1 -1
- package/build/src/theme/DocRoot/Layout/Sidebar/index.d.ts.map +1 -1
- package/build/src/theme/DocRoot/Layout/Sidebar/index.js.map +1 -1
- package/build/src/theme/DocRoot/Layout/index.d.ts.map +1 -1
- package/build/src/theme/DocRoot/Layout/index.js +5 -2
- package/build/src/theme/DocRoot/Layout/index.js.map +1 -1
- package/build/src/theme/DocRoot/index.d.ts.map +1 -1
- package/build/src/theme/DocRoot/index.js.map +1 -1
- package/build/src/theme/DocSidebar/index.d.ts.map +1 -1
- package/build/src/theme/DocSidebar/index.js.map +1 -1
- package/build/src/theme/DocSidebarItem/Category/index.d.ts.map +1 -1
- package/build/src/theme/DocSidebarItem/Category/index.js.map +1 -1
- package/build/src/theme/DocSidebarItem/Html/index.d.ts.map +1 -1
- package/build/src/theme/DocSidebarItem/Html/index.js.map +1 -1
- package/build/src/theme/DocSidebarItem/Link/index.d.ts.map +1 -1
- package/build/src/theme/DocSidebarItem/Link/index.js.map +1 -1
- package/build/src/theme/DocSidebarItem/index.d.ts.map +1 -1
- package/build/src/theme/DocSidebarItem/index.js.map +1 -1
- package/build/src/theme/DocSidebarItems/index.d.ts.map +1 -1
- package/build/src/theme/DocSidebarItems/index.js.map +1 -1
- package/build/src/theme/DocSidebarMobile/index.d.ts.map +1 -1
- package/build/src/theme/DocSidebarMobile/index.js +8 -92
- package/build/src/theme/DocSidebarMobile/index.js.map +1 -1
- package/build/src/theme/DocSidebarMobile/panel.d.ts +3 -0
- package/build/src/theme/DocSidebarMobile/panel.d.ts.map +1 -0
- package/build/src/theme/DocSidebarMobile/panel.js +88 -0
- package/build/src/theme/DocSidebarMobile/panel.js.map +1 -0
- package/build/src/theme/DocTagDocListPage/index.d.ts.map +1 -1
- package/build/src/theme/DocTagDocListPage/index.js.map +1 -1
- package/build/src/theme/DocTagsListPage/index.d.ts.map +1 -1
- package/build/src/theme/DocTagsListPage/index.js.map +1 -1
- package/build/src/theme/DocVersionRoot/index.d.ts.map +1 -1
- package/build/src/theme/DocVersionRoot/index.js.map +1 -1
- package/build/src/theme/DocsRoot/index.d.ts.map +1 -1
- package/build/src/theme/DocsRoot/index.js.map +1 -1
- package/build/src/theme/EditMetaRow/index.d.ts.map +1 -1
- package/build/src/theme/EditMetaRow/index.js.map +1 -1
- package/build/src/theme/EditThisPage/index.d.ts.map +1 -1
- package/build/src/theme/EditThisPage/index.js.map +1 -1
- package/build/src/theme/Error/index.d.ts.map +1 -1
- package/build/src/theme/Error/index.js.map +1 -1
- package/build/src/theme/ErrorPageContent/index.d.ts.map +1 -1
- package/build/src/theme/ErrorPageContent/index.js.map +1 -1
- package/build/src/theme/Footer/Commons/index.d.ts.map +1 -1
- package/build/src/theme/Footer/Commons/index.js.map +1 -1
- package/build/src/theme/Footer/Embassy/index.d.ts.map +1 -1
- package/build/src/theme/Footer/Embassy/index.js.map +1 -1
- package/build/src/theme/Footer/Launchpad/index.d.ts.map +1 -1
- package/build/src/theme/Footer/Launchpad/index.js.map +1 -1
- package/build/src/theme/Footer/Ledger/index.d.ts.map +1 -1
- package/build/src/theme/Footer/Ledger/index.js.map +1 -1
- package/build/src/theme/Footer/cta.d.ts.map +1 -1
- package/build/src/theme/Footer/cta.js.map +1 -1
- package/build/src/theme/Footer/index.d.ts.map +1 -1
- package/build/src/theme/Footer/index.js.map +1 -1
- package/build/src/theme/Heading/index.d.ts.map +1 -1
- package/build/src/theme/Heading/index.js.map +1 -1
- package/build/src/theme/IconExternalLink/index.d.ts.map +1 -1
- package/build/src/theme/IconExternalLink/index.js.map +1 -1
- package/build/src/theme/LastUpdated/index.d.ts.map +1 -1
- package/build/src/theme/LastUpdated/index.js.map +1 -1
- package/build/src/theme/Layout/Provider/index.d.ts.map +1 -1
- package/build/src/theme/Layout/Provider/index.js.map +1 -1
- package/build/src/theme/Layout/index.d.ts.map +1 -1
- package/build/src/theme/Layout/index.js +2 -1
- package/build/src/theme/Layout/index.js.map +1 -1
- package/build/src/theme/Loading/index.d.ts.map +1 -1
- package/build/src/theme/Loading/index.js.map +1 -1
- package/build/src/theme/Logo/index.d.ts.map +1 -1
- package/build/src/theme/Logo/index.js.map +1 -1
- package/build/src/theme/MDXContent/index.d.ts.map +1 -1
- package/build/src/theme/MDXContent/index.js.map +1 -1
- package/build/src/theme/MDXPage/index.d.ts.map +1 -1
- package/build/src/theme/MDXPage/index.js +9 -5
- package/build/src/theme/MDXPage/index.js.map +1 -1
- package/build/src/theme/Mermaid/index.d.ts.map +1 -1
- package/build/src/theme/Mermaid/index.js.map +1 -1
- package/build/src/theme/Navbar/Bridge/index.d.ts.map +1 -1
- package/build/src/theme/Navbar/Bridge/index.js.map +1 -1
- package/build/src/theme/Navbar/Bridge/mobile-menu.d.ts.map +1 -1
- package/build/src/theme/Navbar/Bridge/mobile-menu.js.map +1 -1
- package/build/src/theme/Navbar/Canopy/index.d.ts.map +1 -1
- package/build/src/theme/Navbar/Canopy/index.js.map +1 -1
- package/build/src/theme/Navbar/Canopy/mobile-menu.d.ts.map +1 -1
- package/build/src/theme/Navbar/Canopy/mobile-menu.js.map +1 -1
- package/build/src/theme/Navbar/Compass/index.d.ts.map +1 -1
- package/build/src/theme/Navbar/Compass/index.js.map +1 -1
- package/build/src/theme/Navbar/Compass/mobile-menu.d.ts.map +1 -1
- package/build/src/theme/Navbar/Compass/mobile-menu.js.map +1 -1
- package/build/src/theme/Navbar/Monolith/index.d.ts.map +1 -1
- package/build/src/theme/Navbar/Monolith/index.js.map +1 -1
- package/build/src/theme/Navbar/Monolith/mobile-menu.d.ts.map +1 -1
- package/build/src/theme/Navbar/Monolith/mobile-menu.js.map +1 -1
- package/build/src/theme/Navbar/More/index.d.ts.map +1 -1
- package/build/src/theme/Navbar/More/index.js.map +1 -1
- package/build/src/theme/Navbar/index.js +0 -1
- package/build/src/theme/Navbar/index.js.map +1 -1
- package/build/src/theme/NavbarItem/component-types.d.ts.map +1 -1
- package/build/src/theme/NavbarItem/component-types.js +2 -0
- package/build/src/theme/NavbarItem/component-types.js.map +1 -1
- package/build/src/theme/NavbarItem/default-navbar-item.d.ts.map +1 -1
- package/build/src/theme/NavbarItem/default-navbar-item.js.map +1 -1
- package/build/src/theme/NavbarItem/doc-navbar-item.d.ts.map +1 -1
- package/build/src/theme/NavbarItem/doc-navbar-item.js.map +1 -1
- package/build/src/theme/NavbarItem/doc-sidebar-navbar-item.d.ts.map +1 -1
- package/build/src/theme/NavbarItem/doc-sidebar-navbar-item.js.map +1 -1
- package/build/src/theme/NavbarItem/docs-version-dropdown-navbar-item.d.ts.map +1 -1
- package/build/src/theme/NavbarItem/docs-version-dropdown-navbar-item.js.map +1 -1
- package/build/src/theme/NavbarItem/docs-version-navbar-item.d.ts.map +1 -1
- package/build/src/theme/NavbarItem/docs-version-navbar-item.js +1 -1
- package/build/src/theme/NavbarItem/docs-version-navbar-item.js.map +1 -1
- package/build/src/theme/NavbarItem/dropdown-navbar-item.d.ts.map +1 -1
- package/build/src/theme/NavbarItem/dropdown-navbar-item.js.map +1 -1
- package/build/src/theme/NavbarItem/html-navbar-item.d.ts.map +1 -1
- package/build/src/theme/NavbarItem/html-navbar-item.js.map +1 -1
- package/build/src/theme/NavbarItem/index.d.ts.map +1 -1
- package/build/src/theme/NavbarItem/index.js.map +1 -1
- package/build/src/theme/NavbarItem/locale-dropdown-navbar-item.d.ts.map +1 -1
- package/build/src/theme/NavbarItem/locale-dropdown-navbar-item.js.map +1 -1
- package/build/src/theme/NavbarItem/search-navbar-item.d.ts.map +1 -1
- package/build/src/theme/NavbarItem/search-navbar-item.js.map +1 -1
- package/build/src/theme/NotFound/Content/index.d.ts.map +1 -1
- package/build/src/theme/NotFound/Content/index.js.map +1 -1
- package/build/src/theme/NotFound/index.d.ts.map +1 -1
- package/build/src/theme/NotFound/index.js.map +1 -1
- package/build/src/theme/Root/index.d.ts.map +1 -1
- package/build/src/theme/Root/index.js.map +1 -1
- package/build/src/theme/SearchBar/search-input.d.ts.map +1 -1
- package/build/src/theme/SearchBar/search-input.js.map +1 -1
- package/build/src/theme/SearchBar/search-provider.d.ts.map +1 -1
- package/build/src/theme/SearchBar/search-provider.js +4 -1
- package/build/src/theme/SearchBar/search-provider.js.map +1 -1
- package/build/src/theme/SearchBar/search-results.d.ts.map +1 -1
- package/build/src/theme/SearchBar/search-results.js.map +1 -1
- package/build/src/theme/SearchMetadata/index.d.ts.map +1 -1
- package/build/src/theme/SearchMetadata/index.js.map +1 -1
- package/build/src/theme/SearchPage/index.d.ts.map +1 -1
- package/build/src/theme/SearchPage/index.js +4 -1
- package/build/src/theme/SearchPage/index.js.map +1 -1
- package/build/src/theme/Showcase/index.d.ts.map +1 -1
- package/build/src/theme/Showcase/index.js.map +1 -1
- package/build/src/theme/SkipToContent/index.d.ts.map +1 -1
- package/build/src/theme/SkipToContent/index.js.map +1 -1
- package/build/src/theme/TOC/index.d.ts.map +1 -1
- package/build/src/theme/TOC/index.js.map +1 -1
- package/build/src/theme/TOCCollapsible/index.d.ts.map +1 -1
- package/build/src/theme/TOCCollapsible/index.js +13 -88
- package/build/src/theme/TOCCollapsible/index.js.map +1 -1
- package/build/src/theme/TOCCollapsible/panel.d.ts +3 -0
- package/build/src/theme/TOCCollapsible/panel.d.ts.map +1 -0
- package/build/src/theme/TOCCollapsible/panel.js +90 -0
- package/build/src/theme/TOCCollapsible/panel.js.map +1 -0
- package/build/src/theme/TabItem/index.d.ts.map +1 -1
- package/build/src/theme/TabItem/index.js.map +1 -1
- package/build/src/theme/Tabs/index.d.ts.map +1 -1
- package/build/src/theme/Tabs/index.js.map +1 -1
- package/build/src/theme/Tag/index.d.ts.map +1 -1
- package/build/src/theme/Tag/index.js.map +1 -1
- package/build/src/theme/TagsListByLetter/index.d.ts.map +1 -1
- package/build/src/theme/TagsListByLetter/index.js.map +1 -1
- package/build/src/theme/ThemeProvider/TitleFormatter/index.d.ts.map +1 -1
- package/build/src/theme/ThemeProvider/TitleFormatter/index.js.map +1 -1
- package/build/src/theme/ThemeProvider/index.d.ts.map +1 -1
- package/build/src/theme/ThemeProvider/index.js.map +1 -1
- package/build/src/theme/ThemedImage/index.d.ts.map +1 -1
- package/build/src/theme/ThemedImage/index.js.map +1 -1
- package/build/src/types/cli/i18n/check.d.ts +29 -0
- package/build/src/types/cli/i18n/coverage.d.ts +120 -0
- package/build/src/types/cli/i18n/sync.d.ts +42 -0
- package/build/src/types/cli/index.d.ts +55 -0
- package/build/src/types/icons.d.ts +21 -0
- package/build/src/types/index.d.ts +12 -10
- package/build/src/types/lib/bundle-size.d.ts +4 -2
- package/build/src/types/lib/color.d.ts +6 -6
- package/build/src/types/lib/css-generator.d.ts +5 -4
- package/build/src/types/lib/i18n/apply-plan.d.ts +134 -0
- package/build/src/types/lib/i18n/content-scan.d.ts +193 -0
- package/build/src/types/lib/i18n/coverage.d.ts +105 -0
- package/build/src/types/lib/i18n/prompt.d.ts +30 -0
- package/build/src/types/lib/i18n/reconcile.d.ts +147 -0
- package/build/src/types/lib/i18n/report.d.ts +16 -0
- package/build/src/types/lib/i18n/site-context.d.ts +147 -0
- package/build/src/types/lib/mermaid.d.ts +5 -3
- package/build/src/types/lib/search/indexer.d.ts +4 -4
- package/build/src/types/lib/search/perform-search.d.ts +27 -27
- package/build/src/types/lib/search/worker.d.ts +24 -24
- package/build/src/types/lib/sidebar-mobile-store.d.ts +38 -0
- package/build/src/types/lib/toc-collapsible-store.d.ts +67 -0
- package/build/src/types/lib/use-details-dismiss.d.ts +3 -3
- package/build/src/types/plugins/bundle-guard/index.d.ts +2 -2
- package/build/src/types/plugins/icons/base-set.d.ts +1 -1
- package/build/src/types/plugins/icons/generate.d.ts +18 -14
- package/build/src/types/plugins/icons/index.d.ts +6 -6
- package/build/src/types/shared.d.ts +416 -8
- package/build/src/types/tests/bundle-size.test.d.ts +1 -1
- package/build/src/types/tests/cli/i18n/sync.test.d.ts +66 -0
- package/build/src/types/tests/config-drift.test.d.ts +4 -4
- package/build/src/types/tests/exports-module-format.test.d.ts +143 -0
- package/build/src/types/tests/folder-axis.test.d.ts +4 -2
- package/build/src/types/tests/icons.test.d.ts +9 -7
- package/build/src/types/tests/layered-scope.test.d.ts +70 -20
- package/build/src/types/tests/lib/color.test.d.ts +2 -2
- package/build/src/types/tests/lib/i18n/apply-plan.test.d.ts +132 -0
- package/build/src/types/tests/lib/i18n/content-scan.test.d.ts +87 -0
- package/build/src/types/tests/lib/i18n/reconcile.test.d.ts +173 -0
- package/build/src/types/tests/lib/i18n/site-context.test.d.ts +30 -0
- package/build/src/types/tests/lib/search/worker.test.d.ts +8 -1
- package/build/src/types/tests/lib/sidebar-mobile-store.test.d.ts +51 -0
- package/build/src/types/tests/lib/toc-collapsible-store.test.d.ts +52 -0
- package/build/src/types/tests/nova-version-drift.test.d.ts +3 -3
- package/build/src/types/tests/preset.test.d.ts +96 -8
- package/build/src/types/tests/since-version.test.d.ts +158 -0
- package/build/src/types/tests/theme/CodeBlock/live-editor.test.d.ts +7 -0
- package/build/src/types/theme/BlogPostItem/index.d.ts +17 -2
- package/build/src/types/theme/DocItem/Footer/index.d.ts +2 -0
- package/build/src/types/theme/DocItem/index.d.ts +2 -0
- package/build/src/types/theme/DocSidebarMobile/index.d.ts +1 -55
- package/build/src/types/theme/DocSidebarMobile/panel.d.ts +54 -0
- package/build/src/types/theme/Error/index.d.ts +2 -1
- package/build/src/types/theme/ErrorPageContent/index.d.ts +2 -1
- package/build/src/types/theme/Layout/index.d.ts +2 -0
- package/build/src/types/theme/MDXPage/index.d.ts +3 -1
- package/build/src/types/theme/Navbar/index.d.ts +2 -1
- package/build/src/types/theme/SearchBar/search-input.d.ts +9 -6
- package/build/src/types/theme/SearchBar/search-provider.d.ts +7 -3
- package/build/src/types/theme/SearchBar/search-results.d.ts +4 -3
- package/build/src/types/theme/SearchPage/index.d.ts +4 -2
- package/build/src/types/theme/SiteMetadata/index.d.ts +3 -1
- package/build/src/types/theme/TOCCollapsible/index.d.ts +14 -67
- package/build/src/types/theme/TOCCollapsible/panel.d.ts +69 -0
- package/nova-theme.d.ts +2 -1
- package/package.json +23 -10
- package/translations/locales/ar/theme-nova.json +35 -35
- package/translations/locales/bg/theme-nova.json +170 -0
- package/translations/locales/bn/theme-nova.json +170 -0
- package/translations/locales/cs/theme-nova.json +170 -0
- package/translations/locales/da/theme-nova.json +170 -0
- package/translations/locales/de/theme-nova.json +170 -0
- package/translations/locales/es/theme-nova.json +170 -0
- package/translations/locales/et/theme-nova.json +170 -0
- package/translations/locales/fa/theme-nova.json +170 -0
- package/translations/locales/fil/theme-nova.json +170 -0
- package/translations/locales/fr/theme-nova.json +170 -0
- package/translations/locales/he/theme-nova.json +170 -0
- package/translations/locales/hi/theme-nova.json +170 -0
- package/translations/locales/hu/theme-nova.json +170 -0
- package/translations/locales/id/theme-nova.json +170 -0
- package/translations/locales/is/theme-nova.json +170 -0
- package/translations/locales/it/theme-nova.json +170 -0
- package/translations/locales/ja/theme-nova.json +170 -0
- package/translations/locales/ko/theme-nova.json +170 -0
- package/translations/locales/nb/theme-nova.json +170 -0
- package/translations/locales/nl/theme-nova.json +170 -0
- package/translations/locales/pl/theme-nova.json +170 -0
- package/translations/locales/pt-BR/theme-nova.json +170 -0
- package/translations/locales/pt-PT/theme-nova.json +170 -0
- package/translations/locales/ru/theme-nova.json +170 -0
- package/translations/locales/sl/theme-nova.json +170 -0
- package/translations/locales/sr/theme-nova.json +170 -0
- package/translations/locales/sv/theme-nova.json +170 -0
- package/translations/locales/tk/theme-nova.json +170 -0
- package/translations/locales/tr/theme-nova.json +170 -0
- package/translations/locales/uk/theme-nova.json +170 -0
- package/translations/locales/ur/theme-nova.json +170 -0
- package/translations/locales/vi/theme-nova.json +170 -0
- package/translations/locales/zh-Hans/theme-nova.json +24 -24
- package/translations/locales/zh-Hant/theme-nova.json +170 -0
- package/build/src/types/tests/type-declarations.test.d.ts +0 -4947
- package/build/src/types/worker-globals.d.ts +0 -103
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import type { Dirent } from 'node:fs';
|
|
2
|
+
|
|
3
|
+
import type {
|
|
4
|
+
InitializedPlugin,
|
|
5
|
+
LoadContext,
|
|
6
|
+
} from '@docusaurus/types';
|
|
7
|
+
|
|
8
|
+
import type {
|
|
9
|
+
Shared_I18nContentScanDescriptor,
|
|
10
|
+
Shared_I18nContentScanResult,
|
|
11
|
+
Shared_I18nContentScanResultLocale,
|
|
12
|
+
} from '../../shared.d.ts';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Lib - I18n - Content Scan - Known Plugins.
|
|
16
|
+
*
|
|
17
|
+
* @since 0.21.0
|
|
18
|
+
*/
|
|
19
|
+
export type Lib_I18n_ContentScan_KnownPlugin_Name = string;
|
|
20
|
+
|
|
21
|
+
export type Lib_I18n_ContentScan_KnownPlugin_Short = string;
|
|
22
|
+
|
|
23
|
+
export type Lib_I18n_ContentScan_KnownPlugin_DefaultPath = string;
|
|
24
|
+
|
|
25
|
+
export type Lib_I18n_ContentScan_KnownPlugin_Versioned = boolean;
|
|
26
|
+
|
|
27
|
+
export type Lib_I18n_ContentScan_KnownPlugin = {
|
|
28
|
+
name: Lib_I18n_ContentScan_KnownPlugin_Name;
|
|
29
|
+
short: Lib_I18n_ContentScan_KnownPlugin_Short;
|
|
30
|
+
defaultPath: Lib_I18n_ContentScan_KnownPlugin_DefaultPath;
|
|
31
|
+
versioned: Lib_I18n_ContentScan_KnownPlugin_Versioned;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export type Lib_I18n_ContentScan_KnownPlugins = Lib_I18n_ContentScan_KnownPlugin[];
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Lib - I18n - Content Scan - Build Descriptors.
|
|
38
|
+
*
|
|
39
|
+
* @since 0.21.0
|
|
40
|
+
*/
|
|
41
|
+
export type Lib_I18n_ContentScan_Runner_BuildDescriptors_SiteDir = string;
|
|
42
|
+
|
|
43
|
+
export type Lib_I18n_ContentScan_Runner_BuildDescriptors_Plugins = InitializedPlugin[];
|
|
44
|
+
|
|
45
|
+
export type Lib_I18n_ContentScan_Runner_BuildDescriptors_Returns = Promise<Shared_I18nContentScanDescriptor[]>;
|
|
46
|
+
|
|
47
|
+
export type Lib_I18n_ContentScan_Runner_BuildDescriptors_Descriptors = Shared_I18nContentScanDescriptor[];
|
|
48
|
+
|
|
49
|
+
export type Lib_I18n_ContentScan_Runner_BuildDescriptors_Matches = InitializedPlugin[];
|
|
50
|
+
|
|
51
|
+
export type Lib_I18n_ContentScan_Runner_BuildDescriptors_PluginOptions = {
|
|
52
|
+
id?: string;
|
|
53
|
+
path?: unknown;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export type Lib_I18n_ContentScan_Runner_BuildDescriptors_RawPluginId = string | undefined;
|
|
57
|
+
|
|
58
|
+
export type Lib_I18n_ContentScan_Runner_BuildDescriptors_PluginId = string;
|
|
59
|
+
|
|
60
|
+
export type Lib_I18n_ContentScan_Runner_BuildDescriptors_RawSourcePath = unknown;
|
|
61
|
+
|
|
62
|
+
export type Lib_I18n_ContentScan_Runner_BuildDescriptors_SourcePath = string;
|
|
63
|
+
|
|
64
|
+
export type Lib_I18n_ContentScan_Runner_BuildDescriptors_VersionedDir = string;
|
|
65
|
+
|
|
66
|
+
export type Lib_I18n_ContentScan_Runner_BuildDescriptors_VersionedExists = boolean;
|
|
67
|
+
|
|
68
|
+
export type Lib_I18n_ContentScan_Runner_BuildDescriptors_VersionDirents = Dirent[];
|
|
69
|
+
|
|
70
|
+
export type Lib_I18n_ContentScan_Runner_BuildDescriptors_IsVersionDir = boolean;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Lib - I18n - Content Scan - Collect.
|
|
74
|
+
*
|
|
75
|
+
* @since 0.21.0
|
|
76
|
+
*/
|
|
77
|
+
export type Lib_I18n_ContentScan_Runner_Collect_Input_SiteDir = string;
|
|
78
|
+
|
|
79
|
+
export type Lib_I18n_ContentScan_Runner_Collect_Input_Descriptors = Shared_I18nContentScanDescriptor[];
|
|
80
|
+
|
|
81
|
+
export type Lib_I18n_ContentScan_Runner_Collect_Input_Locales = string[];
|
|
82
|
+
|
|
83
|
+
export type Lib_I18n_ContentScan_Runner_Collect_Input_DefaultLocale = string;
|
|
84
|
+
|
|
85
|
+
export type Lib_I18n_ContentScan_Runner_Collect_Input = {
|
|
86
|
+
siteDir: Lib_I18n_ContentScan_Runner_Collect_Input_SiteDir;
|
|
87
|
+
descriptors: Lib_I18n_ContentScan_Runner_Collect_Input_Descriptors;
|
|
88
|
+
locales: Lib_I18n_ContentScan_Runner_Collect_Input_Locales;
|
|
89
|
+
defaultLocale: Lib_I18n_ContentScan_Runner_Collect_Input_DefaultLocale;
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
export type Lib_I18n_ContentScan_Runner_Collect_Returns = Promise<Shared_I18nContentScanResult>;
|
|
93
|
+
|
|
94
|
+
export type Lib_I18n_ContentScan_Runner_Collect_SiteDir = string;
|
|
95
|
+
|
|
96
|
+
export type Lib_I18n_ContentScan_Runner_Collect_Descriptors = Shared_I18nContentScanDescriptor[];
|
|
97
|
+
|
|
98
|
+
export type Lib_I18n_ContentScan_Runner_Collect_Locales = string[];
|
|
99
|
+
|
|
100
|
+
export type Lib_I18n_ContentScan_Runner_Collect_DefaultLocale = string;
|
|
101
|
+
|
|
102
|
+
export type Lib_I18n_ContentScan_Runner_Collect_Entry_Id = string;
|
|
103
|
+
|
|
104
|
+
export type Lib_I18n_ContentScan_Runner_Collect_Entry_PluginName = string;
|
|
105
|
+
|
|
106
|
+
export type Lib_I18n_ContentScan_Runner_Collect_Entry_PluginId = string;
|
|
107
|
+
|
|
108
|
+
export type Lib_I18n_ContentScan_Runner_Collect_Entry_SubPaths = string[];
|
|
109
|
+
|
|
110
|
+
export type Lib_I18n_ContentScan_Runner_Collect_Entry = {
|
|
111
|
+
id: Lib_I18n_ContentScan_Runner_Collect_Entry_Id;
|
|
112
|
+
pluginName: Lib_I18n_ContentScan_Runner_Collect_Entry_PluginName;
|
|
113
|
+
pluginId: Lib_I18n_ContentScan_Runner_Collect_Entry_PluginId;
|
|
114
|
+
subPaths: Lib_I18n_ContentScan_Runner_Collect_Entry_SubPaths;
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
export type Lib_I18n_ContentScan_Runner_Collect_Entries = Lib_I18n_ContentScan_Runner_Collect_Entry[];
|
|
118
|
+
|
|
119
|
+
export type Lib_I18n_ContentScan_Runner_Collect_SourceDir = string;
|
|
120
|
+
|
|
121
|
+
export type Lib_I18n_ContentScan_Runner_Collect_SourceExists = boolean;
|
|
122
|
+
|
|
123
|
+
export type Lib_I18n_ContentScan_Runner_Collect_Short = string;
|
|
124
|
+
|
|
125
|
+
export type Lib_I18n_ContentScan_Runner_Collect_PluginId = string;
|
|
126
|
+
|
|
127
|
+
export type Lib_I18n_ContentScan_Runner_Collect_VersionSegment = string | null;
|
|
128
|
+
|
|
129
|
+
export type Lib_I18n_ContentScan_Runner_Collect_Files = string[];
|
|
130
|
+
|
|
131
|
+
export type Lib_I18n_ContentScan_Runner_Collect_InstanceTag = string;
|
|
132
|
+
|
|
133
|
+
export type Lib_I18n_ContentScan_Runner_Collect_Label = string;
|
|
134
|
+
|
|
135
|
+
export type Lib_I18n_ContentScan_Runner_Collect_SubPaths = string[];
|
|
136
|
+
|
|
137
|
+
export type Lib_I18n_ContentScan_Runner_Collect_VersionPrefix = string;
|
|
138
|
+
|
|
139
|
+
export type Lib_I18n_ContentScan_Runner_Collect_Id = string;
|
|
140
|
+
|
|
141
|
+
export type Lib_I18n_ContentScan_Runner_Collect_Sources = string[];
|
|
142
|
+
|
|
143
|
+
export type Lib_I18n_ContentScan_Runner_Collect_PerLocale = Shared_I18nContentScanResultLocale[];
|
|
144
|
+
|
|
145
|
+
export type Lib_I18n_ContentScan_Runner_Collect_IsDefaultLocale = boolean;
|
|
146
|
+
|
|
147
|
+
export type Lib_I18n_ContentScan_Runner_Collect_LocalizationDir = string;
|
|
148
|
+
|
|
149
|
+
export type Lib_I18n_ContentScan_Runner_Collect_Present = Set<string>;
|
|
150
|
+
|
|
151
|
+
export type Lib_I18n_ContentScan_Runner_Collect_FilePath = string;
|
|
152
|
+
|
|
153
|
+
export type Lib_I18n_ContentScan_Runner_Collect_Exists = boolean;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Lib - I18n - Content Scan - File Exists.
|
|
157
|
+
*
|
|
158
|
+
* @since 0.21.0
|
|
159
|
+
*/
|
|
160
|
+
export type Lib_I18n_ContentScan_Runner_FileExists_FilePath = string;
|
|
161
|
+
|
|
162
|
+
export type Lib_I18n_ContentScan_Runner_FileExists_Returns = Promise<boolean>;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Lib - I18n - Content Scan - Scan.
|
|
166
|
+
*
|
|
167
|
+
* @since 0.21.0
|
|
168
|
+
*/
|
|
169
|
+
export type Lib_I18n_ContentScan_Runner_Scan_Options_Locale = string | undefined;
|
|
170
|
+
|
|
171
|
+
export type Lib_I18n_ContentScan_Runner_Scan_Options = {
|
|
172
|
+
locale: Lib_I18n_ContentScan_Runner_Scan_Options_Locale;
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
export type Lib_I18n_ContentScan_Runner_Scan_Result = Shared_I18nContentScanResult;
|
|
176
|
+
|
|
177
|
+
export type Lib_I18n_ContentScan_Runner_Scan_Returns = Promise<Lib_I18n_ContentScan_Runner_Scan_Result>;
|
|
178
|
+
|
|
179
|
+
export type Lib_I18n_ContentScan_Runner_Scan_RequestedLocale = string | undefined;
|
|
180
|
+
|
|
181
|
+
export type Lib_I18n_ContentScan_Runner_Scan_SiteDir = string;
|
|
182
|
+
|
|
183
|
+
export type Lib_I18n_ContentScan_Runner_Scan_Base = LoadContext;
|
|
184
|
+
|
|
185
|
+
export type Lib_I18n_ContentScan_Runner_Scan_I18n = LoadContext['i18n'];
|
|
186
|
+
|
|
187
|
+
export type Lib_I18n_ContentScan_Runner_Scan_DefaultLocale = string;
|
|
188
|
+
|
|
189
|
+
export type Lib_I18n_ContentScan_Runner_Scan_Locales = string[];
|
|
190
|
+
|
|
191
|
+
export type Lib_I18n_ContentScan_Runner_Scan_Plugins = InitializedPlugin[];
|
|
192
|
+
|
|
193
|
+
export type Lib_I18n_ContentScan_Runner_Scan_Descriptors = Shared_I18nContentScanDescriptor[];
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
Shared_I18nContentScanResult,
|
|
3
|
+
Shared_I18nContentScanResultLocale,
|
|
4
|
+
Shared_I18nCoverageContentLocale,
|
|
5
|
+
Shared_I18nCoverageContentReport,
|
|
6
|
+
Shared_I18nCoverageInputLocale,
|
|
7
|
+
Shared_I18nCoverageJsonLocale,
|
|
8
|
+
Shared_I18nCoverageJsonReport,
|
|
9
|
+
Shared_I18nCoverageLocale,
|
|
10
|
+
Shared_I18nCoverageReport,
|
|
11
|
+
} from '../../shared.d.ts';
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Lib - I18n - Coverage - Combine.
|
|
15
|
+
*
|
|
16
|
+
* @since 0.21.0
|
|
17
|
+
*/
|
|
18
|
+
export type Lib_I18n_Coverage_Runner_Combine_Input_Json = Shared_I18nCoverageJsonReport;
|
|
19
|
+
|
|
20
|
+
export type Lib_I18n_Coverage_Runner_Combine_Input_Content = Shared_I18nCoverageContentReport;
|
|
21
|
+
|
|
22
|
+
export type Lib_I18n_Coverage_Runner_Combine_Input = {
|
|
23
|
+
json: Lib_I18n_Coverage_Runner_Combine_Input_Json;
|
|
24
|
+
content: Lib_I18n_Coverage_Runner_Combine_Input_Content;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export type Lib_I18n_Coverage_Runner_Combine_Returns = Shared_I18nCoverageReport;
|
|
28
|
+
|
|
29
|
+
export type Lib_I18n_Coverage_Runner_Combine_JsonTotal = number;
|
|
30
|
+
|
|
31
|
+
export type Lib_I18n_Coverage_Runner_Combine_ContentTotal = number;
|
|
32
|
+
|
|
33
|
+
export type Lib_I18n_Coverage_Runner_Combine_ContentByLocale = Map<string, Shared_I18nCoverageContentLocale>;
|
|
34
|
+
|
|
35
|
+
export type Lib_I18n_Coverage_Runner_Combine_Locales = Shared_I18nCoverageLocale[];
|
|
36
|
+
|
|
37
|
+
export type Lib_I18n_Coverage_Runner_Combine_ContentReport = Shared_I18nCoverageContentLocale | undefined;
|
|
38
|
+
|
|
39
|
+
export type Lib_I18n_Coverage_Runner_Combine_ContentPresent = number;
|
|
40
|
+
|
|
41
|
+
export type Lib_I18n_Coverage_Runner_Combine_MissingContent = string[];
|
|
42
|
+
|
|
43
|
+
export type Lib_I18n_Coverage_Runner_Combine_CoveredUnits = number;
|
|
44
|
+
|
|
45
|
+
export type Lib_I18n_Coverage_Runner_Combine_TotalUnits = number;
|
|
46
|
+
|
|
47
|
+
export type Lib_I18n_Coverage_Runner_Combine_Percent = number;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Lib - I18n - Coverage - Compute Content.
|
|
51
|
+
*
|
|
52
|
+
* @since 0.21.0
|
|
53
|
+
*/
|
|
54
|
+
export type Lib_I18n_Coverage_Runner_ComputeContent_Input = Shared_I18nContentScanResult;
|
|
55
|
+
|
|
56
|
+
export type Lib_I18n_Coverage_Runner_ComputeContent_Returns = Shared_I18nCoverageContentReport;
|
|
57
|
+
|
|
58
|
+
export type Lib_I18n_Coverage_Runner_ComputeContent_Sources = string[];
|
|
59
|
+
|
|
60
|
+
export type Lib_I18n_Coverage_Runner_ComputeContent_PerLocale = Shared_I18nContentScanResultLocale[];
|
|
61
|
+
|
|
62
|
+
export type Lib_I18n_Coverage_Runner_ComputeContent_SourceSet = Set<string>;
|
|
63
|
+
|
|
64
|
+
export type Lib_I18n_Coverage_Runner_ComputeContent_Locales = Shared_I18nCoverageContentLocale[];
|
|
65
|
+
|
|
66
|
+
export type Lib_I18n_Coverage_Runner_ComputeContent_Missing = string[];
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Lib - I18n - Coverage - Compute Json.
|
|
70
|
+
*
|
|
71
|
+
* @since 0.21.0
|
|
72
|
+
*/
|
|
73
|
+
export type Lib_I18n_Coverage_Runner_ComputeJson_Input_Universe = Set<string>;
|
|
74
|
+
|
|
75
|
+
export type Lib_I18n_Coverage_Runner_ComputeJson_Input_PerLocale = Shared_I18nCoverageInputLocale[];
|
|
76
|
+
|
|
77
|
+
export type Lib_I18n_Coverage_Runner_ComputeJson_Input = {
|
|
78
|
+
universe: Lib_I18n_Coverage_Runner_ComputeJson_Input_Universe;
|
|
79
|
+
perLocale: Lib_I18n_Coverage_Runner_ComputeJson_Input_PerLocale;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
export type Lib_I18n_Coverage_Runner_ComputeJson_Returns = Shared_I18nCoverageJsonReport;
|
|
83
|
+
|
|
84
|
+
export type Lib_I18n_Coverage_Runner_ComputeJson_Universe = Set<string>;
|
|
85
|
+
|
|
86
|
+
export type Lib_I18n_Coverage_Runner_ComputeJson_PerLocale = Shared_I18nCoverageInputLocale[];
|
|
87
|
+
|
|
88
|
+
export type Lib_I18n_Coverage_Runner_ComputeJson_UnionTranslated = Set<string>;
|
|
89
|
+
|
|
90
|
+
export type Lib_I18n_Coverage_Runner_ComputeJson_Locales = Shared_I18nCoverageJsonLocale[];
|
|
91
|
+
|
|
92
|
+
export type Lib_I18n_Coverage_Runner_ComputeJson_DefiniteGaps = string[];
|
|
93
|
+
|
|
94
|
+
export type Lib_I18n_Coverage_Runner_ComputeJson_SoftGaps = string[];
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Lib - I18n - Coverage - Percent.
|
|
98
|
+
*
|
|
99
|
+
* @since 0.21.0
|
|
100
|
+
*/
|
|
101
|
+
export type Lib_I18n_Coverage_Runner_Percent_Covered = number;
|
|
102
|
+
|
|
103
|
+
export type Lib_I18n_Coverage_Runner_Percent_Total = number;
|
|
104
|
+
|
|
105
|
+
export type Lib_I18n_Coverage_Runner_Percent_Returns = number;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
Shared_I18nDecision,
|
|
3
|
+
Shared_I18nPlanEntry,
|
|
4
|
+
} from '../../shared.d.ts';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Lib - I18n - Prompt - Confirm Batch.
|
|
8
|
+
*
|
|
9
|
+
* @since 0.21.0
|
|
10
|
+
*/
|
|
11
|
+
export type Lib_I18n_Prompt_Runner_ConfirmBatch_Locale = string;
|
|
12
|
+
|
|
13
|
+
export type Lib_I18n_Prompt_Runner_ConfirmBatch_Scope = string;
|
|
14
|
+
|
|
15
|
+
export type Lib_I18n_Prompt_Runner_ConfirmBatch_Entries = Shared_I18nPlanEntry[];
|
|
16
|
+
|
|
17
|
+
export type Lib_I18n_Prompt_Runner_ConfirmBatch_Returns = Promise<Shared_I18nDecision>;
|
|
18
|
+
|
|
19
|
+
export type Lib_I18n_Prompt_Runner_ConfirmBatch_Count = number;
|
|
20
|
+
|
|
21
|
+
export type Lib_I18n_Prompt_Runner_ConfirmBatch_Noun = string;
|
|
22
|
+
|
|
23
|
+
export type Lib_I18n_Prompt_Runner_ConfirmBatch_Result = Record<string, unknown>;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Lib - I18n - Prompt - Is Interactive.
|
|
27
|
+
*
|
|
28
|
+
* @since 0.21.0
|
|
29
|
+
*/
|
|
30
|
+
export type Lib_I18n_Prompt_Runner_IsInteractive_Returns = boolean;
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
TranslationFileContent,
|
|
3
|
+
TranslationMessage,
|
|
4
|
+
} from '@docusaurus/types';
|
|
5
|
+
|
|
6
|
+
import type {
|
|
7
|
+
Shared_I18nFilePlan,
|
|
8
|
+
Shared_I18nPlanEntry,
|
|
9
|
+
} from '../../shared.d.ts';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Lib - I18n - Reconcile - Assemble.
|
|
13
|
+
*
|
|
14
|
+
* @since 0.21.0
|
|
15
|
+
*/
|
|
16
|
+
export type Lib_I18n_Reconcile_Runner_Assemble_Scope = string;
|
|
17
|
+
|
|
18
|
+
export type Lib_I18n_Reconcile_Runner_Assemble_Entries = Shared_I18nPlanEntry[];
|
|
19
|
+
|
|
20
|
+
export type Lib_I18n_Reconcile_Runner_Assemble_Returns = Shared_I18nFilePlan;
|
|
21
|
+
|
|
22
|
+
export type Lib_I18n_Reconcile_Runner_Assemble_Keep = Shared_I18nPlanEntry[];
|
|
23
|
+
|
|
24
|
+
export type Lib_I18n_Reconcile_Runner_Assemble_Add = Shared_I18nPlanEntry[];
|
|
25
|
+
|
|
26
|
+
export type Lib_I18n_Reconcile_Runner_Assemble_DropRedundant = Shared_I18nPlanEntry[];
|
|
27
|
+
|
|
28
|
+
export type Lib_I18n_Reconcile_Runner_Assemble_Orphan = Shared_I18nPlanEntry[];
|
|
29
|
+
|
|
30
|
+
export type Lib_I18n_Reconcile_Runner_Assemble_Content = TranslationFileContent;
|
|
31
|
+
|
|
32
|
+
export type Lib_I18n_Reconcile_Runner_Assemble_MessageEntry = TranslationMessage;
|
|
33
|
+
|
|
34
|
+
export type Lib_I18n_Reconcile_Runner_Assemble_EntryDescription = string | undefined;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Lib - I18n - Reconcile - Reconcile Area.
|
|
38
|
+
*
|
|
39
|
+
* @since 0.21.0
|
|
40
|
+
*/
|
|
41
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileArea_Input_Existing = TranslationFileContent;
|
|
42
|
+
|
|
43
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileArea_Input_Live = TranslationFileContent;
|
|
44
|
+
|
|
45
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileArea_Input_IsDefaultLocale = boolean;
|
|
46
|
+
|
|
47
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileArea_Input_Path = string;
|
|
48
|
+
|
|
49
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileArea_Input = {
|
|
50
|
+
existing: Lib_I18n_Reconcile_Runner_ReconcileArea_Input_Existing;
|
|
51
|
+
live: Lib_I18n_Reconcile_Runner_ReconcileArea_Input_Live;
|
|
52
|
+
isDefaultLocale: Lib_I18n_Reconcile_Runner_ReconcileArea_Input_IsDefaultLocale;
|
|
53
|
+
path: Lib_I18n_Reconcile_Runner_ReconcileArea_Input_Path;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileArea_Returns = Shared_I18nFilePlan;
|
|
57
|
+
|
|
58
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileArea_Existing = TranslationFileContent;
|
|
59
|
+
|
|
60
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileArea_Live = TranslationFileContent;
|
|
61
|
+
|
|
62
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileArea_IsDefaultLocale = boolean;
|
|
63
|
+
|
|
64
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileArea_Path = string;
|
|
65
|
+
|
|
66
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileArea_Scope = string;
|
|
67
|
+
|
|
68
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileArea_LiveKeys = Set<string>;
|
|
69
|
+
|
|
70
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileArea_ExistingKeys = Set<string>;
|
|
71
|
+
|
|
72
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileArea_Entries = Shared_I18nPlanEntry[];
|
|
73
|
+
|
|
74
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileArea_Value = TranslationMessage | undefined;
|
|
75
|
+
|
|
76
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileArea_LiveEntry = TranslationMessage | undefined;
|
|
77
|
+
|
|
78
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileArea_DefaultMessage = string | undefined;
|
|
79
|
+
|
|
80
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileArea_SeedEntry = TranslationMessage | undefined;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Lib - I18n - Reconcile - Reconcile Code.
|
|
84
|
+
*
|
|
85
|
+
* @since 0.21.0
|
|
86
|
+
*/
|
|
87
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_Input_Existing = TranslationFileContent;
|
|
88
|
+
|
|
89
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_Input_LiveSiteKeys = Set<string>;
|
|
90
|
+
|
|
91
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_Input_ThemeLiveKeys = Set<string>;
|
|
92
|
+
|
|
93
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_Input_SiteExtract = TranslationFileContent;
|
|
94
|
+
|
|
95
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_Input_Registry = Record<string, string>;
|
|
96
|
+
|
|
97
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_Input_ThemeDefaults = Record<string, string>;
|
|
98
|
+
|
|
99
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_Input_IsDefaultLocale = boolean;
|
|
100
|
+
|
|
101
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_Input = {
|
|
102
|
+
existing: Lib_I18n_Reconcile_Runner_ReconcileCode_Input_Existing;
|
|
103
|
+
liveSiteKeys: Lib_I18n_Reconcile_Runner_ReconcileCode_Input_LiveSiteKeys;
|
|
104
|
+
themeLiveKeys: Lib_I18n_Reconcile_Runner_ReconcileCode_Input_ThemeLiveKeys;
|
|
105
|
+
siteExtract: Lib_I18n_Reconcile_Runner_ReconcileCode_Input_SiteExtract;
|
|
106
|
+
registry: Lib_I18n_Reconcile_Runner_ReconcileCode_Input_Registry;
|
|
107
|
+
themeDefaults: Lib_I18n_Reconcile_Runner_ReconcileCode_Input_ThemeDefaults;
|
|
108
|
+
isDefaultLocale: Lib_I18n_Reconcile_Runner_ReconcileCode_Input_IsDefaultLocale;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_Returns = Shared_I18nFilePlan;
|
|
112
|
+
|
|
113
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_Existing = TranslationFileContent;
|
|
114
|
+
|
|
115
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_LiveSiteKeys = Set<string>;
|
|
116
|
+
|
|
117
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_ThemeLiveKeys = Set<string>;
|
|
118
|
+
|
|
119
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_SiteExtract = TranslationFileContent;
|
|
120
|
+
|
|
121
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_Registry = Record<string, string>;
|
|
122
|
+
|
|
123
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_ThemeDefaults = Record<string, string>;
|
|
124
|
+
|
|
125
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_IsDefaultLocale = boolean;
|
|
126
|
+
|
|
127
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_ExistingKeys = Set<string>;
|
|
128
|
+
|
|
129
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_Entries = Shared_I18nPlanEntry[];
|
|
130
|
+
|
|
131
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_Value = TranslationMessage | undefined;
|
|
132
|
+
|
|
133
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_IsSite = boolean;
|
|
134
|
+
|
|
135
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_SiteEntry = TranslationMessage | undefined;
|
|
136
|
+
|
|
137
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_RegistryMessage = string | undefined;
|
|
138
|
+
|
|
139
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_ThemeDefaultMessage = string | undefined;
|
|
140
|
+
|
|
141
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_SiteMessage = string | undefined;
|
|
142
|
+
|
|
143
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_DefaultMessage = string | undefined;
|
|
144
|
+
|
|
145
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_Matches = boolean;
|
|
146
|
+
|
|
147
|
+
export type Lib_I18n_Reconcile_Runner_ReconcileCode_SeedEntry = TranslationMessage | undefined;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Shared_I18nPlan } from '../../shared.d.ts';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Lib - I18n - Report - Print.
|
|
5
|
+
*
|
|
6
|
+
* @since 0.21.0
|
|
7
|
+
*/
|
|
8
|
+
export type Lib_I18n_Report_Runner_Print_Plan = Shared_I18nPlan;
|
|
9
|
+
|
|
10
|
+
export type Lib_I18n_Report_Runner_Print_Returns = void;
|
|
11
|
+
|
|
12
|
+
export type Lib_I18n_Report_Runner_Print_AddCount = number;
|
|
13
|
+
|
|
14
|
+
export type Lib_I18n_Report_Runner_Print_DropCount = number;
|
|
15
|
+
|
|
16
|
+
export type Lib_I18n_Report_Runner_Print_OrphanCount = number;
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
InitializedPlugin,
|
|
3
|
+
LoadContext,
|
|
4
|
+
TranslationFile,
|
|
5
|
+
TranslationFileContent,
|
|
6
|
+
TranslationMessage,
|
|
7
|
+
} from '@docusaurus/types';
|
|
8
|
+
|
|
9
|
+
import type {
|
|
10
|
+
Shared_I18nGatherLocale,
|
|
11
|
+
Shared_I18nGatherResult,
|
|
12
|
+
} from '../../shared.d.ts';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Lib - I18n - Site Context - Gather.
|
|
16
|
+
*
|
|
17
|
+
* @since 0.21.0
|
|
18
|
+
*/
|
|
19
|
+
export type Lib_I18n_SiteContext_Runner_Gather_Options_Locale = string | undefined;
|
|
20
|
+
|
|
21
|
+
export type Lib_I18n_SiteContext_Runner_Gather_Options = {
|
|
22
|
+
locale: Lib_I18n_SiteContext_Runner_Gather_Options_Locale;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export type Lib_I18n_SiteContext_Runner_Gather_Returns = Promise<Shared_I18nGatherResult>;
|
|
26
|
+
|
|
27
|
+
export type Lib_I18n_SiteContext_Runner_Gather_SiteDir = string;
|
|
28
|
+
|
|
29
|
+
export type Lib_I18n_SiteContext_Runner_Gather_Base = LoadContext;
|
|
30
|
+
|
|
31
|
+
export type Lib_I18n_SiteContext_Runner_Gather_I18n = LoadContext['i18n'];
|
|
32
|
+
|
|
33
|
+
export type Lib_I18n_SiteContext_Runner_Gather_DefaultLocale = string;
|
|
34
|
+
|
|
35
|
+
export type Lib_I18n_SiteContext_Runner_Gather_RequestedLocale = string | undefined;
|
|
36
|
+
|
|
37
|
+
export type Lib_I18n_SiteContext_Runner_Gather_Locales = string[];
|
|
38
|
+
|
|
39
|
+
export type Lib_I18n_SiteContext_Runner_Gather_Plugins = InitializedPlugin[];
|
|
40
|
+
|
|
41
|
+
export type Lib_I18n_SiteContext_Runner_Gather_SiteExtract = TranslationFileContent;
|
|
42
|
+
|
|
43
|
+
export type Lib_I18n_SiteContext_Runner_Gather_ThemeCommonDir = string;
|
|
44
|
+
|
|
45
|
+
export type Lib_I18n_SiteContext_Runner_Gather_ExtraPaths = string[];
|
|
46
|
+
|
|
47
|
+
export type Lib_I18n_SiteContext_Runner_Gather_FullExtract = TranslationFileContent;
|
|
48
|
+
|
|
49
|
+
export type Lib_I18n_SiteContext_Runner_Gather_LiveSiteKeys = Set<string>;
|
|
50
|
+
|
|
51
|
+
export type Lib_I18n_SiteContext_Runner_Gather_ThemeLiveKeys = Set<string>;
|
|
52
|
+
|
|
53
|
+
export type Lib_I18n_SiteContext_Runner_Gather_ThemeDefaults = Record<string, string>;
|
|
54
|
+
|
|
55
|
+
export type Lib_I18n_SiteContext_Runner_Gather_ThemeDefaultEntry = TranslationMessage | undefined;
|
|
56
|
+
|
|
57
|
+
export type Lib_I18n_SiteContext_Runner_Gather_PerLocale = Shared_I18nGatherLocale[];
|
|
58
|
+
|
|
59
|
+
export type Lib_I18n_SiteContext_Runner_Gather_LocaleResult = Shared_I18nGatherLocale;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Lib - I18n - Site Context - Gather Locale.
|
|
63
|
+
*
|
|
64
|
+
* @since 0.21.0
|
|
65
|
+
*/
|
|
66
|
+
export type Lib_I18n_SiteContext_Runner_GatherLocale_SiteDir = string;
|
|
67
|
+
|
|
68
|
+
export type Lib_I18n_SiteContext_Runner_GatherLocale_Base = LoadContext;
|
|
69
|
+
|
|
70
|
+
export type Lib_I18n_SiteContext_Runner_GatherLocale_BasePlugins = InitializedPlugin[];
|
|
71
|
+
|
|
72
|
+
export type Lib_I18n_SiteContext_Runner_GatherLocale_Locale = string;
|
|
73
|
+
|
|
74
|
+
export type Lib_I18n_SiteContext_Runner_GatherLocale_DefaultLocale = string;
|
|
75
|
+
|
|
76
|
+
export type Lib_I18n_SiteContext_Runner_GatherLocale_Returns = Promise<Shared_I18nGatherLocale>;
|
|
77
|
+
|
|
78
|
+
export type Lib_I18n_SiteContext_Runner_GatherLocale_IsCurrentLocale = boolean;
|
|
79
|
+
|
|
80
|
+
export type Lib_I18n_SiteContext_Runner_GatherLocale_Context = LoadContext;
|
|
81
|
+
|
|
82
|
+
export type Lib_I18n_SiteContext_Runner_GatherLocale_Plugins = InitializedPlugin[];
|
|
83
|
+
|
|
84
|
+
export type Lib_I18n_SiteContext_Runner_GatherLocale_Registry = Record<string, string>;
|
|
85
|
+
|
|
86
|
+
export type Lib_I18n_SiteContext_Runner_GatherLocale_Theme = InitializedPlugin | undefined;
|
|
87
|
+
|
|
88
|
+
export type Lib_I18n_SiteContext_Runner_GatherLocale_AreaFiles = TranslationFile[];
|
|
89
|
+
|
|
90
|
+
export type Lib_I18n_SiteContext_Runner_GatherLocale_LocalizationDir = string;
|
|
91
|
+
|
|
92
|
+
export type Lib_I18n_SiteContext_Runner_GatherLocale_ExistingCodeRaw = TranslationFileContent | undefined;
|
|
93
|
+
|
|
94
|
+
export type Lib_I18n_SiteContext_Runner_GatherLocale_ExistingCode = TranslationFileContent;
|
|
95
|
+
|
|
96
|
+
export type Lib_I18n_SiteContext_Runner_GatherLocale_ExistingArea = Map<string, TranslationFileContent>;
|
|
97
|
+
|
|
98
|
+
export type Lib_I18n_SiteContext_Runner_GatherLocale_Content = TranslationFileContent;
|
|
99
|
+
|
|
100
|
+
export type Lib_I18n_SiteContext_Runner_GatherLocale_IsDefaultLocale = boolean;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Lib - I18n - Site Context - Load Area Files.
|
|
104
|
+
*
|
|
105
|
+
* @since 0.21.0
|
|
106
|
+
*/
|
|
107
|
+
export type Lib_I18n_SiteContext_Runner_LoadAreaFiles_Theme = InitializedPlugin | undefined;
|
|
108
|
+
|
|
109
|
+
export type Lib_I18n_SiteContext_Runner_LoadAreaFiles_Returns = Promise<TranslationFile[]>;
|
|
110
|
+
|
|
111
|
+
export type Lib_I18n_SiteContext_Runner_LoadAreaFiles_GetTranslationFiles = InitializedPlugin['getTranslationFiles'];
|
|
112
|
+
|
|
113
|
+
export type Lib_I18n_SiteContext_Runner_LoadAreaFiles_LoadContent = InitializedPlugin['loadContent'];
|
|
114
|
+
|
|
115
|
+
export type Lib_I18n_SiteContext_Runner_LoadAreaFiles_Content = unknown;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Lib - I18n - Site Context - Read Area File.
|
|
119
|
+
*
|
|
120
|
+
* @since 0.21.0
|
|
121
|
+
*/
|
|
122
|
+
export type Lib_I18n_SiteContext_Runner_ReadAreaFile_LocalizationDir = string;
|
|
123
|
+
|
|
124
|
+
export type Lib_I18n_SiteContext_Runner_ReadAreaFile_AreaPath = string;
|
|
125
|
+
|
|
126
|
+
export type Lib_I18n_SiteContext_Runner_ReadAreaFile_Returns = Promise<TranslationFileContent>;
|
|
127
|
+
|
|
128
|
+
export type Lib_I18n_SiteContext_Runner_ReadAreaFile_FilePath = string;
|
|
129
|
+
|
|
130
|
+
export type Lib_I18n_SiteContext_Runner_ReadAreaFile_Raw = string;
|
|
131
|
+
|
|
132
|
+
export type Lib_I18n_SiteContext_Runner_ReadAreaFile_Parsed = TranslationFileContent;
|
|
133
|
+
|
|
134
|
+
export type Lib_I18n_SiteContext_Runner_ReadAreaFile_ReadError = unknown;
|
|
135
|
+
|
|
136
|
+
export type Lib_I18n_SiteContext_Runner_ReadAreaFile_ReadErrorCode = unknown;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Lib - I18n - Site Context - Resolve Locales.
|
|
140
|
+
*
|
|
141
|
+
* @since 0.21.0
|
|
142
|
+
*/
|
|
143
|
+
export type Lib_I18n_SiteContext_Runner_ResolveLocales_I18n = LoadContext['i18n'];
|
|
144
|
+
|
|
145
|
+
export type Lib_I18n_SiteContext_Runner_ResolveLocales_RequestedLocale = string | undefined;
|
|
146
|
+
|
|
147
|
+
export type Lib_I18n_SiteContext_Runner_ResolveLocales_Returns = string[];
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type * as mermaid from 'mermaid';
|
|
2
|
+
|
|
1
3
|
import type { Shared_MermaidRenderOutput } from '../shared.d.ts';
|
|
2
4
|
|
|
3
5
|
/**
|
|
@@ -43,7 +45,7 @@ export type Lib_Mermaid_GetResolvedColor_A = number | undefined;
|
|
|
43
45
|
*/
|
|
44
46
|
export type Lib_Mermaid_LoadMermaid_Returns = Promise<Lib_Mermaid_LoadMermaid_Module>;
|
|
45
47
|
|
|
46
|
-
export type Lib_Mermaid_LoadMermaid_Module = typeof
|
|
48
|
+
export type Lib_Mermaid_LoadMermaid_Module = typeof mermaid;
|
|
47
49
|
|
|
48
50
|
/**
|
|
49
51
|
* Lib - Mermaid - Promise.
|
|
@@ -52,7 +54,7 @@ export type Lib_Mermaid_LoadMermaid_Module = typeof import('mermaid');
|
|
|
52
54
|
*/
|
|
53
55
|
export type Lib_Mermaid_MermaidPromise = Promise<Lib_Mermaid_MermaidPromiseModule> | undefined;
|
|
54
56
|
|
|
55
|
-
export type Lib_Mermaid_MermaidPromiseModule = typeof
|
|
57
|
+
export type Lib_Mermaid_MermaidPromiseModule = typeof mermaid;
|
|
56
58
|
|
|
57
59
|
/**
|
|
58
60
|
* Lib - Mermaid - Use Mermaid Config.
|
|
@@ -116,7 +118,7 @@ export type Lib_Mermaid_UseMermaidRenderResult_Id = string;
|
|
|
116
118
|
|
|
117
119
|
export type Lib_Mermaid_UseMermaidRenderResult_Cancelled = boolean;
|
|
118
120
|
|
|
119
|
-
export type Lib_Mermaid_UseMermaidRenderResult_MermaidModuleType = typeof
|
|
121
|
+
export type Lib_Mermaid_UseMermaidRenderResult_MermaidModuleType = typeof mermaid;
|
|
120
122
|
|
|
121
123
|
export type Lib_Mermaid_UseMermaidRenderResult_MermaidModule = Lib_Mermaid_UseMermaidRenderResult_MermaidModuleType;
|
|
122
124
|
|