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 -1
View File
@@ -1,4 +1,4 @@
import { User } from '@linux-odyssey/models'
import { User } from '../../../packages/models'
import type { Profile } from 'passport'
import type { VerifyCallback } from 'passport-oauth2'
import logger from '../utils/logger.js'
+1 -1
View File
@@ -1,6 +1,6 @@
import passport from 'passport'
import type { Express } from 'express'
import { UserProfile } from '@linux-odyssey/models'
import { UserProfile } from '../../../packages/models'
import passwordStrategy from './passwordStrategy.js'
import jwtStrategy from './jwtStrategy.js'
import googleStrategy from './googleStrategy.js'
+1 -1
View File
@@ -3,7 +3,7 @@ import bcrypt from 'bcrypt'
import { Strategy as LocalStrategy } from 'passport-local'
import type { IVerifyOptions } from 'passport-local'
import type { Express } from 'express'
import { User } from '@linux-odyssey/models'
import { User } from '../../../packages/models'
async function verifyPassword(
username: string,