Skip to content

Interface: GroupData

Defined in: src/types/chat.ts:97

Frontend Group interface Extends GroupDb schema with client-side specific fields (like unreadCount).

Extends

Properties

_groupId?

optional _groupId?: string

Defined in: src/types/chat.ts:98


aiCompanionUid?

optional aiCompanionUid?: string

Defined in: types/firestore.ts:47

Inherited from

GroupDocument.aiCompanionUid


createdAt?

optional createdAt?: FirebaseTimestamp

Defined in: src/types/chat.ts:77

Inherited from

Group.createdAt


dailyActivity?

optional dailyActivity?: object

Defined in: types/firestore.ts:70

activeMembers

activeMembers: string[]

date

date: string

Inherited from

GroupDocument.dailyActivity


description?

optional description?: string

Defined in: types/firestore.ts:35

Inherited from

GroupDocument.description


expireAt?

optional expireAt?: FirestoreTimestamp

Defined in: types/firestore.ts:84

Inherited from

GroupDocument.expireAt


groupStreak?

optional groupStreak?: number

Defined in: types/firestore.ts:79

Inherited from

GroupDocument.groupStreak


id

id: string

Defined in: src/types/chat.ts:68

Inherited from

Group.id


inviteCode?

optional inviteCode?: string

Defined in: types/firestore.ts:48

Inherited from

GroupDocument.inviteCode


inviteCodeExpiresAt?

optional inviteCodeExpiresAt?: FirebaseTimestamp | null

Defined in: src/types/chat.ts:72

Inherited from

Group.inviteCodeExpiresAt


isAiGroup?

optional isAiGroup?: boolean

Defined in: types/firestore.ts:45

Inherited from

GroupDocument.isAiGroup


isDeleted?

optional isDeleted?: boolean

Defined in: types/firestore.ts:40

Inherited from

GroupDocument.isDeleted


isDemoGroup?

optional isDemoGroup?: boolean

Defined in: types/firestore.ts:46

Inherited from

GroupDocument.isDemoGroup


isPrivate?

optional isPrivate?: boolean

Defined in: types/firestore.ts:43

Inherited from

GroupDocument.isPrivate


isPublic?

optional isPublic?: boolean

Defined in: types/firestore.ts:44

Inherited from

GroupDocument.isPublic


lastInactivityCheckedAt?

optional lastInactivityCheckedAt?: FirestoreTimestamp

Defined in: types/firestore.ts:78

Inherited from

GroupDocument.lastInactivityCheckedAt


lastMessageAt?

optional lastMessageAt?: FirebaseTimestamp

Defined in: src/types/chat.ts:73

Inherited from

Group.lastMessageAt


lastMessageByNickname?

optional lastMessageByNickname?: string

Defined in: types/firestore.ts:61

Inherited from

GroupDocument.lastMessageByNickname


lastMessageByUid?

optional lastMessageByUid?: string

Defined in: src/types/chat.ts:85

Inherited from

Group.lastMessageByUid


lastNoteAt?

optional lastNoteAt?: FirebaseTimestamp

Defined in: src/types/chat.ts:74

Inherited from

Group.lastNoteAt


lastNoteAtByNickname?

optional lastNoteAtByNickname?: string

Defined in: src/types/chat.ts:75

Inherited from

Group.lastNoteAtByNickname


lastNoteByNickname?

optional lastNoteByNickname?: string | null

Defined in: types/firestore.ts:64

Inherited from

GroupDocument.lastNoteByNickname


lastNoteByUid?

optional lastNoteByUid?: string

Defined in: src/types/chat.ts:86

Inherited from

Group.lastNoteByUid


lastRecapGeneratedAt?

optional lastRecapGeneratedAt?: FirebaseTimestamp

Defined in: src/types/chat.ts:76

Inherited from

Group.lastRecapGeneratedAt


lastUnityAnnouncementDate?

optional lastUnityAnnouncementDate?: string

Defined in: types/firestore.ts:68

Inherited from

GroupDocument.lastUnityAnnouncementDate


maxMembers?

optional maxMembers?: number

Defined in: types/firestore.ts:39

Inherited from

GroupDocument.maxMembers


memberJoinedAt?

optional memberJoinedAt?: Record<string, FirebaseTimestamp>

Defined in: src/types/chat.ts:79

Inherited from

Group.memberJoinedAt


memberKickThresholds?

optional memberKickThresholds?: Record<string, number>

Defined in: types/firestore.ts:56

Inherited from

GroupDocument.memberKickThresholds


memberLastActive?

optional memberLastActive?: Record<string, FirebaseTimestamp>

Defined in: src/types/chat.ts:80

Inherited from

Group.memberLastActive


memberLastReadAt?

optional memberLastReadAt?: Record<string, FirebaseTimestamp>

Defined in: src/types/chat.ts:81

Inherited from

Group.memberLastReadAt


memberPreviews?

optional memberPreviews?: MemberPreview[]

Defined in: types/firestore.ts:53

Inherited from

GroupDocument.memberPreviews


members?

optional members?: string[]

Defined in: types/firestore.ts:36

Inherited from

GroupDocument.members


membersCount?

optional membersCount?: number

Defined in: types/firestore.ts:37

Inherited from

GroupDocument.membersCount


myGroupState?

optional myGroupState?: object

Defined in: src/types/chat.ts:87

lastActiveAt?

optional lastActiveAt?: FirebaseTimestamp

lastReadAt?

optional lastReadAt?: FirebaseTimestamp

readMessageCount?

optional readMessageCount?: number

Inherited from

Group.myGroupState


myMemberStatus?

optional myMemberStatus?: GroupMemberDocument

Defined in: src/types/chat.ts:82

Inherited from

Group.myMemberStatus


name?

optional name?: string

Defined in: types/firestore.ts:34

Inherited from

GroupDocument.name


ownerId?

optional ownerId?: string

Defined in: src/types/chat.ts:69

Inherited from

Group.ownerId


ownerUserId?

optional ownerUserId?: string

Defined in: types/firestore.ts:38

Inherited from

GroupDocument.ownerUserId


previousInviteCodes?

optional previousInviteCodes?: string[]

Defined in: types/firestore.ts:50

Inherited from

GroupDocument.previousInviteCodes


recentMessages?

optional recentMessages?: Message[]

Defined in: src/types/chat.ts:94

Inherited from

Group.recentMessages


timeZone?

optional timeZone?: string

Defined in: types/firestore.ts:82

Inherited from

GroupDocument.timeZone


translations?

optional translations?: Record<string, { description?: string; name: string; }>

Defined in: types/firestore.ts:83

Inherited from

GroupDocument.translations


unityPercentage?

optional unityPercentage?: number

Defined in: src/types/chat.ts:93

Inherited from

Group.unityPercentage


unityPercentageOverride?

optional unityPercentageOverride?: number

Defined in: src/types/chat.ts:92

Inherited from

Group.unityPercentageOverride


unreadCount?

optional unreadCount?: number

Defined in: src/types/chat.ts:84

Inherited from

Group.unreadCount

Released under the MIT License.