feat: Groups info page and store

This commit is contained in:
2026-06-28 00:17:59 +07:00
parent aeff519ae0
commit a4f052727a
19 changed files with 529 additions and 35 deletions
+16
View File
@@ -1,5 +1,6 @@
export interface Group {
id: string;
detailed?: boolean;
name: string;
shortCode?: string;
description?: string;
@@ -9,4 +10,19 @@ export interface Group {
memberCount?: number;
privacy?: string;
isRepresenting?: boolean;
onlineMemberCount?: number;
joinState?: string;
isVerified?: boolean;
rules?: string;
languages?: string[];
links?: string[];
tags?: string[];
createdAt?: string;
}
export interface GroupSnapshot {
groups: Group[];
byUser: Record<string, string[]>;
representedByUser: Record<string, string>;
}