@arkyn/server 1.4.28 → 1.4.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/httpResponses/created.d.ts +5 -0
- package/dist/httpResponses/created.d.ts.map +1 -0
- package/dist/httpResponses/created.js +13 -0
- package/dist/httpResponses/noContent.d.ts +5 -0
- package/dist/httpResponses/noContent.d.ts.map +1 -0
- package/dist/httpResponses/noContent.js +6 -0
- package/dist/httpResponses/success.d.ts +5 -0
- package/dist/httpResponses/success.d.ts.map +1 -0
- package/dist/httpResponses/success.js +13 -0
- package/dist/httpResponses/updated.d.ts +5 -0
- package/dist/httpResponses/updated.d.ts.map +1 -0
- package/dist/httpResponses/updated.js +13 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/package.json +1 -1
- package/src/httpResponses/created.ts +14 -0
- package/src/httpResponses/noContent.ts +7 -0
- package/src/httpResponses/success.ts +14 -0
- package/src/httpResponses/updated.ts +14 -0
- package/src/index.ts +6 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"created.d.ts","sourceRoot":"","sources":["../../src/httpResponses/created.ts"],"names":[],"mappings":"AAAA,cAAM,OAAQ,SAAQ,QAAQ;gBAChB,IAAI,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,YAAY;CAU5C;AAED,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"noContent.d.ts","sourceRoot":"","sources":["../../src/httpResponses/noContent.ts"],"names":[],"mappings":"AAAA,cAAM,SAAU,SAAQ,QAAQ;gBAClB,IAAI,CAAC,EAAE,YAAY;CAGhC;AAED,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"success.d.ts","sourceRoot":"","sources":["../../src/httpResponses/success.ts"],"names":[],"mappings":"AAAA,cAAM,OAAQ,SAAQ,QAAQ;gBAChB,IAAI,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,YAAY;CAU5C;AAED,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updated.d.ts","sourceRoot":"","sources":["../../src/httpResponses/updated.ts"],"names":[],"mappings":"AAAA,cAAM,OAAQ,SAAQ,QAAQ;gBAChB,IAAI,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,YAAY;CAU5C;AAED,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,10 @@ export { NotFoundError } from "./httpBadResponses/notFound";
|
|
|
5
5
|
export { ServerError } from "./httpBadResponses/serverError";
|
|
6
6
|
export { UnauthorizedError } from "./httpBadResponses/unauthorized";
|
|
7
7
|
export { UnprocessableEntityError } from "./httpBadResponses/unprocessableEntity";
|
|
8
|
+
export { Created } from "./httpResponses/created";
|
|
9
|
+
export { NoContent } from "./httpResponses/noContent";
|
|
10
|
+
export { Success } from "./httpResponses/success";
|
|
11
|
+
export { Updated } from "./httpResponses/updated";
|
|
8
12
|
export { globalErrorHandler } from "./helpers/globalErrorHandler";
|
|
9
13
|
export { extractJsonFromRequest } from "./services/extractJsonFromRequest";
|
|
10
14
|
export { formParse } from "./services/formParse";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAA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AO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -6,6 +6,11 @@ export { NotFoundError } from "./httpBadResponses/notFound";
|
|
|
6
6
|
export { ServerError } from "./httpBadResponses/serverError";
|
|
7
7
|
export { UnauthorizedError } from "./httpBadResponses/unauthorized";
|
|
8
8
|
export { UnprocessableEntityError } from "./httpBadResponses/unprocessableEntity";
|
|
9
|
+
// http responses
|
|
10
|
+
export { Created } from "./httpResponses/created";
|
|
11
|
+
export { NoContent } from "./httpResponses/noContent";
|
|
12
|
+
export { Success } from "./httpResponses/success";
|
|
13
|
+
export { Updated } from "./httpResponses/updated";
|
|
9
14
|
// helpers
|
|
10
15
|
export { globalErrorHandler } from "./helpers/globalErrorHandler";
|
|
11
16
|
// services
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -7,6 +7,12 @@ export { ServerError } from "./httpBadResponses/serverError";
|
|
|
7
7
|
export { UnauthorizedError } from "./httpBadResponses/unauthorized";
|
|
8
8
|
export { UnprocessableEntityError } from "./httpBadResponses/unprocessableEntity";
|
|
9
9
|
|
|
10
|
+
// http responses
|
|
11
|
+
export { Created } from "./httpResponses/created";
|
|
12
|
+
export { NoContent } from "./httpResponses/noContent";
|
|
13
|
+
export { Success } from "./httpResponses/success";
|
|
14
|
+
export { Updated } from "./httpResponses/updated";
|
|
15
|
+
|
|
10
16
|
// helpers
|
|
11
17
|
export { globalErrorHandler } from "./helpers/globalErrorHandler";
|
|
12
18
|
|