feat: Display user activity history

This commit is contained in:
gpt-engineer-app[bot]
2025-10-17 12:34:10 +00:00
parent cdd9e6c8c6
commit 0ff424fcee
2 changed files with 169 additions and 9 deletions

View File

@@ -331,15 +331,28 @@ export interface SubmissionActivity {
submission_type?: string;
entity_type?: string;
action?: string;
content?: {
name?: string;
slug?: string;
description?: string;
entity_id?: string;
entity_slug?: string;
park_slug?: string;
park_name?: string;
action?: string;
};
photo_count?: number;
photo_preview?: string;
}
export interface RankingActivity {
id: string;
type: 'ranking';
created_at: string;
parks?: { slug?: string; name?: string } | null;
name?: string;
position?: number;
title?: string;
description?: string;
list_type?: string;
is_public?: boolean;
}
export interface GenericActivity {