Merged PR 21517: Add createVisual Request and Response
Add createVisual Request and Response
This commit is contained in:
Родитель
d970b37c43
Коммит
9abf56eca7
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "powerbi-models",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"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.",
|
||||
"main": "dist/models.js",
|
||||
"typings": "dist/models.d.ts",
|
||||
|
|
|
@ -880,7 +880,15 @@ export interface IExportDataRequest {
|
|||
export interface IExportDataResult {
|
||||
data: string;
|
||||
}
|
||||
|
||||
export interface ICreateVisualRequest {
|
||||
visualType: string;
|
||||
layout?: IVisualLayout;
|
||||
}
|
||||
export interface IVisualResponse {
|
||||
visual: IVisual;
|
||||
}
|
||||
export interface ICreateVisualResponse extends IVisualResponse {
|
||||
}
|
||||
export interface ICloneVisualRequest {
|
||||
// The filters which will be applied to the new visual. Default: source visual filters.
|
||||
filters?: IFilter[];
|
||||
|
@ -890,7 +898,7 @@ export interface ICloneVisualRequest {
|
|||
layout?: IVisualLayout;
|
||||
}
|
||||
|
||||
export interface ICloneVisualResponse {
|
||||
export interface ICloneVisualResponse extends IVisualResponse {
|
||||
// New visual name
|
||||
visualName: string;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче