UNPKG

@remnawave/xtls-sdk

Version:

A Typescript SDK for XRAY (XTLS) Core GRPC Api

26 lines 878 B
import { QueryStatsResponse } from '../../../xray-protos/app/stats/command/command'; import { IUserStat } from './interfaces'; /** * Model class for handling user statistics response data from the Xray server. */ export declare class GetUserStatsResponseModel { /** * The user statistics data, or null if no data is available. */ user: IUserStat | null; /** * Creates a new GetUserStatsResponseModel instance. * * @param data - The raw query stats response from the Xray server */ constructor(data: QueryStatsResponse); /** * Parses the raw stats response data into formatted user statistics. * * @param data - The raw query stats response to parse * @returns An array of formatted user statistics * @private */ private parseData; } //# sourceMappingURL=get-user-stats.response.model.d.ts.map