Skip to content

Commit 143631c

Browse files
committed
Merged PR 21750: Update version to 2.7.2
1 parent 7497d15 commit 143631c

File tree

6 files changed

+219
-147
lines changed

6 files changed

+219
-147
lines changed

dist/powerbi-client.d.ts

+38-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
/*! powerbi-client v2.7.1 | (c) 2016 Microsoft Corporation MIT */
1+
/*! powerbi-client v2.7.2 | (c) 2016 Microsoft Corporation MIT */
22
declare module "util" {
3+
import { HttpPostMessage } from 'http-post-message';
34
/**
45
* Raises a custom event with event data on the specified HTML element.
56
*
@@ -62,6 +63,16 @@ declare module "util" {
6263
* @returns {string}
6364
*/
6465
export function addParamToUrl(url: string, paramName: string, value: string): string;
66+
/**
67+
* Checks if the report is saved.
68+
*
69+
* @export
70+
* @param {HttpPostMessage} hpm
71+
* @param {string} uid
72+
* @param {Window} contentWindow
73+
* @returns {Promise<boolean>}
74+
*/
75+
export function isSavedInternal(hpm: HttpPostMessage, uid: string, contentWindow: Window): Promise<boolean>;
6576
}
6677
declare module "embed" {
6778
import * as service from "service";
@@ -941,12 +952,22 @@ declare module "report" {
941952
*/
942953
refresh(): Promise<void>;
943954
/**
944-
* Apply a theme to the report
945-
*
946-
* ```javascript
947-
* report.applyTheme(theme);
948-
* ```
949-
*/
955+
* checks if the report is saved.
956+
*
957+
* ```javascript
958+
* report.isSaved()
959+
* ```
960+
*
961+
* @returns {Promise<boolean>}
962+
*/
963+
isSaved(): Promise<boolean>;
964+
/**
965+
* Apply a theme to the report
966+
*
967+
* ```javascript
968+
* report.applyTheme(theme);
969+
* ```
970+
*/
950971
applyTheme(theme: models.IReportTheme): Promise<void>;
951972
/**
952973
* Reset and apply the default theme of the report
@@ -983,6 +1004,16 @@ declare module "create" {
9831004
* @returns {void}
9841005
*/
9851006
populateConfig(baseConfig: embed.IEmbedConfigurationBase): void;
1007+
/**
1008+
* checks if the report is saved.
1009+
*
1010+
* ```javascript
1011+
* report.isSaved()
1012+
* ```
1013+
*
1014+
* @returns {Promise<boolean>}
1015+
*/
1016+
isSaved(): Promise<boolean>;
9861017
/**
9871018
* Adds the ability to get datasetId from url.
9881019
* (e.g. http://embedded.powerbi.com/appTokenReportEmbed?datasetId=854846ed-2106-4dc2-bc58-eb77533bf2f1).

0 commit comments

Comments
 (0)