Type aliases
BatchPlainODataResponse
Batch
PlainODataResponse<E>: PlainODataResponse & { d?: { __count?: string; results?: Array<E> } & E }
Type parameters
BatchRequests
BatchResponses
Type parameters
DeepPartial
Deep
Partial<T>: {[ P in keyof T]: T[P] extends Array<infer U> ? Array<DeepPartial<U>> : T[P] extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : DeepPartial<T[P]> }
Type parameters
FetchProxy
FetchProxy: (url: string, init: RequestInit) => Promise<{ content: any; response: Response }>
Type declaration
-
- (url: string, init: RequestInit): Promise<{ content: any; response: Response }>
-
Parameters
-
url: string
-
init: RequestInit
Returns Promise<{ content: any; response: Response }>
HTTPMethod
HTTPMethod: "GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "PATCH"
ODataVariant
ODataVariant: "default" | "c4c" | "byd" | "cap" | "cpi" | "@odata/server"
PlainODataSingleResponse
Type parameters
UnwrapBatchRequest
Unwrap
BatchRequest<T>: T extends BatchRequest<infer U> ? U : T
Type parameters
UnwrapParsedResponse
Type parameters
UnwrapPromise
UnwrapPromise<T>: T extends PromiseLike<infer U> ? U : T
Type parameters
Same as Partial but goes deeper and makes Partial all its properties and sub-properties.