@stamhoofd/structures
Advanced tools
Comparing version 1.2.29 to 1.2.30
@@ -19,3 +19,5 @@ import { AutoEncoder } from '@simonbackx/simple-encoding'; | ||
fillGroups(groups: Group[]): void; | ||
get paid(): boolean; | ||
get info(): string; | ||
} | ||
//# sourceMappingURL=DecryptedMember.d.ts.map |
@@ -8,2 +8,3 @@ "use strict"; | ||
const Group_1 = require("../Group"); | ||
const PaymentStatus_1 = require("../PaymentStatus"); | ||
const MemberDetails_1 = require("./MemberDetails"); | ||
@@ -38,2 +39,8 @@ const Registration_1 = require("./Registration"); | ||
} | ||
get paid() { | ||
return !this.activeRegistrations.find(r => r.payment.status != PaymentStatus_1.PaymentStatus.Succeeded); | ||
} | ||
get info() { | ||
return this.paid ? "" : "Lidgeld nog niet betaald"; | ||
} | ||
} | ||
@@ -40,0 +47,0 @@ tslib_1.__decorate([ |
@@ -19,3 +19,5 @@ import { AutoEncoder } from '@simonbackx/simple-encoding'; | ||
fillGroups(groups: Group[]): void; | ||
get paid(): boolean; | ||
get info(): string; | ||
} | ||
//# sourceMappingURL=DecryptedMember.d.ts.map |
@@ -5,2 +5,3 @@ import { __decorate } from "tslib"; | ||
import { Group } from '../Group'; | ||
import { PaymentStatus } from '../PaymentStatus'; | ||
import { MemberDetails } from './MemberDetails'; | ||
@@ -35,2 +36,8 @@ import { Registration } from './Registration'; | ||
} | ||
get paid() { | ||
return !this.activeRegistrations.find(r => r.payment.status != PaymentStatus.Succeeded); | ||
} | ||
get info() { | ||
return this.paid ? "" : "Lidgeld nog niet betaald"; | ||
} | ||
} | ||
@@ -37,0 +44,0 @@ __decorate([ |
{ | ||
"name": "@stamhoofd/structures", | ||
"version": "1.2.29", | ||
"version": "1.2.30", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
290972
4149