Migrate frontend realtime messaging to SSE.

Switch service integrations and screen/store consumers from websocket events to SSE, and ignore generated dist-web artifacts.

Made-with: Cursor
This commit is contained in:
2026-03-10 12:58:23 +08:00
parent 63e32b15a3
commit be84c01abd
25 changed files with 974 additions and 1305 deletions

View File

@@ -62,6 +62,7 @@ export interface PostDTO {
title: string;
content: string;
images: PostImageDTO[];
status?: string;
likes_count: number;
comments_count: number;
favorites_count: number;
@@ -71,6 +72,7 @@ export interface PostDTO {
is_locked: boolean;
is_vote: boolean;
created_at: string;
updated_at?: string;
author: UserDTO | null;
is_liked: boolean;
is_favorited: boolean;