Skip to content

Commit 5746b58

Browse files
committedOct 15, 2020
feat(mongo-models): Added lastMetadataUpdate
1 parent fd405d4 commit 5746b58

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
 

Diff for: ‎libs/mongo-models/src/shared/content.object-type.ts

+3
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,7 @@ export class Content {
6464
@Field({ description: 'The time at which the content was last updated.' })
6565
updatedAt: number
6666

67+
@Field({ description: 'The time at which the metadata was last updated.' })
68+
lastMetadataUpdate: number
69+
6770
}

Diff for: ‎libs/mongo-models/src/shared/content.schema.ts

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export const contentSchema: object = {
1414
synopsis: String,
1515
createdAt: Number,
1616
updatedAt: Number,
17+
lastMetadataUpdate: Number,
1718
runtime: {
1819
full: {
1920
type: String

0 commit comments

Comments
 (0)
Please sign in to comment.