mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
* 👕 Enable `consistent-type-imports` for nodes-base * 👕 Apply to nodes-base * ⏪ Undo unrelated changes * 🚚 Move to `.eslintrc.js` in nodes-base * ⏪ Revert "Enable `consistent-type-imports` for nodes-base" This reverts commit 529ad72b051478fa1633aaf84b2864f2fdc7613c. * 👕 Fix severity
29 lines
538 B
TypeScript
29 lines
538 B
TypeScript
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;
|
|
}
|