mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 02:10:15 +01:00
6 lines
209 B
TypeScript
6 lines
209 B
TypeScript
|
|
import mongoose from 'mongoose';
|
||
|
|
import fileSchema from '~/schema/file';
|
||
|
|
import type { IMongoFile } from '~/types';
|
||
|
|
|
||
|
|
export const File = mongoose.models.File || mongoose.model<IMongoFile>('File', fileSchema);
|