|
@@ -5,7 +5,7 @@ export type UserType = typeof UserType[keyof typeof UserType];
|
|
|
|
|
|
|
|
export type IUserInfo = {
|
|
export type IUserInfo = {
|
|
|
userIdHash: string // userId hash generated by using appSiteUrl as salt
|
|
userIdHash: string // userId hash generated by using appSiteUrl as salt
|
|
|
- type: Omit<UserType, guestType>
|
|
|
|
|
|
|
+ type: Exclude<UserType, guestType>
|
|
|
userCreatedAt: Date // createdAt of user that answered the questionnaire
|
|
userCreatedAt: Date // createdAt of user that answered the questionnaire
|
|
|
} | {
|
|
} | {
|
|
|
type: guestType
|
|
type: guestType
|