mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-13 08:12:44 +10:00
Ensured everything is serializing/deserializing to camelCase
This commit is contained in:
@ -18,6 +18,7 @@ use std::{
|
||||
use tauri_plugin_deep_link::DeepLinkExt;
|
||||
|
||||
#[derive(Clone, Copy, Serialize)]
|
||||
#[serde(rename_all="camelCase")]
|
||||
pub enum AppStatus {
|
||||
NotConfigured,
|
||||
SignedOut,
|
||||
@ -35,6 +36,7 @@ pub struct User {
|
||||
}
|
||||
|
||||
#[derive(Clone, Serialize)]
|
||||
#[serde(rename_all="camelCase")]
|
||||
pub struct AppState {
|
||||
status: AppStatus,
|
||||
user: Option<User>,
|
||||
|
||||
Reference in New Issue
Block a user