update entity type and reset password

This commit is contained in:
2024-11-30 12:56:44 +07:00
parent 37aa7842fd
commit 388fff9175
21 changed files with 137 additions and 315 deletions

View File

@ -1,10 +1,7 @@
import config from 'config';
import { DataSource } from "typeorm";
import { User } from "../entity/users";
import { User, UserActivity, UserRefreshToken, UserRole } from "Entity";
import { ILogObj, Logger } from 'tslog';
import { UserActivity } from '../entity/user_activity';
import { UserRefreshToken } from '../entity/user_refresh_token';
import { UserRole } from '../entity/users_roles';
export class OrmHelper {
static DB: DataSource = null