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
|
1
|
+
import { Schema, model, Types } from "mongoose";
|
2
2
|
|
3
3
|
|
4
|
-
export interface IPPTEventSchema
|
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
|
2
|
-
export interface IPPTSlideSchema
|
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;
|
package/entity/ppt.entity.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Schema, model, Types
|
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
|
16
|
+
export interface IPPTQuestionSchema {
|
17
17
|
question: string;
|
18
18
|
answer: string;
|
19
19
|
}
|
20
20
|
|
21
|
-
export interface IPPTSchema
|
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,
|
1
|
+
import { Schema, model, Types } from "mongoose";
|
2
2
|
|
3
|
-
export interface ISlideLayoutSchema
|
3
|
+
export interface ISlideLayoutSchema {
|
4
4
|
name: string;
|
5
5
|
templateId: Types.ObjectId;
|
6
6
|
createdAt: Date;
|
package/entity/slide.entity.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Schema, model,
|
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
|
18
|
+
export interface ISlideSchema {
|
19
19
|
name: string;
|
20
20
|
postfix: string;
|
21
21
|
rules: string;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "biz-slide-core",
|
3
|
-
"version": "1.0
|
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
|
}
|