@grapadigital/shared-schemas 1.0.147 → 1.0.148
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.
|
@@ -148,6 +148,7 @@ export declare class Content {
|
|
|
148
148
|
primetagId?: string;
|
|
149
149
|
sentimentAnalysis?: SentimentAnalysis | null;
|
|
150
150
|
thumbnailUrl?: string;
|
|
151
|
+
mediaUrl?: string;
|
|
151
152
|
}
|
|
152
153
|
export declare const ContentSchema: MongooseSchema<Content, import("mongoose").Model<Content, any, any, any, import("mongoose").Document<unknown, any, Content, any, {}> & Content & Required<{
|
|
153
154
|
_id: Types.ObjectId;
|
|
@@ -291,6 +291,10 @@ __decorate([
|
|
|
291
291
|
(0, mongoose_1.Prop)({ type: String, required: false }),
|
|
292
292
|
__metadata("design:type", String)
|
|
293
293
|
], Content.prototype, "thumbnailUrl", void 0);
|
|
294
|
+
__decorate([
|
|
295
|
+
(0, mongoose_1.Prop)({ type: String, required: false }),
|
|
296
|
+
__metadata("design:type", String)
|
|
297
|
+
], Content.prototype, "mediaUrl", void 0);
|
|
294
298
|
Content = __decorate([
|
|
295
299
|
(0, mongoose_1.Schema)({ timestamps: true })
|
|
296
300
|
], Content);
|
package/package.json
CHANGED
|
@@ -222,6 +222,9 @@ export class Content {
|
|
|
222
222
|
|
|
223
223
|
@Prop({ type: String, required: false })
|
|
224
224
|
thumbnailUrl?: string;
|
|
225
|
+
|
|
226
|
+
@Prop({ type: String, required: false })
|
|
227
|
+
mediaUrl?: string;
|
|
225
228
|
}
|
|
226
229
|
|
|
227
230
|
export const ContentSchema = SchemaFactory.createForClass(Content);
|