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?
optionalaiCompanionUid?:string
Defined in: types/firestore.ts:47
Inherited from
createdAt?
optionalcreatedAt?:FirebaseTimestamp
Defined in: src/types/chat.ts:77
Inherited from
dailyActivity?
optionaldailyActivity?:object
Defined in: types/firestore.ts:70
activeMembers
activeMembers:
string[]
date
date:
string
Inherited from
description?
optionaldescription?:string
Defined in: types/firestore.ts:35
Inherited from
expireAt?
optionalexpireAt?:FirestoreTimestamp
Defined in: types/firestore.ts:84
Inherited from
groupStreak?
optionalgroupStreak?:number
Defined in: types/firestore.ts:79
Inherited from
id
id:
string
Defined in: src/types/chat.ts:68
Inherited from
inviteCode?
optionalinviteCode?:string
Defined in: types/firestore.ts:48
Inherited from
inviteCodeExpiresAt?
optionalinviteCodeExpiresAt?:FirebaseTimestamp|null
Defined in: src/types/chat.ts:72
Inherited from
isAiGroup?
optionalisAiGroup?:boolean
Defined in: types/firestore.ts:45
Inherited from
isDeleted?
optionalisDeleted?:boolean
Defined in: types/firestore.ts:40
Inherited from
isDemoGroup?
optionalisDemoGroup?:boolean
Defined in: types/firestore.ts:46
Inherited from
isPrivate?
optionalisPrivate?:boolean
Defined in: types/firestore.ts:43
Inherited from
isPublic?
optionalisPublic?:boolean
Defined in: types/firestore.ts:44
Inherited from
lastInactivityCheckedAt?
optionallastInactivityCheckedAt?:FirestoreTimestamp
Defined in: types/firestore.ts:78
Inherited from
GroupDocument.lastInactivityCheckedAt
lastMessageAt?
optionallastMessageAt?:FirebaseTimestamp
Defined in: src/types/chat.ts:73
Inherited from
lastMessageByNickname?
optionallastMessageByNickname?:string
Defined in: types/firestore.ts:61
Inherited from
GroupDocument.lastMessageByNickname
lastMessageByUid?
optionallastMessageByUid?:string
Defined in: src/types/chat.ts:85
Inherited from
lastNoteAt?
optionallastNoteAt?:FirebaseTimestamp
Defined in: src/types/chat.ts:74
Inherited from
lastNoteAtByNickname?
optionallastNoteAtByNickname?:string
Defined in: src/types/chat.ts:75
Inherited from
lastNoteByNickname?
optionallastNoteByNickname?:string|null
Defined in: types/firestore.ts:64
Inherited from
GroupDocument.lastNoteByNickname
lastNoteByUid?
optionallastNoteByUid?:string
Defined in: src/types/chat.ts:86
Inherited from
lastRecapGeneratedAt?
optionallastRecapGeneratedAt?:FirebaseTimestamp
Defined in: src/types/chat.ts:76
Inherited from
lastUnityAnnouncementDate?
optionallastUnityAnnouncementDate?:string
Defined in: types/firestore.ts:68
Inherited from
GroupDocument.lastUnityAnnouncementDate
maxMembers?
optionalmaxMembers?:number
Defined in: types/firestore.ts:39
Inherited from
memberJoinedAt?
optionalmemberJoinedAt?:Record<string,FirebaseTimestamp>
Defined in: src/types/chat.ts:79
Inherited from
memberKickThresholds?
optionalmemberKickThresholds?:Record<string,number>
Defined in: types/firestore.ts:56
Inherited from
GroupDocument.memberKickThresholds
memberLastActive?
optionalmemberLastActive?:Record<string,FirebaseTimestamp>
Defined in: src/types/chat.ts:80
Inherited from
memberLastReadAt?
optionalmemberLastReadAt?:Record<string,FirebaseTimestamp>
Defined in: src/types/chat.ts:81
Inherited from
memberPreviews?
optionalmemberPreviews?:MemberPreview[]
Defined in: types/firestore.ts:53
Inherited from
members?
optionalmembers?:string[]
Defined in: types/firestore.ts:36
Inherited from
membersCount?
optionalmembersCount?:number
Defined in: types/firestore.ts:37
Inherited from
myGroupState?
optionalmyGroupState?:object
Defined in: src/types/chat.ts:87
lastActiveAt?
optionallastActiveAt?:FirebaseTimestamp
lastReadAt?
optionallastReadAt?:FirebaseTimestamp
readMessageCount?
optionalreadMessageCount?:number
Inherited from
myMemberStatus?
optionalmyMemberStatus?:GroupMemberDocument
Defined in: src/types/chat.ts:82
Inherited from
name?
optionalname?:string
Defined in: types/firestore.ts:34
Inherited from
ownerId?
optionalownerId?:string
Defined in: src/types/chat.ts:69
Inherited from
ownerUserId?
optionalownerUserId?:string
Defined in: types/firestore.ts:38
Inherited from
previousInviteCodes?
optionalpreviousInviteCodes?:string[]
Defined in: types/firestore.ts:50
Inherited from
GroupDocument.previousInviteCodes
recentMessages?
optionalrecentMessages?:Message[]
Defined in: src/types/chat.ts:94
Inherited from
timeZone?
optionaltimeZone?:string
Defined in: types/firestore.ts:82
Inherited from
translations?
optionaltranslations?:Record<string, {description?:string;name:string; }>
Defined in: types/firestore.ts:83
Inherited from
unityPercentage?
optionalunityPercentage?:number
Defined in: src/types/chat.ts:93
Inherited from
unityPercentageOverride?
optionalunityPercentageOverride?:number
Defined in: src/types/chat.ts:92
Inherited from
unreadCount?
optionalunreadCount?:number
Defined in: src/types/chat.ts:84