diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-03-27 20:17:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-27 20:17:07 +0200 |
commit | 5ceaee57938892157491ae2941d05f90c1d74149 (patch) | |
tree | d5c2df5937570fd4f3393ecf431e37c6675d80c7 /src/state/session/types.ts | |
parent | 7d1ebf6a027085ddc10a7dad2075d5e52d314233 (diff) | |
download | voidsky-5ceaee57938892157491ae2941d05f90c1d74149.tar.zst |
Instrument signup (#8037)
Diffstat (limited to 'src/state/session/types.ts')
-rw-r--r-- | src/state/session/types.ts | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/src/state/session/types.ts b/src/state/session/types.ts index d32259de9..9aadf9d05 100644 --- a/src/state/session/types.ts +++ b/src/state/session/types.ts @@ -10,16 +10,19 @@ export type SessionStateContext = { } export type SessionApiContext = { - createAccount: (props: { - service: string - email: string - password: string - handle: string - birthDate: Date - inviteCode?: string - verificationPhone?: string - verificationCode?: string - }) => Promise<void> + createAccount: ( + props: { + service: string + email: string + password: string + handle: string + birthDate: Date + inviteCode?: string + verificationPhone?: string + verificationCode?: string + }, + metrics: LogEvents['account:create:success'], + ) => Promise<void> login: ( props: { service: string |