UNPKG

@odata2ts/odata-query-objects

Version:

Q-Objects are the magic sauce for the odata-query-builder and allow for renaming and type conversion

22 lines (21 loc) 1.41 kB
import { InputModel, QBasePath } from "../base/QBasePath"; export declare class QBigNumberPath<ConvertedType = string> extends QBasePath<string, ConvertedType> { protected formatValue(value: string): string; private createNewFunctionPath; private createNewOperationPath; plus(value: InputModel<this["converter"]>): QBigNumberPath<ConvertedType>; add: (value: InputModel<this["converter"]>) => QBigNumberPath<ConvertedType>; minus(value: InputModel<this["converter"]>): QBigNumberPath<ConvertedType>; sub: (value: InputModel<this["converter"]>) => QBigNumberPath<ConvertedType>; multiply(value: InputModel<this["converter"]>): QBigNumberPath<ConvertedType>; mul: (value: InputModel<this["converter"]>) => QBigNumberPath<ConvertedType>; divide(value: InputModel<this["converter"]>): QBigNumberPath<ConvertedType>; div: (value: InputModel<this["converter"]>) => QBigNumberPath<ConvertedType>; divideWithFraction(value: InputModel<this["converter"]>): QBigNumberPath<ConvertedType>; divBy: (value: InputModel<this["converter"]>) => QBigNumberPath<ConvertedType>; modulo(value: InputModel<this["converter"]>): QBigNumberPath<ConvertedType>; mod: (value: InputModel<this["converter"]>) => QBigNumberPath<ConvertedType>; ceiling(): QBigNumberPath<ConvertedType>; floor(): QBigNumberPath<ConvertedType>; round(): QBigNumberPath<ConvertedType>; }