export interface EntityFeedItem { id: string; entityType: string; visibility: 'public' | 'org' | 'private'; authorId: string; authorName: string; authorAvatarUrl?: string; title?: string; excerpt?: string; coverImage?: string; publishedAt?: Date; updatedAt?: Date; reactionCounts?: Record; commentCount?: number; } export interface UserReactionDoc { id: string; token: string; entityType: string; entityId: string; createdAt?: Date; } export type EntityFeedItemWithReaction = T & { viewerToken: string | null; viewerHasReacted: boolean; };