"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DefaultHttpContextProvider = void 0;
exports.setHttpContextResolver = setHttpContextResolver;
exports.getHttpContextResolver = getHttpContextResolver;
const __ΩRecord = ['K', 'T', 'Record', 'l\'e#"Rb!b"Pde"!N#!w#y'];
const http_1 = require("@deepkit/http");
const type_1 = require("@deepkit/type");
const DefaultHttpContextProvider = () => ({
    reqId: (0, type_1.uuid)()
});
exports.DefaultHttpContextProvider = DefaultHttpContextProvider;
let httpContextProvider = exports.DefaultHttpContextProvider;
function setHttpContextResolver(provider) {
    httpContextProvider = provider;
}
setHttpContextResolver.__type = [() => http_1.HttpRequest, 'request', () => __ΩRecord, '', 'provider', 'setHttpContextResolver', 'PPP7!2"&&o##/$2%"/&'];
function getHttpContextResolver() {
    return httpContextProvider;
}
getHttpContextResolver.__type = ['getHttpContextResolver', 'P"/!'];
//# sourceMappingURL=context.js.map