mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 10:50:14 +01:00
🔧 refactor: Update Group Schema to use TypeScript and import from data-schemas
This commit is contained in:
parent
2fd04b6d65
commit
4448c13684
4 changed files with 47 additions and 43 deletions
|
|
@ -1,5 +1,5 @@
|
|||
const mongoose = require('mongoose');
|
||||
const groupSchema = require('~/models/schema/groupSchema');
|
||||
const { groupSchema } = require('@librechat/data-schemas');
|
||||
|
||||
const Group = mongoose.model('Group', groupSchema);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue