@stamhoofd/structures
Advanced tools
Comparing version 1.2.24 to 1.2.25
@@ -5,2 +5,3 @@ import { AutoEncoder } from '@simonbackx/simple-encoding'; | ||
id: string; | ||
cycle: number; | ||
settings: GroupSettings; | ||
@@ -7,0 +8,0 @@ static defaultSort(this: unknown, a: Group, b: Group): 0 | 1 | -1; |
@@ -42,2 +42,5 @@ "use strict"; | ||
tslib_1.__decorate([ | ||
simple_encoding_1.field({ decoder: simple_encoding_1.IntegerDecoder }) | ||
], Group.prototype, "cycle", void 0); | ||
tslib_1.__decorate([ | ||
simple_encoding_1.field({ decoder: GroupSettings_1.GroupSettings }) | ||
@@ -44,0 +47,0 @@ ], Group.prototype, "settings", void 0); |
@@ -8,2 +8,3 @@ import { AutoEncoder } from '@simonbackx/simple-encoding'; | ||
registeredAt: Date | null; | ||
deactivatedAt: Date | null; | ||
createdAt: Date; | ||
@@ -10,0 +11,0 @@ updatedAt: Date; |
@@ -11,2 +11,3 @@ "use strict"; | ||
this.registeredAt = null; | ||
this.deactivatedAt = null; | ||
} | ||
@@ -27,2 +28,5 @@ } | ||
tslib_1.__decorate([ | ||
simple_encoding_1.field({ decoder: simple_encoding_1.DateDecoder, nullable: true }) | ||
], Registration.prototype, "deactivatedAt", void 0); | ||
tslib_1.__decorate([ | ||
simple_encoding_1.field({ decoder: simple_encoding_1.DateDecoder }) | ||
@@ -29,0 +33,0 @@ ], Registration.prototype, "createdAt", void 0); |
@@ -5,2 +5,3 @@ import { AutoEncoder } from '@simonbackx/simple-encoding'; | ||
id: string; | ||
cycle: number; | ||
settings: GroupSettings; | ||
@@ -7,0 +8,0 @@ static defaultSort(this: unknown, a: Group, b: Group): 0 | 1 | -1; |
import { __decorate } from "tslib"; | ||
import { AutoEncoder, field, StringDecoder } from '@simonbackx/simple-encoding'; | ||
import { AutoEncoder, field, IntegerDecoder, StringDecoder } from '@simonbackx/simple-encoding'; | ||
import { v4 as uuidv4 } from "uuid"; | ||
@@ -39,2 +39,5 @@ import { GroupSettings } from './GroupSettings'; | ||
__decorate([ | ||
field({ decoder: IntegerDecoder }) | ||
], Group.prototype, "cycle", void 0); | ||
__decorate([ | ||
field({ decoder: GroupSettings }) | ||
@@ -41,0 +44,0 @@ ], Group.prototype, "settings", void 0); |
@@ -8,2 +8,3 @@ import { AutoEncoder } from '@simonbackx/simple-encoding'; | ||
registeredAt: Date | null; | ||
deactivatedAt: Date | null; | ||
createdAt: Date; | ||
@@ -10,0 +11,0 @@ updatedAt: Date; |
@@ -8,2 +8,3 @@ import { __decorate } from "tslib"; | ||
this.registeredAt = null; | ||
this.deactivatedAt = null; | ||
} | ||
@@ -24,2 +25,5 @@ } | ||
__decorate([ | ||
field({ decoder: DateDecoder, nullable: true }) | ||
], Registration.prototype, "deactivatedAt", void 0); | ||
__decorate([ | ||
field({ decoder: DateDecoder }) | ||
@@ -26,0 +30,0 @@ ], Registration.prototype, "createdAt", void 0); |
{ | ||
"name": "@stamhoofd/structures", | ||
"version": "1.2.24", | ||
"version": "1.2.25", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "./esm/dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
274854
3933