UNPKG

@thisisagile/easy-test

Version:

Straightforward library for testing microservices built with @thisisagile/easy

26 lines (25 loc) 488 B
import { Id } from './Types'; export declare type HttpStatus = { name: string; id: Id; }; export declare type RestResult = { data?: { code: number; items: unknown[]; itemCount: number; }; error?: { code: number; message: string; errorCount: number; errors: unknown[]; }; }; export declare type Response = { status: HttpStatus; headers?: { [key: string]: any; }; body?: RestResult; };