1 | import { XhrModule } from "../xhr";
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | export 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 | }
|