pinakes-core: add markdown link storage methods
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I5fa9fd045711664e5dcc7f1c12b6ca896a6a6964
This commit is contained in:
parent
7c4692a4d1
commit
27be136e01
3 changed files with 27 additions and 16 deletions
|
|
@ -801,7 +801,10 @@ pub trait StorageBackend: Send + Sync + 'static {
|
|||
) -> Result<()>;
|
||||
|
||||
/// Get outgoing links from a media item.
|
||||
async fn get_outgoing_links(&self, media_id: MediaId) -> Result<Vec<crate::model::MarkdownLink>>;
|
||||
async fn get_outgoing_links(
|
||||
&self,
|
||||
media_id: MediaId,
|
||||
) -> Result<Vec<crate::model::MarkdownLink>>;
|
||||
|
||||
/// Get backlinks (incoming links) to a media item.
|
||||
async fn get_backlinks(&self, media_id: MediaId) -> Result<Vec<crate::model::BacklinkInfo>>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue