use giterated_models::{ error::{OperationError, RepositoryError, UserError}, operation::OperationState, repository::{Repository, RepositoryInfoRequest, RepositorySummary, RepositoryView}, user::{User, UserRepositoriesRequest}, }; use giterated_plugin::{RuntimeState, StateExtractor}; 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: RuntimeState, StateExtractor(_operation_state): StateExtractor, ) -> Result> { todo!() }