@gooddata/typings
Advanced tools
Comparing version 0.0.1-vaclavbohac-init-2017-10-06T12-12-51-885Z to 0.0.1-vaclavbohac-init-2017-10-11T15-16-44-404Z
@@ -78,3 +78,3 @@ export namespace AFM { | ||
displayForm: ObjQualifier; | ||
in: string; | ||
in: string[]; | ||
}; | ||
@@ -86,3 +86,3 @@ } | ||
displayForm: ObjQualifier; | ||
notIn: string; | ||
notIn: string[]; | ||
}; | ||
@@ -163,1 +163,50 @@ } | ||
} | ||
export namespace Execution { | ||
export enum HeaderType { | ||
METRIC = 'metric', | ||
ATTRIBUTE = 'attribute' | ||
} | ||
export enum LabelType { | ||
METRIC = 'metric', | ||
ELEMENT = 'element' | ||
} | ||
export interface ILabel<T> { | ||
id: string; | ||
value: string; | ||
type: T; | ||
} | ||
export interface IMetricHeader { | ||
type: HeaderType.METRIC; | ||
uri: "metricGroup"; | ||
name: "metric"; | ||
labels: ILabel<LabelType.METRIC>[]; | ||
} | ||
export interface IAttributeHeader { | ||
type: HeaderType.ATTRIBUTE, | ||
uri: string; | ||
name: string; | ||
labels: ILabel<LabelType.ELEMENT>[]; | ||
} | ||
export type Header = IMetricHeader | IAttributeHeader; | ||
export interface IDimension { | ||
name: string; | ||
headers: Header[]; | ||
} | ||
export interface ITransformationResponse { | ||
transformationResponse: { | ||
dimensions: IDimension[]; | ||
data: string[][], | ||
size: number[] | ||
offset: number[], | ||
overallSize: number[] | ||
} | ||
} | ||
} |
{ | ||
"name": "@gooddata/typings", | ||
"version": "0.0.1-vaclavbohac-init-2017-10-06T12-12-51-885Z", | ||
"version": "0.0.1-vaclavbohac-init-2017-10-11T15-16-44-404Z", | ||
"description": "TypeScript definition files for GoodData platform", | ||
@@ -5,0 +5,0 @@ "typings": "index.d.ts", |
6041
174