import { EntityBase } from '../entity-base' ; import { EdmTypeShared } from '../edm-types' ; import { Filter } from '../filter' ; import { DeSerializers } from '../de-serializers' ; import { EdmTypeField , FieldTypeByEdmType } from './edm-type-field' ; typeparam typeparam typeparam typeparam internal export class OrderableEdmTypeField < EntityT extends EntityBase , DeSerializersT extends DeSerializers , EdmT extends EdmTypeShared < 'any' > , NullableT extends boolean = false , SelectableT extends boolean = false > extends EdmTypeField < EntityT , DeSerializersT , EdmT , NullableT , SelectableT > { param value returns greaterThan ( value ) { return new Filter ( this . fieldPath ( ) , 'gt' , value , this . edmType ) ; } param value returns greaterOrEqual ( value ) { return new Filter ( this . fieldPath ( ) , 'ge' , value , this . edmType ) ; } param value returns lessThan ( value ) { return new Filter ( this . fieldPath ( ) , 'lt' , value , this . edmType ) ; } param value returns lessOrEqual ( value ) { return new Filter ( this . fieldPath ( ) , 'le' , value , this . edmType ) ; } }