use std::sync::Arc; use giterated_models::{ error::{OperationError, RepositoryError, UserError}, repository::{Repository, RepositoryInfoRequest, RepositorySummary, RepositoryView}, user::{User, UserRepositoriesRequest}, }; use giterated_plugin::new_stack::{runtime_handler::RuntimeHandle, OperationState, Runtime, 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!() }