Add initial services

This commit is contained in:
2022-10-03 23:00:31 +02:00
parent b01b33f7d1
commit 6234cf18e8
22 changed files with 932 additions and 91 deletions

View File

@@ -0,0 +1,11 @@
use como_core::items::ItemService;
pub struct DefaultItemService {}
impl DefaultItemService {
pub fn new() -> Self {
Self {}
}
}
impl ItemService for DefaultItemService {}

View File

@@ -0,0 +1,3 @@
pub mod item_service;
pub mod project_service;
pub mod user_service;

View File

@@ -0,0 +1,11 @@
use como_core::projects::ProjectService;
pub struct DefaultProjectService {}
impl DefaultProjectService {
pub fn new() -> Self {
Self {}
}
}
impl ProjectService for DefaultProjectService {}

View File

@@ -0,0 +1,11 @@
use como_core::users::UserService;
pub struct DefaultUserService {}
impl DefaultUserService {
pub fn new() -> Self {
Self {}
}
}
impl UserService for DefaultUserService {}