Comparing version 0.3.6 to 0.3.7
{ | ||
"name": "remult", | ||
"version": "0.3.6", | ||
"version": "0.3.7", | ||
"description": "remult core lib", | ||
@@ -5,0 +5,0 @@ "homepage": "https://remult.github.io/", |
@@ -21,3 +21,2 @@ import { Sort } from './sort'; | ||
orderBy?: Sort; | ||
__customFindData?: any; | ||
} | ||
@@ -24,0 +23,0 @@ export interface RestDataProviderHttpProvider { |
@@ -115,4 +115,2 @@ "use strict"; | ||
url.add('_page', options.page); | ||
if (options.__customFindData) | ||
url.addObject(options.__customFindData); | ||
} | ||
@@ -119,0 +117,0 @@ if (filterObject) { |
@@ -128,12 +128,11 @@ "use strict"; | ||
_loop_1 = function (key) { | ||
var element_1, _a, _b; | ||
var element, _a, _b; | ||
return tslib_1.__generator(this, function (_c) { | ||
switch (_c.label) { | ||
case 0: | ||
if (!Object.prototype.hasOwnProperty.call(entity.entityType, key)) return [3 /*break*/, 2]; | ||
element_1 = entity.entityType[key]; | ||
if (!(element_1 && element_1.customFilterInfo && element_1.customFilterInfo.customFilterTranslator)) return [3 /*break*/, 2]; | ||
if (!custom[element_1.customFilterInfo.key]) return [3 /*break*/, 2]; | ||
element = entity.entityType[key]; | ||
if (!(element && element.customFilterInfo && element.customFilterInfo.customFilterTranslator)) return [3 /*break*/, 2]; | ||
if (!custom[element.customFilterInfo.key]) return [3 /*break*/, 2]; | ||
_b = (_a = r).push; | ||
return [4 /*yield*/, Filter.fromEntityFilter(filterFactories, function (f) { return element_1.customFilterInfo.customFilterTranslator(f, remult, custom[element_1.customFilterInfo.key]); })]; | ||
return [4 /*yield*/, Filter.fromEntityFilter(filterFactories, function (f) { return element.customFilterInfo.customFilterTranslator(f, remult, custom[element.customFilterInfo.key]); })]; | ||
case 1: | ||
@@ -140,0 +139,0 @@ _b.apply(_a, [_c.sent()]); |
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
585068
8846