UNPKG

yandex-tank-ammo-generator

Version:

Cartridge generation for Yandex tank

27 lines (26 loc) 522 B
import { SortTypes } from '../ElasticClient/QueryBuilder'; export interface IMethod { method: string; route: string; } export interface IConfigShema { elastic: { auth: string; uri?: string; }; host: string; index: string; limit: number; query: { sort: { field: string; type: SortTypes; }; }; routes: IMethod[]; } export default function (data: IConfigShema): Promise<{ name: string; host: string; data: any[]; }>;