Skip to content

Interface: UserData ​

Defined in: src/types/user.ts:13

Represents the detailed user document stored in Firestore.

Properties ​

bio? ​

optional bio?: string

Defined in: src/types/user.ts:20


createdAt? ​

optional createdAt?: string | number | Timestamp | Date

Defined in: src/types/user.ts:43


daysStudiedCount? ​

optional daysStudiedCount?: number

Defined in: src/types/user.ts:30


email? ​

optional email?: string

Defined in: src/types/user.ts:15


groupId? ​

optional groupId?: string

Defined in: src/types/user.ts:60


groupIds? ​

optional groupIds?: string[]

Defined in: src/types/user.ts:59


hasCompletedOnboarding? ​

optional hasCompletedOnboarding?: boolean

Defined in: src/types/user.ts:52


hasFcmToken? ​

optional hasFcmToken?: boolean

Defined in: src/types/user.ts:40


hasSeenGroupChatTour? ​

optional hasSeenGroupChatTour?: boolean

Defined in: src/types/user.ts:48


hasSeenGroupOptionsTour? ​

optional hasSeenGroupOptionsTour?: boolean

Defined in: src/types/user.ts:47


hasSeenTour? ​

optional hasSeenTour?: boolean

Defined in: src/types/user.ts:46


hasSeenWelcomeStory? ​

optional hasSeenWelcomeStory?: boolean

Defined in: src/types/user.ts:45


hasSetKickThreshold? ​

optional hasSetKickThreshold?: boolean

Defined in: src/types/user.ts:58


highestStreak? ​

optional highestStreak?: number

Defined in: src/types/user.ts:24


isAnonymousDemo? ​

optional isAnonymousDemo?: boolean

Defined in: src/types/user.ts:53


isLevelMigrated? ​

optional isLevelMigrated?: boolean

Defined in: src/types/user.ts:49


kickThreshold? ​

optional kickThreshold?: number

Defined in: src/types/user.ts:57


language? ​

optional language?: string

Defined in: src/types/user.ts:38


lastActiveAt? ​

optional lastActiveAt?: string | number | Timestamp | Date

Defined in: src/types/user.ts:66


lastLetterGeneratedAt? ​

optional lastLetterGeneratedAt?: string | number | Timestamp | Date

Defined in: src/types/user.ts:64


lastLoginAt? ​

optional lastLoginAt?: string | number | Timestamp | Date

Defined in: src/types/user.ts:44


lastPostAt? ​

optional lastPostAt?: string | number | Timestamp | Date

Defined in: src/types/user.ts:26


lastPostDate? ​

optional lastPostDate?: string | number | Timestamp | Date

Defined in: src/types/user.ts:25


lastRecapGeneratedAt? ​

optional lastRecapGeneratedAt?: string | number | Timestamp | Date

Defined in: src/types/user.ts:65


lastRecentGroup? ​

optional lastRecentGroup?: RecentGroupInfo

Defined in: src/types/user.ts:61


level? ​

optional level?: number

Defined in: src/types/user.ts:28


nickname? ​

optional nickname?: string

Defined in: src/types/user.ts:16


notificationEnabled? ​

optional notificationEnabled?: boolean

Defined in: src/types/user.ts:39


photoURL? ​

optional photoURL?: string

Defined in: src/types/user.ts:17


postsCount? ​

optional postsCount?: number

Defined in: src/types/user.ts:27


questCreatedGroup? ​

optional questCreatedGroup?: boolean

Defined in: src/types/user.ts:50


questPostedNote? ​

optional questPostedNote?: boolean

Defined in: src/types/user.ts:51


stake? ​

optional stake?: string

Defined in: src/types/user.ts:18


streakCount? ​

optional streakCount?: number

Defined in: src/types/user.ts:23


studiedDates? ​

optional studiedDates?: string[]

Defined in: src/types/user.ts:32


timeZone? ​

optional timeZone?: string

Defined in: src/types/user.ts:37


todayTheme? ​

optional todayTheme?: string

Defined in: src/types/user.ts:33


todayThemeDate? ​

optional todayThemeDate?: string

Defined in: src/types/user.ts:34


totalNotes? ​

optional totalNotes?: number

Defined in: src/types/user.ts:31


uid ​

uid: string

Defined in: src/types/user.ts:14


ward? ​

optional ward?: string

Defined in: src/types/user.ts:19


xp? ​

optional xp?: number

Defined in: src/types/user.ts:29

Released under the MIT License.