securityos/node_modules/next/dist/client/components/app-router-headers.js

77 lines
2.0 KiB
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
0 && (module.exports = {
RSC: null,
ACTION: null,
NEXT_ROUTER_STATE_TREE: null,
NEXT_ROUTER_PREFETCH: null,
NEXT_URL: null,
RSC_CONTENT_TYPE_HEADER: null,
RSC_VARY_HEADER: null,
FLIGHT_PARAMETERS: null,
NEXT_RSC_UNION_QUERY: null
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
RSC: function() {
return RSC;
},
ACTION: function() {
return ACTION;
},
NEXT_ROUTER_STATE_TREE: function() {
return NEXT_ROUTER_STATE_TREE;
},
NEXT_ROUTER_PREFETCH: function() {
return NEXT_ROUTER_PREFETCH;
},
NEXT_URL: function() {
return NEXT_URL;
},
RSC_CONTENT_TYPE_HEADER: function() {
return RSC_CONTENT_TYPE_HEADER;
},
RSC_VARY_HEADER: function() {
return RSC_VARY_HEADER;
},
FLIGHT_PARAMETERS: function() {
return FLIGHT_PARAMETERS;
},
NEXT_RSC_UNION_QUERY: function() {
return NEXT_RSC_UNION_QUERY;
}
});
const RSC = "RSC";
const ACTION = "Next-Action";
const NEXT_ROUTER_STATE_TREE = "Next-Router-State-Tree";
const NEXT_ROUTER_PREFETCH = "Next-Router-Prefetch";
const NEXT_URL = "Next-Url";
const RSC_CONTENT_TYPE_HEADER = "text/x-component";
const RSC_VARY_HEADER = RSC + ", " + NEXT_ROUTER_STATE_TREE + ", " + NEXT_ROUTER_PREFETCH + ", " + NEXT_URL;
const FLIGHT_PARAMETERS = [
[
RSC
],
[
NEXT_ROUTER_STATE_TREE
],
[
NEXT_ROUTER_PREFETCH
]
];
const NEXT_RSC_UNION_QUERY = "_rsc";
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
Object.defineProperty(exports.default, '__esModule', { value: true });
Object.assign(exports.default, exports);
module.exports = exports.default;
}
//# sourceMappingURL=app-router-headers.js.map