5
como_core/report.json
Normal file
5
como_core/report.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"version": 0,
|
||||
"root_name": "Workspace",
|
||||
"workspace_crates": {}
|
||||
}
|
@@ -4,7 +4,7 @@ use async_trait::async_trait;
|
||||
use como_domain::{
|
||||
item::{
|
||||
queries::{GetItemQuery, GetItemsQuery},
|
||||
requests::CreateItemDto,
|
||||
requests::{CreateItemDto, UpdateItemDto},
|
||||
responses::CreatedItemDto,
|
||||
ItemDto,
|
||||
},
|
||||
@@ -26,4 +26,6 @@ pub trait ItemService {
|
||||
context: &Context,
|
||||
query: GetItemsQuery,
|
||||
) -> anyhow::Result<Vec<ItemDto>>;
|
||||
|
||||
async fn update_item(&self, context: &Context, item: UpdateItemDto) -> anyhow::Result<ItemDto>;
|
||||
}
|
||||
|
Reference in New Issue
Block a user