Interface: Group
Defined in: src/types/chat.ts:67
Frontend Group interface Extends GroupDb schema with client-side specific fields (like unreadCount).
Extends
Omit<GroupDocument,"id"|"inviteCodeExpiresAt"|"lastNoteAt"|"lastMessageAt"|"lastRecapGeneratedAt"|"createdAt"|"memberJoinedAt"|"memberLastActive"|"memberLastReadAt">
Extended by
Properties
aiCompanionUid?
optionalaiCompanionUid?:string
Defined in: types/firestore.ts:47
Inherited from
createdAt?
optionalcreatedAt?:FirebaseTimestamp
Defined in: src/types/chat.ts:77
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
inviteCode?
optionalinviteCode?:string
Defined in: types/firestore.ts:48
Inherited from
inviteCodeExpiresAt?
optionalinviteCodeExpiresAt?:FirebaseTimestamp|null
Defined in: src/types/chat.ts:72
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
lastMessageByNickname?
optionallastMessageByNickname?:string
Defined in: types/firestore.ts:61
Inherited from
GroupDocument.lastMessageByNickname
lastMessageByUid?
optionallastMessageByUid?:string
Defined in: src/types/chat.ts:85
Overrides
GroupDocument.lastMessageByUid
lastNoteAt?
optionallastNoteAt?:FirebaseTimestamp
Defined in: src/types/chat.ts:74
lastNoteAtByNickname?
optionallastNoteAtByNickname?:string
Defined in: src/types/chat.ts:75
lastNoteByNickname?
optionallastNoteByNickname?:string|null
Defined in: types/firestore.ts:64
Inherited from
GroupDocument.lastNoteByNickname
lastNoteByUid?
optionallastNoteByUid?:string
Defined in: src/types/chat.ts:86
Overrides
lastRecapGeneratedAt?
optionallastRecapGeneratedAt?:FirebaseTimestamp
Defined in: src/types/chat.ts:76
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
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
memberLastReadAt?
optionalmemberLastReadAt?:Record<string,FirebaseTimestamp>
Defined in: src/types/chat.ts:81
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
myMemberStatus?
optionalmyMemberStatus?:GroupMemberDocument
Defined in: src/types/chat.ts:82
name?
optionalname?:string
Defined in: types/firestore.ts:34
Inherited from
ownerId?
optionalownerId?:string
Defined in: src/types/chat.ts:69
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
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
Overrides
unityPercentageOverride?
optionalunityPercentageOverride?:number
Defined in: src/types/chat.ts:92
unreadCount?
optionalunreadCount?:number
Defined in: src/types/chat.ts:84