20 lines
341 B
TypeScript
20 lines
341 B
TypeScript
import { ChatBody, Message } from './chat';
|
|
|
|
export interface GoogleBody extends ChatBody {
|
|
googleAPIKey: string;
|
|
googleCSEId: string;
|
|
}
|
|
|
|
export interface GoogleResponse {
|
|
message: Message;
|
|
}
|
|
|
|
export interface GoogleSource {
|
|
title: string;
|
|
link: string;
|
|
displayLink: string;
|
|
snippet: string;
|
|
image: string;
|
|
text: string;
|
|
}
|