1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Serialize, Deserialize)]
4#[cfg_attr(target_family = "wasm", derive(tsify_next::Tsify))]
5#[cfg_attr(
6 target_family = "wasm",
7 tsify(into_wasm_abi, from_wasm_abi, large_number_types_as_bigints)
8)]
9pub struct SignUp {
10 pub user: String,
11 pub pass: String,
12}
13
14#[derive(Clone, Serialize, Deserialize)]
15#[cfg_attr(target_family = "wasm", derive(tsify_next::Tsify))]
16#[cfg_attr(
17 target_family = "wasm",
18 tsify(into_wasm_abi, from_wasm_abi, large_number_types_as_bigints)
19)]
20pub struct Enroll(pub String);
21
22#[derive(Clone, Serialize, Deserialize)]
23#[cfg_attr(target_family = "wasm", derive(tsify_next::Tsify))]
24#[cfg_attr(
25 target_family = "wasm",
26 tsify(into_wasm_abi, from_wasm_abi, large_number_types_as_bigints)
27)]
28pub struct EditPass(pub String);