Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Commit 2c36cbb

Browse files
feat: removes HttpRequest, HttpResponse, and Validatable
BREAKING CHANGE: Gavel no longer exports "HttpRequest" and "HttpResponse" classes. Use "validate" instead.
1 parent 4a4e9a3 commit 2c36cbb

File tree

7 files changed

+1
-2113
lines changed

7 files changed

+1
-2113
lines changed

lib/gavel.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
1-
const { HttpRequest, ExpectedHttpRequest } = require('./model/http-request');
2-
const { HttpResponse, ExpectedHttpResponse } = require('./model/http-response');
3-
41
const validate = require('./next/validate');
52

63
module.exports = {
7-
// next
8-
validate,
9-
10-
// legacy
11-
HttpRequest,
12-
HttpResponse,
13-
ExpectedHttpRequest,
14-
ExpectedHttpResponse
4+
validate
155
};

0 commit comments

Comments
 (0)