fix: add correct properties to tracking

This commit is contained in:
Christel Westerberg
2024-07-16 10:39:22 +02:00
parent 92829108be
commit d8f7e4157a
3 changed files with 10 additions and 33 deletions
+2 -1
View File
@@ -25,12 +25,13 @@ export enum LoginTypeEnum {
export type LoginType = keyof typeof LoginTypeEnum
export type TrackingSDKUserData = {
loginStatus: boolean
loginStatus: "logged in" | "Non-logged in"
loginType?: LoginType
memberId?: string
memberLevel?: MembershipLevel
noOfNightsStayed?: number
totalPointsAvailableToSpend?: number
loginAction?: "login success"
}
export type TrackingSDKProps = {