Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6,291 changes: 3,415 additions & 2,876 deletions lib/graph-js-sdk-web.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions lib/spec/core/responseHandling.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import 'isomorphic-fetch';
65 changes: 28 additions & 37 deletions lib/spec/core/responseHandling.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/spec/core/responseHandling.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions lib/src/GraphHelper.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export declare class GraphHelper {
static serializeContent(content: any): any;
}
44 changes: 44 additions & 0 deletions lib/src/GraphHelper.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/src/GraphHelper.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 9 additions & 7 deletions lib/src/GraphRequest.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Promise } from 'es6-promise';
import 'isomorphic-fetch';
import { Options, URLComponents, GraphRequestCallback } from "./common";
export declare class GraphRequest {
config: Options;
Expand All @@ -16,9 +17,9 @@ export declare class GraphRequest {
private urlJoin(urlSegments);
buildFullUrl(): string;
version(v: string): GraphRequest;
select(properties: string | [string]): GraphRequest;
expand(properties: string | [string]): GraphRequest;
orderby(properties: string | [string]): GraphRequest;
select(properties: string | string[]): GraphRequest;
expand(properties: string | string[]): GraphRequest;
orderby(properties: string | string[]): GraphRequest;
filter(filterStr: string): GraphRequest;
top(n: number): GraphRequest;
skip(n: number): GraphRequest;
Expand All @@ -34,14 +35,15 @@ export declare class GraphRequest {
update(content: any, callback?: GraphRequestCallback): Promise<any>;
del(callback?: GraphRequestCallback): Promise<any>;
get(callback?: GraphRequestCallback): Promise<any>;
private routeResponseToPromise(requestBuilder);
private routeResponseToCallback(requestBuilder, callback);
private sendRequestAndRouteResponse(requestBuilder, callback?);
private routeResponseToPromise(request);
private routeResponseToCallback(request, callback);
private sendRequestAndRouteResponse(request, callback?);
getStream(callback: GraphRequestCallback): void;
putStream(stream: any, callback: Function): void;
private configureRequest(requestBuilder, accessToken);
private configureRequest(request, accessToken);
query(queryDictionaryOrString: string | {
[key: string]: string | number;
}): GraphRequest;
private createQueryString();
private convertResponseType(response);
}
Loading