✨ Fixing anchor in folder_anchor
This commit is contained in:
parent
e28887de45
commit
717a252979
6
dist/Notary/OfficeFolderAnchor.d.ts
vendored
6
dist/Notary/OfficeFolderAnchor.d.ts
vendored
@ -9,9 +9,9 @@ export default class OfficeFolderAnchor extends Resource {
|
||||
blockchain?: EBlockchainName | string;
|
||||
status?: EAnchoringStatus | string;
|
||||
anchor_nb_try?: number;
|
||||
tx_id?: string;
|
||||
tx_link?: string;
|
||||
tx_hash?: string;
|
||||
tx_id: string | null;
|
||||
tx_link: string | null;
|
||||
tx_hash: string | null;
|
||||
folder?: OfficeFolder | null;
|
||||
anchored_at?: Date | null;
|
||||
created_at?: Date | null;
|
||||
|
9
dist/Notary/OfficeFolderAnchor.js
vendored
9
dist/Notary/OfficeFolderAnchor.js
vendored
@ -24,6 +24,9 @@ class OfficeFolderAnchor extends Resource_1.default {
|
||||
this.blockchain = EBlockchainName_1.default.TEZOS;
|
||||
this.status = EAnchoringStatus_1.default.QUEUED;
|
||||
this.anchor_nb_try = 0;
|
||||
this.tx_id = null;
|
||||
this.tx_link = null;
|
||||
this.tx_hash = null;
|
||||
this.folder = null;
|
||||
this.anchored_at = null;
|
||||
this.created_at = null;
|
||||
@ -56,15 +59,15 @@ __decorate([
|
||||
], OfficeFolderAnchor.prototype, "anchor_nb_try", void 0);
|
||||
__decorate([
|
||||
(0, class_transformer_1.Expose)(),
|
||||
__metadata("design:type", String)
|
||||
__metadata("design:type", Object)
|
||||
], OfficeFolderAnchor.prototype, "tx_id", void 0);
|
||||
__decorate([
|
||||
(0, class_transformer_1.Expose)(),
|
||||
__metadata("design:type", String)
|
||||
__metadata("design:type", Object)
|
||||
], OfficeFolderAnchor.prototype, "tx_link", void 0);
|
||||
__decorate([
|
||||
(0, class_transformer_1.Expose)(),
|
||||
__metadata("design:type", String)
|
||||
__metadata("design:type", Object)
|
||||
], OfficeFolderAnchor.prototype, "tx_hash", void 0);
|
||||
__decorate([
|
||||
(0, class_transformer_1.Expose)(),
|
||||
|
@ -25,13 +25,13 @@ export default class OfficeFolderAnchor extends Resource {
|
||||
public anchor_nb_try?: number = 0;
|
||||
|
||||
@Expose()
|
||||
public tx_id?: string;
|
||||
public tx_id: string | null = null;
|
||||
|
||||
@Expose()
|
||||
public tx_link?: string;
|
||||
public tx_link: string | null = null;
|
||||
|
||||
@Expose()
|
||||
public tx_hash?: string;
|
||||
public tx_hash: string | null = null;
|
||||
|
||||
@Expose()
|
||||
@Type(() => OfficeFolder)
|
||||
|
Loading…
x
Reference in New Issue
Block a user