@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) • 419 B
TypeScript
import { QueryObject } from "../QueryObject";
import { QEntityPathModel } from "./QPathModel";
export declare class QEntityPath<Q extends QueryObject> implements QEntityPathModel<Q> {
private path;
private qEntityFn;
constructor(path: string, qEntityFn: () => new (prefix?: string) => Q);
getPath(): string;
getEntity(withPrefix?: boolean): Q;
isCollectionType(): boolean;
get props(): Q;
}