|
@@ -42,13 +42,13 @@ interface CreateThread {
|
|
|
(): Promise<IThreadRelationHasId>;
|
|
(): Promise<IThreadRelationHasId>;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-type PostMesageArgs = {
|
|
|
|
|
|
|
+type PostMessageArgs = {
|
|
|
threadId: string;
|
|
threadId: string;
|
|
|
formData: FormData;
|
|
formData: FormData;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
interface PostMessage {
|
|
interface PostMessage {
|
|
|
- (args: PostMesageArgs): Promise<Response>;
|
|
|
|
|
|
|
+ (args: PostMessageArgs): Promise<Response>;
|
|
|
}
|
|
}
|
|
|
interface ProcessMessage {
|
|
interface ProcessMessage {
|
|
|
(data: unknown, handler: {
|
|
(data: unknown, handler: {
|