diff --git a/_typos.toml b/_typos.toml index 72c15cc..08c93e0 100644 --- a/_typos.toml +++ b/_typos.toml @@ -14,6 +14,8 @@ extend-exclude = [ "packages/app-lib/src/api/content_search/WikiEntries.txt", # Bundled Monaco editor runtime contains upstream generated assets. "apps/app-frontend/public/monaco/", + # Minecraft language-name data (from mcmeta); contains language codes that look like typos. + "apps/app-frontend/src/components/ui/settings/instances/game-settings-modal/languages.ts", ] [default.extend-words] diff --git a/apps/app/src/api/instance/mod.rs b/apps/app/src/api/instance/mod.rs index ed36656..83e4f38 100644 --- a/apps/app/src/api/instance/mod.rs +++ b/apps/app/src/api/instance/mod.rs @@ -2087,6 +2087,7 @@ pub async fn instance_list_synced_servers() -> Result> { Ok(theseus::instance::list_synced_servers().await?) } + #[tauri::command] pub async fn instance_update_synced_server( server: theseus::instance::SyncedServer, @@ -2094,8 +2095,9 @@ pub async fn instance_update_synced_server( theseus::instance::update_synced_server(server).await?; Ok(()) } + #[tauri::command] pub async fn instance_remove_synced_server(id: String) -> Result<()> { theseus::instance::remove_synced_server(&id).await?; Ok(()) -} \ No newline at end of file +}