Remnawave_backend/@types/types.d.ts
kastov c1ae592828
feat: add nodes metrics endpoint and integrate Prometheus metrics parsing
- Introduced a new endpoint to retrieve nodes metrics from the Prometheus metrics endpoint.
- Added the `parse-prometheus-text-format` package for parsing metrics data.
- Updated the SystemService to include logic for fetching and processing node metrics.
- Enhanced the SystemController to expose the new nodes metrics API.
2025-07-12 20:58:45 +03:00

23 lines
607 B
TypeScript

// import { PrismaClient } from '@prisma/client';
// import { Kysely } from 'kysely';
// import { DB } from 'prisma/generated/types';
// declare module '@prisma/client' {
// interface PrismaClient {
// $kysely: Kysely<DB>;
// }
// }
// declare module '@nestjs-cls/transactional-adapter-prisma' {
// interface TransactionalAdapterPrisma {
// tx: {
// $kysely: Kysely<DB>;
// } & PrismaClient;
// }
// }
declare module 'parse-prometheus-text-format' {
function parsePrometheusTextFormat(text: string): any;
export = parsePrometheusTextFormat;
}