Skip to content

Instantly share code, notes, and snippets.

@dan-silver
Created May 31, 2017 16:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dan-silver/993ac94db05847cb2f4369259c8f7568 to your computer and use it in GitHub Desktop.
Save dan-silver/993ac94db05847cb2f4369259c8f7568 to your computer and use it in GitHub Desktop.
// https://github.com/microsoftgraph/microsoft-graph-explorer/blob/master/src/app/base.ts
export type AuthenticationStatus = "anonymous" | "authenticating" | "authenticated";
export type RequestType = "GET" | "PUT" | "POST" | "GET_BINARY" | "POST" | "PATCH" | "DELETE";
export interface GraphApiCall {
statusCode?: number
duration?: number
method?: RequestType
humanName?: string
requestUrl?: string
postBody?: string
headers?: GraphRequestHeader[]
requestSentAt?: Date
relativeDate?: string
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment