interface Query {
measures: (Member | MemberExpression | ParsedMemberExpression)[];
dimensions?: (Member | TimeMember | MemberExpression | ParsedMemberExpression)[];
filters?: (QueryFilter | LogicalAndFilter | LogicalOrFilter)[];
timeDimensions?: QueryTimeDimension[];
segments?: (Member | MemberExpression | ParsedMemberExpression)[];
limit?: null | number;
offset?: number;
total?: boolean;
totalQuery?: boolean;
order?: any;
timezone?: string;
renewQuery?: boolean;
ungrouped?: boolean;
responseFormat?: ResultType;
}
interface NormalizedQueryFilter extends QueryFilter {
dimension?: Member;
}
interface NormalizedQuery extends Query {
filters?: NormalizedQueryFilter[];
rowLimit?: null | number;
order?: { id: string; desc: boolean }[];
}