Skip to content

Commit

Permalink
Merged PR 21750: Update version to 2.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-hamud committed Mar 13, 2019
1 parent 7497d15 commit 143631c
Show file tree
Hide file tree
Showing 6 changed files with 219 additions and 147 deletions.
45 changes: 38 additions & 7 deletions dist/powerbi-client.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*! powerbi-client v2.7.1 | (c) 2016 Microsoft Corporation MIT */
/*! powerbi-client v2.7.2 | (c) 2016 Microsoft Corporation MIT */
declare module "util" {
import { HttpPostMessage } from 'http-post-message';
/**
* Raises a custom event with event data on the specified HTML element.
*
Expand Down Expand Up @@ -62,6 +63,16 @@ declare module "util" {
* @returns {string}
*/
export function addParamToUrl(url: string, paramName: string, value: string): string;
/**
* Checks if the report is saved.
*
* @export
* @param {HttpPostMessage} hpm
* @param {string} uid
* @param {Window} contentWindow
* @returns {Promise<boolean>}
*/
export function isSavedInternal(hpm: HttpPostMessage, uid: string, contentWindow: Window): Promise<boolean>;
}
declare module "embed" {
import * as service from "service";
Expand Down Expand Up @@ -941,12 +952,22 @@ declare module "report" {
*/
refresh(): Promise<void>;
/**
* Apply a theme to the report
*
* ```javascript
* report.applyTheme(theme);
* ```
*/
* checks if the report is saved.
*
* ```javascript
* report.isSaved()
* ```
*
* @returns {Promise<boolean>}
*/
isSaved(): Promise<boolean>;
/**
* Apply a theme to the report
*
* ```javascript
* report.applyTheme(theme);
* ```
*/
applyTheme(theme: models.IReportTheme): Promise<void>;
/**
* Reset and apply the default theme of the report
Expand Down Expand Up @@ -983,6 +1004,16 @@ declare module "create" {
* @returns {void}
*/
populateConfig(baseConfig: embed.IEmbedConfigurationBase): void;
/**
* checks if the report is saved.
*
* ```javascript
* report.isSaved()
* ```
*
* @returns {Promise<boolean>}
*/
isSaved(): Promise<boolean>;
/**
* Adds the ability to get datasetId from url.
* (e.g. http://embedded.powerbi.com/appTokenReportEmbed?datasetId=854846ed-2106-4dc2-bc58-eb77533bf2f1).
Expand Down
Loading

0 comments on commit 143631c

Please sign in to comment.