This commit is contained in:
CREDO23 2025-10-23 19:48:10 +02:00 committed by thierryverse
parent 58fed46567
commit 9007436ff6
9 changed files with 23 additions and 183 deletions

View file

@ -56,14 +56,24 @@ import {
} from "@/components/ui/select";
import { cn } from "@/lib/utils";
interface Chat {
export interface Chat {
created_at: string;
id: number;
type: string;
type: "DOCUMENT" | "CHAT";
title: string;
search_space_id: number;
}
export interface ChatDetails {
type: "DOCUMENT" | "CHAT";
title: string;
initial_connectors: string[];
messages: any[];
created_at: string;
id: number;
search_space_id: number;
}
interface ChatsPageClientProps {
searchSpaceId: string;
}

View file

@ -47,7 +47,7 @@ import {
} from "@/components/ui/select";
import { Slider } from "@/components/ui/slider";
interface PodcastItem {
export interface PodcastItem {
id: number;
title: string;
created_at: string;