biz-slide-core 1.0.8 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
- import { Schema, model, Types, Document } from "mongoose";
1
+ import { Schema, model, Types } from "mongoose";
2
2
 
3
3
 
4
- export interface IPPTEventSchema extends Document {
4
+ export interface IPPTEventSchema {
5
5
  pptRef: Types.ObjectId;
6
6
  message: string;
7
7
  createdAt?: Date;
@@ -1,5 +1,5 @@
1
- import { Schema, model, Types, Document } from "mongoose";
2
- export interface IPPTSlideSchema extends Document {
1
+ import { Schema, model, Types } from "mongoose";
2
+ export interface IPPTSlideSchema {
3
3
  pptRef: Types.ObjectId;
4
4
  slideRef: Types.ObjectId;
5
5
  slideLayoutRef: Types.ObjectId;
@@ -1,4 +1,4 @@
1
- import { Schema, model, Types, Document } from "mongoose";
1
+ import { Schema, model, Types } from "mongoose";
2
2
 
3
3
  interface IPPTQuestions {
4
4
  question: string;
@@ -13,12 +13,12 @@ const questionSchema = new Schema<IPPTQuestions>({
13
13
  _id: false
14
14
  })
15
15
 
16
- export interface IPPTQuestionSchema extends Document {
16
+ export interface IPPTQuestionSchema {
17
17
  question: string;
18
18
  answer: string;
19
19
  }
20
20
 
21
- export interface IPPTSchema extends Document {
21
+ export interface IPPTSchema {
22
22
  systemGeneratedtopics: Array<string>;
23
23
  colors: Array<string>;
24
24
  slideRefs: Types.ObjectId[];
@@ -1,6 +1,6 @@
1
- import { Schema, model, Document, Types } from "mongoose";
1
+ import { Schema, model, Types } from "mongoose";
2
2
 
3
- export interface ISlideLayoutSchema extends Document {
3
+ export interface ISlideLayoutSchema {
4
4
  name: string;
5
5
  templateId: Types.ObjectId;
6
6
  createdAt: Date;
@@ -1,4 +1,4 @@
1
- import { Schema, model, Document, Types } from "mongoose";
1
+ import { Schema, model, Types } from "mongoose";
2
2
 
3
3
  interface layer {
4
4
  metaType: String;
@@ -15,7 +15,7 @@ const layerSchema = new Schema<layer>({
15
15
  _id: false
16
16
  })
17
17
 
18
- export interface ISlideSchema extends Document {
18
+ export interface ISlideSchema {
19
19
  name: string;
20
20
  postfix: string;
21
21
  rules: string;
@@ -1,6 +1,6 @@
1
- import { Schema, model, Document } from "mongoose";
1
+ import { Schema, model } from "mongoose";
2
2
 
3
- export interface ITemplateSchema extends Document {
3
+ export interface ITemplateSchema{
4
4
  name: string;
5
5
  template_type: string;
6
6
  createdAt: Date,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz-slide-core",
3
- "version": "1.0.8",
3
+ "version": "1.1.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -14,7 +14,6 @@
14
14
  "express": "^4.18.2",
15
15
  "joi": "^17.11.0",
16
16
  "jsonwebtoken": "^9.0.2",
17
- "mongoose": "^8.0.3",
18
17
  "typescript": "^5.3.3"
19
18
  }
20
19
  }