manabrew-protocol 5.0.0

Engine-free game DTOs shared by manabrew clients
Documentation
1
2
3
4
5
6
7
use serde::{Deserialize, Serialize};
use ts_rs::TS;

#[derive(Debug, Clone, Default, PartialEq, Eq, Hash, Serialize, Deserialize, TS)]
#[serde(transparent)]
#[ts(export, export_to = "token.ts")]
pub struct TokenScript(pub String);