biz-slide-core 1.2.119 → 1.2.121
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.
- package/dist/entity/ppt-email-queue.entity.d.ts.map +1 -1
- package/dist/entity/ppt-email-queue.entity.js +1 -0
- package/dist/entity/ppt.entity.d.ts +5 -1
- package/dist/entity/ppt.entity.d.ts.map +1 -1
- package/dist/entity/ppt.entity.js +45 -1
- package/dist/entity/socket.entity.d.ts.map +1 -1
- package/dist/entity/socket.entity.js +1 -0
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ppt-email-queue.entity.d.ts","sourceRoot":"","sources":["../../src/entity/ppt-email-queue.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAiB,KAAK,EAAE,MAAM,UAAU,CAAC;AAEhD,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,iBAAiB,CAAA;CAC5B;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;
|
1
|
+
{"version":3,"file":"ppt-email-queue.entity.d.ts","sourceRoot":"","sources":["../../src/entity/ppt-email-queue.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAiB,KAAK,EAAE,MAAM,UAAU,CAAC;AAEhD,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,iBAAiB,CAAA;CAC5B;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AA6BD,eAAO,MAAM,kBAAkB;;eAAsE,CAAC"}
|
@@ -18,4 +18,5 @@ const PPTEmailQueueSchema = new mongoose_1.Schema({
|
|
18
18
|
timestamps: true,
|
19
19
|
});
|
20
20
|
PPTEmailQueueSchema.index({ sent: 1, createdAt: 1 });
|
21
|
+
PPTEmailQueueSchema.index({ pptRef: 1 });
|
21
22
|
exports.PPTEmailQueueModel = (0, mongoose_1.model)("ppt-email-queue", PPTEmailQueueSchema);
|
@@ -23,6 +23,10 @@
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
25
25
|
import { Types } from "mongoose";
|
26
|
+
export interface IPPTSuggestons {
|
27
|
+
title: string;
|
28
|
+
templateId: Types.ObjectId;
|
29
|
+
}
|
26
30
|
export interface IPPTSchema {
|
27
31
|
systemGeneratedtopics: Array<string>;
|
28
32
|
userSelectedTopics: Array<string>;
|
@@ -65,7 +69,7 @@ export interface IPPTSchema {
|
|
65
69
|
cloneForSystem: boolean;
|
66
70
|
productId: string;
|
67
71
|
clonedFromSystem: boolean;
|
68
|
-
suggestions: Array<
|
72
|
+
suggestions: Array<IPPTSuggestons>;
|
69
73
|
}
|
70
74
|
export declare const PPTModel: import("mongoose").Model<IPPTSchema, {}, {}, {}, import("mongoose").Document<unknown, {}, IPPTSchema> & Omit<IPPTSchema & {
|
71
75
|
_id: Types.ObjectId;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ppt.entity.d.ts","sourceRoot":"","sources":["../../src/entity/ppt.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAiB,KAAK,EAAE,MAAM,UAAU,CAAC;
|
1
|
+
{"version":3,"file":"ppt.entity.d.ts","sourceRoot":"","sources":["../../src/entity/ppt.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAiB,KAAK,EAAE,MAAM,UAAU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AE,OAAO,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IAEtB,iBAAiB,EAAE,KAAK,CAAC,QAAQ,CAAC;IAClC,aAAa,EAAE,OAAO,CAAC;IACvB,aAAa,EAAE,OAAO,CAAC;IACvB,YAAY,EAAE,OAAO,CAAC;IAEtB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,cAAc,EAAE,OAAO,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,OAAO,CAAC;IAE1B,WAAW,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;CACtC;AAoHD,eAAO,MAAM,QAAQ;;eAAsC,CAAC"}
|
@@ -2,6 +2,13 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.PPTModel = void 0;
|
4
4
|
const mongoose_1 = require("mongoose");
|
5
|
+
const PPTSuggestionSchema = new mongoose_1.Schema({
|
6
|
+
templateId: { type: mongoose_1.Schema.Types.ObjectId, ref: 'template' },
|
7
|
+
title: { type: String },
|
8
|
+
}, {
|
9
|
+
timestamps: false,
|
10
|
+
_id: false
|
11
|
+
});
|
5
12
|
const PPTSchema = new mongoose_1.Schema({
|
6
13
|
deletedAt: { type: Date, default: null },
|
7
14
|
isLocked: { type: Boolean, default: false },
|
@@ -42,11 +49,48 @@ const PPTSchema = new mongoose_1.Schema({
|
|
42
49
|
cloneForSystem: { type: Boolean, default: false },
|
43
50
|
productId: { type: String },
|
44
51
|
clonedFromSystem: { type: Boolean, default: false },
|
45
|
-
suggestions: { type: [
|
52
|
+
suggestions: { type: [PPTSuggestionSchema], default: [], _id: false },
|
46
53
|
}, {
|
47
54
|
timestamps: true,
|
48
55
|
});
|
49
56
|
PPTSchema.index({ userId: 1, isCompleted: 1, hasError: 1, isLocked: 1 });
|
50
57
|
// PPTSchema.index({isSystemGenerated: 1, promptAlias: 1, appName: 1}); // Not required now
|
51
58
|
PPTSchema.index({ isSystemGenerated: 1, productId: 1, appName: 1 });
|
59
|
+
PPTSchema.index({ isLocked: 1 });
|
60
|
+
PPTSchema.index({ createdAt: -1 });
|
61
|
+
PPTSchema.index({ _id: 1, createdAt: 1 });
|
62
|
+
PPTSchema.index({
|
63
|
+
appName: 1,
|
64
|
+
clonedFromSystem: 1,
|
65
|
+
sessionId: 1,
|
66
|
+
userId: 1,
|
67
|
+
createdAt: 1
|
68
|
+
});
|
69
|
+
PPTSchema.index({
|
70
|
+
appName: 1,
|
71
|
+
clonedFromSystem: 1,
|
72
|
+
trackIP: 1,
|
73
|
+
userId: 1,
|
74
|
+
createdAt: 1
|
75
|
+
});
|
76
|
+
PPTSchema.index({
|
77
|
+
appName: 1,
|
78
|
+
templateTypeId: 1,
|
79
|
+
createdAt: 1
|
80
|
+
});
|
81
|
+
PPTSchema.index({
|
82
|
+
createdAt: -1
|
83
|
+
});
|
84
|
+
PPTSchema.index({
|
85
|
+
appName: 1,
|
86
|
+
createdAt: -1
|
87
|
+
});
|
88
|
+
PPTSchema.index({
|
89
|
+
slideRefs: 1,
|
90
|
+
createdAt: 1
|
91
|
+
});
|
92
|
+
PPTSchema.index({
|
93
|
+
userId: 1,
|
94
|
+
createdAt: 1
|
95
|
+
});
|
52
96
|
exports.PPTModel = (0, mongoose_1.model)("ppt", PPTSchema);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"socket.entity.d.ts","sourceRoot":"","sources":["../../src/entity/socket.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAiB,KAAK,EAAE,MAAM,UAAU,CAAC;AAEhD,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACzB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,IAAI,CAAC;CAClB;
|
1
|
+
{"version":3,"file":"socket.entity.d.ts","sourceRoot":"","sources":["../../src/entity/socket.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAiB,KAAK,EAAE,MAAM,UAAU,CAAC;AAEhD,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACzB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,IAAI,CAAC;CAClB;AAaD,eAAO,MAAM,WAAW;;eAA+C,CAAC"}
|