fix: file imports

This commit is contained in:
chreamy committed 2024-03-11 21:27:15 -05:00
1 parent 0d2e62be24
commit 685be8c1d2
6 files changed
+7 -11

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
import connectDB from '@linux-odyssey/models'
import connectDB from '../../models/dist/index.js'
import express from 'express'
import { engine } from 'express-handlebars'
import basicAuth from 'express-basic-auth'
+2 -2
View File
@@ -1,5 +1,5 @@
import { Command } from '@linux-odyssey/models'
import Pagination from './pagination.js'
import { Command } from '../../../models/dist/index.js'
import Pagination from './pagination.ts'
// eslint-disable-next-line import/prefer-default-export
export async function errorCommands(pagination: Pagination) {
+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/dist/index.js'
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/dist/index.js'
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/dist/index.js'
import Pagination from './pagination.js'
import { Types } from 'mongoose'
import { IUser, UserSessionDetail } from '../interface.js'
+1 -5
View File
@@ -6,11 +6,7 @@
"esModuleInterop": true,
"noEmit": true,
"strict": false,
"allowImportingTsExtensions": true,
"baseUrl": "./",
"paths": {
"@linux-odyssey/models": ["./packages/models"]
}
"allowImportingTsExtensions": true
},
"include": ["src"],
"exclude": ["node_modules", "dist"],