teodor-new-chat-ui 4.3.332 → 4.3.333

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.
@@ -32,6 +32,7 @@
32
32
  * RESULT: Much easier to debug, faster development, no stale cache issues
33
33
  */
34
34
  import type { ChatMessage, HydratedCheckpointSnapshot, PendingInterrupt, StreamContextValue, ThreadSummary, TimelineCheckpoint } from '@/types/api';
35
+ import type { ThreadStateMetadata } from '@/types/context';
35
36
  import { type ReactNode } from 'react';
36
37
  interface ThreadsContextValue {
37
38
  threads: ThreadSummary[];
@@ -56,7 +57,7 @@ interface ThreadStateContextValue {
56
57
  };
57
58
  checkpoints: HydratedCheckpointSnapshot[];
58
59
  timelineCheckpoints: TimelineCheckpoint[];
59
- metadata: any;
60
+ metadata: ThreadStateMetadata | null;
60
61
  isLoading: boolean;
61
62
  isHistoryLoading: boolean;
62
63
  isLoadingCheckpoint: boolean;