Merge pull request #32996 from konne/fixEngineAPIErrors

Fix engine api missing fields
This commit is contained in:
Mine Starks
2019-02-12 15:52:41 -08:00
committed by GitHub
+12 -2
View File
@@ -392,6 +392,11 @@ declare namespace EngineAPI {
* Array of dimension labels.
*/
qFieldLabels: string[];
/**
* no docu
*/
qLabelExpression: string;
}
/**
@@ -4812,6 +4817,11 @@ declare namespace EngineAPI {
* Information about the selections.
*/
qSelectionInfo: INxSelectionInfo;
/**
* Name of the alternate state. Default is current selections $ .
*/
qStateName: string;
}
/**
@@ -7084,7 +7094,7 @@ declare namespace EngineAPI {
* Note: If no app is opened, an error message is returned:
* For example code: 1007 and No active document and App invalid
*/
getActiveDoc(): Promise<IApp | string>; // ?Result
getActiveDoc(): Promise<IApp>; // ?Result
/**
* Retrieves the meta data of an app.
@@ -7230,7 +7240,7 @@ declare namespace EngineAPI {
* >> Default is all groups.
* @returns A Promise <Function> or undefined
*/
getFunctions(qGroup?: FunctionGroupType): Promise<IFunction | undefined>;
getFunctions(qGroup?: FunctionGroupType): Promise<IFunction[]>;
/**
* Retrieves information on the user interaction that is requested by the engine.