refactor(types): move non-core, non-public types out of the types package (#7293)

This commit is contained in:
Joshua Chen 2022-05-03 17:15:48 +08:00 committed by GitHub
parent c7a5af7c4d
commit b49ae67521
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 397 additions and 404 deletions

View file

@ -20,6 +20,8 @@ import {
getContentPathList,
getDataFilePath,
DEFAULT_PLUGIN_ID,
type TagsListItem,
type TagModule,
} from '@docusaurus/utils';
import {translateContent, getTranslationFiles} from './translations';
@ -31,13 +33,7 @@ import type {
BlogContentPaths,
BlogMarkdownLoaderOptions,
} from './types';
import type {
LoadContext,
Plugin,
HtmlTags,
TagsListItem,
TagModule,
} from '@docusaurus/types';
import type {LoadContext, Plugin, HtmlTags} from '@docusaurus/types';
import {
generateBlogPosts,
getSourceToPermalink,