mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 11:49:59 +00:00
feat(Google Analytics Node): Overhaul for google analytics node
This commit is contained in:
28
packages/nodes-base/nodes/Google/Analytics/v1/Interfaces.ts
Normal file
28
packages/nodes-base/nodes/Google/Analytics/v1/Interfaces.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
import { 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;
|
||||
}
|
||||
Reference in New Issue
Block a user