Comparing version 0.1.18 to 0.1.19
{ | ||
"name": "remult", | ||
"version": "0.1.18", | ||
"version": "0.1.19", | ||
"description": "remult core lib", | ||
@@ -5,0 +5,0 @@ "homepage": "https://remult.github.io/", |
@@ -86,5 +86,5 @@ import { FieldMetadata } from "../column-interfaces"; | ||
export declare class CustomFilterBuilder<entityType, customFilterObject> { | ||
readonly translateFilter: (entityType: FilterFactories<entityType>, customFilter: customFilterObject, context: Context) => Filter | Promise<Filter>; | ||
constructor(translateFilter: (entityType: FilterFactories<entityType>, customFilter: customFilterObject, context: Context) => Filter | Promise<Filter>); | ||
readonly translateFilter: (entityType: FilterFactories<entityType>, customFilter: customFilterObject, context: Context) => Filter | Promise<Filter> | Promise<Filter[]>; | ||
constructor(translateFilter: (entityType: FilterFactories<entityType>, customFilter: customFilterObject, context: Context) => Filter | Promise<Filter> | Promise<Filter[]>); | ||
build(custom: customFilterObject): Filter; | ||
} |
@@ -499,2 +499,3 @@ "use strict"; | ||
var r; | ||
var _this = this; | ||
return tslib_1.__generator(this, function (_a) { | ||
@@ -506,3 +507,6 @@ switch (_a.label) { | ||
if (r) | ||
r.__applyToConsumer(this); | ||
if (Array.isArray(r)) | ||
r.forEach(function (x) { return x.__applyToConsumer(_this); }); | ||
else | ||
r.__applyToConsumer(this); | ||
return [2 /*return*/]; | ||
@@ -509,0 +513,0 @@ } |
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
576817
8750