Add minimal robot factory functionality and arc archive support for #6

This commit is contained in:
NG (Graham) committed 2025-05-17 23:06:07 -04:00
1 parent 3f0c30f6c3
commit 3f1438c068
34 files changed
+869 -4

No files matched your search

+2
View File
@@ -1,5 +1,6 @@
use polariton::operation::Typed;
#[async_trait::async_trait]
pub trait ConfigProvider<C: Clone> {
fn cube_list(&self) -> Typed<C>;
fn movement_list(&self) -> Typed<C>;
@@ -20,6 +21,7 @@ pub trait ConfigProvider<C: Clone> {
fn public_channels(&self) -> Typed<C>;
fn server_config(&self) -> ServerConfig;
fn garage_upgrades(&self) -> GarageUpgrades;
async fn factory(&self) -> Result<crate::factory::Factory, Box<dyn std::error::Error + 'static>>;
}
pub struct CompleteCampaignProvider {