wip: replace packages with pure files

This commit is contained in:
Justin Lin committed 2025-04-24 23:20:40 +08:00
1 parent 2d95ca382f
commit 87b8ca5d04
112 files changed
+740 -522

No files matched your search

-1
View File
@@ -12,7 +12,6 @@
"dev": "nodemon"
},
"dependencies": {
"@linux-odyssey/models": "*",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"express-basic-auth": "^1.2.1",
+1 -1
View File
@@ -1,4 +1,4 @@
import connectDB from '@linux-odyssey/models'
import connectDB from '@models'
import express from 'express'
import { engine } from 'express-handlebars'
import basicAuth from 'express-basic-auth'
+1 -1
View File
@@ -1,4 +1,4 @@
import { Command } from '@linux-odyssey/models'
import { Command } from '@models'
import Pagination from './pagination.js'
// eslint-disable-next-line import/prefer-default-export
+1 -1
View File
@@ -1,6 +1,6 @@
/* eslint-disable object-shorthand */
/* eslint-disable func-names */
import { UserProfile } from '@linux-odyssey/models'
import { UserProfile } from '@models'
export function questList() {
return UserProfile.aggregate([
+1 -1
View File
@@ -1,4 +1,4 @@
import { Command, Session } from '@linux-odyssey/models'
import { Command, Session } from '@models'
import Pagination from './pagination.js'
import {
CommandObject,
+1 -1
View File
@@ -1,4 +1,4 @@
import { Session, User } from '@linux-odyssey/models'
import { Session, User } from '@models'
import { Types } from 'mongoose'
import Pagination from './pagination.js'
import { IUser, UserSessionDetail } from '../interface.js'