export interface ViewerData {
	event: {
		name: string;
		exported_at: string;
		// Mirrors the live COMMENTS_ENABLED flag. Older exports predate this field, so
		// treat a missing value as enabled (`?? true`) to preserve their comment UI.
		comments_enabled?: boolean;
	};
	posts: ViewerPost[];
}

export interface ViewerPost {
	id: string;
	uploader: string;
	caption: string;
	tags: string[];
	timestamp: string;
	likes: number;
	comments: ViewerComment[];
	media: {
		type: 'image' | 'video';
		thumb: string;
		full: string;
	};
}

export interface ViewerComment {
	author: string;
	text: string;
	timestamp: string;
}
