@odata2ts/odata-query-objects
Version:
Q-Objects are the magic sauce for the odata-query-builder and allow for renaming and type conversion
16 lines (15 loc) • 796 B
TypeScript
import { QBasePath } from "../base/QBasePath";
import { identityFormatter } from "./IdentityFormatter";
import { QDatePath } from "./QDatePath";
import { QTimeOfDayPath } from "./QTimeOfDayPath";
export declare class QDateTimeOffsetPath<ConvertedType = string> extends QBasePath<string, ConvertedType> {
protected formatValue: typeof identityFormatter;
year: () => import("./QNumberPath").QNumberPath<number>;
month: () => import("./QNumberPath").QNumberPath<number>;
day: () => import("./QNumberPath").QNumberPath<number>;
hour: () => import("./QNumberPath").QNumberPath<number>;
minute: () => import("./QNumberPath").QNumberPath<number>;
second: () => import("./QNumberPath").QNumberPath<number>;
date(): QDatePath<string>;
time(): QTimeOfDayPath<string>;
}