n8n/packages/nodes-base/nodes/Google/Analytics/v2/helpers/Interfaces.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
538 B
TypeScript
Raw Normal View History

import type { IDataObject } from 'n8n-workflow';
export interface IData {
viewId: string;
dimensions?: IDimension[];
dimensionFilterClauses?: {
filters: IDimensionFilter[];
};
pageSize?: number;
metrics?: IMetric[];
dateRanges?: IDataObject[];
}
export interface IDimension {
name?: string;
histogramBuckets?: string[];
}
export interface IDimensionFilter {
dimensionName?: string;
operator?: string;
expressions?: string[];
}
export interface IMetric {
expression?: string;
alias?: string;
formattingType?: string;
}