mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
wip: replace packages with pure files
This commit is contained in:
1 parent
2d95ca382f
commit
87b8ca5d04
112 files changed
+740
-522
No files matched your search
@@ -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,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,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,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,4 +1,4 @@
|
||||
import { Command, Session } from '@linux-odyssey/models'
|
||||
import { Command, Session } from '@models'
|
||||
import Pagination from './pagination.js'
|
||||
import {
|
||||
CommandObject,
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user