diff options
Diffstat (limited to 'crates/turtle/src/atuin_common/api.rs')
| -rw-r--r-- | crates/turtle/src/atuin_common/api.rs | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/crates/turtle/src/atuin_common/api.rs b/crates/turtle/src/atuin_common/api.rs index c18db04f..0868943d 100644 --- a/crates/turtle/src/atuin_common/api.rs +++ b/crates/turtle/src/atuin_common/api.rs @@ -11,28 +11,6 @@ pub(crate) static ATUIN_VERSION: LazyLock<Version> = LazyLock::new(|| Version::parse(ATUIN_CARGO_VERSION).expect("failed to parse self semver")); #[derive(Debug, Serialize, Deserialize)] -pub(crate) struct RegisterResponse { - pub(crate) session: String, -} - -#[derive(Debug, Serialize, Deserialize)] -pub(crate) struct ChangePasswordRequest { - pub(crate) current_password: String, - pub(crate) new_password: String, -} - -#[derive(Debug, Serialize, Deserialize)] -pub(crate) struct LoginRequest { - pub(crate) username: String, - pub(crate) password: String, -} - -#[derive(Debug, Serialize, Deserialize)] -pub(crate) struct LoginResponse { - pub(crate) session: String, -} - -#[derive(Debug, Serialize, Deserialize)] pub(crate) struct ErrorResponse<'a> { pub(crate) reason: Cow<'a, str>, } @@ -42,8 +20,3 @@ pub(crate) struct IndexResponse { pub(crate) homage: String, pub(crate) version: String, } - -#[derive(Debug, Serialize, Deserialize)] -pub(crate) struct MeResponse { - pub(crate) username: String, -} |
