@stamhoofd/structures
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -6,3 +6,4 @@ import { Payment } from './Payment'; | ||
getMemberNames(): string; | ||
matchQuery(query: string): boolean; | ||
} | ||
//# sourceMappingURL=PaymentDetailed.d.ts.map |
@@ -12,2 +12,10 @@ "use strict"; | ||
} | ||
matchQuery(query) { | ||
const lowerQuery = query.toLowerCase(); | ||
if (this.transferDescription && this.transferDescription.toLowerCase().includes(lowerQuery) || | ||
this.registrations.find(r => r.member.details && r.member.details.matchQuery(query))) { | ||
return true; | ||
} | ||
return false; | ||
} | ||
} | ||
@@ -14,0 +22,0 @@ tslib_1.__decorate([ |
@@ -6,3 +6,4 @@ import { Payment } from './Payment'; | ||
getMemberNames(): string; | ||
matchQuery(query: string): boolean; | ||
} | ||
//# sourceMappingURL=PaymentDetailed.d.ts.map |
@@ -9,2 +9,10 @@ import { __decorate } from "tslib"; | ||
} | ||
matchQuery(query) { | ||
const lowerQuery = query.toLowerCase(); | ||
if (this.transferDescription && this.transferDescription.toLowerCase().includes(lowerQuery) || | ||
this.registrations.find(r => r.member.details && r.member.details.matchQuery(query))) { | ||
return true; | ||
} | ||
return false; | ||
} | ||
} | ||
@@ -11,0 +19,0 @@ __decorate([ |
{ | ||
"name": "@stamhoofd/structures", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"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
316915
4491