@nestia/sdk
Version:
Nestia SDK and Swagger generator
14 lines (13 loc) • 820 B
TypeScript
import ts from "typescript";
import { INestiaProject } from "../../structures/INestiaProject";
import { ITypedHttpRoute } from "../../structures/ITypedHttpRoute";
import { ITypedHttpRouteParameter } from "../../structures/ITypedHttpRouteParameter";
import { ImportDictionary } from "./ImportDictionary";
export declare namespace SdkHttpSimulationProgrammer {
const random: (project: INestiaProject) => (importer: ImportDictionary) => (route: ITypedHttpRoute) => ts.VariableStatement;
const simulate: (project: INestiaProject) => (importer: ImportDictionary) => (route: ITypedHttpRoute, props: {
headers: ITypedHttpRouteParameter.IHeaders | undefined;
query: ITypedHttpRouteParameter.IQuery | undefined;
input: ITypedHttpRouteParameter.IBody | undefined;
}) => ts.VariableStatement;
}