@microsoft/mgt-element
Advanced tools
Comparing version
@@ -17,2 +17,4 @@ /** | ||
* @extends {MgtBaseComponent} | ||
* | ||
* @fires templateRendered - fires when a template is rendered | ||
*/ | ||
@@ -19,0 +21,0 @@ export declare abstract class MgtTemplatedComponent extends MgtBaseComponent { |
@@ -18,2 +18,4 @@ /** | ||
* @extends {MgtBaseComponent} | ||
* | ||
* @fires templateRendered - fires when a template is rendered | ||
*/ | ||
@@ -20,0 +22,0 @@ export class MgtTemplatedComponent extends MgtBaseComponent { |
@@ -80,6 +80,3 @@ /** | ||
const nextResource = this._nextLink.split(this._version)[1]; | ||
const response = yield this._graph | ||
.api(nextResource) | ||
.version(this._version) | ||
.get(); | ||
const response = yield this._graph.api(nextResource).version(this._version).get(); | ||
if (response && response.value && response.value.length) { | ||
@@ -86,0 +83,0 @@ this._value = this._value.concat(response.value); |
{ | ||
"name": "@microsoft/mgt-element", | ||
"version": "2.2.0-preview.8178bb8", | ||
"version": "2.2.0-preview.8efb6de", | ||
"description": "Microsoft Graph Toolkit base classes", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/microsoftgraph/microsoft-graph-toolkit", |
@@ -38,2 +38,4 @@ /** | ||
* @extends {MgtBaseComponent} | ||
* | ||
* @fires templateRendered - fires when a template is rendered | ||
*/ | ||
@@ -40,0 +42,0 @@ export abstract class MgtTemplatedComponent extends MgtBaseComponent { |
@@ -106,5 +106,3 @@ /** | ||
private static _eventDispatcher: EventDispatcher<ProvidersChangedState> = new EventDispatcher< | ||
ProvidersChangedState | ||
>(); | ||
private static _eventDispatcher: EventDispatcher<ProvidersChangedState> = new EventDispatcher<ProvidersChangedState>(); | ||
@@ -111,0 +109,0 @@ private static _globalProvider: IProvider; |
@@ -81,6 +81,3 @@ /** | ||
const nextResource = this._nextLink.split(this._version)[1]; | ||
const response = await this._graph | ||
.api(nextResource) | ||
.version(this._version) | ||
.get(); | ||
const response = await this._graph.api(nextResource).version(this._version).get(); | ||
if (response && response.value && response.value.length) { | ||
@@ -87,0 +84,0 @@ this._value = this._value.concat(response.value); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1010706
0.01%6990
-0.03%