Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Arpita-Jaiswal committed Nov 3, 2024
1 parent cec28b9 commit 63868e7
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions v0.5/fastn-static/src/ds.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
use fastn_lang::unresolved::{Definition, Document};

pub struct DS {}

#[async_trait::async_trait]
Expand All @@ -8,23 +6,36 @@ impl fastn_lang::DS for DS {
todo!()
}

async fn unresolved(&mut self, qualified_identifier: &str) -> fastn_lang::Result<Definition> {
async fn unresolved(&mut self, qualified_identifier: &str) -> fastn_lang::Result<fastn_lang::unresolved::Definition> {
todo!()
}

async fn resolved(&mut self, qualified_identifier: &str) -> fastn_lang::Result<fastn_lang::resolved::Definition> {
async fn resolved(
&mut self,
qualified_identifier: &str,
) -> fastn_lang::Result<fastn_lang::resolved::Definition> {
todo!()
}

async fn add_resolved(&mut self, qualified_identifier: &str, resolved: fastn_lang::resolved::Definition) -> fastn_lang::Result<()> {
async fn add_resolved(
&mut self,
qualified_identifier: &str,
resolved: fastn_lang::resolved::Definition,
) -> fastn_lang::Result<()> {
todo!()
}

async fn unresolved_document(&mut self, document: &str) -> fastn_lang::Result<Vec<Document>> {
async fn unresolved_document(
&mut self,
document: &str,
) -> fastn_lang::Result<Vec<fastn_lang::unresolved::Document>> {
todo!()
}

async fn resolved_document(&mut self, document: &str) -> fastn_lang::Result<Vec<fastn_lang::resolved::Document>> {
async fn resolved_document(
&mut self,
document: &str,
) -> fastn_lang::Result<Vec<fastn_lang::resolved::Document>> {
todo!()
}
}

0 comments on commit 63868e7

Please sign in to comment.