feat(chat): add random public_id and fix users blocked route
Some checks failed
CI / test (push) Failing after 20s

- add chats.public_id random identifier with migration 0011
- expose public_id in chat API payloads
- use chat public_id in message search UI label
- fix users router order so /users/blocked no longer conflicts with /users/{user_id}
This commit is contained in:
2026-03-08 02:34:24 +03:00
parent 34edf2bae5
commit 0b4bb19425
8 changed files with 73 additions and 11 deletions

View File

@@ -4,6 +4,7 @@ export type DeliveryStatus = "sending" | "sent" | "delivered" | "read";
export interface Chat {
id: number;
public_id: string;
type: ChatType;
title: string | null;
display_title?: string | null;