@gooddata/typings
Advanced tools
Comparing version 0.0.1-vaclavbohac-init-2017-10-25T07-26-58-606Z to 0.0.1-vaclavbohac-init-2017-10-30T12-44-47-443Z
@@ -88,5 +88,5 @@ export declare namespace AFM { | ||
interface ITotalItem { | ||
measureIdentifiler: Identifier; | ||
measureIdentifier: Identifier; | ||
type: TotalType; | ||
attributeIdentifiers: Identifier[]; | ||
attributeIdentifier: Identifier; | ||
} | ||
@@ -158,3 +158,2 @@ type TotalType = 'sum' | 'avg' | 'max' | 'min' | 'nat' | 'med'; | ||
uri: string; | ||
identifier: string; | ||
name: string; | ||
@@ -169,3 +168,2 @@ }; | ||
name: string; | ||
items: IAttributeHeaderItem[]; | ||
totalItems?: ITotalHeaderItem[]; | ||
@@ -178,3 +176,2 @@ }; | ||
headers: Header[]; | ||
totalData?: any; | ||
} | ||
@@ -184,3 +181,3 @@ interface IExecutionResponse { | ||
links: { | ||
uri: string; | ||
dataResult: string; | ||
}; | ||
@@ -190,8 +187,16 @@ dimensions: IResultDimension[]; | ||
} | ||
type DataValue = null | string | number; | ||
interface IExecutionResult { | ||
executionResult: { | ||
data: string[][] | string[]; | ||
attributeHeaderItems?: IAttributeHeaderItem[][][]; | ||
data: DataValue[][] | DataValue[]; | ||
totals?: DataValue[][][]; | ||
paging: { | ||
count: number[]; | ||
offset: number[]; | ||
total: number[]; | ||
}; | ||
}; | ||
} | ||
interface IExecution { | ||
interface IExecutionResponses { | ||
executionResponse: IExecutionResponse; | ||
@@ -198,0 +203,0 @@ executionResult: IExecutionResult; |
22
index.ts
@@ -109,5 +109,5 @@ export namespace AFM { | ||
export interface ITotalItem { | ||
measureIdentifiler: Identifier; | ||
measureIdentifier: Identifier; | ||
type: TotalType; | ||
attributeIdentifiers: Identifier[]; | ||
attributeIdentifier: Identifier; | ||
} | ||
@@ -206,3 +206,2 @@ | ||
uri: string; | ||
identifier: string; | ||
name: string; | ||
@@ -218,3 +217,2 @@ } | ||
name: string; | ||
items: IAttributeHeaderItem[]; | ||
totalItems?: ITotalHeaderItem[]; | ||
@@ -229,3 +227,2 @@ } | ||
headers: Header[]; | ||
totalData?: any; | ||
} | ||
@@ -236,3 +233,3 @@ | ||
links: { | ||
uri: string; | ||
dataResult: string; | ||
}; | ||
@@ -243,9 +240,18 @@ dimensions: IResultDimension[]; | ||
export type DataValue = null | string | number; | ||
export interface IExecutionResult { | ||
executionResult: { | ||
data: string[][] | string[]; | ||
attributeHeaderItems?: IAttributeHeaderItem[][][]; | ||
data: DataValue[][] | DataValue[]; | ||
totals?: DataValue[][][]; | ||
paging: { | ||
count: number[]; | ||
offset: number[]; | ||
total: number[]; | ||
}; | ||
} | ||
} | ||
export interface IExecution { | ||
export interface IExecutionResponses { | ||
executionResponse: IExecutionResponse; | ||
@@ -252,0 +258,0 @@ executionResult: IExecutionResult; |
{ | ||
"name": "@gooddata/typings", | ||
"version": "0.0.1-vaclavbohac-init-2017-10-25T07-26-58-606Z", | ||
"version": "0.0.1-vaclavbohac-init-2017-10-30T12-44-47-443Z", | ||
"description": "TypeScript definition files for GoodData platform", | ||
@@ -5,0 +5,0 @@ "typings": "dist/index.d.ts", |
14873
432