about summary refs log tree commit diff
path: root/src/state/session/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/session/types.ts')
-rw-r--r--src/state/session/types.ts9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/state/session/types.ts b/src/state/session/types.ts
index b3252f777..b9fd31502 100644
--- a/src/state/session/types.ts
+++ b/src/state/session/types.ts
@@ -14,6 +14,7 @@ export type SessionApiContext = {
     email: string
     password: string
     handle: string
+    birthDate: Date
     inviteCode?: string
     verificationPhone?: string
     verificationCode?: string
@@ -35,14 +36,6 @@ export type SessionApiContext = {
   logout: (
     logContext: LogEvents['account:loggedOut']['logContext'],
   ) => Promise<void>
-  /**
-   * A partial logout. Clears the `currentAccount` from session, but DOES NOT
-   * clear access tokens from accounts, allowing the user to return to their
-   * other accounts without logging in.
-   *
-   * Used when adding a new account, deleting an account.
-   */
-  clearCurrentAccount: () => void
   initSession: (account: SessionAccount) => Promise<void>
   removeAccount: (account: SessionAccount) => void
   updateCurrentAccount: (