{"version":3,"sources":["../../src/index.ts"],"names":["json","static","urlEncoded","urlencoded"],"mappings":"yoBAmCeA,IAAAA,CAAAA,YAAAA,CAcdC,IAAAA,CAAAA,MAAgBA,CAAAA,YAAAA,CAAAA,MAahBC,CAAAA,UAAoBC,CAAAA,YAAAA,CAAAA,UACrB","file":"index.cjs","sourcesContent":["import * as express from 'express';\n\n/**\n * @module Core\n * @preferred\n * @description Main entry point of Jova.js framework.\n */\n\nexport { Router } from 'express';\n\nexport * from './decorators/index';\nexport * from './handlers/index';\nexport * from './JovaServer';\nexport * from './shared/index';\nexport * from './types/index';\n\n/**\n * @module Core\n * @name Middlewares\n * @constant\n * @description Middlewares storage, contains re-exports from `express`\n */\nexport const Middlewares = {\n\t/**\n\t * @name json\n\t * @constant\n\t * @readonly\n\t * @description\n\t * This is a built-in middleware function in Express. It parses incoming requests with JSON payloads and is based on body-parser.\n\t *\n\t * Returns middleware that only parses JSON and only looks at requests where the `Content-Type` header matches the `type` option.\n\t * This parser accepts any Unicode encoding of the body and supports automatic inflation of `gzip` and `deflate` encodings.\n\t *\n\t * @see {@link https://expressjs.com/en/5x/api.html#express.json Express Docs: express.json([options])}\n\t */\n\tjson: express.json,\n\t/**\n\t * @name static\n\t * @constant\n\t * @readonly\n\t * @description\n\t * This is a built-in middleware function in Express. It serves static files and is based on serve-static.\n\t *\n\t * The `root` argument specifies the root directory from which to serve static assets.\n\t * The function determines the file to serve by combining `req.url` with the provided `root` directory.\n\t * When a file is not found, instead of sending a 404 response, it instead calls `next()` to move on to the next middleware, allowing for stacking and fall-backs.\n\t *\n\t * @see {@link https://expressjs.com/en/5x/api.html#express.static Express Docs: express.static(root, [options])}\n\t */\n\tstatic: express.static,\n\t/**\n\t * @name urlEncoded\n\t * @constant\n\t * @readonly\n\t * @description\n\t * This is a built-in middleware function in Express. It parses incoming requests with urlencoded payloads and is based on body-parser.\n\t *\n\t * Returns middleware that only parses urlencoded bodies and only looks at requests where the `Content-Type` header matches the `type` option.\n\t * This parser accepts only UTF-8 encoding of the body and supports automatic inflation of `gzip` and `deflate` encodings.\n\t *\n\t * @see {@link https://expressjs.com/en/5x/api.html#express.urlencoded Express Docs: express.urlencoded([options])}\n\t */\n\turlEncoded: express.urlencoded,\n};\n"]}