powerbi-visuals-api
Advanced tools
Comparing version 3.5.1 to 3.6.0
# Change Log - Power BI Custom Visuals API | ||
## 3.6.0 | ||
* `supportsEmptyDataView` : added the "supportsEmptyDataView" as a capability, enables visuals to receive formatting properties even if they don't have any data roles. | ||
## 3.5.1 | ||
@@ -4,0 +7,0 @@ * `VisualEnumerationInstanceKinds` : add enum to support different formatting types |
@@ -1377,5 +1377,14 @@ declare namespace powerbi { | ||
declare module powerbi { | ||
export interface AuthenticationToken { | ||
payload: string; | ||
resourceUrl:string; | ||
} | ||
} | ||
declare module powerbi.extensibility { | ||
export interface IAuthenticationService { | ||
getAADToken(visualId?: string): IPromise<string>; | ||
getResourceUrl(visualId?: string): IPromise<string>; | ||
getAADAuthenticationToken(visualId?: string): IPromise<powerbi.AuthenticationToken>; | ||
} | ||
@@ -1382,0 +1391,0 @@ } |
{ | ||
"name": "powerbi-visuals-api", | ||
"version": "3.5.1", | ||
"version": "3.6.0", | ||
"description": "Power BI Custom Visuals API type definitions for typescript", | ||
@@ -5,0 +5,0 @@ "types": "index", |
@@ -54,2 +54,6 @@ { | ||
}, | ||
"supportsEmptyDataView": { | ||
"type": "boolean", | ||
"description": "Indicates whether the visual can receive formatting pane properties when it has no dataroles" | ||
}, | ||
"supportsMultiVisualSelection": { | ||
@@ -56,0 +60,0 @@ "type": "boolean", |
120799
2817