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.ts23
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