Skip to content

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?

optional aiCompanionUid?: string

Defined in: types/firestore.ts:47

Inherited from

GroupDocument.aiCompanionUid


createdAt?

optional createdAt?: FirebaseTimestamp

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


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


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


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


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

Overrides

GroupDocument.lastMessageByUid


lastNoteAt?

optional lastNoteAt?: FirebaseTimestamp

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


lastNoteAtByNickname?

optional lastNoteAtByNickname?: string

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


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

Overrides

GroupDocument.lastNoteByUid


lastRecapGeneratedAt?

optional lastRecapGeneratedAt?: FirebaseTimestamp

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


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


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


memberLastReadAt?

optional memberLastReadAt?: Record<string, FirebaseTimestamp>

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


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


myMemberStatus?

optional myMemberStatus?: GroupMemberDocument

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


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


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


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

Overrides

GroupDocument.unityPercentage


unityPercentageOverride?

optional unityPercentageOverride?: number

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


unreadCount?

optional unreadCount?: number

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

Released under the MIT License.