API
diff --git a/api/module-options.html b/api/module-options.html index 24b0484c..29afd642 100644 --- a/api/module-options.html +++ b/api/module-options.html @@ -4,8 +4,8 @@Module Options
diff --git a/api/service-interface.html b/api/service-interface.html index b4e29e34..c3d18651 100644 --- a/api/service-interface.html +++ b/api/service-interface.html @@ -4,8 +4,8 @@Service Interface
diff --git a/assets/js/15a3970d.55e78b23.js b/assets/js/15a3970d.55e78b23.js new file mode 100644 index 00000000..38fcb4f6 --- /dev/null +++ b/assets/js/15a3970d.55e78b23.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknestjs_cls_docs=self.webpackChunknestjs_cls_docs||[]).push([[769],{2599:(e,n,t)=>{t.d(n,{Z:()=>l});t(7378);var a=t(624);const r={tabItem:"tabItem_wHwb"};var s=t(4246);function l(e){let{children:n,hidden:t,className:l}=e;return(0,s.jsx)("div",{role:"tabpanel",className:(0,a.Z)(r.tabItem,l),hidden:t,children:n})}},8447:(e,n,t)=>{t.d(n,{Z:()=>T});var a=t(7378),r=t(624),s=t(9169),l=t(3620),i=t(9749),o=t(8981),u=t(56),c=t(8796);function d(e){return a.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,a.isValidElement)(e)&&function(e){const{props:n}=e;return!!n&&"object"==typeof n&&"value"in n}(e))return e;throw new Error(`Docusaurus error: BadYour Docusaurus site did not load properly.
\nA very common reason is a wrong site baseUrl configuration.
\nCurrent configured baseUrl = ${e} ${"/"===e?" (default value)":""}
\nWe suggest trying baseUrl =
\n.comment
can become .namespace--comment
) or replace them with your defined ones (like .editor__comment
). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the highlightAll
and highlightAllUnder
methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},3916:(e,t,n)=>{const r=n(9911),a=n(4587),o=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...o,...Object.keys(Prism.languages)];a(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(3392).resolve(t)],delete Prism.languages[e],n(3392)(t),o.add(e)}))}i.silent=!1,e.exports=i},3109:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s{const o=t.toLowerCase(),i=((e,t)=>{const[n,r]=(0,c.useState)(V(t,e)),a=(0,c.useRef)(),o=(0,c.useRef)();return(0,c.useEffect)((()=>{t===a.current&&e===o.current||(a.current=t,o.current=e,r(V(t,e)))}),[e,t]),n})(o,r),l=(e=>(0,c.useCallback)((t=>{var n=t,{className:r,style:a,line:o}=n,i=C(n,["className","style","line"]);const l=E(S({},i),{className:(0,d.Z)("token-line",r)});return"object"==typeof e&&"plain"in e&&(l.style=e.plain),"object"==typeof a&&(l.style=S(S({},l.style||{}),a)),l}),[e]))(i),s=(e=>{const t=(0,c.useCallback)((({types:t,empty:n})=>{if(null!=e)return 1===t.length&&"plain"===t[0]?null!=n?{display:"inline-block"}:void 0:1===t.length&&null!=n?e[t[0]]:Object.assign(null!=n?{display:"inline-block"}:{},...t.map((t=>e[t])))}),[e]);return(0,c.useCallback)((e=>{var n=e,{token:r,className:a,style:o}=n,i=C(n,["token","className","style"]);const l=E(S({},i),{className:(0,d.Z)("token",...r.types,a),children:r.content,style:t(r)});return null!=o&&(l.style=S(S({},l.style||{}),o)),l}),[t])})(i),u=(({prism:e,code:t,grammar:n,language:r})=>{const a=(0,c.useRef)(e);return(0,c.useMemo)((()=>{if(null==n)return J([t]);const e={code:t,grammar:n,language:r,tokens:[]};return a.current.hooks.run("before-tokenize",e),e.tokens=a.current.tokenize(t,n),a.current.hooks.run("after-tokenize",e),J(e.tokens)}),[t,n,r])})({prism:a,language:o,code:n,grammar:a.languages[o]});return e({tokens:u,className:`prism-code language-${o}`,style:null!=i?i.root:{},getLineProps:l,getTokenProps:s})},ee=e=>(0,c.createElement)(X,E(S({},e),{prism:e.prism||j,theme:e.theme||U,code:e.code,language:e.language}))},2215:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=!0,a="Invariant failed";function o(e,t){if(!e){if(r)throw new Error(a);var n="function"==typeof t?t():t,o=n?"".concat(a,": ").concat(n):a;throw new Error(o)}}},7529:e=>{"use strict";e.exports={}},6887:e=>{"use strict";e.exports=JSON.parse('{"/nestjs-cls/-e4e":{"__comp":"5e95c892","__context":{"plugin":"effe0ec2"}},"/nestjs-cls/-067":{"__comp":"a7bd4aaa","version":"935f2afb"},"/nestjs-cls/-75a":{"__comp":"a94703ab"},"/nestjs-cls/api-212":{"__comp":"17896441","content":"4c9a797e"},"/nestjs-cls/api/module-options-77a":{"__comp":"17896441","content":"97d55a5e"},"/nestjs-cls/api/service-interface-0da":{"__comp":"17896441","content":"df604e10"},"/nestjs-cls/considerations-416":{"__comp":"17896441","content":"94e5e920"},"/nestjs-cls/considerations/compatibility-10c":{"__comp":"17896441","content":"b787da23"},"/nestjs-cls/considerations/security-54f":{"__comp":"17896441","content":"57c14adc"},"/nestjs-cls/features-and-use-cases-1da":{"__comp":"17896441","content":"ef9f7d37"},"/nestjs-cls/features-and-use-cases/additional-cls-setup-d4a":{"__comp":"17896441","content":"6212613f"},"/nestjs-cls/features-and-use-cases/breaking-out-of-di-38a":{"__comp":"17896441","content":"6bb5cc7f"},"/nestjs-cls/features-and-use-cases/proxy-providers-53b":{"__comp":"17896441","content":"592cbe55"},"/nestjs-cls/features-and-use-cases/request-id-b90":{"__comp":"17896441","content":"f83e606a"},"/nestjs-cls/features-and-use-cases/type-safety-and-type-inference-88f":{"__comp":"17896441","content":"4998a0a4"},"/nestjs-cls/features-and-use-cases/usage-outside-of-web-request-9b7":{"__comp":"17896441","content":"a8d12efa"},"/nestjs-cls/introduction/how-it-works-a84":{"__comp":"17896441","content":"3ac8ff5d"},"/nestjs-cls/introduction/installation-885":{"__comp":"17896441","content":"3b39bba3"},"/nestjs-cls/introduction/quick-start-cf1":{"__comp":"17896441","content":"eca1a52a"},"/nestjs-cls/migration-guide-225":{"__comp":"17896441","content":"6fbaaecb"},"/nestjs-cls/migration-guide/v2x-v3x-553":{"__comp":"17896441","content":"baa2f4d8"},"/nestjs-cls/migration-guide/v3x-v4x-09e":{"__comp":"17896441","content":"075c86f0"},"/nestjs-cls/plugins-3b3":{"__comp":"17896441","content":"e83b8e0a"},"/nestjs-cls/plugins/available-plugins-3a5":{"__comp":"17896441","content":"e2112352"},"/nestjs-cls/plugins/available-plugins/transactional-927":{"__comp":"17896441","content":"739a1e5f"},"/nestjs-cls/plugins/available-plugins/transactional/creating-custom-adapter-09b":{"__comp":"17896441","content":"a886e75a"},"/nestjs-cls/plugins/available-plugins/transactional/knex-adapter-79d":{"__comp":"17896441","content":"fde5f810"},"/nestjs-cls/plugins/available-plugins/transactional/kysely-adapter-508":{"__comp":"17896441","content":"5e2b3edd"},"/nestjs-cls/plugins/available-plugins/transactional/pg-promise-adapter-d86":{"__comp":"17896441","content":"15a3970d"},"/nestjs-cls/plugins/available-plugins/transactional/prisma-adapter-b91":{"__comp":"17896441","content":"2d4cceda"},"/nestjs-cls/plugins/plugin-api-8c2":{"__comp":"17896441","content":"b67d68ed"},"/nestjs-cls/setting-up-cls-context-e63":{"__comp":"17896441","content":"a2c1fdb7"},"/nestjs-cls/setting-up-cls-context/using_cls_run-361":{"__comp":"17896441","content":"18c15bff"},"/nestjs-cls/setting-up-cls-context/using-a-decorator-cc5":{"__comp":"17896441","content":"eb9c95da"},"/nestjs-cls/setting-up-cls-context/using-a-guard-8c0":{"__comp":"17896441","content":"d459cca2"},"/nestjs-cls/setting-up-cls-context/using-a-middleware-ad9":{"__comp":"17896441","content":"ae4976f8"},"/nestjs-cls/setting-up-cls-context/using-an-interceptor-393":{"__comp":"17896441","content":"b09df872"},"/nestjs-cls/-c45":{"__comp":"17896441","content":"86ea57e0"}}')}},e=>{e.O(0,[532],(()=>{return t=9921,e(e.s=t);var t}));e.O()}]);
\ No newline at end of file
diff --git a/assets/js/main.b0974bd8.js.LICENSE.txt b/assets/js/main.0581de3b.js.LICENSE.txt
similarity index 100%
rename from assets/js/main.b0974bd8.js.LICENSE.txt
rename to assets/js/main.0581de3b.js.LICENSE.txt
diff --git a/assets/js/main.b0974bd8.js b/assets/js/main.b0974bd8.js
deleted file mode 100644
index fa9337fd..00000000
--- a/assets/js/main.b0974bd8.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/*! For license information please see main.b0974bd8.js.LICENSE.txt */
-(self.webpackChunknestjs_cls_docs=self.webpackChunknestjs_cls_docs||[]).push([[179],{3512:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});n(7378);var r=n(1237),a=n.n(r),o=n(6887);const i={"075c86f0":[()=>n.e(506).then(n.bind(n,9658)),"@site/docs/10_migration-guide/01_v3x-v4x.md",9658],17896441:[()=>Promise.all([n.e(532),n.e(918)]).then(n.bind(n,8135)),"@theme/DocItem",8135],"18c15bff":[()=>n.e(399).then(n.bind(n,6752)),"@site/docs/02_setting-up-cls-context/05_using_cls_run.md",6752],"2d4cceda":[()=>Promise.all([n.e(532),n.e(285)]).then(n.bind(n,2822)),"@site/docs/06_plugins/01_available-plugins/01-transactional/01-prisma-adapter.md",2822],"3ac8ff5d":[()=>n.e(332).then(n.bind(n,4760)),"@site/docs/01_introduction/03_how-it-works.md",4760],"3b39bba3":[()=>Promise.all([n.e(532),n.e(546)]).then(n.bind(n,7309)),"@site/docs/01_introduction/01_installation.md",7309],"4998a0a4":[()=>n.e(872).then(n.bind(n,5436)),"@site/docs/03_features-and-use-cases/05_type-safety-and-type-inference.md",5436],"4c9a797e":[()=>n.e(720).then(n.bind(n,5875)),"@site/docs/04_api/index.md",5875],"57c14adc":[()=>n.e(507).then(n.bind(n,3253)),"@site/docs/05_considerations/01_security.md",3253],"592cbe55":[()=>n.e(437).then(n.bind(n,652)),"@site/docs/03_features-and-use-cases/06_proxy-providers.md",652],"5e95c892":[()=>n.e(661).then(n.bind(n,32)),"@theme/DocsRoot",32],"6212613f":[()=>n.e(849).then(n.bind(n,2867)),"@site/docs/03_features-and-use-cases/02_additional-cls-setup.md",2867],"6bb5cc7f":[()=>n.e(499).then(n.bind(n,6035)),"@site/docs/03_features-and-use-cases/03_breaking-out-of-di.md",6035],"6fbaaecb":[()=>n.e(979).then(n.bind(n,726)),"@site/docs/10_migration-guide/index.md",726],"739a1e5f":[()=>Promise.all([n.e(532),n.e(180)]).then(n.bind(n,7518)),"@site/docs/06_plugins/01_available-plugins/01-transactional/index.md",7518],"86ea57e0":[()=>n.e(202).then(n.bind(n,5737)),"@site/docs/01_introduction/index.md",5737],"935f2afb":[()=>n.e(53).then(n.t.bind(n,1109,19)),"~docs/default/version-current-metadata-prop-751.json",1109],"94e5e920":[()=>n.e(575).then(n.bind(n,9257)),"@site/docs/05_considerations/index.md",9257],"97d55a5e":[()=>n.e(823).then(n.bind(n,6274)),"@site/docs/04_api/02_module-options.md",6274],a2c1fdb7:[()=>n.e(776).then(n.bind(n,5308)),"@site/docs/02_setting-up-cls-context/index.md",5308],a7bd4aaa:[()=>n.e(518).then(n.bind(n,2922)),"@theme/DocVersionRoot",2922],a886e75a:[()=>n.e(466).then(n.bind(n,877)),"@site/docs/06_plugins/01_available-plugins/01-transactional/10-creating-custom-adapter.md",877],a8d12efa:[()=>n.e(55).then(n.bind(n,9446)),"@site/docs/03_features-and-use-cases/04_usage-outside-of-web-request.md",9446],a94703ab:[()=>Promise.all([n.e(532),n.e(368)]).then(n.bind(n,552)),"@theme/DocRoot",552],ae4976f8:[()=>n.e(93).then(n.bind(n,5934)),"@site/docs/02_setting-up-cls-context/01_using-a-middleware.md",5934],b09df872:[()=>n.e(246).then(n.bind(n,8625)),"@site/docs/02_setting-up-cls-context/03_using-an-interceptor.md",8625],b67d68ed:[()=>n.e(241).then(n.bind(n,5575)),"@site/docs/06_plugins/02_plugin-api.md",5575],b787da23:[()=>n.e(126).then(n.bind(n,9622)),"@site/docs/05_considerations/02_compatibility.md",9622],baa2f4d8:[()=>n.e(423).then(n.bind(n,8711)),"@site/docs/10_migration-guide/02_v2x-v3x.md",8711],d459cca2:[()=>n.e(47).then(n.bind(n,2041)),"@site/docs/02_setting-up-cls-context/02_using-a-guard.md",2041],df604e10:[()=>n.e(775).then(n.bind(n,1763)),"@site/docs/04_api/01_service-interface.md",1763],e2112352:[()=>n.e(826).then(n.bind(n,1267)),"@site/docs/06_plugins/01_available-plugins/index.md",1267],e83b8e0a:[()=>n.e(446).then(n.bind(n,5834)),"@site/docs/06_plugins/index.md",5834],eb9c95da:[()=>n.e(715).then(n.bind(n,8258)),"@site/docs/02_setting-up-cls-context/04_using-a-decorator.md",8258],eca1a52a:[()=>n.e(873).then(n.bind(n,5638)),"@site/docs/01_introduction/02_quick-start.md",5638],ef9f7d37:[()=>n.e(990).then(n.bind(n,2098)),"@site/docs/03_features-and-use-cases/index.md",2098],effe0ec2:[()=>n.e(378).then(n.t.bind(n,3769,19)),"/home/ondrej/repos/nestjs-cls/docs/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",3769],f83e606a:[()=>n.e(104).then(n.bind(n,8472)),"@site/docs/03_features-and-use-cases/01_request-id.md",8472],fde5f810:[()=>Promise.all([n.e(532),n.e(738)]).then(n.bind(n,7636)),"@site/docs/06_plugins/01_available-plugins/01-transactional/02-knex-adapter.md",7636]};var l=n(4246);function s(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,l.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,l.jsx)("p",{children:String(t)}),(0,l.jsx)("div",{children:(0,l.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,l.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,l.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,l.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var u=n(7308),c=n(2729);function d(e,t){if("*"===e)return a()({loading:s,loader:()=>n.e(765).then(n.bind(n,765)),modules:["@theme/NotFound"],webpack:()=>[765],render(e,t){const n=e.default;return(0,l.jsx)(c.z,{value:{plugin:{name:"native",id:"default"}},children:(0,l.jsx)(n,{...t})})}});const r=o[`${e}-${t}`],d={},p=[],f=[],m=(0,u.Z)(r);return Object.entries(m).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],p.push(r[1]),f.push(r[2]))})),a().Map({loading:s,loader:d,modules:p,webpack:()=>f,render(t,n){const a=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const o=r.default;if(!o)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof o&&"function"!=typeof o||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{o[e]=r[e]}));let i=a;const l=n.split(".");l.slice(0,-1).forEach((e=>{i=i[e]})),i[l[l.length-1]]=o}));const o=a.__comp;delete a.__comp;const i=a.__context;return delete a.__context,(0,l.jsx)(c.z,{value:i,children:(0,l.jsx)(o,{...a,...n})})}})}const p=[{path:"/nestjs-cls/",component:d("/nestjs-cls/","a41"),routes:[{path:"/nestjs-cls/",component:d("/nestjs-cls/","c87"),routes:[{path:"/nestjs-cls/",component:d("/nestjs-cls/","042"),routes:[{path:"/nestjs-cls/api",component:d("/nestjs-cls/api","212"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/api/module-options",component:d("/nestjs-cls/api/module-options","77a"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/api/service-interface",component:d("/nestjs-cls/api/service-interface","0da"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/considerations",component:d("/nestjs-cls/considerations","416"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/considerations/compatibility",component:d("/nestjs-cls/considerations/compatibility","10c"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/considerations/security",component:d("/nestjs-cls/considerations/security","54f"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/features-and-use-cases",component:d("/nestjs-cls/features-and-use-cases","1da"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/features-and-use-cases/additional-cls-setup",component:d("/nestjs-cls/features-and-use-cases/additional-cls-setup","d4a"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/features-and-use-cases/breaking-out-of-di",component:d("/nestjs-cls/features-and-use-cases/breaking-out-of-di","38a"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/features-and-use-cases/proxy-providers",component:d("/nestjs-cls/features-and-use-cases/proxy-providers","53b"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/features-and-use-cases/request-id",component:d("/nestjs-cls/features-and-use-cases/request-id","b90"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/features-and-use-cases/type-safety-and-type-inference",component:d("/nestjs-cls/features-and-use-cases/type-safety-and-type-inference","88f"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/features-and-use-cases/usage-outside-of-web-request",component:d("/nestjs-cls/features-and-use-cases/usage-outside-of-web-request","9b7"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/introduction/how-it-works",component:d("/nestjs-cls/introduction/how-it-works","a84"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/introduction/installation",component:d("/nestjs-cls/introduction/installation","885"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/introduction/quick-start",component:d("/nestjs-cls/introduction/quick-start","cf1"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/migration-guide",component:d("/nestjs-cls/migration-guide","225"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/migration-guide/v2x-v3x",component:d("/nestjs-cls/migration-guide/v2x-v3x","553"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/migration-guide/v3x-v4x",component:d("/nestjs-cls/migration-guide/v3x-v4x","09e"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/plugins",component:d("/nestjs-cls/plugins","3b3"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/plugins/available-plugins",component:d("/nestjs-cls/plugins/available-plugins","3a5"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/plugins/available-plugins/transactional",component:d("/nestjs-cls/plugins/available-plugins/transactional","927"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/plugins/available-plugins/transactional/creating-custom-adapter",component:d("/nestjs-cls/plugins/available-plugins/transactional/creating-custom-adapter","09b"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/plugins/available-plugins/transactional/knex-adapter",component:d("/nestjs-cls/plugins/available-plugins/transactional/knex-adapter","79d"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/plugins/available-plugins/transactional/prisma-adapter",component:d("/nestjs-cls/plugins/available-plugins/transactional/prisma-adapter","b91"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/plugins/plugin-api",component:d("/nestjs-cls/plugins/plugin-api","8c2"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/setting-up-cls-context",component:d("/nestjs-cls/setting-up-cls-context","e63"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/setting-up-cls-context/using_cls_run",component:d("/nestjs-cls/setting-up-cls-context/using_cls_run","361"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/setting-up-cls-context/using-a-decorator",component:d("/nestjs-cls/setting-up-cls-context/using-a-decorator","cc5"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/setting-up-cls-context/using-a-guard",component:d("/nestjs-cls/setting-up-cls-context/using-a-guard","8c0"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/setting-up-cls-context/using-a-middleware",component:d("/nestjs-cls/setting-up-cls-context/using-a-middleware","ad9"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/setting-up-cls-context/using-an-interceptor",component:d("/nestjs-cls/setting-up-cls-context/using-an-interceptor","393"),exact:!0,sidebar:"documentationSidebar"},{path:"/nestjs-cls/",component:d("/nestjs-cls/","c45"),exact:!0,sidebar:"documentationSidebar"}]}]}]},{path:"*",component:d("*")}]},3210:(e,t,n)=>{"use strict";n.d(t,{_:()=>o,t:()=>i});var r=n(7378),a=n(4246);const o=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,a.jsx)(o.Provider,{value:n,children:t})}},9921:(e,t,n)=>{"use strict";var r=n(7378),a=n(7634),o=n(4289),i=n(2883),l=n(5894);const s=[n(142),n(3887),n(8833),n(6222)];var u=n(3512),c=n(3620),d=n(5473),p=n(4246);function f(e){let{children:t}=e;return(0,p.jsx)(p.Fragment,{children:t})}var m=n(2750),h=n(9939),g=n(1847),y=n(9899),b=n(8836),v=n(9699),w=n(1706),k=n(2064),x=n(2615),S=n(4386);function E(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,h.Z)(),r=(0,v.l)(),a=n[e].htmlLang,o=e=>e.replace("-","_");return(0,p.jsxs)(m.Z,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,p.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,p.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,p.jsx)("meta",{property:"og:locale",content:o(a)}),Object.values(n).filter((e=>a!==e.htmlLang)).map((e=>(0,p.jsx)("meta",{property:"og:locale:alternate",content:o(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function C(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,h.Z)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,h.Z)(),{pathname:r}=(0,c.TH)();return e+(0,x.applyTrailingSlash)((0,g.Z)(r),{trailingSlash:n,baseUrl:t})}(),a=t?`${n}${t}`:r;return(0,p.jsxs)(m.Z,{children:[(0,p.jsx)("meta",{property:"og:url",content:a}),(0,p.jsx)("link",{rel:"canonical",href:a})]})}function _(){const{i18n:{currentLocale:e}}=(0,h.Z)(),{metadata:t,image:n}=(0,y.L)();return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(m.Z,{children:[(0,p.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,p.jsx)("body",{className:w.h})]}),n&&(0,p.jsx)(b.d,{image:n}),(0,p.jsx)(C,{}),(0,p.jsx)(E,{}),(0,p.jsx)(S.Z,{tag:k.HX,locale:e}),(0,p.jsx)(m.Z,{children:t.map(((e,t)=>(0,p.jsx)("meta",{...e},t)))})]})}const j=new Map;function T(e){if(j.has(e.pathname))return{...e,pathname:j.get(e.pathname)};if((0,d.f)(u.Z,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return j.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return j.set(e.pathname,t),{...e,pathname:t}}var N=n(3210),R=n(2014),A=n(9749);function L(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r