compute note backlinks
This commit is contained in:
4
src/modules/note/models/Backlink.ts
Normal file
4
src/modules/note/models/Backlink.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export interface Backlink {
|
||||
sha: string
|
||||
title: string
|
||||
}
|
||||
8
src/modules/note/models/BacklinkNote.ts
Normal file
8
src/modules/note/models/BacklinkNote.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { DataType } from '@/data/DataType.enum'
|
||||
import { Model } from '@/data/models/Model'
|
||||
import { Backlink } from '@/modules/note/models/Backlink'
|
||||
|
||||
export interface BacklinkNote extends Model<DataType.Backlink> {
|
||||
sha: string
|
||||
links: Backlink[]
|
||||
}
|
||||
Reference in New Issue
Block a user