use giterated_models::{ error::{OperationError, RepositoryError, UserError}, operation::OperationState, repository::{Repository, RepositoryInfoRequest, RepositorySummary, RepositoryView}, user::{User, UserRepositoriesRequest}, }; use giterated_plugin::new_stack::{handle::RuntimeHandle, State}; use crate::DatabaseBackend; pub async fn user_get_repositories( _state: DatabaseBackend, _object: User, _request: UserRepositoriesRequest, ) -> Result, OperationError> { todo!() } pub async fn repository_info( _state: DatabaseBackend, _object: Repository, _request: RepositoryInfoRequest, _runtime: RuntimeHandle, State(_operation_state): State, ) -> Result> { todo!() }