2025-01-28 04:21:42 +08:00
|
|
|
import type { BusterChatMessage } from './chatMessageInterfaces';
|
|
|
|
|
2025-01-28 05:20:26 +08:00
|
|
|
export interface IBusterChat {
|
2025-01-28 04:21:42 +08:00
|
|
|
id: string;
|
|
|
|
title: string;
|
|
|
|
is_favorited: boolean;
|
|
|
|
messages: BusterChatMessage[];
|
|
|
|
created_at: string;
|
|
|
|
updated_at: string;
|
|
|
|
created_by: string;
|
|
|
|
created_by_id: string;
|
|
|
|
created_by_name: string;
|
|
|
|
created_by_avatar: string | null;
|
|
|
|
// pinned_message_id: string | null;
|
|
|
|
// pinned_metric_id: string | null;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface BusterChatListItem {
|
|
|
|
id: string;
|
|
|
|
title: string;
|
|
|
|
is_favorited: boolean;
|
|
|
|
updated_at: string;
|
|
|
|
created_at: string;
|
|
|
|
created_by: string;
|
|
|
|
created_by_id: string;
|
|
|
|
created_by_name: string;
|
|
|
|
created_by_avatar: string | null;
|
|
|
|
}
|