UNPKG

ts-odata-client

Version:
13 lines (12 loc) 752 B
import type { ODataV4Options } from "./ODataV4QueryProvider"; import { ODataContext } from "./ODataContext"; import type { ExcludeProperties } from "./ExcludeProperties"; /** * Base ODataContext class; use this class as a base for communicating with services that are compatible with OData v4. * This context uses the fetch library; if the runtime environment does not support fetch, please use a polyfill. */ export declare abstract class ODataV4Context extends ODataContext { protected options?: Partial<ODataV4Options> | undefined; constructor(basePath: string, options?: Partial<ODataV4Options> | undefined); protected createQuery<T, U = ExcludeProperties<T, unknown[]>>(endpoint: string): import("./ODataQuery").ODataQuery<T, U>; }