SuccessResult: {
    body: {
        count: number;
        results: Record<string | number, Record<string, any>>;
    };
    headers?: JsonObject<string>;
    statusCode: number;
}

Type declaration

  • body: {
        count: number;
        results: Record<string | number, Record<string, any>>;
    }
    • count: number
    • results: Record<string | number, Record<string, any>>
  • Optional headers?: JsonObject<string>
  • statusCode: number