Files
CT/src/Model/fileModel.ts
T

21 lines
330 B
TypeScript
Raw Normal View History

2024-07-21 21:41:19 +02:00
// this file is responsible for managing files within chats.
export default class FileModel {}
// types
2024-07-21 20:54:18 +02:00
export interface File {
dataVersion: "v2";
id: string;
title: string;
contentVersions: { [id: string]: FileContent };
}
export interface FileContent {
dataVersion: "v2";
id: string;
creationDate: string;
}