refactor(core): move infra modules to core (#9207)

This commit is contained in:
EYHN
2024-12-23 04:53:59 +00:00
parent 2ea79d25ad
commit 129f94ee78
337 changed files with 908 additions and 1367 deletions

View File

@@ -1,6 +1,6 @@
import type { DocService } from '@toeverything/infra';
import { Entity, LiveData } from '@toeverything/infra';
import type { DocService } from '../../doc';
import type { DocsSearchService } from '../../docs-search';
export interface Backlink {

View File

@@ -1,6 +1,6 @@
import type { DocService } from '@toeverything/infra';
import { Entity, LiveData } from '@toeverything/infra';
import type { DocService } from '../../doc';
import type { DocsSearchService } from '../../docs-search';
export interface Link {

View File

@@ -1,11 +1,9 @@
import {
DocScope,
DocService,
type Framework,
WorkspaceScope,
} from '@toeverything/infra';
import { type Framework } from '@toeverything/infra';
import { DocScope } from '../doc/scopes/doc';
import { DocService } from '../doc/services/doc';
import { DocsSearchService } from '../docs-search';
import { WorkspaceScope } from '../workspace';
import { DocBacklinks } from './entities/doc-backlinks';
import { DocLinks } from './entities/doc-links';
import { DocLinksService } from './services/doc-links';