Merge branch 'master' into feature/defaultFunctionality
This commit is contained in:
@@ -26,9 +26,36 @@ export interface user{
|
||||
chats: chat[];
|
||||
}
|
||||
|
||||
export interface message{
|
||||
export interface message {
|
||||
id: number;
|
||||
chat: chat;
|
||||
sender: user;
|
||||
sender:user;
|
||||
content: string;
|
||||
timestamp: string;
|
||||
isOwn: boolean;
|
||||
gif: boolean;
|
||||
link: boolean;
|
||||
}
|
||||
|
||||
export interface tenorGif {
|
||||
url: string,
|
||||
duration: number,
|
||||
preview: string,
|
||||
dims: Array<number>,
|
||||
size: number,
|
||||
}
|
||||
|
||||
export interface testType {
|
||||
nanogif: tenorGif,
|
||||
mediumgif: tenorGif,
|
||||
}
|
||||
|
||||
export interface tenorResponseElement {
|
||||
id: string,
|
||||
title: string,
|
||||
media_formats: testType,
|
||||
}
|
||||
|
||||
export interface tenorResponse {
|
||||
results: Array<tenorGif>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user