mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 11:30:13 +08:00
refactor: use bun to execute server and analytics
This commit is contained in:
1 parent
2feedc329c
commit
77577d9b8d
13 files changed
+128
-120
No files matched your search
@@ -1,10 +1,14 @@
|
||||
import mongoose from 'mongoose'
|
||||
|
||||
export { User, IUser } from './user.js'
|
||||
export { Session, ISession } from './session.js'
|
||||
export { Command, ICommand } from './command.js'
|
||||
export { UserProfile, IUserProfile, IProgress } from './userProfile.js'
|
||||
export { ILoginAttempt, LoginAttempt } from './loginAttempt.js'
|
||||
export { User, type IUser } from './user.js'
|
||||
export { Session, type ISession } from './session.js'
|
||||
export { Command, type ICommand } from './command.js'
|
||||
export {
|
||||
UserProfile,
|
||||
type IUserProfile,
|
||||
type IProgress,
|
||||
} from './userProfile.js'
|
||||
export { type ILoginAttempt, LoginAttempt } from './loginAttempt.js'
|
||||
|
||||
export async function connectDB(uri: string) {
|
||||
const db = await mongoose.connect(uri)
|
||||
|
||||
Reference in new issue
Block a user