2021-01-05 10:16:25 -08:00
|
|
|
export interface IData {
|
|
|
|
viewId: string;
|
|
|
|
dimensions?: IDimension[];
|
2021-06-25 06:51:02 -07:00
|
|
|
dimensionFilterClauses?: {
|
|
|
|
filters: IDimensionFilter[];
|
|
|
|
};
|
2021-01-05 10:16:25 -08:00
|
|
|
pageSize?: number;
|
|
|
|
metrics?: IMetric[];
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IDimension {
|
|
|
|
name?: string;
|
|
|
|
histogramBuckets?: string[];
|
|
|
|
}
|
|
|
|
|
2021-06-25 06:51:02 -07:00
|
|
|
export interface IDimensionFilter {
|
|
|
|
dimensionName?: string;
|
|
|
|
operator?: string;
|
|
|
|
expressions?: string[];
|
|
|
|
}
|
2021-01-05 10:16:25 -08:00
|
|
|
export interface IMetric {
|
|
|
|
expression?: string;
|
|
|
|
alias?: string;
|
|
|
|
formattingType?: string;
|
|
|
|
}
|