powerbi-models
Advanced tools
Comparing version 1.11.0 to 1.12.0
@@ -1,2 +0,2 @@ | ||
// powerbi-models v1.11.0 | ||
// powerbi-models v1.12.0 | ||
// Copyright (c) Microsoft Corporation. | ||
@@ -296,2 +296,5 @@ // Licensed under the MIT License. | ||
} | ||
export interface IFilterGroupedColumnsTarget extends IFilterColumnTarget { | ||
groupedColumns: IFilterTarget[]; | ||
} | ||
export declare type IFilterKeyTarget = (IFilterKeyColumnsTarget | IFilterKeyHierarchyTarget); | ||
@@ -671,2 +674,68 @@ export declare type IFilterTarget = (IFilterColumnTarget | IFilterHierarchyTarget | IFilterMeasureTarget | INotSupportedFilterTarget | IFilterColumnAggrTarget | IFilterHierarchyAggrTarget); | ||
} | ||
export interface IQuickCreateConfiguration { | ||
type?: "quickCreate"; | ||
accessToken: string; | ||
groupId?: string; | ||
settings?: ISettings; | ||
tokenType?: TokenType; | ||
theme?: IReportTheme; | ||
embedUrl?: string; | ||
datasetCreateConfig: IDatasetCreateConfiguration; | ||
reportCreationMode?: ReportCreationMode; | ||
eventHooks?: EventHooks; | ||
} | ||
export interface IDatasetCreateConfiguration { | ||
mashupDocument?: string; | ||
locale: string; | ||
datasourceConnectionConfig?: IDatasourceConnectionConfiguration; | ||
tableSchemaList?: ITableSchema[]; | ||
data?: IDataTable[]; | ||
} | ||
export declare enum ICredentialType { | ||
NoConnection = 0, | ||
OnBehalfOf = 1, | ||
Anonymous = 2 | ||
} | ||
export interface IDatasourceConnectionConfiguration { | ||
path: string; | ||
kind: string; | ||
dataCacheMode?: DataCacheMode; | ||
credentials?: ICredential; | ||
} | ||
export interface ICredential { | ||
credentialType: ICredentialType; | ||
credentialDetails?: { | ||
[property: string]: string; | ||
}; | ||
} | ||
export declare enum DataCacheMode { | ||
Import = 0, | ||
DirectQuery = 1 | ||
} | ||
export interface ITableSchema { | ||
name: string; | ||
columns: IColumnSchema[]; | ||
} | ||
export interface IColumnSchema { | ||
name: string; | ||
dataType: DataType; | ||
} | ||
export declare const enum DataType { | ||
Number = "Number", | ||
Currency = "Currency", | ||
Int32 = "Int32", | ||
Percentage = "Percentage", | ||
DateTime = "DateTime", | ||
DateTimeZone = "DateTimeZone", | ||
Date = "Date", | ||
Time = "Time", | ||
Duration = "Duration", | ||
Text = "Text", | ||
Logical = "Logical", | ||
Binary = "Binary" | ||
} | ||
export interface IDataTable { | ||
name: string; | ||
rows: string[][]; | ||
} | ||
/** | ||
@@ -699,2 +768,6 @@ * @deprecated | ||
} | ||
export declare const enum ReportCreationMode { | ||
Default = "Default", | ||
QuickExplore = "QuickExplore" | ||
} | ||
export interface ISettings { | ||
@@ -724,5 +797,8 @@ authoringHintsEnabled?: boolean; | ||
actionBar?: IActionBar; | ||
statusBar?: IStatusBar; | ||
} | ||
export interface IActionBar extends IHideable { | ||
} | ||
export interface IStatusBar extends IHideable { | ||
} | ||
export interface IReportPanes extends IPanes { | ||
@@ -1075,2 +1151,3 @@ bookmarks?: IBookmarksPane; | ||
export declare function validateCreateReport(input: any): IError[]; | ||
export declare function validateQuickCreate(input: any): IError[]; | ||
export declare function validateDashboardLoad(input: any): IError[]; | ||
@@ -1077,0 +1154,0 @@ export declare function validateTileLoad(input: any): IError[]; |
{ | ||
"name": "powerbi-models", | ||
"version": "1.11.0", | ||
"version": "1.12.0", | ||
"description": "Contains JavaScript & TypeScript object models for Microsoft Power BI JavaScript SDK. For each model there is a TypeScript interface, and a validation function to ensure and object is valid.", | ||
@@ -5,0 +5,0 @@ "main": "dist/models.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
686340
6331