From 3d638e28ce708199cf605abda9d16caeacfd56a7 Mon Sep 17 00:00:00 2001 From: Pauline Date: Sun, 14 Jul 2024 20:42:29 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20no=20more=20errors=20yipp?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/core/src/store/minecraft.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/core/src/store/minecraft.rs b/crates/core/src/store/minecraft.rs index 059e4f26..94fd7410 100644 --- a/crates/core/src/store/minecraft.rs +++ b/crates/core/src/store/minecraft.rs @@ -365,6 +365,7 @@ pub struct SaveDeviceToken { /// Core variables passed throughout the Minecraft login flow. #[derive(Serialize, Deserialize, Debug)] +#[cfg_attr(feature = "tauri", derive(specta::Type))] pub struct MinecraftLogin { pub verify: String, /// The OAuth challenge generated at the start of the flow. @@ -377,6 +378,7 @@ pub struct MinecraftLogin { /// A structure of all needed Minecraft credentials for logging in and account management. #[derive(Serialize, Deserialize, Debug, Clone)] +#[cfg_attr(feature = "tauri", derive(specta::Type))] pub struct MinecraftCredentials { /// The uuid of the credentials. pub id: Uuid,