mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-19 19:16:29 +08:00
feat(core): add outgoing links to doc info (#7955)
close AF-1270 
This commit is contained in:
@@ -3,7 +3,7 @@ import { Entity, LiveData } from '@toeverything/infra';
|
||||
|
||||
import type { DocsSearchService } from '../../docs-search';
|
||||
|
||||
interface Backlink {
|
||||
export interface Backlink {
|
||||
docId: string;
|
||||
blockId: string;
|
||||
title: string;
|
||||
|
||||
@@ -3,7 +3,7 @@ import { Entity, LiveData } from '@toeverything/infra';
|
||||
|
||||
import type { DocsSearchService } from '../../docs-search';
|
||||
|
||||
interface Link {
|
||||
export interface Link {
|
||||
docId: string;
|
||||
title: string;
|
||||
}
|
||||
|
||||
@@ -10,6 +10,8 @@ import { DocBacklinks } from './entities/doc-backlinks';
|
||||
import { DocLinks } from './entities/doc-links';
|
||||
import { DocLinksService } from './services/doc-links';
|
||||
|
||||
export type { Backlink } from './entities/doc-backlinks';
|
||||
export type { Link } from './entities/doc-links';
|
||||
export { DocLinksService } from './services/doc-links';
|
||||
|
||||
export function configureDocLinksModule(framework: Framework) {
|
||||
|
||||
Reference in New Issue
Block a user