teodor-new-chat-ui 4.3.114 → 4.3.115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/chat/MessageList.d.ts +9 -0
- package/dist/index.esm.js +4281 -4303
- package/dist/index.umd.js +41 -41
- package/package.json +1 -1
|
@@ -4,6 +4,14 @@ type EditMeta = {
|
|
|
4
4
|
checkpointId?: string | null;
|
|
5
5
|
checkpointNs?: string | null;
|
|
6
6
|
};
|
|
7
|
+
export type TimelineCheckpoint = {
|
|
8
|
+
id: string;
|
|
9
|
+
label: string;
|
|
10
|
+
messageId: string | null;
|
|
11
|
+
step: number | null;
|
|
12
|
+
source: string | null;
|
|
13
|
+
createdAt: string | null;
|
|
14
|
+
};
|
|
7
15
|
export interface MessageListProps {
|
|
8
16
|
messages: (ChatMessage | DefaultMessage)[];
|
|
9
17
|
isStreaming: boolean;
|
|
@@ -40,6 +48,7 @@ export interface MessageListProps {
|
|
|
40
48
|
checkpointIndexByKey?: Map<string, MessageCheckpointMeta[]>;
|
|
41
49
|
activeCheckpointId?: string | null;
|
|
42
50
|
onSelectCheckpoint?: (checkpointId: string | null) => Promise<void> | void;
|
|
51
|
+
timelineCheckpoints?: TimelineCheckpoint[];
|
|
43
52
|
}
|
|
44
53
|
export type MessageCheckpointMeta = {
|
|
45
54
|
id: string;
|