@arkyn/server 3.0.1-beta.117 → 3.0.1-beta.119
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/bundle.js +721 -734
- package/dist/bundle.umd.cjs +5 -10
- package/dist/{api/arkynLogRequest.d.ts → http/api/_logRequest.d.ts} +22 -19
- package/dist/{api/arkynLogRequest.d.ts.map → http/api/_logRequest.d.ts.map} +1 -1
- package/dist/{api/arkynLogRequest.js → http/api/_logRequest.js} +30 -30
- package/dist/http/api/_makeRequest.d.ts +61 -0
- package/dist/http/api/_makeRequest.d.ts.map +1 -0
- package/dist/{api/makeRequest.js → http/api/_makeRequest.js} +29 -20
- package/dist/http/api/deleteRequest.d.ts +17 -0
- package/dist/http/api/deleteRequest.d.ts.map +1 -0
- package/dist/http/api/deleteRequest.js +18 -0
- package/dist/http/api/getRequest.d.ts +16 -0
- package/dist/http/api/getRequest.d.ts.map +1 -0
- package/dist/http/api/getRequest.js +17 -0
- package/dist/http/api/patchRequest.d.ts +17 -0
- package/dist/http/api/patchRequest.d.ts.map +1 -0
- package/dist/http/api/patchRequest.js +18 -0
- package/dist/http/api/postRequest.d.ts +17 -0
- package/dist/http/api/postRequest.d.ts.map +1 -0
- package/dist/http/api/postRequest.js +18 -0
- package/dist/http/api/putRequest.d.ts +17 -0
- package/dist/http/api/putRequest.d.ts.map +1 -0
- package/dist/http/api/putRequest.js +18 -0
- package/dist/http/badResponses/_badResponse.d.ts +18 -7
- package/dist/http/badResponses/_badResponse.d.ts.map +1 -1
- package/dist/http/badResponses/_badResponse.js +44 -13
- package/dist/http/badResponses/badGateway.d.ts +4 -8
- package/dist/http/badResponses/badGateway.d.ts.map +1 -1
- package/dist/http/badResponses/badGateway.js +9 -17
- package/dist/http/badResponses/badRequest.d.ts +4 -8
- package/dist/http/badResponses/badRequest.d.ts.map +1 -1
- package/dist/http/badResponses/badRequest.js +9 -17
- package/dist/http/badResponses/conflict.d.ts +4 -8
- package/dist/http/badResponses/conflict.d.ts.map +1 -1
- package/dist/http/badResponses/conflict.js +9 -17
- package/dist/http/badResponses/forbidden.d.ts +4 -8
- package/dist/http/badResponses/forbidden.d.ts.map +1 -1
- package/dist/http/badResponses/forbidden.js +9 -17
- package/dist/http/badResponses/notFound.d.ts +4 -8
- package/dist/http/badResponses/notFound.d.ts.map +1 -1
- package/dist/http/badResponses/notFound.js +9 -17
- package/dist/http/badResponses/notImplemented.d.ts +4 -8
- package/dist/http/badResponses/notImplemented.d.ts.map +1 -1
- package/dist/http/badResponses/notImplemented.js +9 -17
- package/dist/http/badResponses/serverError.d.ts +4 -8
- package/dist/http/badResponses/serverError.d.ts.map +1 -1
- package/dist/http/badResponses/serverError.js +9 -17
- package/dist/http/badResponses/unauthorized.d.ts +2 -6
- package/dist/http/badResponses/unauthorized.d.ts.map +1 -1
- package/dist/http/badResponses/unauthorized.js +7 -15
- package/dist/http/badResponses/unprocessableEntity.d.ts +13 -18
- package/dist/http/badResponses/unprocessableEntity.d.ts.map +1 -1
- package/dist/http/badResponses/unprocessableEntity.js +14 -22
- package/dist/http/successResponses/_successResponse.d.ts +18 -7
- package/dist/http/successResponses/_successResponse.d.ts.map +1 -1
- package/dist/http/successResponses/_successResponse.js +50 -21
- package/dist/http/successResponses/created.d.ts +8 -22
- package/dist/http/successResponses/created.d.ts.map +1 -1
- package/dist/http/successResponses/created.js +13 -25
- package/dist/http/successResponses/found.d.ts +9 -26
- package/dist/http/successResponses/found.d.ts.map +1 -1
- package/dist/http/successResponses/found.js +14 -29
- package/dist/http/successResponses/noContent.d.ts +4 -12
- package/dist/http/successResponses/noContent.d.ts.map +1 -1
- package/dist/http/successResponses/noContent.js +9 -17
- package/dist/http/successResponses/success.d.ts +8 -22
- package/dist/http/successResponses/success.d.ts.map +1 -1
- package/dist/http/successResponses/success.js +13 -25
- package/dist/http/successResponses/updated.d.ts +8 -22
- package/dist/http/successResponses/updated.d.ts.map +1 -1
- package/dist/http/successResponses/updated.js +13 -25
- package/dist/index.d.ts +9 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -12
- package/dist/services/apiService.d.ts +7 -28
- package/dist/services/apiService.d.ts.map +1 -1
- package/dist/services/apiService.js +36 -42
- package/dist/services/debugService.d.ts +16 -1
- package/dist/services/debugService.d.ts.map +1 -1
- package/dist/services/debugService.js +58 -1
- package/dist/services/logMapperService.d.ts +86 -0
- package/dist/services/logMapperService.d.ts.map +1 -0
- package/dist/services/logMapperService.js +68 -0
- package/dist/services/logService.d.ts +38 -0
- package/dist/services/logService.d.ts.map +1 -0
- package/dist/services/logService.js +40 -0
- package/dist/{services → utilities}/decodeRequestBody.d.ts +3 -4
- package/dist/utilities/decodeRequestBody.d.ts.map +1 -0
- package/dist/{services → utilities}/decodeRequestBody.js +5 -5
- package/dist/{services/decodeErrorMessageFromRequest.d.ts → utilities/decodeRequestErrorMessage.d.ts} +6 -6
- package/dist/utilities/decodeRequestErrorMessage.d.ts.map +1 -0
- package/dist/{services/decodeErrorMessageFromRequest.js → utilities/decodeRequestErrorMessage.js} +5 -5
- package/dist/utilities/errorHandler.d.ts +50 -0
- package/dist/utilities/errorHandler.d.ts.map +1 -0
- package/dist/{services → utilities}/errorHandler.js +34 -28
- package/dist/utilities/flushDebugLogs.d.ts +46 -0
- package/dist/utilities/flushDebugLogs.d.ts.map +1 -0
- package/dist/utilities/flushDebugLogs.js +59 -0
- package/dist/{services → utilities}/formAsyncParse.d.ts +3 -3
- package/dist/utilities/formAsyncParse.d.ts.map +1 -0
- package/dist/{services → utilities}/formAsyncParse.js +3 -3
- package/dist/{services → utilities}/formParse.d.ts +3 -3
- package/dist/utilities/formParse.d.ts.map +1 -0
- package/dist/{services → utilities}/formParse.js +3 -3
- package/dist/{services → utilities}/getScopedParams.d.ts +3 -4
- package/dist/utilities/getScopedParams.d.ts.map +1 -0
- package/dist/{services → utilities}/getScopedParams.js +4 -4
- package/dist/{services → utilities}/schemaValidator.d.ts +3 -15
- package/dist/utilities/schemaValidator.d.ts.map +1 -0
- package/dist/{services → utilities}/schemaValidator.js +3 -19
- package/dist/validations/validateCep.d.ts +7 -12
- package/dist/validations/validateCep.d.ts.map +1 -1
- package/dist/validations/validateCep.js +9 -15
- package/dist/validations/validateCnpj.d.ts +4 -5
- package/dist/validations/validateCnpj.d.ts.map +1 -1
- package/dist/validations/validateCnpj.js +12 -5
- package/dist/validations/validateCpf.d.ts +3 -4
- package/dist/validations/validateCpf.d.ts.map +1 -1
- package/dist/validations/validateCpf.js +11 -4
- package/dist/validations/validateDate.d.ts +16 -23
- package/dist/validations/validateDate.d.ts.map +1 -1
- package/dist/validations/validateDate.js +38 -56
- package/dist/validations/validateEmail.d.ts +3 -4
- package/dist/validations/validateEmail.d.ts.map +1 -1
- package/dist/validations/validateEmail.js +23 -35
- package/dist/validations/validatePassword.d.ts +3 -4
- package/dist/validations/validatePassword.d.ts.map +1 -1
- package/dist/validations/validatePassword.js +5 -5
- package/dist/validations/validatePhone.d.ts +3 -4
- package/dist/validations/validatePhone.d.ts.map +1 -1
- package/dist/validations/validatePhone.js +4 -4
- package/dist/validations/validateRg.d.ts +3 -4
- package/dist/validations/validateRg.d.ts.map +1 -1
- package/dist/validations/validateRg.js +4 -4
- package/package.json +1 -1
- package/dist/api/deleteRequest.d.ts +0 -13
- package/dist/api/deleteRequest.d.ts.map +0 -1
- package/dist/api/deleteRequest.js +0 -14
- package/dist/api/getRequest.d.ts +0 -12
- package/dist/api/getRequest.d.ts.map +0 -1
- package/dist/api/getRequest.js +0 -13
- package/dist/api/makeRequest.d.ts +0 -38
- package/dist/api/makeRequest.d.ts.map +0 -1
- package/dist/api/patchRequest.d.ts +0 -13
- package/dist/api/patchRequest.d.ts.map +0 -1
- package/dist/api/patchRequest.js +0 -14
- package/dist/api/postRequest.d.ts +0 -13
- package/dist/api/postRequest.d.ts.map +0 -1
- package/dist/api/postRequest.js +0 -14
- package/dist/api/putRequest.d.ts +0 -13
- package/dist/api/putRequest.d.ts.map +0 -1
- package/dist/api/putRequest.js +0 -14
- package/dist/mapper/arkynLogRequestMapper.d.ts +0 -30
- package/dist/mapper/arkynLogRequestMapper.d.ts.map +0 -1
- package/dist/mapper/arkynLogRequestMapper.js +0 -44
- package/dist/services/arkynLogService.d.ts +0 -44
- package/dist/services/arkynLogService.d.ts.map +0 -1
- package/dist/services/arkynLogService.js +0 -46
- package/dist/services/decodeErrorMessageFromRequest.d.ts.map +0 -1
- package/dist/services/decodeRequestBody.d.ts.map +0 -1
- package/dist/services/errorHandler.d.ts +0 -44
- package/dist/services/errorHandler.d.ts.map +0 -1
- package/dist/services/flushDebugLogs.d.ts +0 -8
- package/dist/services/flushDebugLogs.d.ts.map +0 -1
- package/dist/services/flushDebugLogs.js +0 -20
- package/dist/services/formAsyncParse.d.ts.map +0 -1
- package/dist/services/formParse.d.ts.map +0 -1
- package/dist/services/getCaller.d.ts +0 -17
- package/dist/services/getCaller.d.ts.map +0 -1
- package/dist/services/getCaller.js +0 -60
- package/dist/services/getScopedParams.d.ts.map +0 -1
- package/dist/services/measureRouteExecution.d.ts +0 -3
- package/dist/services/measureRouteExecution.d.ts.map +0 -1
- package/dist/services/measureRouteExecution.js +0 -24
- package/dist/services/schemaValidator.d.ts.map +0 -1
- package/dist/types/ApiResponseDTO.d.ts +0 -17
- package/dist/types/ApiResponseDTO.d.ts.map +0 -1
- package/dist/types/ApiResponseDTO.js +0 -1
|
@@ -1,38 +1,24 @@
|
|
|
1
1
|
import { SuccessResponse } from "./_successResponse";
|
|
2
|
-
type InitProps = ResponseInit & {
|
|
3
|
-
message?: string;
|
|
4
|
-
};
|
|
5
2
|
/**
|
|
6
|
-
*
|
|
7
|
-
* This class is used to standardize the structure of a "Created" response,
|
|
8
|
-
* including the response body, headers, status, and status text.
|
|
9
|
-
*
|
|
10
|
-
* @template T - The type of the response body.
|
|
3
|
+
* Class representing a successful HTTP 201 Created response.
|
|
11
4
|
*/
|
|
12
|
-
declare class Created
|
|
13
|
-
body: T;
|
|
14
|
-
headers: ResponseInit["headers"];
|
|
15
|
-
status: number;
|
|
16
|
-
statusText: string;
|
|
5
|
+
declare class Created extends SuccessResponse {
|
|
17
6
|
/**
|
|
18
7
|
* Creates an instance of the `Created` class.
|
|
19
8
|
*
|
|
20
|
-
* @param
|
|
21
|
-
* @param
|
|
9
|
+
* @param {string} message - A message describing the creation status.
|
|
10
|
+
* @param {any} body - The response body to be included in the HTTP response.
|
|
22
11
|
*/
|
|
23
|
-
constructor(
|
|
12
|
+
constructor(message: string, body?: any);
|
|
24
13
|
/**
|
|
25
|
-
* Converts the `Created` instance into a `Response` object
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* @returns A `Response` object with the serialized JSON body and response metadata.
|
|
14
|
+
* Converts the `Created` instance into a `Response` object.
|
|
15
|
+
* @returns {Response} A `Response` object with the body and response metadata.
|
|
29
16
|
*/
|
|
30
17
|
toResponse(): Response;
|
|
31
18
|
/**
|
|
32
19
|
* Converts the `Created` instance into a `Response` object using the `Response.json` method.
|
|
33
20
|
* This method is an alternative to `toResponse` for generating JSON responses.
|
|
34
|
-
*
|
|
35
|
-
* @returns A `Response` object with the JSON body and response metadata.
|
|
21
|
+
* @returns {Response["json"]} A `Response` object with the JSON body and response metadata.
|
|
36
22
|
*/
|
|
37
23
|
toJson(): Response;
|
|
38
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"created.d.ts","sourceRoot":"","sources":["../../../src/http/successResponses/created.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD
|
|
1
|
+
{"version":3,"file":"created.d.ts","sourceRoot":"","sources":["../../../src/http/successResponses/created.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD;;GAEG;AAEH,cAAM,OAAQ,SAAQ,eAAe;IACnC;;;;;OAKG;gBAES,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,GAAG;IAWvC;;;OAGG;IAEH,UAAU,IAAI,QAAQ;IAUtB;;;;OAIG;IAEH,MAAM,IAAI,QAAQ;CAQnB;AAED,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1,39 +1,29 @@
|
|
|
1
1
|
import { SuccessResponse } from "./_successResponse";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* This class is used to standardize the structure of a "Created" response,
|
|
5
|
-
* including the response body, headers, status, and status text.
|
|
6
|
-
*
|
|
7
|
-
* @template T - The type of the response body.
|
|
3
|
+
* Class representing a successful HTTP 201 Created response.
|
|
8
4
|
*/
|
|
9
5
|
class Created extends SuccessResponse {
|
|
10
|
-
body;
|
|
11
|
-
headers;
|
|
12
|
-
status;
|
|
13
|
-
statusText;
|
|
14
6
|
/**
|
|
15
7
|
* Creates an instance of the `Created` class.
|
|
16
8
|
*
|
|
17
|
-
* @param
|
|
18
|
-
* @param
|
|
9
|
+
* @param {string} message - A message describing the creation status.
|
|
10
|
+
* @param {any} body - The response body to be included in the HTTP response.
|
|
19
11
|
*/
|
|
20
|
-
constructor(
|
|
12
|
+
constructor(message, body) {
|
|
21
13
|
super();
|
|
22
|
-
this.
|
|
23
|
-
this.
|
|
24
|
-
this.
|
|
25
|
-
this.
|
|
26
|
-
this.onDebug(
|
|
14
|
+
this.name = "Created";
|
|
15
|
+
this.status = 201;
|
|
16
|
+
this.statusText = message;
|
|
17
|
+
this.body = body || undefined;
|
|
18
|
+
this.onDebug();
|
|
27
19
|
}
|
|
28
20
|
/**
|
|
29
|
-
* Converts the `Created` instance into a `Response` object
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* @returns A `Response` object with the serialized JSON body and response metadata.
|
|
21
|
+
* Converts the `Created` instance into a `Response` object.
|
|
22
|
+
* @returns {Response} A `Response` object with the body and response metadata.
|
|
33
23
|
*/
|
|
34
24
|
toResponse() {
|
|
35
25
|
const responseInit = {
|
|
36
|
-
headers: { "Content-Type": "application/json"
|
|
26
|
+
headers: { "Content-Type": "application/json" },
|
|
37
27
|
status: this.status,
|
|
38
28
|
statusText: this.statusText,
|
|
39
29
|
};
|
|
@@ -42,12 +32,10 @@ class Created extends SuccessResponse {
|
|
|
42
32
|
/**
|
|
43
33
|
* Converts the `Created` instance into a `Response` object using the `Response.json` method.
|
|
44
34
|
* This method is an alternative to `toResponse` for generating JSON responses.
|
|
45
|
-
*
|
|
46
|
-
* @returns A `Response` object with the JSON body and response metadata.
|
|
35
|
+
* @returns {Response["json"]} A `Response` object with the JSON body and response metadata.
|
|
47
36
|
*/
|
|
48
37
|
toJson() {
|
|
49
38
|
const responseInit = {
|
|
50
|
-
headers: this.headers,
|
|
51
39
|
status: this.status,
|
|
52
40
|
statusText: this.statusText,
|
|
53
41
|
};
|
|
@@ -1,41 +1,24 @@
|
|
|
1
1
|
import { SuccessResponse } from "./_successResponse";
|
|
2
|
-
type InitProps = ResponseInit & {
|
|
3
|
-
message?: string;
|
|
4
|
-
};
|
|
5
2
|
/**
|
|
6
|
-
*
|
|
7
|
-
* This class is used to create a standardized HTTP response with a status of 302 (Found),
|
|
8
|
-
* including optional headers and a response body.
|
|
9
|
-
*
|
|
10
|
-
* @template T - The type of the response body.
|
|
3
|
+
* Class representing a successful HTTP 302 Found response.
|
|
11
4
|
*/
|
|
12
|
-
declare class Found
|
|
13
|
-
body: T;
|
|
14
|
-
headers: ResponseInit["headers"];
|
|
15
|
-
status: number;
|
|
16
|
-
statusText: string;
|
|
5
|
+
declare class Found extends SuccessResponse {
|
|
17
6
|
/**
|
|
18
7
|
* Creates an instance of the `Found` class.
|
|
19
8
|
*
|
|
20
|
-
* @param
|
|
21
|
-
* @param
|
|
22
|
-
* - `headers`: Additional headers to include in the response.
|
|
23
|
-
* - `status`: HTTP status code (default is 302).
|
|
24
|
-
* - `statusText`: HTTP status text (default is "Found").
|
|
9
|
+
* @param {string} message - A message describing the creation status.
|
|
10
|
+
* @param {any} body - The response body to be included in the HTTP response.
|
|
25
11
|
*/
|
|
26
|
-
constructor(
|
|
12
|
+
constructor(message: string, body?: any);
|
|
27
13
|
/**
|
|
28
14
|
* Converts the `Found` instance into a `Response` object.
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* @returns A `Response` object with the serialized JSON body and the specified headers, status, and statusText.
|
|
15
|
+
* @returns {Response} A `Response` object with the body and response metadata.
|
|
32
16
|
*/
|
|
33
17
|
toResponse(): Response;
|
|
34
18
|
/**
|
|
35
|
-
* Converts the `Found` instance into a
|
|
36
|
-
* This method is an alternative to `toResponse` for
|
|
37
|
-
*
|
|
38
|
-
* @returns A `Response` object with the JSON body and the specified headers, status, and statusText.
|
|
19
|
+
* Converts the `Found` instance into a `Response` object using the `Response.json` method.
|
|
20
|
+
* This method is an alternative to `toResponse` for generating JSON responses.
|
|
21
|
+
* @returns {Response["json"]} A `Response` object with the JSON body and response metadata.
|
|
39
22
|
*/
|
|
40
23
|
toJson(): Response;
|
|
41
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"found.d.ts","sourceRoot":"","sources":["../../../src/http/successResponses/found.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD
|
|
1
|
+
{"version":3,"file":"found.d.ts","sourceRoot":"","sources":["../../../src/http/successResponses/found.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD;;GAEG;AAEH,cAAM,KAAM,SAAQ,eAAe;IACjC;;;;;OAKG;gBAES,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,GAAG;IAWvC;;;OAGG;IAEH,UAAU,IAAI,QAAQ;IAUtB;;;;OAIG;IAEH,MAAM,IAAI,QAAQ;CAQnB;AAED,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -1,56 +1,41 @@
|
|
|
1
1
|
import { SuccessResponse } from "./_successResponse";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* This class is used to create a standardized HTTP response with a status of 302 (Found),
|
|
5
|
-
* including optional headers and a response body.
|
|
6
|
-
*
|
|
7
|
-
* @template T - The type of the response body.
|
|
3
|
+
* Class representing a successful HTTP 302 Found response.
|
|
8
4
|
*/
|
|
9
5
|
class Found extends SuccessResponse {
|
|
10
|
-
body;
|
|
11
|
-
headers;
|
|
12
|
-
status;
|
|
13
|
-
statusText;
|
|
14
6
|
/**
|
|
15
7
|
* Creates an instance of the `Found` class.
|
|
16
8
|
*
|
|
17
|
-
* @param
|
|
18
|
-
* @param
|
|
19
|
-
* - `headers`: Additional headers to include in the response.
|
|
20
|
-
* - `status`: HTTP status code (default is 302).
|
|
21
|
-
* - `statusText`: HTTP status text (default is "Found").
|
|
9
|
+
* @param {string} message - A message describing the creation status.
|
|
10
|
+
* @param {any} body - The response body to be included in the HTTP response.
|
|
22
11
|
*/
|
|
23
|
-
constructor(
|
|
12
|
+
constructor(message, body) {
|
|
24
13
|
super();
|
|
25
|
-
this.
|
|
26
|
-
this.
|
|
27
|
-
this.
|
|
28
|
-
this.
|
|
29
|
-
this.onDebug(
|
|
14
|
+
this.name = "Found";
|
|
15
|
+
this.status = 302;
|
|
16
|
+
this.statusText = message;
|
|
17
|
+
this.body = body || undefined;
|
|
18
|
+
this.onDebug();
|
|
30
19
|
}
|
|
31
20
|
/**
|
|
32
21
|
* Converts the `Found` instance into a `Response` object.
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* @returns A `Response` object with the serialized JSON body and the specified headers, status, and statusText.
|
|
22
|
+
* @returns {Response} A `Response` object with the body and response metadata.
|
|
36
23
|
*/
|
|
37
24
|
toResponse() {
|
|
38
25
|
const responseInit = {
|
|
39
|
-
headers: { "Content-Type": "application/json"
|
|
26
|
+
headers: { "Content-Type": "application/json" },
|
|
40
27
|
status: this.status,
|
|
41
28
|
statusText: this.statusText,
|
|
42
29
|
};
|
|
43
30
|
return new Response(JSON.stringify(this.body), responseInit);
|
|
44
31
|
}
|
|
45
32
|
/**
|
|
46
|
-
* Converts the `Found` instance into a
|
|
47
|
-
* This method is an alternative to `toResponse` for
|
|
48
|
-
*
|
|
49
|
-
* @returns A `Response` object with the JSON body and the specified headers, status, and statusText.
|
|
33
|
+
* Converts the `Found` instance into a `Response` object using the `Response.json` method.
|
|
34
|
+
* This method is an alternative to `toResponse` for generating JSON responses.
|
|
35
|
+
* @returns {Response["json"]} A `Response` object with the JSON body and response metadata.
|
|
50
36
|
*/
|
|
51
37
|
toJson() {
|
|
52
38
|
const responseInit = {
|
|
53
|
-
headers: this.headers,
|
|
54
39
|
status: this.status,
|
|
55
40
|
statusText: this.statusText,
|
|
56
41
|
};
|
|
@@ -1,24 +1,16 @@
|
|
|
1
1
|
import { SuccessResponse } from "./_successResponse";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* This class is used to standardize the structure of a "No Content" response,
|
|
5
|
-
* including headers, status, and status text.
|
|
3
|
+
* Class representing a successful HTTP 204 NoContent response.
|
|
6
4
|
*/
|
|
7
5
|
declare class NoContent extends SuccessResponse {
|
|
8
|
-
headers: ResponseInit["headers"];
|
|
9
|
-
status: number;
|
|
10
|
-
statusText: string;
|
|
11
6
|
/**
|
|
12
7
|
* Creates an instance of the `NoContent` class.
|
|
13
|
-
*
|
|
14
|
-
* @param init - Optional initialization object for customizing headers, status, and status text.
|
|
8
|
+
* @param {string} message - A message describing the creation status.
|
|
15
9
|
*/
|
|
16
|
-
constructor(
|
|
10
|
+
constructor(message: string);
|
|
17
11
|
/**
|
|
18
12
|
* Converts the `NoContent` instance into a `Response` object.
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* @returns A `Response` object with no body and response metadata.
|
|
13
|
+
* @returns {Response} A `Response` object with the body and response metadata.
|
|
22
14
|
*/
|
|
23
15
|
toResponse(): Response;
|
|
24
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"noContent.d.ts","sourceRoot":"","sources":["../../../src/http/successResponses/noContent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD
|
|
1
|
+
{"version":3,"file":"noContent.d.ts","sourceRoot":"","sources":["../../../src/http/successResponses/noContent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD;;GAEG;AAEH,cAAM,SAAU,SAAQ,eAAe;IACrC;;;OAGG;gBAES,OAAO,EAAE,MAAM;IAU3B;;;OAGG;IAEH,UAAU,IAAI,QAAQ;CASvB;AAED,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -1,34 +1,26 @@
|
|
|
1
1
|
import { SuccessResponse } from "./_successResponse";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* This class is used to standardize the structure of a "No Content" response,
|
|
5
|
-
* including headers, status, and status text.
|
|
3
|
+
* Class representing a successful HTTP 204 NoContent response.
|
|
6
4
|
*/
|
|
7
5
|
class NoContent extends SuccessResponse {
|
|
8
|
-
headers;
|
|
9
|
-
status;
|
|
10
|
-
statusText;
|
|
11
6
|
/**
|
|
12
7
|
* Creates an instance of the `NoContent` class.
|
|
13
|
-
*
|
|
14
|
-
* @param init - Optional initialization object for customizing headers, status, and status text.
|
|
8
|
+
* @param {string} message - A message describing the creation status.
|
|
15
9
|
*/
|
|
16
|
-
constructor(
|
|
10
|
+
constructor(message) {
|
|
17
11
|
super();
|
|
18
|
-
this.
|
|
19
|
-
this.status =
|
|
20
|
-
this.statusText =
|
|
21
|
-
this.onDebug(
|
|
12
|
+
this.name = "NoContent";
|
|
13
|
+
this.status = 204;
|
|
14
|
+
this.statusText = message;
|
|
15
|
+
this.onDebug();
|
|
22
16
|
}
|
|
23
17
|
/**
|
|
24
18
|
* Converts the `NoContent` instance into a `Response` object.
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* @returns A `Response` object with no body and response metadata.
|
|
19
|
+
* @returns {Response} A `Response` object with the body and response metadata.
|
|
28
20
|
*/
|
|
29
21
|
toResponse() {
|
|
30
22
|
const responseInit = {
|
|
31
|
-
headers:
|
|
23
|
+
headers: { "Content-Type": "application/json" },
|
|
32
24
|
status: this.status,
|
|
33
25
|
statusText: this.statusText,
|
|
34
26
|
};
|
|
@@ -1,38 +1,24 @@
|
|
|
1
1
|
import { SuccessResponse } from "./_successResponse";
|
|
2
|
-
type InitProps = ResponseInit & {
|
|
3
|
-
message?: string;
|
|
4
|
-
};
|
|
5
2
|
/**
|
|
6
|
-
*
|
|
7
|
-
* This class is used to standardize the structure of a "Success" response,
|
|
8
|
-
* including the response body, headers, status, and status text.
|
|
9
|
-
*
|
|
10
|
-
* @template T - The type of the response body.
|
|
3
|
+
* Class representing a successful HTTP 200 Success response.
|
|
11
4
|
*/
|
|
12
|
-
declare class Success
|
|
13
|
-
body: T;
|
|
14
|
-
headers: ResponseInit["headers"];
|
|
15
|
-
status: number;
|
|
16
|
-
statusText: string;
|
|
5
|
+
declare class Success extends SuccessResponse {
|
|
17
6
|
/**
|
|
18
7
|
* Creates an instance of the `Success` class.
|
|
19
8
|
*
|
|
20
|
-
* @param
|
|
21
|
-
* @param
|
|
9
|
+
* @param {string} message - A message describing the creation status.
|
|
10
|
+
* @param {any} body - The response body to be included in the HTTP response.
|
|
22
11
|
*/
|
|
23
|
-
constructor(
|
|
12
|
+
constructor(message: string, body?: any);
|
|
24
13
|
/**
|
|
25
|
-
* Converts the `Success` instance into a `Response` object
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* @returns A `Response` object with the serialized JSON body and response metadata.
|
|
14
|
+
* Converts the `Success` instance into a `Response` object.
|
|
15
|
+
* @returns {Response} A `Response` object with the body and response metadata.
|
|
29
16
|
*/
|
|
30
17
|
toResponse(): Response;
|
|
31
18
|
/**
|
|
32
19
|
* Converts the `Success` instance into a `Response` object using the `Response.json` method.
|
|
33
20
|
* This method is an alternative to `toResponse` for generating JSON responses.
|
|
34
|
-
*
|
|
35
|
-
* @returns A `Response` object with the JSON body and response metadata.
|
|
21
|
+
* @returns {Response["json"]} A `Response` object with the JSON body and response metadata.
|
|
36
22
|
*/
|
|
37
23
|
toJson(): Response;
|
|
38
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"success.d.ts","sourceRoot":"","sources":["../../../src/http/successResponses/success.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD
|
|
1
|
+
{"version":3,"file":"success.d.ts","sourceRoot":"","sources":["../../../src/http/successResponses/success.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD;;GAEG;AAEH,cAAM,OAAQ,SAAQ,eAAe;IACnC;;;;;OAKG;gBAES,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,GAAG;IAWvC;;;OAGG;IAEH,UAAU,IAAI,QAAQ;IAUtB;;;;OAIG;IAEH,MAAM,IAAI,QAAQ;CAQnB;AAED,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1,39 +1,29 @@
|
|
|
1
1
|
import { SuccessResponse } from "./_successResponse";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* This class is used to standardize the structure of a "Success" response,
|
|
5
|
-
* including the response body, headers, status, and status text.
|
|
6
|
-
*
|
|
7
|
-
* @template T - The type of the response body.
|
|
3
|
+
* Class representing a successful HTTP 200 Success response.
|
|
8
4
|
*/
|
|
9
5
|
class Success extends SuccessResponse {
|
|
10
|
-
body;
|
|
11
|
-
headers;
|
|
12
|
-
status;
|
|
13
|
-
statusText;
|
|
14
6
|
/**
|
|
15
7
|
* Creates an instance of the `Success` class.
|
|
16
8
|
*
|
|
17
|
-
* @param
|
|
18
|
-
* @param
|
|
9
|
+
* @param {string} message - A message describing the creation status.
|
|
10
|
+
* @param {any} body - The response body to be included in the HTTP response.
|
|
19
11
|
*/
|
|
20
|
-
constructor(
|
|
12
|
+
constructor(message, body) {
|
|
21
13
|
super();
|
|
22
|
-
this.
|
|
23
|
-
this.
|
|
24
|
-
this.
|
|
25
|
-
this.
|
|
26
|
-
this.onDebug(
|
|
14
|
+
this.name = "Success";
|
|
15
|
+
this.status = 200;
|
|
16
|
+
this.statusText = message;
|
|
17
|
+
this.body = body || undefined;
|
|
18
|
+
this.onDebug();
|
|
27
19
|
}
|
|
28
20
|
/**
|
|
29
|
-
* Converts the `Success` instance into a `Response` object
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* @returns A `Response` object with the serialized JSON body and response metadata.
|
|
21
|
+
* Converts the `Success` instance into a `Response` object.
|
|
22
|
+
* @returns {Response} A `Response` object with the body and response metadata.
|
|
33
23
|
*/
|
|
34
24
|
toResponse() {
|
|
35
25
|
const responseInit = {
|
|
36
|
-
headers: { "Content-Type": "application/json"
|
|
26
|
+
headers: { "Content-Type": "application/json" },
|
|
37
27
|
status: this.status,
|
|
38
28
|
statusText: this.statusText,
|
|
39
29
|
};
|
|
@@ -42,12 +32,10 @@ class Success extends SuccessResponse {
|
|
|
42
32
|
/**
|
|
43
33
|
* Converts the `Success` instance into a `Response` object using the `Response.json` method.
|
|
44
34
|
* This method is an alternative to `toResponse` for generating JSON responses.
|
|
45
|
-
*
|
|
46
|
-
* @returns A `Response` object with the JSON body and response metadata.
|
|
35
|
+
* @returns {Response["json"]} A `Response` object with the JSON body and response metadata.
|
|
47
36
|
*/
|
|
48
37
|
toJson() {
|
|
49
38
|
const responseInit = {
|
|
50
|
-
headers: this.headers,
|
|
51
39
|
status: this.status,
|
|
52
40
|
statusText: this.statusText,
|
|
53
41
|
};
|
|
@@ -1,38 +1,24 @@
|
|
|
1
1
|
import { SuccessResponse } from "./_successResponse";
|
|
2
|
-
type InitProps = ResponseInit & {
|
|
3
|
-
message?: string;
|
|
4
|
-
};
|
|
5
2
|
/**
|
|
6
|
-
*
|
|
7
|
-
* This class is used to standardize the structure of an "Updated" response,
|
|
8
|
-
* including the response body, headers, status, and status text.
|
|
9
|
-
*
|
|
10
|
-
* @template T - The type of the response body.
|
|
3
|
+
* Class representing a successful HTTP 200 Updated response.
|
|
11
4
|
*/
|
|
12
|
-
declare class Updated
|
|
13
|
-
body: T;
|
|
14
|
-
headers: ResponseInit["headers"];
|
|
15
|
-
status: number;
|
|
16
|
-
statusText: string;
|
|
5
|
+
declare class Updated extends SuccessResponse {
|
|
17
6
|
/**
|
|
18
7
|
* Creates an instance of the `Updated` class.
|
|
19
8
|
*
|
|
20
|
-
* @param
|
|
21
|
-
* @param
|
|
9
|
+
* @param {string} message - A message describing the creation status.
|
|
10
|
+
* @param {any} body - The response body to be included in the HTTP response.
|
|
22
11
|
*/
|
|
23
|
-
constructor(
|
|
12
|
+
constructor(message: string, body?: any);
|
|
24
13
|
/**
|
|
25
|
-
* Converts the `Updated` instance into a `Response` object
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* @returns A `Response` object with the serialized JSON body and response metadata.
|
|
14
|
+
* Converts the `Updated` instance into a `Response` object.
|
|
15
|
+
* @returns {Response} A `Response` object with the body and response metadata.
|
|
29
16
|
*/
|
|
30
17
|
toResponse(): Response;
|
|
31
18
|
/**
|
|
32
19
|
* Converts the `Updated` instance into a `Response` object using the `Response.json` method.
|
|
33
20
|
* This method is an alternative to `toResponse` for generating JSON responses.
|
|
34
|
-
*
|
|
35
|
-
* @returns A `Response` object with the JSON body and response metadata.
|
|
21
|
+
* @returns {Response["json"]} A `Response` object with the JSON body and response metadata.
|
|
36
22
|
*/
|
|
37
23
|
toJson(): Response;
|
|
38
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updated.d.ts","sourceRoot":"","sources":["../../../src/http/successResponses/updated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD
|
|
1
|
+
{"version":3,"file":"updated.d.ts","sourceRoot":"","sources":["../../../src/http/successResponses/updated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD;;GAEG;AAEH,cAAM,OAAQ,SAAQ,eAAe;IACnC;;;;;OAKG;gBAES,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,GAAG;IAWvC;;;OAGG;IAEH,UAAU,IAAI,QAAQ;IAUtB;;;;OAIG;IAEH,MAAM,IAAI,QAAQ;CAQnB;AAED,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1,39 +1,29 @@
|
|
|
1
1
|
import { SuccessResponse } from "./_successResponse";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* This class is used to standardize the structure of an "Updated" response,
|
|
5
|
-
* including the response body, headers, status, and status text.
|
|
6
|
-
*
|
|
7
|
-
* @template T - The type of the response body.
|
|
3
|
+
* Class representing a successful HTTP 200 Updated response.
|
|
8
4
|
*/
|
|
9
5
|
class Updated extends SuccessResponse {
|
|
10
|
-
body;
|
|
11
|
-
headers;
|
|
12
|
-
status;
|
|
13
|
-
statusText;
|
|
14
6
|
/**
|
|
15
7
|
* Creates an instance of the `Updated` class.
|
|
16
8
|
*
|
|
17
|
-
* @param
|
|
18
|
-
* @param
|
|
9
|
+
* @param {string} message - A message describing the creation status.
|
|
10
|
+
* @param {any} body - The response body to be included in the HTTP response.
|
|
19
11
|
*/
|
|
20
|
-
constructor(
|
|
12
|
+
constructor(message, body) {
|
|
21
13
|
super();
|
|
22
|
-
this.
|
|
23
|
-
this.
|
|
24
|
-
this.
|
|
25
|
-
this.
|
|
26
|
-
this.onDebug(
|
|
14
|
+
this.name = "Updated";
|
|
15
|
+
this.status = 200;
|
|
16
|
+
this.statusText = message;
|
|
17
|
+
this.body = body || undefined;
|
|
18
|
+
this.onDebug();
|
|
27
19
|
}
|
|
28
20
|
/**
|
|
29
|
-
* Converts the `Updated` instance into a `Response` object
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* @returns A `Response` object with the serialized JSON body and response metadata.
|
|
21
|
+
* Converts the `Updated` instance into a `Response` object.
|
|
22
|
+
* @returns {Response} A `Response` object with the body and response metadata.
|
|
33
23
|
*/
|
|
34
24
|
toResponse() {
|
|
35
25
|
const responseInit = {
|
|
36
|
-
headers: { "Content-Type": "application/json"
|
|
26
|
+
headers: { "Content-Type": "application/json" },
|
|
37
27
|
status: this.status,
|
|
38
28
|
statusText: this.statusText,
|
|
39
29
|
};
|
|
@@ -42,12 +32,10 @@ class Updated extends SuccessResponse {
|
|
|
42
32
|
/**
|
|
43
33
|
* Converts the `Updated` instance into a `Response` object using the `Response.json` method.
|
|
44
34
|
* This method is an alternative to `toResponse` for generating JSON responses.
|
|
45
|
-
*
|
|
46
|
-
* @returns A `Response` object with the JSON body and response metadata.
|
|
35
|
+
* @returns {Response["json"]} A `Response` object with the JSON body and response metadata.
|
|
47
36
|
*/
|
|
48
37
|
toJson() {
|
|
49
38
|
const responseInit = {
|
|
50
|
-
headers: this.headers,
|
|
51
39
|
status: this.status,
|
|
52
40
|
statusText: this.statusText,
|
|
53
41
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -13,17 +13,16 @@ export { NoContent } from "./http/successResponses/noContent";
|
|
|
13
13
|
export { Success } from "./http/successResponses/success";
|
|
14
14
|
export { Updated } from "./http/successResponses/updated";
|
|
15
15
|
export { ApiService } from "./services/apiService";
|
|
16
|
-
export { ArkynLogService } from "./services/arkynLogService";
|
|
17
16
|
export { DebugService } from "./services/debugService";
|
|
18
|
-
export {
|
|
19
|
-
export { decodeRequestBody } from "./
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export { getScopedParams } from "./
|
|
26
|
-
export { SchemaValidator } from "./
|
|
17
|
+
export { LogService } from "./services/logService";
|
|
18
|
+
export { decodeRequestBody } from "./utilities/decodeRequestBody";
|
|
19
|
+
export { decodeRequestErrorMessage } from "./utilities/decodeRequestErrorMessage";
|
|
20
|
+
export { errorHandler } from "./utilities/errorHandler";
|
|
21
|
+
export { flushDebugLogs } from "./utilities/flushDebugLogs";
|
|
22
|
+
export { formAsyncParse } from "./utilities/formAsyncParse";
|
|
23
|
+
export { formParse } from "./utilities/formParse";
|
|
24
|
+
export { getScopedParams } from "./utilities/getScopedParams";
|
|
25
|
+
export { SchemaValidator } from "./utilities/schemaValidator";
|
|
27
26
|
export { validateCep } from "./validations/validateCep";
|
|
28
27
|
export { validateCnpj } from "./validations/validateCnpj";
|
|
29
28
|
export { validateCpf } from "./validations/validateCpf";
|
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,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAG1D,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAGnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAG9D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC"}
|