n8n
Version:
n8n Workflow Automation Tool
17 lines (16 loc) • 533 B
TypeScript
import { DataSource, Repository } from '@n8n/typeorm';
export declare class UsageMetrics {
}
export declare class UsageMetricsRepository extends Repository<UsageMetrics> {
constructor(dataSource: DataSource);
toTableName(name: string): string;
getLicenseRenewalMetrics(): Promise<{
enabledUsers: number;
totalUsers: number;
activeWorkflows: number;
totalWorkflows: number;
totalCredentials: number;
productionExecutions: number;
manualExecutions: number;
}>;
}