@spinajs/http 2.0.238 → 2.0.240
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/lib/cjs/controllers.d.ts.map +1 -1
- package/lib/cjs/controllers.js +19 -16
- package/lib/cjs/controllers.js.map +1 -1
- package/lib/cjs/interfaces.d.ts +4 -3
- package/lib/cjs/interfaces.d.ts.map +1 -1
- package/lib/cjs/interfaces.js +3 -0
- package/lib/cjs/interfaces.js.map +1 -1
- package/lib/cjs/response-methods/badRequest.d.ts +1 -1
- package/lib/cjs/response-methods/badRequest.d.ts.map +1 -1
- package/lib/cjs/response-methods/badRequest.js +4 -2
- package/lib/cjs/response-methods/badRequest.js.map +1 -1
- package/lib/cjs/response-methods/conflict.d.ts +1 -1
- package/lib/cjs/response-methods/conflict.d.ts.map +1 -1
- package/lib/cjs/response-methods/conflict.js +2 -1
- package/lib/cjs/response-methods/conflict.js.map +1 -1
- package/lib/cjs/response-methods/created.d.ts +1 -1
- package/lib/cjs/response-methods/created.d.ts.map +1 -1
- package/lib/cjs/response-methods/created.js +2 -1
- package/lib/cjs/response-methods/created.js.map +1 -1
- package/lib/cjs/response-methods/entityTooLarge.d.ts +1 -1
- package/lib/cjs/response-methods/entityTooLarge.d.ts.map +1 -1
- package/lib/cjs/response-methods/entityTooLarge.js +2 -1
- package/lib/cjs/response-methods/entityTooLarge.js.map +1 -1
- package/lib/cjs/response-methods/forbidden.d.ts +1 -1
- package/lib/cjs/response-methods/forbidden.d.ts.map +1 -1
- package/lib/cjs/response-methods/forbidden.js +2 -1
- package/lib/cjs/response-methods/forbidden.js.map +1 -1
- package/lib/cjs/response-methods/noContent.d.ts +1 -1
- package/lib/cjs/response-methods/noContent.d.ts.map +1 -1
- package/lib/cjs/response-methods/noContent.js +2 -1
- package/lib/cjs/response-methods/noContent.js.map +1 -1
- package/lib/cjs/response-methods/notAcceptable.d.ts +1 -1
- package/lib/cjs/response-methods/notAcceptable.d.ts.map +1 -1
- package/lib/cjs/response-methods/notAcceptable.js +2 -1
- package/lib/cjs/response-methods/notAcceptable.js.map +1 -1
- package/lib/cjs/response-methods/notAllowed.d.ts +1 -1
- package/lib/cjs/response-methods/notAllowed.d.ts.map +1 -1
- package/lib/cjs/response-methods/notAllowed.js +2 -1
- package/lib/cjs/response-methods/notAllowed.js.map +1 -1
- package/lib/cjs/response-methods/notFound.d.ts +1 -1
- package/lib/cjs/response-methods/notFound.d.ts.map +1 -1
- package/lib/cjs/response-methods/notFound.js +2 -1
- package/lib/cjs/response-methods/notFound.js.map +1 -1
- package/lib/cjs/response-methods/ok.d.ts +1 -1
- package/lib/cjs/response-methods/ok.d.ts.map +1 -1
- package/lib/cjs/response-methods/ok.js +2 -1
- package/lib/cjs/response-methods/ok.js.map +1 -1
- package/lib/cjs/response-methods/serverError.d.ts +1 -1
- package/lib/cjs/response-methods/serverError.d.ts.map +1 -1
- package/lib/cjs/response-methods/serverError.js +2 -1
- package/lib/cjs/response-methods/serverError.js.map +1 -1
- package/lib/cjs/response-methods/template.d.ts +1 -1
- package/lib/cjs/response-methods/template.d.ts.map +1 -1
- package/lib/cjs/response-methods/template.js +2 -1
- package/lib/cjs/response-methods/template.js.map +1 -1
- package/lib/cjs/response-methods/unauthorized.d.ts +1 -1
- package/lib/cjs/response-methods/unauthorized.d.ts.map +1 -1
- package/lib/cjs/response-methods/unauthorized.js +2 -1
- package/lib/cjs/response-methods/unauthorized.js.map +1 -1
- package/lib/cjs/response-methods/validationError.d.ts +1 -1
- package/lib/cjs/response-methods/validationError.d.ts.map +1 -1
- package/lib/cjs/response-methods/validationError.js +2 -1
- package/lib/cjs/response-methods/validationError.js.map +1 -1
- package/lib/mjs/controllers.d.ts.map +1 -1
- package/lib/mjs/controllers.js +19 -16
- package/lib/mjs/controllers.js.map +1 -1
- package/lib/mjs/interfaces.d.ts +4 -3
- package/lib/mjs/interfaces.d.ts.map +1 -1
- package/lib/mjs/interfaces.js +4 -1
- package/lib/mjs/interfaces.js.map +1 -1
- package/lib/mjs/response-methods/badRequest.d.ts +1 -1
- package/lib/mjs/response-methods/badRequest.d.ts.map +1 -1
- package/lib/mjs/response-methods/badRequest.js +5 -3
- package/lib/mjs/response-methods/badRequest.js.map +1 -1
- package/lib/mjs/response-methods/conflict.d.ts +1 -1
- package/lib/mjs/response-methods/conflict.d.ts.map +1 -1
- package/lib/mjs/response-methods/conflict.js +2 -1
- package/lib/mjs/response-methods/conflict.js.map +1 -1
- package/lib/mjs/response-methods/created.d.ts +1 -1
- package/lib/mjs/response-methods/created.d.ts.map +1 -1
- package/lib/mjs/response-methods/created.js +2 -1
- package/lib/mjs/response-methods/created.js.map +1 -1
- package/lib/mjs/response-methods/entityTooLarge.d.ts +1 -1
- package/lib/mjs/response-methods/entityTooLarge.d.ts.map +1 -1
- package/lib/mjs/response-methods/entityTooLarge.js +2 -1
- package/lib/mjs/response-methods/entityTooLarge.js.map +1 -1
- package/lib/mjs/response-methods/forbidden.d.ts +1 -1
- package/lib/mjs/response-methods/forbidden.d.ts.map +1 -1
- package/lib/mjs/response-methods/forbidden.js +2 -1
- package/lib/mjs/response-methods/forbidden.js.map +1 -1
- package/lib/mjs/response-methods/noContent.d.ts +1 -1
- package/lib/mjs/response-methods/noContent.d.ts.map +1 -1
- package/lib/mjs/response-methods/noContent.js +2 -1
- package/lib/mjs/response-methods/noContent.js.map +1 -1
- package/lib/mjs/response-methods/notAcceptable.d.ts +1 -1
- package/lib/mjs/response-methods/notAcceptable.d.ts.map +1 -1
- package/lib/mjs/response-methods/notAcceptable.js +2 -1
- package/lib/mjs/response-methods/notAcceptable.js.map +1 -1
- package/lib/mjs/response-methods/notAllowed.d.ts +1 -1
- package/lib/mjs/response-methods/notAllowed.d.ts.map +1 -1
- package/lib/mjs/response-methods/notAllowed.js +2 -1
- package/lib/mjs/response-methods/notAllowed.js.map +1 -1
- package/lib/mjs/response-methods/notFound.d.ts +1 -1
- package/lib/mjs/response-methods/notFound.d.ts.map +1 -1
- package/lib/mjs/response-methods/notFound.js +2 -1
- package/lib/mjs/response-methods/notFound.js.map +1 -1
- package/lib/mjs/response-methods/ok.d.ts +1 -1
- package/lib/mjs/response-methods/ok.d.ts.map +1 -1
- package/lib/mjs/response-methods/ok.js +2 -1
- package/lib/mjs/response-methods/ok.js.map +1 -1
- package/lib/mjs/response-methods/serverError.d.ts +1 -1
- package/lib/mjs/response-methods/serverError.d.ts.map +1 -1
- package/lib/mjs/response-methods/serverError.js +2 -1
- package/lib/mjs/response-methods/serverError.js.map +1 -1
- package/lib/mjs/response-methods/template.d.ts +1 -1
- package/lib/mjs/response-methods/template.d.ts.map +1 -1
- package/lib/mjs/response-methods/template.js +2 -1
- package/lib/mjs/response-methods/template.js.map +1 -1
- package/lib/mjs/response-methods/unauthorized.d.ts +1 -1
- package/lib/mjs/response-methods/unauthorized.d.ts.map +1 -1
- package/lib/mjs/response-methods/unauthorized.js +2 -1
- package/lib/mjs/response-methods/unauthorized.js.map +1 -1
- package/lib/mjs/response-methods/validationError.d.ts +1 -1
- package/lib/mjs/response-methods/validationError.d.ts.map +1 -1
- package/lib/mjs/response-methods/validationError.js +2 -1
- package/lib/mjs/response-methods/validationError.js.map +1 -1
- package/lib/tsconfig.cjs.tsbuildinfo +1 -1
- package/lib/tsconfig.mjs.tsbuildinfo +1 -1
- package/package.json +11 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notAcceptable.js","sourceRoot":"","sources":["../../../src/response-methods/notAcceptable.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAoB,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;;GAKG;AACH,MAAM,OAAO,aAAc,SAAQ,UAAU;IAC3C,YAAY,
|
|
1
|
+
{"version":3,"file":"notAcceptable.js","sourceRoot":"","sources":["../../../src/response-methods/notAcceptable.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAoB,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;;GAKG;AACH,MAAM,OAAO,aAAc,SAAQ,UAAU;IAC3C,YAAY,IAAyC,EAAY,OAA2B;QAC1F,KAAK,CAAC,IAAI,CAAC,CAAC;QADmD,YAAO,GAAP,OAAO,CAAoB;IAE5F,CAAC;IAEM,KAAK,CAAC,OAAO,CAAC,IAAqB,EAAE,IAAsB;QAEhE,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;QAG9C,OAAO,MAAM,YAAY,CAAC,QAAQ,EAAE,mBAAmB,EAAE;YACvD,GAAG,IAAI,CAAC,OAAO;YACf,UAAU,EAAE,gBAAgB,CAAC,cAAc;SAC5C,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -9,7 +9,7 @@ import { BadRequest } from './badRequest.js';
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class NotAllowed extends BadRequest {
|
|
11
11
|
protected options?: IResponseOptions;
|
|
12
|
-
constructor(data?:
|
|
12
|
+
constructor(data?: string | object | Promise<unknown>, options?: IResponseOptions);
|
|
13
13
|
execute(_req: express.Request, _res: express.Response): Promise<(req: express.Request<import("express-serve-static-core").ParamsDictionary, any, any, import("qs").ParsedQs, Record<string, any>>, res: express.Response<any, Record<string, any>>) => void>;
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=notAllowed.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notAllowed.d.ts","sourceRoot":"","sources":["../../../src/response-methods/notAllowed.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,EAAoB,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEtE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;GAIG;AAEH,qBAAa,UAAW,SAAQ,UAAU;
|
|
1
|
+
{"version":3,"file":"notAllowed.d.ts","sourceRoot":"","sources":["../../../src/response-methods/notAllowed.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,EAAoB,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEtE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;GAIG;AAEH,qBAAa,UAAW,SAAQ,UAAU;IACe,SAAS,CAAC,OAAO,CAAC,EAAE,gBAAgB;gBAA/E,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,EAAY,OAAO,CAAC,EAAE,gBAAgB;IAI9E,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,QAAQ;CAUnE"}
|
|
@@ -12,7 +12,8 @@ export class NotAllowed extends BadRequest {
|
|
|
12
12
|
this.options = options;
|
|
13
13
|
}
|
|
14
14
|
async execute(_req, _res) {
|
|
15
|
-
|
|
15
|
+
const response = await this.prepareResponse();
|
|
16
|
+
return await httpResponse(response, 'not-allowed.pug', {
|
|
16
17
|
...this.options,
|
|
17
18
|
StatusCode: HTTP_STATUS_CODE.NOT_ALLOWED,
|
|
18
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notAllowed.js","sourceRoot":"","sources":["../../../src/response-methods/notAllowed.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAoB,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;GAIG;AAEH,MAAM,OAAO,UAAW,SAAQ,UAAU;IACxC,YAAY,
|
|
1
|
+
{"version":3,"file":"notAllowed.js","sourceRoot":"","sources":["../../../src/response-methods/notAllowed.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAoB,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;GAIG;AAEH,MAAM,OAAO,UAAW,SAAQ,UAAU;IACxC,YAAY,IAAyC,EAAY,OAA0B;QACzF,KAAK,CAAC,IAAI,CAAC,CAAC;QADmD,YAAO,GAAP,OAAO,CAAmB;IAE3F,CAAC;IAEM,KAAK,CAAC,OAAO,CAAC,IAAqB,EAAE,IAAsB;QAEhE,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;QAG9C,OAAO,MAAM,YAAY,CAAC,QAAQ,EAAE,iBAAiB,EAAE;YACrD,GAAG,IAAI,CAAC,OAAO;YACf,UAAU,EAAE,gBAAgB,CAAC,WAAW;SACzC,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -9,7 +9,7 @@ import { BadRequest } from './badRequest.js';
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class NotFound extends BadRequest {
|
|
11
11
|
protected options?: IResponseOptions;
|
|
12
|
-
constructor(data?:
|
|
12
|
+
constructor(data?: string | object | Promise<unknown>, options?: IResponseOptions);
|
|
13
13
|
execute(_req: express.Request, _res: express.Response): Promise<(req: express.Request<import("express-serve-static-core").ParamsDictionary, any, any, import("qs").ParsedQs, Record<string, any>>, res: express.Response<any, Record<string, any>>) => void>;
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=notFound.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notFound.d.ts","sourceRoot":"","sources":["../../../src/response-methods/notFound.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,EAAoB,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEtE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;GAIG;AACH,qBAAa,QAAS,SAAQ,UAAU;
|
|
1
|
+
{"version":3,"file":"notFound.d.ts","sourceRoot":"","sources":["../../../src/response-methods/notFound.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,EAAoB,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEtE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;GAIG;AACH,qBAAa,QAAS,SAAQ,UAAU;IACiB,SAAS,CAAC,OAAO,CAAC,EAAE,gBAAgB;gBAA/E,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,EAAY,OAAO,CAAC,EAAE,gBAAgB;IAI9E,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,QAAQ;CAUnE"}
|
|
@@ -12,7 +12,8 @@ export class NotFound extends BadRequest {
|
|
|
12
12
|
this.options = options;
|
|
13
13
|
}
|
|
14
14
|
async execute(_req, _res) {
|
|
15
|
-
|
|
15
|
+
const response = await this.prepareResponse();
|
|
16
|
+
return await httpResponse(response, 'notFound.pug', {
|
|
16
17
|
...this.options,
|
|
17
18
|
StatusCode: HTTP_STATUS_CODE.NOT_FOUND,
|
|
18
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notFound.js","sourceRoot":"","sources":["../../../src/response-methods/notFound.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAoB,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;GAIG;AACH,MAAM,OAAO,QAAS,SAAQ,UAAU;IACtC,YAAY,
|
|
1
|
+
{"version":3,"file":"notFound.js","sourceRoot":"","sources":["../../../src/response-methods/notFound.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAoB,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;GAIG;AACH,MAAM,OAAO,QAAS,SAAQ,UAAU;IACtC,YAAY,IAAyC,EAAY,OAA0B;QACzF,KAAK,CAAC,IAAI,CAAC,CAAC;QADmD,YAAO,GAAP,OAAO,CAAmB;IAE3F,CAAC;IAEM,KAAK,CAAC,OAAO,CAAC,IAAqB,EAAE,IAAsB;QAEhE,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;QAG9C,OAAO,MAAM,YAAY,CAAC,QAAQ,EAAE,cAAc,EAAE;YAClD,GAAG,IAAI,CAAC,OAAO;YACf,UAAU,EAAE,gBAAgB,CAAC,SAAS;SACvC,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -8,7 +8,7 @@ import { IResponseOptions, Response } from '../interfaces.js';
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class Ok extends Response {
|
|
10
10
|
protected options?: IResponseOptions;
|
|
11
|
-
constructor(data?:
|
|
11
|
+
constructor(data?: string | object | Promise<unknown>, options?: IResponseOptions);
|
|
12
12
|
execute(_req: express.Request, _res: express.Response): Promise<(req: express.Request<import("express-serve-static-core").ParamsDictionary, any, any, import("qs").ParsedQs, Record<string, any>>, res: express.Response<any, Record<string, any>>) => void>;
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=ok.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ok.d.ts","sourceRoot":"","sources":["../../../src/response-methods/ok.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,EAAoB,gBAAgB,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGhF;;;;GAIG;AACH,qBAAa,EAAG,SAAQ,QAAQ;
|
|
1
|
+
{"version":3,"file":"ok.d.ts","sourceRoot":"","sources":["../../../src/response-methods/ok.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,EAAoB,gBAAgB,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGhF;;;;GAIG;AACH,qBAAa,EAAG,SAAQ,QAAQ;IACyB,SAAS,CAAC,OAAO,CAAC,EAAE,gBAAgB;gBAA/E,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,EAAY,OAAO,CAAC,EAAE,gBAAgB;IAI9E,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,QAAQ;CASnE"}
|
|
@@ -11,7 +11,8 @@ export class Ok extends Response {
|
|
|
11
11
|
this.options = options;
|
|
12
12
|
}
|
|
13
13
|
async execute(_req, _res) {
|
|
14
|
-
|
|
14
|
+
const response = await this.prepareResponse();
|
|
15
|
+
return await httpResponse(response, 'ok.pug', {
|
|
15
16
|
...this.options,
|
|
16
17
|
StatusCode: HTTP_STATUS_CODE.OK,
|
|
17
18
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ok.js","sourceRoot":"","sources":["../../../src/response-methods/ok.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAoB,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C;;;;GAIG;AACH,MAAM,OAAO,EAAG,SAAQ,QAAQ;IAC9B,YAAY,
|
|
1
|
+
{"version":3,"file":"ok.js","sourceRoot":"","sources":["../../../src/response-methods/ok.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAoB,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C;;;;GAIG;AACH,MAAM,OAAO,EAAG,SAAQ,QAAQ;IAC9B,YAAY,IAAyC,EAAY,OAA0B;QACzF,KAAK,CAAC,IAAI,CAAC,CAAC;QADmD,YAAO,GAAP,OAAO,CAAmB;IAE3F,CAAC;IAEM,KAAK,CAAC,OAAO,CAAC,IAAqB,EAAE,IAAsB;QAEhE,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;QAE9C,OAAO,MAAM,YAAY,CAAC,QAAQ,EAAE,QAAQ,EAAE;YAC5C,GAAG,IAAI,CAAC,OAAO;YACf,UAAU,EAAE,gBAAgB,CAAC,EAAE;SAChC,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -9,7 +9,7 @@ import { BadRequest } from './badRequest.js';
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class ServerError extends BadRequest {
|
|
11
11
|
protected options?: IResponseOptions;
|
|
12
|
-
constructor(data?:
|
|
12
|
+
constructor(data?: string | object | Promise<unknown>, options?: IResponseOptions);
|
|
13
13
|
execute(_req: express.Request, _res: express.Response): Promise<(req: express.Request<import("express-serve-static-core").ParamsDictionary, any, any, import("qs").ParsedQs, Record<string, any>>, res: express.Response<any, Record<string, any>>) => void>;
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=serverError.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverError.d.ts","sourceRoot":"","sources":["../../../src/response-methods/serverError.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,EAAoB,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEtE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;GAIG;AAEH,qBAAa,WAAY,SAAQ,UAAU;
|
|
1
|
+
{"version":3,"file":"serverError.d.ts","sourceRoot":"","sources":["../../../src/response-methods/serverError.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,EAAoB,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEtE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;GAIG;AAEH,qBAAa,WAAY,SAAQ,UAAU;IACc,SAAS,CAAC,OAAO,CAAC,EAAE,gBAAgB;gBAA/E,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,EAAY,OAAO,CAAC,EAAE,gBAAgB;IAI9E,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,QAAQ;CAQnE"}
|
|
@@ -12,7 +12,8 @@ export class ServerError extends BadRequest {
|
|
|
12
12
|
this.options = options;
|
|
13
13
|
}
|
|
14
14
|
async execute(_req, _res) {
|
|
15
|
-
|
|
15
|
+
const response = await this.prepareResponse();
|
|
16
|
+
return await httpResponse({ error: response }, 'serverError.pug', {
|
|
16
17
|
...this.options,
|
|
17
18
|
StatusCode: HTTP_STATUS_CODE.INTERNAL_ERROR,
|
|
18
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverError.js","sourceRoot":"","sources":["../../../src/response-methods/serverError.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAoB,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;GAIG;AAEH,MAAM,OAAO,WAAY,SAAQ,UAAU;IACzC,YAAY,
|
|
1
|
+
{"version":3,"file":"serverError.js","sourceRoot":"","sources":["../../../src/response-methods/serverError.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAoB,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;GAIG;AAEH,MAAM,OAAO,WAAY,SAAQ,UAAU;IACzC,YAAY,IAAyC,EAAY,OAA0B;QACzF,KAAK,CAAC,IAAI,CAAC,CAAC;QADmD,YAAO,GAAP,OAAO,CAAmB;IAE3F,CAAC;IAEM,KAAK,CAAC,OAAO,CAAC,IAAqB,EAAE,IAAsB;QAChE,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;QAE9C,OAAO,MAAM,YAAY,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,iBAAiB,EAAE;YAChE,GAAG,IAAI,CAAC,OAAO;YACf,UAAU,EAAE,gBAAgB,CAAC,cAAc;SAC5C,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -10,7 +10,7 @@ export declare class TemplateResponse extends Response {
|
|
|
10
10
|
protected file: string;
|
|
11
11
|
protected fsTemplates: fs;
|
|
12
12
|
protected templateFile: string | ITemplateResponseOptions;
|
|
13
|
-
constructor(file: string | ITemplateResponseOptions, model:
|
|
13
|
+
constructor(file: string | ITemplateResponseOptions, model: object | Promise<unknown>, options?: IResponseOptions);
|
|
14
14
|
execute(_req: express.Request, _res: express.Response): Promise<(req: express.Request<import("express-serve-static-core").ParamsDictionary, any, any, import("qs").ParsedQs, Record<string, any>>, res: express.Response<any, Record<string, any>>) => void>;
|
|
15
15
|
}
|
|
16
16
|
//# sourceMappingURL=template.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../../src/response-methods/template.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AAEnC,OAAO,EAAoB,gBAAgB,EAAE,wBAAwB,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAG1G;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,QAAQ;
|
|
1
|
+
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../../src/response-methods/template.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AAEnC,OAAO,EAAoB,gBAAgB,EAAE,wBAAwB,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAG1G;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,QAAQ;IAM2C,SAAS,CAAC,OAAO,CAAC,EAAG,gBAAgB;IAL5H,SAAS,CAAC,IAAI,EAAE,MAAM,CAAC;IAEvB,SAAS,CAAC,WAAW,EAAE,EAAE,CAAC;IAC1B,SAAS,CAAC,YAAY,EAAE,MAAM,GAAG,wBAAwB,CAAC;gBAE9C,IAAI,EAAE,MAAM,GAAG,wBAAwB,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,EAAY,OAAO,CAAC,EAAG,gBAAgB;IAU/G,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,QAAQ;CAkBnE"}
|
|
@@ -16,6 +16,7 @@ export class TemplateResponse extends Response {
|
|
|
16
16
|
this.templateFile = file;
|
|
17
17
|
}
|
|
18
18
|
async execute(_req, _res) {
|
|
19
|
+
const response = await this.prepareResponse();
|
|
19
20
|
if (!this.fsTemplates) {
|
|
20
21
|
const provider = _.isString(this.templateFile) ? '__fs_http_templates__' : this.templateFile.provider;
|
|
21
22
|
throw new IOFail(`Cannot find template file provider ${provider}. Please check configuration for provider or make sure that __fs_http_templates__ is configured.`);
|
|
@@ -23,7 +24,7 @@ export class TemplateResponse extends Response {
|
|
|
23
24
|
this.file = _.isString(this.templateFile)
|
|
24
25
|
? await this.fsTemplates.download(this.templateFile)
|
|
25
26
|
: await this.fsTemplates.download(this.templateFile.template);
|
|
26
|
-
return await htmlResponse(this.file,
|
|
27
|
+
return await htmlResponse(this.file, response, {
|
|
27
28
|
...this.options,
|
|
28
29
|
StatusCode: this.options.StatusCode ? this.options.StatusCode : HTTP_STATUS_CODE.OK
|
|
29
30
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.js","sourceRoot":"","sources":["../../../src/response-methods/template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAG7C,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EAAE,gBAAgB,EAA8C,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC1G,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C;;GAEG;AACH,MAAM,OAAO,gBAAiB,SAAQ,QAAQ;IAM5C,YAAY,IAAuC,EAAE,
|
|
1
|
+
{"version":3,"file":"template.js","sourceRoot":"","sources":["../../../src/response-methods/template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAG7C,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EAAE,gBAAgB,EAA8C,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC1G,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C;;GAEG;AACH,MAAM,OAAO,gBAAiB,SAAQ,QAAQ;IAM5C,YAAY,IAAuC,EAAE,KAAgC,EAAY,OAA2B;QAC1H,KAAK,CAAC,KAAK,CAAC,CAAC;QADkF,YAAO,GAAP,OAAO,CAAoB;QAG1H,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC;YACjC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAK,mBAAmB,EAAE,CAAC,uBAAuB,CAAC,CAAC;YAChE,CAAC,CAAC,EAAE,CAAC,OAAO,CAAK,mBAAmB,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;QAEzD,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;IAC3B,CAAC;IAEM,KAAK,CAAC,OAAO,CAAC,IAAqB,EAAE,IAAsB;QAEhE,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;QAE9C,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE;YACrB,MAAM,QAAQ,GAAG,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC;YACtG,MAAM,IAAI,MAAM,CAAC,sCAAsC,QAAQ,kGAAkG,CAAC,CAAA;SACnK;QAED,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC;YACvC,CAAC,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC;YACpD,CAAC,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;QAEhE,OAAO,MAAM,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE;YAC7C,GAAG,IAAI,CAAC,OAAO;YACf,UAAU,EAAE,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,gBAAgB,CAAC,EAAE;SACpF,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -9,7 +9,7 @@ import { BadRequest } from './badRequest.js';
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class Unauthorized extends BadRequest {
|
|
11
11
|
protected options?: IResponseOptions;
|
|
12
|
-
constructor(data?:
|
|
12
|
+
constructor(data?: string | object | Promise<unknown>, options?: IResponseOptions);
|
|
13
13
|
execute(_req: express.Request, _res: express.Response): Promise<(req: express.Request<import("express-serve-static-core").ParamsDictionary, any, any, import("qs").ParsedQs, Record<string, any>>, res: express.Response<any, Record<string, any>>) => void>;
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=unauthorized.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unauthorized.d.ts","sourceRoot":"","sources":["../../../src/response-methods/unauthorized.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,EAAoB,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEtE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;GAIG;AAEH,qBAAa,YAAa,SAAQ,UAAU;
|
|
1
|
+
{"version":3,"file":"unauthorized.d.ts","sourceRoot":"","sources":["../../../src/response-methods/unauthorized.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,EAAoB,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEtE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;GAIG;AAEH,qBAAa,YAAa,SAAQ,UAAU;IACa,SAAS,CAAC,OAAO,CAAC,EAAE,gBAAgB;gBAA/E,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,EAAY,OAAO,CAAC,EAAE,gBAAgB;IAI9E,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,QAAQ;CASnE"}
|
|
@@ -12,7 +12,8 @@ export class Unauthorized extends BadRequest {
|
|
|
12
12
|
this.options = options;
|
|
13
13
|
}
|
|
14
14
|
async execute(_req, _res) {
|
|
15
|
-
|
|
15
|
+
const response = await this.prepareResponse();
|
|
16
|
+
return await httpResponse(response, 'responses/unauthorized', {
|
|
16
17
|
...this.options,
|
|
17
18
|
StatusCode: HTTP_STATUS_CODE.UNAUTHORIZED,
|
|
18
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unauthorized.js","sourceRoot":"","sources":["../../../src/response-methods/unauthorized.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAoB,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;GAIG;AAEH,MAAM,OAAO,YAAa,SAAQ,UAAU;IAC1C,YAAY,
|
|
1
|
+
{"version":3,"file":"unauthorized.js","sourceRoot":"","sources":["../../../src/response-methods/unauthorized.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAoB,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;GAIG;AAEH,MAAM,OAAO,YAAa,SAAQ,UAAU;IAC1C,YAAY,IAAyC,EAAY,OAA0B;QACzF,KAAK,CAAC,IAAI,CAAC,CAAC;QADmD,YAAO,GAAP,OAAO,CAAmB;IAE3F,CAAC;IAEM,KAAK,CAAC,OAAO,CAAC,IAAqB,EAAE,IAAsB;QAEhE,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;QAE9C,OAAO,MAAM,YAAY,CAAC,QAAQ,EAAE,wBAAwB,EAAE;YAC5D,GAAG,IAAI,CAAC,OAAO;YACf,UAAU,EAAE,gBAAgB,CAAC,YAAY;SAC1C,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -9,7 +9,7 @@ import { BadRequest } from './badRequest.js';
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class ValidationError extends BadRequest {
|
|
11
11
|
protected options?: IResponseOptions;
|
|
12
|
-
constructor(data?:
|
|
12
|
+
constructor(data?: string | object | Promise<unknown>, options?: IResponseOptions);
|
|
13
13
|
execute(_req: express.Request, _res: express.Response): Promise<(req: express.Request<import("express-serve-static-core").ParamsDictionary, any, any, import("qs").ParsedQs, Record<string, any>>, res: express.Response<any, Record<string, any>>) => void>;
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=validationError.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validationError.d.ts","sourceRoot":"","sources":["../../../src/response-methods/validationError.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,EAAoB,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEtE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;GAIG;AAEH,qBAAa,eAAgB,SAAQ,UAAU;
|
|
1
|
+
{"version":3,"file":"validationError.d.ts","sourceRoot":"","sources":["../../../src/response-methods/validationError.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,EAAoB,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEtE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;GAIG;AAEH,qBAAa,eAAgB,SAAQ,UAAU;IACU,SAAS,CAAC,OAAO,CAAC,EAAE,gBAAgB;gBAA/E,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,EAAY,OAAO,CAAC,EAAE,gBAAgB;IAI9E,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,QAAQ;CASnE"}
|
|
@@ -12,7 +12,8 @@ export class ValidationError extends BadRequest {
|
|
|
12
12
|
this.options = options;
|
|
13
13
|
}
|
|
14
14
|
async execute(_req, _res) {
|
|
15
|
-
|
|
15
|
+
const response = await this.prepareResponse();
|
|
16
|
+
return await httpResponse(response, 'validationError.pug', {
|
|
16
17
|
...this.options,
|
|
17
18
|
StatusCode: HTTP_STATUS_CODE.BAD_REQUEST,
|
|
18
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validationError.js","sourceRoot":"","sources":["../../../src/response-methods/validationError.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAoB,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;GAIG;AAEH,MAAM,OAAO,eAAgB,SAAQ,UAAU;IAC7C,YAAY,
|
|
1
|
+
{"version":3,"file":"validationError.js","sourceRoot":"","sources":["../../../src/response-methods/validationError.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAoB,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;GAIG;AAEH,MAAM,OAAO,eAAgB,SAAQ,UAAU;IAC7C,YAAY,IAAyC,EAAY,OAA0B;QACzF,KAAK,CAAC,IAAI,CAAC,CAAC;QADmD,YAAO,GAAP,OAAO,CAAmB;IAE3F,CAAC;IAEM,KAAK,CAAC,OAAO,CAAC,IAAqB,EAAE,IAAsB;QAEhE,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;QAE9C,OAAO,MAAM,YAAY,CAAC,QAAQ,EAAE,qBAAqB,EAAE;YACzD,GAAG,IAAI,CAAC,OAAO;YACf,UAAU,EAAE,gBAAgB,CAAC,WAAW;SACzC,CAAC,CAAC;IACL,CAAC;CACF"}
|