mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-03-16 04:36:34 +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/banner.ts
Normal file
5
packages/data-schemas/src/models/banner.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import mongoose from 'mongoose';
|
||||
import bannerSchema from '~/schema/banner';
|
||||
import type { IBanner } from '~/types';
|
||||
|
||||
export const Banner = mongoose.models.Banner || mongoose.model<IBanner>('Banner', bannerSchema);
|
||||
Loading…
Add table
Add a link
Reference in a new issue