powerbi-visuals-api
Advanced tools
Comparing version 4.6.0 to 4.7.0
@@ -131,2 +131,12 @@ declare namespace powerbi { | ||
} | ||
export const enum DrillType { | ||
Up = 1, | ||
/** Grouping becomes the union of the current grouping and the next level in the hierarchy / Provides behavior of drilling down on a data point when used with a datapoint. */ | ||
Down = 2, | ||
/** Grouping becomes the next level in the hierarchy exclusively. Current level grouping is dropped. */ | ||
MoveToNextlevel = 3, | ||
} | ||
} | ||
@@ -377,4 +387,11 @@ | ||
dataReduction?: DataViewReductionMetadata; | ||
/** Contains metadata about the dataRoles */ | ||
dataRoles?: DataRolesInfo; | ||
} | ||
export interface DataRolesInfo { | ||
drillableRoles?: powerbi.DrillableRoles; | ||
} | ||
export interface DataViewMetadataColumn { | ||
@@ -729,2 +746,23 @@ /** The user-facing display name of the column. */ | ||
export type PrimitiveValueRange = ValueRange<PrimitiveValue>; | ||
export interface DrillableRoles { | ||
[role: string]: DrillType[]; | ||
} | ||
export interface DrillUpArgs { | ||
roleName: string; | ||
drillType: DrillType.Up; | ||
} | ||
export interface DrillMoveNextLevelArgs { | ||
roleName: string; | ||
drillType: DrillType.MoveToNextlevel; | ||
} | ||
export interface DrillDownArgs { | ||
roleName: string; | ||
drillType: DrillType.Down; | ||
} | ||
export type DrillArgs = DrillUpArgs | DrillDownArgs | DrillMoveNextLevelArgs; | ||
} | ||
@@ -1643,2 +1681,3 @@ | ||
webAccessService: IWebAccessService; | ||
drill: (args: DrillArgs) => void; | ||
} | ||
@@ -1645,0 +1684,0 @@ |
{ | ||
"name": "powerbi-visuals-api", | ||
"version": "4.6.0", | ||
"version": "4.7.0", | ||
"description": "Power BI Custom Visuals API type definitions for typescript", | ||
@@ -5,0 +5,0 @@ "types": "index", |
132351
3090