export enum ActivityEventType {
    CHORE_COMPLETED = "chore_completed",
    CHORE_CREATED = "chore_created",
    EXPENSE_CREATED = "expense_created",
    EXPENSE_SETTLED = "expense_settled",
    ITEM_ADDED = "item_added",
    ITEM_COMPLETED = "item_completed",
    USER_JOINED_GROUP = "user_joined_group",
}

export interface ActivityUser {
    id: number;
    name: string | null;
}

export interface Activity {
    id: string;
    event_type: ActivityEventType;
    timestamp: string; // ISO 8601 date string
    user: ActivityUser;
    details: Record<string, any>;
    message: string;
}

export interface PaginatedActivityResponse {
    items: Activity[];
    cursor: number | null;
} 