Comparing version 0.3.8 to 0.3.9
@@ -1,2 +0,2 @@ | ||
export { Field, FieldsMetadata, Entity, EntityBase, FieldRef, Fields, EntityMetadata, EntityOrderBy, EntityFilter, OptionsFactory, FindOptions, IterableResult, IterateOptions, Repository, FieldType, FindFirstOptions, ComparisonFilterFactory, FilterFactories, FilterFactory, getFields, EntityRef, getEntityRef, SortSegments, ContainsFilterFactory, ValueListFieldType, DateOnlyField, IntegerField, CaptionTransformer } from './src/remult3'; | ||
export { Field, FieldsMetadata, Entity, EntityBase, FieldRef, Fields, EntityMetadata, EntityOrderBy, EntityFilter, FindOptions, IterableResult, IterateOptions, Repository, FieldType, FindFirstOptions, ComparisonFilterFactory, FilterFactories, FilterFactory, getFields, EntityRef, getEntityRef, SortSegments, ContainsFilterFactory, ValueListFieldType, DateOnlyField, IntegerField, CaptionTransformer } from './src/remult3'; | ||
export { EntityOptions } from './src/entity'; | ||
@@ -3,0 +3,0 @@ export { DataProvider, EntityDataProvider, EntityDataProviderFindOptions, ErrorInfo, RestDataProviderHttpProvider } from './src/data-interfaces'; |
{ | ||
"name": "remult", | ||
"version": "0.3.8", | ||
"version": "0.3.9", | ||
"description": "remult core lib", | ||
@@ -5,0 +5,0 @@ "homepage": "https://remult.github.io/", |
@@ -201,2 +201,3 @@ "use strict"; | ||
var _this = this; | ||
val = this.processVal(val); | ||
return new Filter(function (add) { return add.isLessThan(_this.metadata, val); }); | ||
@@ -206,2 +207,3 @@ }; | ||
var _this = this; | ||
val = this.processVal(val); | ||
return new Filter(function (add) { return add.isGreaterOrEqualTo(_this.metadata, val); }); | ||
@@ -216,3 +218,3 @@ }; | ||
var v = values_1_1.value; | ||
add.isDifferentFrom(_this.metadata, v); | ||
add.isDifferentFrom(_this.metadata, _this.processVal(v)); | ||
} | ||
@@ -238,2 +240,3 @@ } | ||
var _this = this; | ||
val = this.processVal(val); | ||
return new Filter(function (add) { return add.isLessOrEqualTo(_this.metadata, val); }); | ||
@@ -243,2 +246,3 @@ }; | ||
var _this = this; | ||
val = this.processVal(val); | ||
return new Filter(function (add) { return add.isGreaterThan(_this.metadata, val); }); | ||
@@ -245,0 +249,0 @@ }; |
@@ -13,3 +13,3 @@ import { FieldMetadata, FieldOptions, ValueListItem } from "../column-interfaces"; | ||
private dataProvider; | ||
createAfterFilter(orderBy: EntityOrderBy<entityType>, lastRow: entityType): EntityFilter<entityType>; | ||
createAfterFilter(orderBy: EntityOrderBy<entityType>, lastRow: entityType): Promise<EntityFilter<entityType>>; | ||
private _info; | ||
@@ -170,7 +170,7 @@ private __edp; | ||
} | ||
export declare function FieldType<valueType = any>(...options: OptionsFactory<FieldOptions<any, valueType>>): (target: any) => any; | ||
export declare function DateOnlyField<entityType = any>(...options: OptionsFactory<FieldOptions<entityType, Date>>): (target: any, key: any, c?: any) => void; | ||
export declare function IntegerField<entityType = any>(...options: OptionsFactory<FieldOptions<entityType, Number>>): (target: any, key: any, c?: any) => void; | ||
export declare function ValueListFieldType<entityType = any, valueType extends ValueListItem = any>(type: ClassType<valueType>, ...options: OptionsFactory<FieldOptions<entityType, valueType>>): (target: any) => any; | ||
export declare function Field<entityType = any, valueType = any>(...options: OptionsFactory<FieldOptions<entityType, valueType>>): (target: any, key: any, c?: any) => void; | ||
export declare function FieldType<valueType = any>(...options: (FieldOptions<any, valueType> | ((options: FieldOptions<any, valueType>, remult: Remult) => void))[]): (target: any) => any; | ||
export declare function DateOnlyField<entityType = any>(...options: (FieldOptions<entityType, Date> | ((options: FieldOptions<entityType, Date>, remult: Remult) => void))[]): (target: any, key: any, c?: any) => void; | ||
export declare function IntegerField<entityType = any>(...options: (FieldOptions<entityType, Number> | ((options: FieldOptions<entityType, Number>, remult: Remult) => void))[]): (target: any, key: any, c?: any) => void; | ||
export declare function ValueListFieldType<entityType = any, valueType extends ValueListItem = any>(type: ClassType<valueType>, ...options: (FieldOptions<entityType, valueType> | ((options: FieldOptions<entityType, valueType>, remult: Remult) => void))[]): (target: any) => any; | ||
export declare function Field<entityType = any, valueType = any>(...options: (FieldOptions<entityType, valueType> | ((options: FieldOptions<entityType, valueType>, remult: Remult) => void))[]): (target: any, key: any, c?: any) => void; | ||
export declare function decorateColumnSettings<valueType>(settings: FieldOptions<any, valueType>, remult: Remult): FieldOptions<any, valueType>; | ||
@@ -181,4 +181,3 @@ interface columnInfo { | ||
} | ||
export declare type OptionsFactory<optionsType> = (optionsType | ((options: optionsType, remult: Remult) => void))[]; | ||
export declare function Entity<entityType>(key: string, ...options: OptionsFactory<EntityOptions<entityType>>): (target: any) => any; | ||
export declare function Entity<entityType>(key: string, ...options: (EntityOptions | ((options: EntityOptions, remult: Remult) => void))[]): (target: any) => any; | ||
export declare class EntityBase { | ||
@@ -185,0 +184,0 @@ get _(): EntityRef<this>; |
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 too big to display
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
587524
8863