biz-slide-core 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
@@ -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;
|