teodor-new-chat-ui 4.3.362 → 4.3.363

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.
@@ -4,6 +4,12 @@
4
4
  *
5
5
  * Adjust import paths ("@/api") to wherever you placed api.ts.
6
6
  */
7
+ export type ThreadManagerView = "default" | "shared";
8
+ export interface ThreadManagerViewOption {
9
+ key: ThreadManagerView;
10
+ label: string;
11
+ description?: string;
12
+ }
7
13
  export interface ThreadManagerProps {
8
14
  className?: string;
9
15
  showCreateButton?: boolean;
@@ -23,5 +29,9 @@ export interface ThreadManagerProps {
23
29
  onThreadSelect?: (threadId: string) => void;
24
30
  onThreadCreate?: (threadId: string) => void;
25
31
  onThreadDelete?: (threadId: string) => void;
32
+ view?: ThreadManagerView;
33
+ defaultView?: ThreadManagerView;
34
+ onViewChange?: (view: ThreadManagerView) => void;
35
+ viewOptions?: ThreadManagerViewOption[];
26
36
  }
27
- export declare function ThreadManager({ className, showCreateButton, showDeleteButton, showEditTitle, maxHeight, customStyles, currentThreadId, navigateToThread, onThreadSelect, onThreadCreate, onThreadDelete, }: ThreadManagerProps): import("react/jsx-runtime").JSX.Element;
37
+ export declare function ThreadManager({ className, showCreateButton, showDeleteButton, showEditTitle, maxHeight, customStyles, currentThreadId, navigateToThread, onThreadSelect, onThreadCreate, onThreadDelete, view, defaultView, onViewChange, viewOptions, }: ThreadManagerProps): import("react/jsx-runtime").JSX.Element;