n8n/packages/nodes-base/nodes/Google/Analytics/Interfaces.ts
Ricardo Espinoza 57e19edadd
Add Google analytics node (#1305)
*  Add Google Analytics node

🔨 Add Report Resource

🔨 Complete the basic for Report resource

 Add User Activity resource

🔨Remove comment

*  Improvements

*  Small improvements

*  Improvements

*  Improvements

*  Some improvements to Google Analytics Node

*  Load views automatically

Co-authored-by: Harshil <ghagrawal17@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-01-05 19:16:25 +01:00

18 lines
288 B
TypeScript

export interface IData {
viewId: string;
dimensions?: IDimension[];
pageSize?: number;
metrics?: IMetric[];
}
export interface IDimension {
name?: string;
histogramBuckets?: string[];
}
export interface IMetric {
expression?: string;
alias?: string;
formattingType?: string;
}