Options
All
  • Public
  • Public/Protected
  • All
Menu

Module types

Index

Type aliases

BatchPlainODataResponse

BatchPlainODataResponse<E>: PlainODataResponse & { d?: { __count?: string; results?: Array<E> } & E }

Type parameters

  • E = any

BatchRequests

BatchRequests: Array<Promise<BatchRequest>>

BatchResponses

BatchResponses<T>: Promise<{[ K in keyof T]: ParsedResponse<UnwrapBatchRequest<UnwrapPromise<T[K]>>> }>

Type parameters

  • T

DeepPartial

DeepPartial<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]> }

Same as Partial but goes deeper and makes Partial all its properties and sub-properties.

Type parameters

  • T

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

PlainODataSingleResponse<E>: { d?: { __count?: string } & E } & PlainODataResponse

Type parameters

  • E = any

UnwrapBatchRequest

UnwrapBatchRequest<T>: T extends BatchRequest<infer U> ? U : T

unwrap batch request

Type parameters

  • T

UnwrapParsedResponse

UnwrapParsedResponse<T>: T extends ParsedResponse<infer U> ? U : T

unwrap batch request

Type parameters

  • T

UnwrapPromise

UnwrapPromise<T>: T extends PromiseLike<infer U> ? U : T

unwrap Promise Type

Type parameters

  • T

Variables

Const SAPNetweaverOData

SAPNetweaverOData: string[] = ...

Generated using TypeDoc