All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 50s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
17 lines
556 B
TypeScript
17 lines
556 B
TypeScript
export interface ChatMessage {
|
|
id: string;
|
|
userId: string;
|
|
body: string;
|
|
createdAt: Date;
|
|
updatedAt?: Date;
|
|
authorUsername: string;
|
|
authorAvatarMime?: string;
|
|
/** Id of the message this one replies to, if any. Retained even when the
|
|
* target is later deleted (the preview fields below then go undefined). */
|
|
replyToId?: string;
|
|
/** Author/snippet of the replied-to message, for a subtle inline reference.
|
|
* Absent when there's no reply, or the target has since been deleted. */
|
|
replyToAuthor?: string;
|
|
replyToBody?: string;
|
|
}
|