update entity
This commit is contained in:
@ -20,7 +20,7 @@
|
||||
"config": "^3.3.12",
|
||||
"cors": "^2.8.5",
|
||||
"dayjs": "^1.11.13",
|
||||
"Entity": "file:../entity",
|
||||
"entity": "file:../entity",
|
||||
"express": "^4.21.1",
|
||||
"express-jwt": "^8.4.1",
|
||||
"fast-csv": "^5.0.2",
|
||||
|
||||
@ -11,7 +11,7 @@ import dayjs from 'dayjs'
|
||||
import jwt from 'jsonwebtoken';
|
||||
import fs from 'fs';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import { EmailBody, User, UserRefreshToken, UserRole } from "Entity";
|
||||
import { EmailBody, User, UserRefreshToken, UserRole } from "entity";
|
||||
import axios from 'axios';
|
||||
import CommonHelper from "../helpers/common";
|
||||
|
||||
|
||||
@ -2,11 +2,11 @@ import { Response, NextFunction, Application } from "express";
|
||||
import { Request } from "express-jwt";
|
||||
import { ReturnHelper } from "../helpers/express/return";
|
||||
import { OrmHelper } from "../helpers/orm";
|
||||
import { User } from "Entity";
|
||||
import { User } from "entity";
|
||||
import Joi from "joi";
|
||||
import { ILogObj, Logger } from "tslog";
|
||||
import { Language } from "../langs/lang";
|
||||
import { Paging } from "Entity";
|
||||
import { Paging } from "entity";
|
||||
import CommonHelper from "../helpers/common";
|
||||
import * as fastcsv from 'fast-csv';
|
||||
import dayjs from "dayjs";
|
||||
|
||||
@ -5,12 +5,12 @@ import { OrmHelper } from "../helpers/orm";
|
||||
import Joi from "joi";
|
||||
import { ILogObj, Logger } from "tslog";
|
||||
import { Language } from "../langs/lang";
|
||||
import { Paging } from "Entity";
|
||||
import { Paging } from "entity";
|
||||
import CommonHelper from "../helpers/common";
|
||||
import { ActivityType } from "Entity";
|
||||
import { ActivityType } from "entity";
|
||||
import * as fastcsv from 'fast-csv';
|
||||
import dayjs from "dayjs";
|
||||
import { UserActivity } from "Entity";
|
||||
import { UserActivity } from "entity";
|
||||
|
||||
const log: Logger<ILogObj> = new Logger({ name: '[UserActivityController]', type: 'pretty' });
|
||||
|
||||
|
||||
@ -5,9 +5,9 @@ import { OrmHelper } from "../helpers/orm";
|
||||
import Joi from "joi";
|
||||
import { ILogObj, Logger } from "tslog";
|
||||
import { Language } from "../langs/lang";
|
||||
import { Paging } from "Entity";
|
||||
import { Paging } from "entity";
|
||||
import CommonHelper from "../helpers/common";
|
||||
import { UserRefreshToken } from "Entity";
|
||||
import { UserRefreshToken } from "entity";
|
||||
|
||||
const log: Logger<ILogObj> = new Logger({ name: '[UserRefreshTokenController]', type: 'pretty' });
|
||||
|
||||
|
||||
@ -4,13 +4,13 @@ import { OrmHelper } from "../helpers/orm";
|
||||
import Joi from "joi";
|
||||
import { ILogObj, Logger } from "tslog";
|
||||
import { Language } from "../langs/lang";
|
||||
import { Paging } from "Entity";
|
||||
import { Paging } from "entity";
|
||||
import CommonHelper from "../helpers/common";
|
||||
import { Status } from "Entity";
|
||||
import { RoleList } from "Entity";
|
||||
import { Status } from "entity";
|
||||
import { RoleList } from "entity";
|
||||
import * as fastcsv from 'fast-csv';
|
||||
import dayjs from "dayjs";
|
||||
import { UserRole } from "Entity";
|
||||
import { UserRole } from "entity";
|
||||
|
||||
const log: Logger<ILogObj> = new Logger({ name: '[UserRoleController]', type: 'pretty' });
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import config from 'config';
|
||||
import { DataSource } from "typeorm";
|
||||
import { User, UserActivity, UserRefreshToken, UserRole } from "Entity";
|
||||
import { User, UserActivity, UserRefreshToken, UserRole } from "entity";
|
||||
import { ILogObj, Logger } from 'tslog';
|
||||
|
||||
export class OrmHelper {
|
||||
|
||||
Reference in New Issue
Block a user