Merge branch 'master' into feature/defaultFunctionality

This commit is contained in:
JonaKl
2024-05-13 08:23:32 +02:00
committed by GitHub
12 changed files with 474 additions and 138 deletions

View File

@@ -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>,
}