fix small issues

This commit is contained in:
Konrad Mattheis
2017-11-11 20:47:50 +01:00
parent f4b539d953
commit 0d5a1ef269
2 changed files with 26 additions and 4 deletions
+1 -1
View File
@@ -6911,7 +6911,7 @@ declare namespace EngineAPI {
* This class describes all the methods that apply at global level.
* The handle member in the JSON request for all methods listed in this section is -1.
*/
interface IGlobal {
interface IGlobal extends enigmaJS.IGeneratedAPI {
/**
* Sets an abort flag on all pending and ongoing requests in the current engine session.
* If an abort flag is set on a pending request, the request is aborted.
+25 -3
View File
@@ -2566,8 +2566,33 @@ declare module "qvangular" {
export = e;
}
/**
* This section is added because the Qlik Sense Client after > 3.2 contains a engineapi
* an this makes the handling more fluent for users of that files.
*/
declare namespace enigmaJS {
interface IGeneratedAPI {
/**
* This property contains the unique identifier for this API.
*/
id: string;
/**
* This property contains the schema class name for this API.
*/
type: string;
/**
* Despite the name, this property corresponds to the qInfo.qType property on your generic object's properties object.
*/
genericType: string;
/**
* This property contains the handle QIX Engine assigned to the API.
* Used internally in enigma.js for caches and JSON-RPC
*/
handle: number;
/**
* register a function for events
* @param event - function called if this event occures
@@ -2580,8 +2605,5 @@ declare namespace enigmaJS {
* @param event - event that occures
*/
emit(event: "changed" | "closed"): void;
// ? not in Docu
id: string;
}
}