biz-slide-core 1.2.35 → 1.2.37
Sign up to get free protection for your applications and to get access to all the features.
@@ -4,6 +4,7 @@ exports.SlideLayoutModel = void 0;
|
|
4
4
|
var mongoose_1 = require("mongoose");
|
5
5
|
var SlideLayoutSchema = new mongoose_1.Schema({
|
6
6
|
name: { type: String, default: "", required: true },
|
7
|
+
alias: { type: [String], default: [], _id: false },
|
7
8
|
templateTypeId: { type: mongoose_1.Schema.Types.ObjectId, ref: "template-type" },
|
8
9
|
deletedAt: { type: Date, default: null },
|
9
10
|
}, {
|
package/entity/slide.entity.js
CHANGED
@@ -12,7 +12,6 @@ var layerSchema = new mongoose_1.Schema({
|
|
12
12
|
});
|
13
13
|
var SlideSchema = new mongoose_1.Schema({
|
14
14
|
name: { type: String, default: "", required: true },
|
15
|
-
alias: { type: [String], default: [], _id: false },
|
16
15
|
postfix: { type: String, default: "" },
|
17
16
|
rules: { type: String, default: "" },
|
18
17
|
layers: [layerSchema],
|
@@ -33,6 +33,7 @@ var TemplateTypeSchema = new mongoose_1.Schema({
|
|
33
33
|
suggestionPrompts: { type: [String], default: [], _id: false },
|
34
34
|
topicPrompt: systemSchema,
|
35
35
|
layoutPrompt: systemSchema,
|
36
|
+
defaultLayout: { type: String, default: "" },
|
36
37
|
deletedAt: { type: Date, default: null },
|
37
38
|
}, {
|
38
39
|
timestamps: true,
|