UNPKG

@odata2ts/odata-query-objects

Version:

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

12 lines (11 loc) 344 B
import { ValueConverter } from "@odata2ts/converter-api"; export interface QPathModel { getPath(): string; } export interface QValuePathModel extends QPathModel { converter?: ValueConverter<any, any>; } export interface QEntityPathModel<Q> extends QPathModel { getEntity(withPrefix?: boolean): Q; isCollectionType(): boolean; }