flykup_model_production 1.0.6 → 1.0.7
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.
|
@@ -34,14 +34,19 @@ const ShoppableVideoSchema = new Schema(
|
|
|
34
34
|
},
|
|
35
35
|
description: {
|
|
36
36
|
type: String,
|
|
37
|
-
required:
|
|
37
|
+
required: false,
|
|
38
38
|
trim: true,
|
|
39
39
|
},
|
|
40
40
|
category: { type: String, required: true, trim: true },
|
|
41
41
|
subcategory: { type: String, required: true, trim: true },
|
|
42
42
|
// thumbnailURL might be set initially or updated by the processing service
|
|
43
|
+
isThumbnailEnabled: {
|
|
44
|
+
type: Boolean,
|
|
45
|
+
default: false, // toggle OFF by default
|
|
46
|
+
},
|
|
43
47
|
thumbnailURL: {
|
|
44
48
|
type: String,
|
|
49
|
+
default: null
|
|
45
50
|
},
|
|
46
51
|
isProductsAvailable : { type : Boolean, required : true, default : true },
|
|
47
52
|
productsListed: {
|
|
@@ -117,6 +122,10 @@ const ShoppableVideoSchema = new Schema(
|
|
|
117
122
|
enum: ["success", "failed","progress"],
|
|
118
123
|
default: "progress",
|
|
119
124
|
|
|
125
|
+
},
|
|
126
|
+
durationSeconds: {
|
|
127
|
+
type: Number,
|
|
128
|
+
default: null,
|
|
120
129
|
},
|
|
121
130
|
reductionPercentage:{
|
|
122
131
|
type:String,
|