removed excess comments

This commit is contained in:
Michael Freno
2026-01-04 11:14:54 -05:00
parent b81de6441b
commit 7e89e6dda2
68 changed files with 72 additions and 941 deletions

View File

@@ -1,16 +1,3 @@
/**
* Comment System Type Definitions
*
* - Comment and CommentReaction models
* - WebSocket message types
* - User data structures
* - Component prop interfaces
*/
// ============================================================================
// Core Data Models
// ============================================================================
export interface Comment {
id: number;
body: string;
@@ -47,10 +34,6 @@ export interface UserPublicData {
image?: string;
}
// ============================================================================
// WebSocket Message Types
// ============================================================================
export interface WebSocketBroadcast {
action:
| "commentCreationBroadcast"
@@ -72,10 +55,6 @@ export interface BackupResponse {
commentParent?: number | null;
}
// ============================================================================
// Privilege and Sorting Types
// ============================================================================
export type PrivilegeLevel = "admin" | "user" | "anonymous";
export type SortingMode = "newest" | "oldest" | "highest_rated" | "hot";
@@ -84,10 +63,6 @@ export type DeletionType = "user" | "admin" | "database";
export type ModificationType = "delete" | "edit";
// ============================================================================
// Component Props Interfaces
// ============================================================================
export interface CommentSectionWrapperProps {
privilegeLevel: PrivilegeLevel;
allComments: Comment[];

View File

@@ -1,4 +1,3 @@
// lineage User
export interface User {
id: string;
email: string | null;