Skip to content

Commit 1e0fe63

Browse files
author
Matt Mazzola
committed
Update distribution files
1 parent cdb15f0 commit 1e0fe63

4 files changed

Lines changed: 352 additions & 88 deletions

File tree

‎dist/powerbi.d.ts‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,14 @@ export interface IRouterFactory {
3636
export interface IPowerBiElement extends HTMLElement {
3737
powerBiEmbed: embed.Embed;
3838
}
39-
export interface IPowerBiConfiguration {
40-
autoEmbedOnContentLoaded?: boolean;
41-
onError?: (error: any) => any;
39+
export interface IDebugOptions {
4240
logMessages?: boolean;
4341
wpmpName?: string;
42+
eventSourceOverrideWindow?: Window;
43+
}
44+
export interface IServiceConfiguration extends IDebugOptions {
45+
autoEmbedOnContentLoaded?: boolean;
46+
onError?: (error: any) => any;
4447
}
4548
export declare class PowerBi {
4649
/**
@@ -72,7 +75,7 @@ export declare class PowerBi {
7275
private hpmFactory;
7376
wpmp: wpmp.WindowPostMessageProxy;
7477
private router;
75-
constructor(hpmFactory: IHpmFactory, wpmpFactory: IWpmpFactory, routerFactory: IRouterFactory, config?: IPowerBiConfiguration);
78+
constructor(hpmFactory: IHpmFactory, wpmpFactory: IWpmpFactory, routerFactory: IRouterFactory, config?: IServiceConfiguration);
7679
/**
7780
* Handler for DOMContentLoaded which searches DOM for elements having 'powerbi-embed-url' attribute
7881
* and automatically attempts to embed a powerbi component based on information from the attributes.

0 commit comments

Comments
 (0)