UNPKG

1.7 kBTypeScriptView Raw
1import { XhrModule } from "../xhr";
2/**
3 * Module for execution on experimental execution resource
4 *
5 * @class execution
6 * @module execution
7 * @deprecated The module is in maintenance mode only (just the the compilation issues are being fixed when
8 * referenced utilities and interfaces are being changed) and is not being extended when AFM executor
9 * have new functionality added.
10 */
11export declare class ExperimentalExecutionsModule {
12 private xhr;
13 private loadAttributesMap;
14 constructor(xhr: XhrModule, loadAttributesMap: any);
15 /**
16 * For the given projectId it returns table structure with the given
17 * elements in column headers.
18 *
19 * @method getData
20 * @param {String} projectId - GD project identifier
21 * @param {Array} columns - An array of attribute or metric identifiers.
22 * @param {Object} executionConfiguration - Execution configuration - can contain for example
23 * property "where" containing query-like filters
24 * property "orderBy" contains array of sorted properties to order in form
25 * [{column: 'identifier', direction: 'asc|desc'}]
26 * @param {Object} settings - Supports additional settings accepted by the underlying
27 * xhr.ajax() calls
28 *
29 * @return {Object} Structure with `headers` and `rawData` keys filled with values from execution.
30 */
31 getData(projectId: string, columns: any[], executionConfiguration?: any, settings?: any): Promise<any>;
32 mdToExecutionDefinitionsAndColumns(projectId: string, mdObj: any, options?: {}): any;
33 private getAttributesMap;
34 private loadExtendedDataResults;
35}