rest-chronicle
Version:
autodocumentate rest api
28 lines (27 loc) • 1.02 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
var _exportNames = {
DEFAULT_JSON_OFFSET: true,
DEFAULT_STATUS_CODE: true,
DEFAULT_CLS_CONTEXT_KEY: true,
isDecorated: true
};
exports.isDecorated = exports.DEFAULT_STATUS_CODE = exports.DEFAULT_JSON_OFFSET = exports.DEFAULT_CLS_CONTEXT_KEY = void 0;
var _http = require("./http");
Object.keys(_http).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
if (key in exports && exports[key] === _http[key]) return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function () {
return _http[key];
}
});
});
const DEFAULT_JSON_OFFSET = exports.DEFAULT_JSON_OFFSET = 4;
const DEFAULT_STATUS_CODE = exports.DEFAULT_STATUS_CODE = 200;
const DEFAULT_CLS_CONTEXT_KEY = exports.DEFAULT_CLS_CONTEXT_KEY = 'chronicle-context';
const isDecorated = exports.isDecorated = Symbol('REST_CHRONICLE_DECORATED');