diff options
Diffstat (limited to 'adenosine/src/com_atproto/mod.rs')
-rw-r--r-- | adenosine/src/com_atproto/mod.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/adenosine/src/com_atproto/mod.rs b/adenosine/src/com_atproto/mod.rs index 8e2317a..7a6cbc0 100644 --- a/adenosine/src/com_atproto/mod.rs +++ b/adenosine/src/com_atproto/mod.rs @@ -7,15 +7,16 @@ pub mod repo; pub struct AccountRequest { pub email: String, pub handle: String, - pub password: String, + pub did: Option<String>, pub inviteCode: Option<String>, + pub password: String, pub recoveryKey: Option<String>, } #[allow(non_snake_case)] #[derive(Debug, serde::Deserialize, serde::Serialize, PartialEq, Eq)] pub struct SessionRequest { - pub handle: String, + pub identifier: String, pub password: String, } @@ -24,6 +25,7 @@ pub struct SessionRequest { pub struct Session { pub did: String, pub name: String, + pub email: Option<String>, pub accessJwt: String, pub refreshJwt: String, } |