UNPKG

@odata2ts/odata-query-objects

Version:

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

9 lines (8 loc) 505 B
import { ParamValueModel } from "@odata2ts/converter-api"; import { QParam } from "../QParam"; import { UrlExpressionValueModel, UrlValueModel } from "../UrlParamModel"; export declare class QStringNumberV2Param<ConvertedType = string> extends QParam<string, ConvertedType> { protected getTypeSuffix(): string | undefined; getUrlConformValue: (value: ParamValueModel<UrlExpressionValueModel>) => UrlValueModel; parseValueFromUrl: (urlConformValue: UrlValueModel) => ParamValueModel<string>; }