From 6c3cb06f1dc5307bf491e5f17289379c8e0b8ffc Mon Sep 17 00:00:00 2001 From: Vins Date: Mon, 9 Sep 2024 05:31:07 +0200 Subject: [PATCH] File Notary archived at --- dist/Notary/FileNotary.d.ts | 1 + dist/Notary/FileNotary.js | 6 ++++++ src/Notary/FileNotary.ts | 4 ++++ 3 files changed, 11 insertions(+) diff --git a/dist/Notary/FileNotary.d.ts b/dist/Notary/FileNotary.d.ts index 0e6b135..4cdf436 100644 --- a/dist/Notary/FileNotary.d.ts +++ b/dist/Notary/FileNotary.d.ts @@ -10,4 +10,5 @@ export default class FileNotary extends Resource { size: number; created_at: Date | null; updated_at: Date | null; + archived_at: Date | null; } diff --git a/dist/Notary/FileNotary.js b/dist/Notary/FileNotary.js index 56698ec..3100f2a 100644 --- a/dist/Notary/FileNotary.js +++ b/dist/Notary/FileNotary.js @@ -22,6 +22,7 @@ class FileNotary extends Resource_1.default { super(...arguments); this.created_at = null; this.updated_at = null; + this.archived_at = null; } } __decorate([ @@ -63,4 +64,9 @@ __decorate([ (0, class_validator_1.IsDate)(), __metadata("design:type", Object) ], FileNotary.prototype, "updated_at", void 0); +__decorate([ + (0, class_transformer_1.Expose)(), + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], FileNotary.prototype, "archived_at", void 0); exports.default = FileNotary; diff --git a/src/Notary/FileNotary.ts b/src/Notary/FileNotary.ts index 7bdac1c..29b13c5 100644 --- a/src/Notary/FileNotary.ts +++ b/src/Notary/FileNotary.ts @@ -34,4 +34,8 @@ export default class FileNotary extends Resource { @Expose() @IsDate() public updated_at: Date | null = null; + + @Expose() + @IsDate() + public archived_at: Date | null = null; }