UNPKG

@n1k1t/mock-server

Version:

Powerful util to setup mocks over HTTP APIs

30 lines 1.14 kB
import { History, Endpoint } from '../models'; declare const _default: Endpoint<{ outgoing: History["TPlain"][]; }, import("../models").IEndpointSchema<{ outgoing: History["TPlain"][]; }>> & { http: { readonly method: "GET"; readonly path: "/history"; }; } & { io: { readonly path: "history:get-list"; }; } & { handler: ({ reply, server }: (import("..").InternalHttpRequestContext<(Pick<History, "status" | "group" | "id" | "timestamp" | "duration"> & { snapshot: import("../models").RequestContextSnapshot["TPlain"]; expectation?: import("../../expectations").Expectation<any>["TPlain"]; })[]> | import("..").InternalSocketIoRequestContext<(Pick<History, "status" | "group" | "id" | "timestamp" | "duration"> & { snapshot: import("../models").RequestContextSnapshot["TPlain"]; expectation?: import("../../expectations").Expectation<any>["TPlain"]; })[]>) & { incoming: { data?: unknown; query?: unknown; }; }) => void; }; export default _default; //# sourceMappingURL=history.get-list.endpoint.d.ts.map