biz-slide-core 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  import { Response, NextFunction } from "express";
2
- import { verifyUid } from "../utilities/encryptionUtils";
3
- import IRequest from "../types/IRequest";
4
- import UserModel from "../entity/user.entity";
2
+ import { verifyUid } from "../utilities";
3
+ import { IRequest } from "../types";
4
+ import { UserModel } from "../entity";
5
5
 
6
6
 
7
7
  const authorize = (roles: string[]) => {
@@ -1,7 +1,7 @@
1
1
  import { NextFunction, Response } from "express";
2
2
  import Joi from 'joi';
3
3
 
4
- import IRequest from "../types/IRequest";
4
+ import { IRequest } from "../types";
5
5
 
6
6
  export const validateSchema = (schema: Joi.ObjectSchema<any>) => {
7
7
  return async function (req: IRequest, res: Response, next: NextFunction) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz-slide-core",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {