Skip to content

Commit 4dd76f7

Browse files
committed
2.1.1
1 parent 01f1216 commit 4dd76f7

17 files changed

+2444
-2345
lines changed

dist/config.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! powerbi-client v2.1.0 | (c) 2016 Microsoft Corporation MIT */
1+
/*! powerbi-client v2.1.1 | (c) 2016 Microsoft Corporation MIT */
22
declare const config: {
33
version: string;
44
type: string;

dist/dashboard.d.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/*! powerbi-client v2.1.0 | (c) 2016 Microsoft Corporation MIT */
1+
/*! powerbi-client v2.1.1 | (c) 2016 Microsoft Corporation MIT */
22
import * as service from './service';
33
import * as embed from './embed';
4+
import * as models from 'powerbi-models';
45
/**
56
* A Dashboard node within a dashboard hierarchy
67
*
@@ -50,4 +51,8 @@ export declare class Dashboard extends embed.Embed implements IDashboardNode {
5051
* @returns {string}
5152
*/
5253
getId(): string;
54+
/**
55+
* Validate load configuration.
56+
*/
57+
validate(config: models.IDashboardLoadConfiguration): models.IError[];
5358
}

dist/embed.d.ts

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! powerbi-client v2.1.0 | (c) 2016 Microsoft Corporation MIT */
1+
/*! powerbi-client v2.1.1 | (c) 2016 Microsoft Corporation MIT */
22
import * as service from './service';
33
import * as models from 'powerbi-models';
44
declare global {
@@ -27,7 +27,7 @@ export interface IEmbedConfiguration {
2727
pageName?: string;
2828
filters?: models.IFilter[];
2929
}
30-
export interface IInternalEmbedConfiguration extends models.ILoadConfiguration {
30+
export interface IInternalEmbedConfiguration extends models.IReportLoadConfiguration {
3131
uniqueId: string;
3232
type: string;
3333
embedUrl: string;
@@ -82,6 +82,10 @@ export declare abstract class Embed {
8282
* @type {IInternalEmbedConfiguration}
8383
*/
8484
config: IInternalEmbedConfiguration;
85+
/**
86+
* Url used in the load request.
87+
*/
88+
loadPath: string;
8589
/**
8690
* Creates an instance of Embed.
8791
*
@@ -117,7 +121,7 @@ export declare abstract class Embed {
117121
* @param {models.ILoadConfiguration} config
118122
* @returns {Promise<void>}
119123
*/
120-
load(config: models.ILoadConfiguration): Promise<void>;
124+
load(config: models.IReportLoadConfiguration | models.IDashboardLoadConfiguration): Promise<void>;
121125
/**
122126
* Removes one or more event handlers from the list of handlers.
123127
* If a reference to the existing handle function is specified, remove the specific handler.
@@ -210,4 +214,8 @@ export declare abstract class Embed {
210214
* @returns {boolean}
211215
*/
212216
private isFullscreen(iframe);
217+
/**
218+
* Validate load configuration.
219+
*/
220+
abstract validate(config: models.IReportLoadConfiguration | models.IDashboardLoadConfiguration): models.IError[];
213221
}

dist/factories.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! powerbi-client v2.1.0 | (c) 2016 Microsoft Corporation MIT */
1+
/*! powerbi-client v2.1.1 | (c) 2016 Microsoft Corporation MIT */
22
/**
33
* TODO: Need to find better place for these factory functions or refactor how we handle dependency injection
44
*/

dist/ifilterable.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! powerbi-client v2.1.0 | (c) 2016 Microsoft Corporation MIT */
1+
/*! powerbi-client v2.1.1 | (c) 2016 Microsoft Corporation MIT */
22
import * as models from 'powerbi-models';
33
/**
44
* Decorates embed components that support filters

dist/page.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! powerbi-client v2.1.0 | (c) 2016 Microsoft Corporation MIT */
1+
/*! powerbi-client v2.1.1 | (c) 2016 Microsoft Corporation MIT */
22
import { IFilterable } from './ifilterable';
33
import { IReportNode } from './report';
44
import { Visual } from './visual';

dist/powerbi.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! powerbi-client v2.1.0 | (c) 2016 Microsoft Corporation MIT */
1+
/*! powerbi-client v2.1.1 | (c) 2016 Microsoft Corporation MIT */
22
import * as service from './service';
33
import * as factories from './factories';
44
import * as models from 'powerbi-models';

0 commit comments

Comments
 (0)