@fencyai/react 0.1.99 → 0.1.100

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.
@@ -12,6 +12,9 @@ type ChatProps = {
12
12
  fetchCreateStreamClientSecret: () => Promise<{
13
13
  clientSecret: string;
14
14
  }>;
15
+ fetchGetDownloadLinkClientSecret: (fileId: string) => Promise<{
16
+ clientSecret: string;
17
+ }>;
15
18
  };
16
19
  export declare const Chat: React.FC<ChatProps>;
17
20
  export {};
@@ -10,5 +10,8 @@ export type ChatResponseMessage = {
10
10
  };
11
11
  export interface ChatResponseProps {
12
12
  message: ChatResponseMessage;
13
+ fetchGetDownloadLinkClientSecret: (fileId: string) => Promise<{
14
+ clientSecret: string;
15
+ }>;
13
16
  }
14
17
  export declare const ChatResponse: React.FC<ChatResponseProps>;
@@ -1,5 +1,10 @@
1
1
  import { default as React } from 'react';
2
2
  export interface ChatResponseCompleteProps {
3
+ title: string;
3
4
  markdown: string;
5
+ completed: boolean;
6
+ fetchGetDownloadLinkClientSecret: (fileId: string) => Promise<{
7
+ clientSecret: string;
8
+ }>;
4
9
  }
5
10
  export declare const ChatResponseComplete: React.FC<ChatResponseCompleteProps>;
@@ -1,5 +1,8 @@
1
1
  import { StreamingAgentTask } from '../types';
2
2
  export interface DisplayProps {
3
3
  agentTasks: StreamingAgentTask[];
4
+ fetchGetDownloadLinkClientSecret: (fileId: string) => Promise<{
5
+ clientSecret: string;
6
+ }>;
4
7
  }
5
8
  export declare const Display: React.FC<DisplayProps>;