diff --git a/apps/app/src/types/organisation.ts b/apps/app/src/types/organisation.ts index 62d16130..b18c4f9a 100644 --- a/apps/app/src/types/organisation.ts +++ b/apps/app/src/types/organisation.ts @@ -21,7 +21,33 @@ export interface OrganisationMember { id: string name: string email: string + avatar_url: string | null role: string + joined_at: string | null +} + +export interface ActivityLogEntry { + id: string + description: string + causer_name: string | null + causer_avatar_url: string | null + subject_type: string | null + subject_id: string | null + properties: { + attributes?: Record + old?: Record + } + created_at: string | null +} + +export interface OrganisationDashboardStats { + members_count: number + events_count: number + events_by_status: Record + active_events_count: number + persons_count: number + top_members: OrganisationMember[] + recent_activity: ActivityLogEntry[] } export interface UpdateOrganisationPayload {