biz-slide-core 1.0.6 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,6 +28,7 @@ export interface IPPTSchema extends Document {
28
28
  userId: string;
29
29
  questions: IPPTQuestions[];
30
30
  isLocked?: boolean;
31
+ fileCreated?: boolean;
31
32
  isCompleted?: boolean;
32
33
  createdAt?: Date;
33
34
  updatedAt?: Date;
@@ -41,6 +42,7 @@ const PPTSchema = new Schema<IPPTSchema>(
41
42
  deletedAt: { type: Date, default: null },
42
43
  isLocked: { type: Boolean, default: false },
43
44
  isCompleted: { type: Boolean, default: false },
45
+ fileCreated: { type: Boolean, default: false },
44
46
  userId: { type: String, default: null },
45
47
  template_type: { type: String, default: null },
46
48
  systemGeneratedtopics: { type: [String], default: [], _id: false },
@@ -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.8",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {