mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 10:50:14 +01:00
refactor: original changes
This commit is contained in:
parent
fa9177180f
commit
f9c0e9853f
83 changed files with 413 additions and 505 deletions
5
packages/data-schemas/src/models/file.ts
Normal file
5
packages/data-schemas/src/models/file.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue