[{"data":1,"prerenderedAt":7366},["ShallowReactive",2],{"navigation":3,"docs-/usage/typescript":164,"docs-/usage/typescript-surround":1048},[4,20,45,67,92,102,115],{"title":5,"_path":6,"children":7},"Get Started","/get-started",[8,11,14,17],{"title":9,"_path":10},"Installation","/get-started/installation",{"title":12,"_path":13},"Configuration","/get-started/configuration",{"title":15,"_path":16},"Edge Channel","/get-started/edge-channel",{"title":18,"_path":19},"Migration","/get-started/from-v1",{"title":21,"_path":22,"children":23},"Usage","/usage",[24,27,30,33,36,39,42],{"title":25,"_path":26},"Content Directory","/usage/content-directory",{"title":28,"_path":29},"Markdown","/usage/markdown",{"title":31,"_path":32},"JSON, YAML, CSV","/usage/files",{"title":34,"_path":35},"Render Content","/usage/render",{"title":37,"_path":38},"Search","/usage/search",{"title":40,"_path":41},"Fetch Navigation","/usage/navigation",{"title":43,"_path":44},"TypeScript Support","/usage/typescript",{"title":46,"_path":47,"children":48},"Composables","/composables",[49,52,55,58,61,64],{"title":50,"_path":51},"queryContent()","/composables/query-content",{"title":53,"_path":54},"fetchContentNavigation()","/composables/fetch-content-navigation",{"title":56,"_path":57},"useContentHead()","/composables/use-content-head",{"title":59,"_path":60},"useContentHelpers()","/composables/use-content-helpers",{"title":62,"_path":63},"useUnwrap()","/composables/use-unwrap",{"title":65,"_path":66},"searchContent()","/composables/search-content",{"title":68,"_path":69,"children":70},"Components","/components",[71,74,77,80,83,86,89],{"title":72,"_path":73},"\u003CContentDoc>","/components/content-doc",{"title":75,"_path":76},"\u003CContentRenderer>","/components/content-renderer",{"title":78,"_path":79},"\u003CContentList>","/components/content-list",{"title":81,"_path":82},"\u003CContentNavigation>","/components/content-navigation",{"title":84,"_path":85},"\u003CContentQuery>","/components/content-query",{"title":87,"_path":88},"\u003CContentSlot>","/components/content-slot",{"title":90,"_path":91},"Prose Components","/components/prose",{"title":93,"_path":94,"children":95},"Document Driven","/document-driven",[96,99],{"title":97,"_path":98},"Introduction","/document-driven/introduction",{"title":100,"_path":101},"useContent()","/document-driven/use-content",{"title":103,"_path":104,"children":105},"Recipes","/recipes",[106,109,112],{"title":107,"_path":108},"Hooks","/recipes/hooks",{"title":110,"_path":111},"Transformers","/recipes/transformers",{"title":113,"_path":114},"Sitemap","/recipes/sitemap",{"title":116,"_path":117,"children":118},"V1","/v1",[119,141,154],{"title":120,"_path":121,"children":122},"Getting Started","/v1/getting-started",[123,125,127,130,133,136,138],{"title":97,"_path":124},"/v1/getting-started/introduction",{"title":9,"_path":126},"/v1/getting-started/installation",{"title":128,"_path":129},"Writing content","/v1/getting-started/writing",{"title":131,"_path":132},"Fetching content","/v1/getting-started/fetching",{"title":134,"_path":135},"Displaying content","/v1/getting-started/displaying",{"title":12,"_path":137},"/v1/getting-started/configuration",{"title":139,"_path":140},"Advanced","/v1/getting-started/advanced",{"title":142,"_path":143,"children":144},"Examples","/v1/examples",[145,148,151],{"title":146,"_path":147},"Basic Usage","/v1/examples/basic",{"title":149,"_path":150},"TailwindCSS","/v1/examples/tailwindcss-typography",{"title":152,"_path":153},"Docs Theme","/v1/examples/docs-theme",{"title":155,"_path":156,"children":157},"Community","/v1/community",[158,161],{"title":159,"_path":160},"Snippets","/v1/community/snippets",{"title":162,"_path":163},"Integrations","/v1/community/integrations",{"_path":44,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":43,"description":168,"body":169,"_type":1043,"_id":1044,"_source":1045,"_file":1046,"_extension":1047},"usage",false,"","Nuxt Content v2 is built with TypeScript in mind.",{"type":170,"children":171,"toc":1037},"root",[172,181,187,192,220,261,267,280,293,298,688,694,707,1000,1006,1011,1016,1021,1031],{"type":173,"tag":174,"props":175,"children":177},"element","h1",{"id":176},"typings-properly",[178],{"type":179,"value":180},"text","Typings properly",{"type":173,"tag":182,"props":183,"children":184},"p",{},[185],{"type":179,"value":186},"The module exposes typings properly from configuration to query builder.",{"type":173,"tag":188,"props":189,"children":190},"h2",{"id":165},[191],{"type":179,"value":21},{"type":173,"tag":182,"props":193,"children":194},{},[195,197,203,205,218],{"type":179,"value":196},"When using ",{"type":173,"tag":198,"props":199,"children":201},"code",{"className":200},[],[202],{"type":179,"value":50},{"type":179,"value":204},", you will retrieve a ",{"type":173,"tag":206,"props":207,"children":211},"a",{"href":208,"rel":209},"https://github.com/nuxt/content/blob/main/src/runtime/types/index.d.ts#L429",[210],"nofollow",[212],{"type":173,"tag":198,"props":213,"children":215},{"className":214},[],[216],{"type":179,"value":217},"QueryBuilder",{"type":179,"value":219}," instance.",{"type":173,"tag":182,"props":221,"children":222},{},[223,225,231,233,239,240,246,248,259],{"type":179,"value":224},"Once you use one of the fetching methods (",{"type":173,"tag":198,"props":226,"children":228},{"className":227},[],[229],{"type":179,"value":230},"find()",{"type":179,"value":232},", ",{"type":173,"tag":198,"props":234,"children":236},{"className":235},[],[237],{"type":179,"value":238},"findOne()",{"type":179,"value":232},{"type":173,"tag":198,"props":241,"children":243},{"className":242},[],[244],{"type":179,"value":245},"findSurround()",{"type":179,"value":247},"), you will retrieve an object of type ",{"type":173,"tag":206,"props":249,"children":252},{"href":250,"rel":251},"https://github.com/nuxt/content/blob/main/src/runtime/types/index.d.ts#L51",[210],[253],{"type":173,"tag":198,"props":254,"children":256},{"className":255},[],[257],{"type":179,"value":258},"ParsedContent",{"type":179,"value":260},".",{"type":173,"tag":188,"props":262,"children":264},{"id":263},"type-augmentation",[265],{"type":179,"value":266},"Type augmentation",{"type":173,"tag":182,"props":268,"children":269},{},[270,272,278],{"type":179,"value":271},"If you are adding keys to the front-matter other than the ",{"type":173,"tag":206,"props":273,"children":275},{"href":274},"/usage/markdown#front-matter",[276],{"type":179,"value":277},"default keys",{"type":179,"value":279},", you might want to have typings over these.",{"type":173,"tag":182,"props":281,"children":282},{},[283,285,291],{"type":179,"value":284},"This is currently possible, yet not in an ",{"type":173,"tag":286,"props":287,"children":288},"em",{},[289],{"type":179,"value":290},"optimal",{"type":179,"value":292}," way.",{"type":173,"tag":182,"props":294,"children":295},{},[296],{"type":179,"value":297},"The recommended way to do it is by using this method:",{"type":173,"tag":299,"props":300,"children":304},"pre",{"className":301,"code":302,"language":303,"meta":167,"style":167},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup lang=\"ts\">\nimport type { ParsedContent } from '@nuxt/content/dist/runtime/types'\n\ninterface MyCustomParsedContent extends ParsedContent {\n  yourOwn: 'keys'\n  foo: 'bar'\n  baz: 'bar'\n}\n\n// That `data` key will be typed with `MyCustomParsedContent`\nconst { data } = await useAsyncData(\n  () => queryContent\u003CMyCustomParsedContent>({ ...anyQuery })\n)\n\u003C/script>\n","vue",[305],{"type":173,"tag":198,"props":306,"children":307},{"__ignoreMap":167},[308,362,413,423,452,479,505,530,539,547,557,601,663,671],{"type":173,"tag":309,"props":310,"children":313},"span",{"class":311,"line":312},"line",1,[314,320,326,332,337,342,347,353,357],{"type":173,"tag":309,"props":315,"children":317},{"style":316},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[318],{"type":179,"value":319},"\u003C",{"type":173,"tag":309,"props":321,"children":323},{"style":322},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[324],{"type":179,"value":325},"script",{"type":173,"tag":309,"props":327,"children":329},{"style":328},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[330],{"type":179,"value":331}," setup",{"type":173,"tag":309,"props":333,"children":334},{"style":328},[335],{"type":179,"value":336}," lang",{"type":173,"tag":309,"props":338,"children":339},{"style":316},[340],{"type":179,"value":341},"=",{"type":173,"tag":309,"props":343,"children":344},{"style":316},[345],{"type":179,"value":346},"\"",{"type":173,"tag":309,"props":348,"children":350},{"style":349},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[351],{"type":179,"value":352},"ts",{"type":173,"tag":309,"props":354,"children":355},{"style":316},[356],{"type":179,"value":346},{"type":173,"tag":309,"props":358,"children":359},{"style":316},[360],{"type":179,"value":361},">\n",{"type":173,"tag":309,"props":363,"children":365},{"class":311,"line":364},2,[366,372,377,382,388,393,398,403,408],{"type":173,"tag":309,"props":367,"children":369},{"style":368},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[370],{"type":179,"value":371},"import",{"type":173,"tag":309,"props":373,"children":374},{"style":368},[375],{"type":179,"value":376}," type",{"type":173,"tag":309,"props":378,"children":379},{"style":316},[380],{"type":179,"value":381}," {",{"type":173,"tag":309,"props":383,"children":385},{"style":384},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[386],{"type":179,"value":387}," ParsedContent",{"type":173,"tag":309,"props":389,"children":390},{"style":316},[391],{"type":179,"value":392}," }",{"type":173,"tag":309,"props":394,"children":395},{"style":368},[396],{"type":179,"value":397}," from",{"type":173,"tag":309,"props":399,"children":400},{"style":316},[401],{"type":179,"value":402}," '",{"type":173,"tag":309,"props":404,"children":405},{"style":349},[406],{"type":179,"value":407},"@nuxt/content/dist/runtime/types",{"type":173,"tag":309,"props":409,"children":410},{"style":316},[411],{"type":179,"value":412},"'\n",{"type":173,"tag":309,"props":414,"children":416},{"class":311,"line":415},3,[417],{"type":173,"tag":309,"props":418,"children":420},{"emptyLinePlaceholder":419},true,[421],{"type":179,"value":422},"\n",{"type":173,"tag":309,"props":424,"children":426},{"class":311,"line":425},4,[427,432,438,443,447],{"type":173,"tag":309,"props":428,"children":429},{"style":328},[430],{"type":179,"value":431},"interface",{"type":173,"tag":309,"props":433,"children":435},{"style":434},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[436],{"type":179,"value":437}," MyCustomParsedContent",{"type":173,"tag":309,"props":439,"children":440},{"style":328},[441],{"type":179,"value":442}," extends",{"type":173,"tag":309,"props":444,"children":445},{"style":434},[446],{"type":179,"value":387},{"type":173,"tag":309,"props":448,"children":449},{"style":316},[450],{"type":179,"value":451}," {\n",{"type":173,"tag":309,"props":453,"children":455},{"class":311,"line":454},5,[456,461,466,470,475],{"type":173,"tag":309,"props":457,"children":458},{"style":322},[459],{"type":179,"value":460},"  yourOwn",{"type":173,"tag":309,"props":462,"children":463},{"style":316},[464],{"type":179,"value":465},":",{"type":173,"tag":309,"props":467,"children":468},{"style":316},[469],{"type":179,"value":402},{"type":173,"tag":309,"props":471,"children":472},{"style":349},[473],{"type":179,"value":474},"keys",{"type":173,"tag":309,"props":476,"children":477},{"style":316},[478],{"type":179,"value":412},{"type":173,"tag":309,"props":480,"children":482},{"class":311,"line":481},6,[483,488,492,496,501],{"type":173,"tag":309,"props":484,"children":485},{"style":322},[486],{"type":179,"value":487},"  foo",{"type":173,"tag":309,"props":489,"children":490},{"style":316},[491],{"type":179,"value":465},{"type":173,"tag":309,"props":493,"children":494},{"style":316},[495],{"type":179,"value":402},{"type":173,"tag":309,"props":497,"children":498},{"style":349},[499],{"type":179,"value":500},"bar",{"type":173,"tag":309,"props":502,"children":503},{"style":316},[504],{"type":179,"value":412},{"type":173,"tag":309,"props":506,"children":508},{"class":311,"line":507},7,[509,514,518,522,526],{"type":173,"tag":309,"props":510,"children":511},{"style":322},[512],{"type":179,"value":513},"  baz",{"type":173,"tag":309,"props":515,"children":516},{"style":316},[517],{"type":179,"value":465},{"type":173,"tag":309,"props":519,"children":520},{"style":316},[521],{"type":179,"value":402},{"type":173,"tag":309,"props":523,"children":524},{"style":349},[525],{"type":179,"value":500},{"type":173,"tag":309,"props":527,"children":528},{"style":316},[529],{"type":179,"value":412},{"type":173,"tag":309,"props":531,"children":533},{"class":311,"line":532},8,[534],{"type":173,"tag":309,"props":535,"children":536},{"style":316},[537],{"type":179,"value":538},"}\n",{"type":173,"tag":309,"props":540,"children":542},{"class":311,"line":541},9,[543],{"type":173,"tag":309,"props":544,"children":545},{"emptyLinePlaceholder":419},[546],{"type":179,"value":422},{"type":173,"tag":309,"props":548,"children":550},{"class":311,"line":549},10,[551],{"type":173,"tag":309,"props":552,"children":554},{"style":553},"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[555],{"type":179,"value":556},"// That `data` key will be typed with `MyCustomParsedContent`\n",{"type":173,"tag":309,"props":558,"children":560},{"class":311,"line":559},11,[561,566,570,575,580,585,590,596],{"type":173,"tag":309,"props":562,"children":563},{"style":328},[564],{"type":179,"value":565},"const",{"type":173,"tag":309,"props":567,"children":568},{"style":316},[569],{"type":179,"value":381},{"type":173,"tag":309,"props":571,"children":572},{"style":384},[573],{"type":179,"value":574}," data ",{"type":173,"tag":309,"props":576,"children":577},{"style":316},[578],{"type":179,"value":579},"}",{"type":173,"tag":309,"props":581,"children":582},{"style":316},[583],{"type":179,"value":584}," =",{"type":173,"tag":309,"props":586,"children":587},{"style":368},[588],{"type":179,"value":589}," await",{"type":173,"tag":309,"props":591,"children":593},{"style":592},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[594],{"type":179,"value":595}," useAsyncData",{"type":173,"tag":309,"props":597,"children":598},{"style":384},[599],{"type":179,"value":600},"(\n",{"type":173,"tag":309,"props":602,"children":604},{"class":311,"line":603},12,[605,610,615,620,624,629,634,639,644,649,654,658],{"type":173,"tag":309,"props":606,"children":607},{"style":316},[608],{"type":179,"value":609},"  ()",{"type":173,"tag":309,"props":611,"children":612},{"style":328},[613],{"type":179,"value":614}," =>",{"type":173,"tag":309,"props":616,"children":617},{"style":592},[618],{"type":179,"value":619}," queryContent",{"type":173,"tag":309,"props":621,"children":622},{"style":316},[623],{"type":179,"value":319},{"type":173,"tag":309,"props":625,"children":626},{"style":434},[627],{"type":179,"value":628},"MyCustomParsedContent",{"type":173,"tag":309,"props":630,"children":631},{"style":316},[632],{"type":179,"value":633},">",{"type":173,"tag":309,"props":635,"children":636},{"style":384},[637],{"type":179,"value":638},"(",{"type":173,"tag":309,"props":640,"children":641},{"style":316},[642],{"type":179,"value":643},"{",{"type":173,"tag":309,"props":645,"children":646},{"style":316},[647],{"type":179,"value":648}," ...",{"type":173,"tag":309,"props":650,"children":651},{"style":384},[652],{"type":179,"value":653},"anyQuery ",{"type":173,"tag":309,"props":655,"children":656},{"style":316},[657],{"type":179,"value":579},{"type":173,"tag":309,"props":659,"children":660},{"style":384},[661],{"type":179,"value":662},")\n",{"type":173,"tag":309,"props":664,"children":666},{"class":311,"line":665},13,[667],{"type":173,"tag":309,"props":668,"children":669},{"style":384},[670],{"type":179,"value":662},{"type":173,"tag":309,"props":672,"children":674},{"class":311,"line":673},14,[675,680,684],{"type":173,"tag":309,"props":676,"children":677},{"style":316},[678],{"type":179,"value":679},"\u003C/",{"type":173,"tag":309,"props":681,"children":682},{"style":322},[683],{"type":179,"value":325},{"type":173,"tag":309,"props":685,"children":686},{"style":316},[687],{"type":179,"value":361},{"type":173,"tag":188,"props":689,"children":691},{"id":690},"markdown-specific-types",[692],{"type":179,"value":693},"Markdown Specific Types",{"type":173,"tag":182,"props":695,"children":696},{},[697,699,705],{"type":179,"value":698},"If you know the content being fetched will be Markdown, then you can extend the ",{"type":173,"tag":198,"props":700,"children":702},{"className":701},[],[703],{"type":179,"value":704},"MarkdownParsedContent",{"type":179,"value":706}," type for improved\ntype-safety.",{"type":173,"tag":299,"props":708,"children":710},{"className":301,"code":709,"language":303,"meta":167,"style":167},"\u003Cscript setup lang=\"ts\">\nimport type { MarkdownParsedContent } from '@nuxt/content/dist/runtime/types'\n\ninterface Article extends MarkdownParsedContent {\n  author: string\n}\nconst { data } = await useAsyncData(\n  'first-article',\n  () => queryContent\u003CArticle>('articles').findOne()\n)\n// data.value.author will be typed as well as markdown specific entries\n\u003C/script>\n",[711],{"type":173,"tag":198,"props":712,"children":713},{"__ignoreMap":167},[714,753,793,800,824,841,848,883,906,970,977,985],{"type":173,"tag":309,"props":715,"children":716},{"class":311,"line":312},[717,721,725,729,733,737,741,745,749],{"type":173,"tag":309,"props":718,"children":719},{"style":316},[720],{"type":179,"value":319},{"type":173,"tag":309,"props":722,"children":723},{"style":322},[724],{"type":179,"value":325},{"type":173,"tag":309,"props":726,"children":727},{"style":328},[728],{"type":179,"value":331},{"type":173,"tag":309,"props":730,"children":731},{"style":328},[732],{"type":179,"value":336},{"type":173,"tag":309,"props":734,"children":735},{"style":316},[736],{"type":179,"value":341},{"type":173,"tag":309,"props":738,"children":739},{"style":316},[740],{"type":179,"value":346},{"type":173,"tag":309,"props":742,"children":743},{"style":349},[744],{"type":179,"value":352},{"type":173,"tag":309,"props":746,"children":747},{"style":316},[748],{"type":179,"value":346},{"type":173,"tag":309,"props":750,"children":751},{"style":316},[752],{"type":179,"value":361},{"type":173,"tag":309,"props":754,"children":755},{"class":311,"line":364},[756,760,764,768,773,777,781,785,789],{"type":173,"tag":309,"props":757,"children":758},{"style":368},[759],{"type":179,"value":371},{"type":173,"tag":309,"props":761,"children":762},{"style":368},[763],{"type":179,"value":376},{"type":173,"tag":309,"props":765,"children":766},{"style":316},[767],{"type":179,"value":381},{"type":173,"tag":309,"props":769,"children":770},{"style":384},[771],{"type":179,"value":772}," MarkdownParsedContent",{"type":173,"tag":309,"props":774,"children":775},{"style":316},[776],{"type":179,"value":392},{"type":173,"tag":309,"props":778,"children":779},{"style":368},[780],{"type":179,"value":397},{"type":173,"tag":309,"props":782,"children":783},{"style":316},[784],{"type":179,"value":402},{"type":173,"tag":309,"props":786,"children":787},{"style":349},[788],{"type":179,"value":407},{"type":173,"tag":309,"props":790,"children":791},{"style":316},[792],{"type":179,"value":412},{"type":173,"tag":309,"props":794,"children":795},{"class":311,"line":415},[796],{"type":173,"tag":309,"props":797,"children":798},{"emptyLinePlaceholder":419},[799],{"type":179,"value":422},{"type":173,"tag":309,"props":801,"children":802},{"class":311,"line":425},[803,807,812,816,820],{"type":173,"tag":309,"props":804,"children":805},{"style":328},[806],{"type":179,"value":431},{"type":173,"tag":309,"props":808,"children":809},{"style":434},[810],{"type":179,"value":811}," Article",{"type":173,"tag":309,"props":813,"children":814},{"style":328},[815],{"type":179,"value":442},{"type":173,"tag":309,"props":817,"children":818},{"style":434},[819],{"type":179,"value":772},{"type":173,"tag":309,"props":821,"children":822},{"style":316},[823],{"type":179,"value":451},{"type":173,"tag":309,"props":825,"children":826},{"class":311,"line":454},[827,832,836],{"type":173,"tag":309,"props":828,"children":829},{"style":322},[830],{"type":179,"value":831},"  author",{"type":173,"tag":309,"props":833,"children":834},{"style":316},[835],{"type":179,"value":465},{"type":173,"tag":309,"props":837,"children":838},{"style":434},[839],{"type":179,"value":840}," string\n",{"type":173,"tag":309,"props":842,"children":843},{"class":311,"line":481},[844],{"type":173,"tag":309,"props":845,"children":846},{"style":316},[847],{"type":179,"value":538},{"type":173,"tag":309,"props":849,"children":850},{"class":311,"line":507},[851,855,859,863,867,871,875,879],{"type":173,"tag":309,"props":852,"children":853},{"style":328},[854],{"type":179,"value":565},{"type":173,"tag":309,"props":856,"children":857},{"style":316},[858],{"type":179,"value":381},{"type":173,"tag":309,"props":860,"children":861},{"style":384},[862],{"type":179,"value":574},{"type":173,"tag":309,"props":864,"children":865},{"style":316},[866],{"type":179,"value":579},{"type":173,"tag":309,"props":868,"children":869},{"style":316},[870],{"type":179,"value":584},{"type":173,"tag":309,"props":872,"children":873},{"style":368},[874],{"type":179,"value":589},{"type":173,"tag":309,"props":876,"children":877},{"style":592},[878],{"type":179,"value":595},{"type":173,"tag":309,"props":880,"children":881},{"style":384},[882],{"type":179,"value":600},{"type":173,"tag":309,"props":884,"children":885},{"class":311,"line":532},[886,891,896,901],{"type":173,"tag":309,"props":887,"children":888},{"style":316},[889],{"type":179,"value":890},"  '",{"type":173,"tag":309,"props":892,"children":893},{"style":349},[894],{"type":179,"value":895},"first-article",{"type":173,"tag":309,"props":897,"children":898},{"style":316},[899],{"type":179,"value":900},"'",{"type":173,"tag":309,"props":902,"children":903},{"style":316},[904],{"type":179,"value":905},",\n",{"type":173,"tag":309,"props":907,"children":908},{"class":311,"line":541},[909,913,917,921,925,930,934,938,942,947,951,956,960,965],{"type":173,"tag":309,"props":910,"children":911},{"style":316},[912],{"type":179,"value":609},{"type":173,"tag":309,"props":914,"children":915},{"style":328},[916],{"type":179,"value":614},{"type":173,"tag":309,"props":918,"children":919},{"style":592},[920],{"type":179,"value":619},{"type":173,"tag":309,"props":922,"children":923},{"style":316},[924],{"type":179,"value":319},{"type":173,"tag":309,"props":926,"children":927},{"style":434},[928],{"type":179,"value":929},"Article",{"type":173,"tag":309,"props":931,"children":932},{"style":316},[933],{"type":179,"value":633},{"type":173,"tag":309,"props":935,"children":936},{"style":384},[937],{"type":179,"value":638},{"type":173,"tag":309,"props":939,"children":940},{"style":316},[941],{"type":179,"value":900},{"type":173,"tag":309,"props":943,"children":944},{"style":349},[945],{"type":179,"value":946},"articles",{"type":173,"tag":309,"props":948,"children":949},{"style":316},[950],{"type":179,"value":900},{"type":173,"tag":309,"props":952,"children":953},{"style":384},[954],{"type":179,"value":955},")",{"type":173,"tag":309,"props":957,"children":958},{"style":316},[959],{"type":179,"value":260},{"type":173,"tag":309,"props":961,"children":962},{"style":592},[963],{"type":179,"value":964},"findOne",{"type":173,"tag":309,"props":966,"children":967},{"style":384},[968],{"type":179,"value":969},"()\n",{"type":173,"tag":309,"props":971,"children":972},{"class":311,"line":549},[973],{"type":173,"tag":309,"props":974,"children":975},{"style":384},[976],{"type":179,"value":662},{"type":173,"tag":309,"props":978,"children":979},{"class":311,"line":559},[980],{"type":173,"tag":309,"props":981,"children":982},{"style":553},[983],{"type":179,"value":984},"// data.value.author will be typed as well as markdown specific entries\n",{"type":173,"tag":309,"props":986,"children":987},{"class":311,"line":603},[988,992,996],{"type":173,"tag":309,"props":989,"children":990},{"style":316},[991],{"type":179,"value":679},{"type":173,"tag":309,"props":993,"children":994},{"style":322},[995],{"type":179,"value":325},{"type":173,"tag":309,"props":997,"children":998},{"style":316},[999],{"type":179,"value":361},{"type":173,"tag":188,"props":1001,"children":1003},{"id":1002},"the-future",[1004],{"type":179,"value":1005},"The future",{"type":173,"tag":182,"props":1007,"children":1008},{},[1009],{"type":179,"value":1010},"TypeScript support is a strong focus for us.",{"type":173,"tag":182,"props":1012,"children":1013},{},[1014],{"type":179,"value":1015},"We want to provide fully generated type for each content in your project, that would allow the same as type augmentation.",{"type":173,"tag":182,"props":1017,"children":1018},{},[1019],{"type":179,"value":1020},"This is not yet implemented but will be part of the roadmap in upcoming months.",{"type":173,"tag":1022,"props":1023,"children":1025},"callout",{"type":1024},"warning",[1026],{"type":173,"tag":182,"props":1027,"children":1028},{},[1029],{"type":179,"value":1030},"You can track #1057 if you want to know more about roadmap for TypeScript support of front-matter keys.",{"type":173,"tag":1032,"props":1033,"children":1034},"style",{},[1035],{"type":179,"value":1036},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":167,"searchDepth":364,"depth":364,"links":1038},[1039,1040,1041,1042],{"id":165,"depth":364,"text":21},{"id":263,"depth":364,"text":266},{"id":690,"depth":364,"text":693},{"id":1002,"depth":364,"text":1005},"markdown","content:2.usage:5.typescript.md","content","2.usage/5.typescript.md","md",[1049,3240],{"_path":41,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":40,"description":1050,"body":1051,"_type":1043,"_id":3238,"_source":1045,"_file":3239,"_extension":1047},"Component and composable to display a navigation",{"type":170,"children":1052,"toc":3232},[1053,1059,1072,1093,1098,1104,1109,1127,1668,1674,1687,1939,1952,1964,2197,2221,2645,2651,2671,2709,2721,2743,2756,3023,3029,3048,3053,3165,3169,3228],{"type":173,"tag":174,"props":1054,"children":1056},{"id":1055},"self-managed-navigation",[1057],{"type":179,"value":1058},"Self-managed navigation",{"type":173,"tag":182,"props":1060,"children":1061},{},[1062,1064,1070],{"type":179,"value":1063},"Nuxt Content provides a component and composable to display a navigation based on the ",{"type":173,"tag":198,"props":1065,"children":1067},{"className":1066},[],[1068],{"type":179,"value":1069},"content/",{"type":179,"value":1071}," directory structure and files.",{"type":173,"tag":182,"props":1073,"children":1074},{},[1075,1077,1083,1085,1091],{"type":179,"value":1076},"Based on the generated ",{"type":173,"tag":198,"props":1078,"children":1080},{"className":1079},[],[1081],{"type":179,"value":1082},"_id",{"type":179,"value":1084}," and ",{"type":173,"tag":198,"props":1086,"children":1088},{"className":1087},[],[1089],{"type":179,"value":1090},"_path",{"type":179,"value":1092}," keys, Nuxt Content generates a whole navigation structure for your content.",{"type":173,"tag":182,"props":1094,"children":1095},{},[1096],{"type":179,"value":1097},"It allows you to create advanced navigation components without having to maintain any querying logic related to it.",{"type":173,"tag":188,"props":1099,"children":1101},{"id":1100},"structure",[1102],{"type":179,"value":1103},"Structure",{"type":173,"tag":182,"props":1105,"children":1106},{},[1107],{"type":179,"value":1108},"The navigation object can be seen as a tree, representing the structure of your content sources in JSON format.",{"type":173,"tag":182,"props":1110,"children":1111},{},[1112,1114,1120,1121,1126],{"type":179,"value":1113},"It is divided into two types of nodes: ",{"type":173,"tag":1115,"props":1116,"children":1117},"strong",{},[1118],{"type":179,"value":1119},"pages",{"type":179,"value":1084},{"type":173,"tag":1115,"props":1122,"children":1123},{},[1124],{"type":179,"value":1125},"directories",{"type":179,"value":260},{"type":173,"tag":1128,"props":1129,"children":1130},"code-group",{},[1131,1140,1281,1408],{"type":173,"tag":299,"props":1132,"children":1135},{"code":1133,"filename":1134,"meta":167},"content/\n  my-directory/\n    page.md\n","Directory structure",[1136],{"type":173,"tag":198,"props":1137,"children":1138},{"__ignoreMap":167},[1139],{"type":179,"value":1133},{"type":173,"tag":299,"props":1141,"children":1146},{"code":1142,"filename":1143,"language":1144,"meta":167,"className":1145,"style":167},"{\n  \"title\": \"My Directory\",\n  \"_path\": \"/my-directory\",\n  \"children\": [\n    ...pagesNodes\n  ]\n}\n","Directory node","json","language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight",[1147],{"type":173,"tag":198,"props":1148,"children":1149},{"__ignoreMap":167},[1150,1158,1197,1233,1258,1266,1274],{"type":173,"tag":309,"props":1151,"children":1152},{"class":311,"line":312},[1153],{"type":173,"tag":309,"props":1154,"children":1155},{"style":316},[1156],{"type":179,"value":1157},"{\n",{"type":173,"tag":309,"props":1159,"children":1160},{"class":311,"line":364},[1161,1166,1171,1175,1179,1184,1189,1193],{"type":173,"tag":309,"props":1162,"children":1163},{"style":316},[1164],{"type":179,"value":1165},"  \"",{"type":173,"tag":309,"props":1167,"children":1168},{"style":328},[1169],{"type":179,"value":1170},"title",{"type":173,"tag":309,"props":1172,"children":1173},{"style":316},[1174],{"type":179,"value":346},{"type":173,"tag":309,"props":1176,"children":1177},{"style":316},[1178],{"type":179,"value":465},{"type":173,"tag":309,"props":1180,"children":1181},{"style":316},[1182],{"type":179,"value":1183}," \"",{"type":173,"tag":309,"props":1185,"children":1186},{"style":349},[1187],{"type":179,"value":1188},"My Directory",{"type":173,"tag":309,"props":1190,"children":1191},{"style":316},[1192],{"type":179,"value":346},{"type":173,"tag":309,"props":1194,"children":1195},{"style":316},[1196],{"type":179,"value":905},{"type":173,"tag":309,"props":1198,"children":1199},{"class":311,"line":415},[1200,1204,1208,1212,1216,1220,1225,1229],{"type":173,"tag":309,"props":1201,"children":1202},{"style":316},[1203],{"type":179,"value":1165},{"type":173,"tag":309,"props":1205,"children":1206},{"style":328},[1207],{"type":179,"value":1090},{"type":173,"tag":309,"props":1209,"children":1210},{"style":316},[1211],{"type":179,"value":346},{"type":173,"tag":309,"props":1213,"children":1214},{"style":316},[1215],{"type":179,"value":465},{"type":173,"tag":309,"props":1217,"children":1218},{"style":316},[1219],{"type":179,"value":1183},{"type":173,"tag":309,"props":1221,"children":1222},{"style":349},[1223],{"type":179,"value":1224},"/my-directory",{"type":173,"tag":309,"props":1226,"children":1227},{"style":316},[1228],{"type":179,"value":346},{"type":173,"tag":309,"props":1230,"children":1231},{"style":316},[1232],{"type":179,"value":905},{"type":173,"tag":309,"props":1234,"children":1235},{"class":311,"line":425},[1236,1240,1245,1249,1253],{"type":173,"tag":309,"props":1237,"children":1238},{"style":316},[1239],{"type":179,"value":1165},{"type":173,"tag":309,"props":1241,"children":1242},{"style":328},[1243],{"type":179,"value":1244},"children",{"type":173,"tag":309,"props":1246,"children":1247},{"style":316},[1248],{"type":179,"value":346},{"type":173,"tag":309,"props":1250,"children":1251},{"style":316},[1252],{"type":179,"value":465},{"type":173,"tag":309,"props":1254,"children":1255},{"style":316},[1256],{"type":179,"value":1257}," [\n",{"type":173,"tag":309,"props":1259,"children":1260},{"class":311,"line":454},[1261],{"type":173,"tag":309,"props":1262,"children":1263},{"style":384},[1264],{"type":179,"value":1265},"    ...pagesNodes\n",{"type":173,"tag":309,"props":1267,"children":1268},{"class":311,"line":481},[1269],{"type":173,"tag":309,"props":1270,"children":1271},{"style":316},[1272],{"type":179,"value":1273},"  ]\n",{"type":173,"tag":309,"props":1275,"children":1276},{"class":311,"line":507},[1277],{"type":173,"tag":309,"props":1278,"children":1279},{"style":316},[1280],{"type":179,"value":538},{"type":173,"tag":299,"props":1282,"children":1285},{"code":1283,"filename":1284,"language":1144,"meta":167,"className":1145,"style":167},"{\n  \"title\": \"Page title\",\n  \"_path\": \"/my-directory/my-page\",\n  \"_id\": \"content:my-directory:page.md\"\n}\n","Page node",[1286],{"type":173,"tag":198,"props":1287,"children":1288},{"__ignoreMap":167},[1289,1296,1332,1368,1401],{"type":173,"tag":309,"props":1290,"children":1291},{"class":311,"line":312},[1292],{"type":173,"tag":309,"props":1293,"children":1294},{"style":316},[1295],{"type":179,"value":1157},{"type":173,"tag":309,"props":1297,"children":1298},{"class":311,"line":364},[1299,1303,1307,1311,1315,1319,1324,1328],{"type":173,"tag":309,"props":1300,"children":1301},{"style":316},[1302],{"type":179,"value":1165},{"type":173,"tag":309,"props":1304,"children":1305},{"style":328},[1306],{"type":179,"value":1170},{"type":173,"tag":309,"props":1308,"children":1309},{"style":316},[1310],{"type":179,"value":346},{"type":173,"tag":309,"props":1312,"children":1313},{"style":316},[1314],{"type":179,"value":465},{"type":173,"tag":309,"props":1316,"children":1317},{"style":316},[1318],{"type":179,"value":1183},{"type":173,"tag":309,"props":1320,"children":1321},{"style":349},[1322],{"type":179,"value":1323},"Page title",{"type":173,"tag":309,"props":1325,"children":1326},{"style":316},[1327],{"type":179,"value":346},{"type":173,"tag":309,"props":1329,"children":1330},{"style":316},[1331],{"type":179,"value":905},{"type":173,"tag":309,"props":1333,"children":1334},{"class":311,"line":415},[1335,1339,1343,1347,1351,1355,1360,1364],{"type":173,"tag":309,"props":1336,"children":1337},{"style":316},[1338],{"type":179,"value":1165},{"type":173,"tag":309,"props":1340,"children":1341},{"style":328},[1342],{"type":179,"value":1090},{"type":173,"tag":309,"props":1344,"children":1345},{"style":316},[1346],{"type":179,"value":346},{"type":173,"tag":309,"props":1348,"children":1349},{"style":316},[1350],{"type":179,"value":465},{"type":173,"tag":309,"props":1352,"children":1353},{"style":316},[1354],{"type":179,"value":1183},{"type":173,"tag":309,"props":1356,"children":1357},{"style":349},[1358],{"type":179,"value":1359},"/my-directory/my-page",{"type":173,"tag":309,"props":1361,"children":1362},{"style":316},[1363],{"type":179,"value":346},{"type":173,"tag":309,"props":1365,"children":1366},{"style":316},[1367],{"type":179,"value":905},{"type":173,"tag":309,"props":1369,"children":1370},{"class":311,"line":425},[1371,1375,1379,1383,1387,1391,1396],{"type":173,"tag":309,"props":1372,"children":1373},{"style":316},[1374],{"type":179,"value":1165},{"type":173,"tag":309,"props":1376,"children":1377},{"style":328},[1378],{"type":179,"value":1082},{"type":173,"tag":309,"props":1380,"children":1381},{"style":316},[1382],{"type":179,"value":346},{"type":173,"tag":309,"props":1384,"children":1385},{"style":316},[1386],{"type":179,"value":465},{"type":173,"tag":309,"props":1388,"children":1389},{"style":316},[1390],{"type":179,"value":1183},{"type":173,"tag":309,"props":1392,"children":1393},{"style":349},[1394],{"type":179,"value":1395},"content:my-directory:page.md",{"type":173,"tag":309,"props":1397,"children":1398},{"style":316},[1399],{"type":179,"value":1400},"\"\n",{"type":173,"tag":309,"props":1402,"children":1403},{"class":311,"line":454},[1404],{"type":173,"tag":309,"props":1405,"children":1406},{"style":316},[1407],{"type":179,"value":538},{"type":173,"tag":299,"props":1409,"children":1412},{"code":1410,"filename":1411,"language":1144,"meta":167,"className":1145,"style":167},"[\n  {\n    \"title\": \"My Directory\",\n    \"_path\": \"/my-directory\",\n    \"children\": [\n      {\n        \"title\": \"Page title\",\n        \"_path\": \"/my-directory/my-page\",\n        \"_id\": \"content:my-directory:page.md\"\n      }\n    ]\n  }\n]\n","Complete navigation",[1413],{"type":173,"tag":198,"props":1414,"children":1415},{"__ignoreMap":167},[1416,1424,1432,1468,1503,1526,1534,1570,1605,1636,1644,1652,1660],{"type":173,"tag":309,"props":1417,"children":1418},{"class":311,"line":312},[1419],{"type":173,"tag":309,"props":1420,"children":1421},{"style":316},[1422],{"type":179,"value":1423},"[\n",{"type":173,"tag":309,"props":1425,"children":1426},{"class":311,"line":364},[1427],{"type":173,"tag":309,"props":1428,"children":1429},{"style":316},[1430],{"type":179,"value":1431},"  {\n",{"type":173,"tag":309,"props":1433,"children":1434},{"class":311,"line":415},[1435,1440,1444,1448,1452,1456,1460,1464],{"type":173,"tag":309,"props":1436,"children":1437},{"style":316},[1438],{"type":179,"value":1439},"    \"",{"type":173,"tag":309,"props":1441,"children":1442},{"style":328},[1443],{"type":179,"value":1170},{"type":173,"tag":309,"props":1445,"children":1446},{"style":316},[1447],{"type":179,"value":346},{"type":173,"tag":309,"props":1449,"children":1450},{"style":316},[1451],{"type":179,"value":465},{"type":173,"tag":309,"props":1453,"children":1454},{"style":316},[1455],{"type":179,"value":1183},{"type":173,"tag":309,"props":1457,"children":1458},{"style":349},[1459],{"type":179,"value":1188},{"type":173,"tag":309,"props":1461,"children":1462},{"style":316},[1463],{"type":179,"value":346},{"type":173,"tag":309,"props":1465,"children":1466},{"style":316},[1467],{"type":179,"value":905},{"type":173,"tag":309,"props":1469,"children":1470},{"class":311,"line":425},[1471,1475,1479,1483,1487,1491,1495,1499],{"type":173,"tag":309,"props":1472,"children":1473},{"style":316},[1474],{"type":179,"value":1439},{"type":173,"tag":309,"props":1476,"children":1477},{"style":328},[1478],{"type":179,"value":1090},{"type":173,"tag":309,"props":1480,"children":1481},{"style":316},[1482],{"type":179,"value":346},{"type":173,"tag":309,"props":1484,"children":1485},{"style":316},[1486],{"type":179,"value":465},{"type":173,"tag":309,"props":1488,"children":1489},{"style":316},[1490],{"type":179,"value":1183},{"type":173,"tag":309,"props":1492,"children":1493},{"style":349},[1494],{"type":179,"value":1224},{"type":173,"tag":309,"props":1496,"children":1497},{"style":316},[1498],{"type":179,"value":346},{"type":173,"tag":309,"props":1500,"children":1501},{"style":316},[1502],{"type":179,"value":905},{"type":173,"tag":309,"props":1504,"children":1505},{"class":311,"line":454},[1506,1510,1514,1518,1522],{"type":173,"tag":309,"props":1507,"children":1508},{"style":316},[1509],{"type":179,"value":1439},{"type":173,"tag":309,"props":1511,"children":1512},{"style":328},[1513],{"type":179,"value":1244},{"type":173,"tag":309,"props":1515,"children":1516},{"style":316},[1517],{"type":179,"value":346},{"type":173,"tag":309,"props":1519,"children":1520},{"style":316},[1521],{"type":179,"value":465},{"type":173,"tag":309,"props":1523,"children":1524},{"style":316},[1525],{"type":179,"value":1257},{"type":173,"tag":309,"props":1527,"children":1528},{"class":311,"line":481},[1529],{"type":173,"tag":309,"props":1530,"children":1531},{"style":316},[1532],{"type":179,"value":1533},"      {\n",{"type":173,"tag":309,"props":1535,"children":1536},{"class":311,"line":507},[1537,1542,1546,1550,1554,1558,1562,1566],{"type":173,"tag":309,"props":1538,"children":1539},{"style":316},[1540],{"type":179,"value":1541},"        \"",{"type":173,"tag":309,"props":1543,"children":1544},{"style":434},[1545],{"type":179,"value":1170},{"type":173,"tag":309,"props":1547,"children":1548},{"style":316},[1549],{"type":179,"value":346},{"type":173,"tag":309,"props":1551,"children":1552},{"style":316},[1553],{"type":179,"value":465},{"type":173,"tag":309,"props":1555,"children":1556},{"style":316},[1557],{"type":179,"value":1183},{"type":173,"tag":309,"props":1559,"children":1560},{"style":349},[1561],{"type":179,"value":1323},{"type":173,"tag":309,"props":1563,"children":1564},{"style":316},[1565],{"type":179,"value":346},{"type":173,"tag":309,"props":1567,"children":1568},{"style":316},[1569],{"type":179,"value":905},{"type":173,"tag":309,"props":1571,"children":1572},{"class":311,"line":532},[1573,1577,1581,1585,1589,1593,1597,1601],{"type":173,"tag":309,"props":1574,"children":1575},{"style":316},[1576],{"type":179,"value":1541},{"type":173,"tag":309,"props":1578,"children":1579},{"style":434},[1580],{"type":179,"value":1090},{"type":173,"tag":309,"props":1582,"children":1583},{"style":316},[1584],{"type":179,"value":346},{"type":173,"tag":309,"props":1586,"children":1587},{"style":316},[1588],{"type":179,"value":465},{"type":173,"tag":309,"props":1590,"children":1591},{"style":316},[1592],{"type":179,"value":1183},{"type":173,"tag":309,"props":1594,"children":1595},{"style":349},[1596],{"type":179,"value":1359},{"type":173,"tag":309,"props":1598,"children":1599},{"style":316},[1600],{"type":179,"value":346},{"type":173,"tag":309,"props":1602,"children":1603},{"style":316},[1604],{"type":179,"value":905},{"type":173,"tag":309,"props":1606,"children":1607},{"class":311,"line":541},[1608,1612,1616,1620,1624,1628,1632],{"type":173,"tag":309,"props":1609,"children":1610},{"style":316},[1611],{"type":179,"value":1541},{"type":173,"tag":309,"props":1613,"children":1614},{"style":434},[1615],{"type":179,"value":1082},{"type":173,"tag":309,"props":1617,"children":1618},{"style":316},[1619],{"type":179,"value":346},{"type":173,"tag":309,"props":1621,"children":1622},{"style":316},[1623],{"type":179,"value":465},{"type":173,"tag":309,"props":1625,"children":1626},{"style":316},[1627],{"type":179,"value":1183},{"type":173,"tag":309,"props":1629,"children":1630},{"style":349},[1631],{"type":179,"value":1395},{"type":173,"tag":309,"props":1633,"children":1634},{"style":316},[1635],{"type":179,"value":1400},{"type":173,"tag":309,"props":1637,"children":1638},{"class":311,"line":549},[1639],{"type":173,"tag":309,"props":1640,"children":1641},{"style":316},[1642],{"type":179,"value":1643},"      }\n",{"type":173,"tag":309,"props":1645,"children":1646},{"class":311,"line":559},[1647],{"type":173,"tag":309,"props":1648,"children":1649},{"style":316},[1650],{"type":179,"value":1651},"    ]\n",{"type":173,"tag":309,"props":1653,"children":1654},{"class":311,"line":603},[1655],{"type":173,"tag":309,"props":1656,"children":1657},{"style":316},[1658],{"type":179,"value":1659},"  }\n",{"type":173,"tag":309,"props":1661,"children":1662},{"class":311,"line":665},[1663],{"type":173,"tag":309,"props":1664,"children":1665},{"style":316},[1666],{"type":179,"value":1667},"]\n",{"type":173,"tag":188,"props":1669,"children":1671},{"id":1670},"custom-keys",[1672],{"type":179,"value":1673},"Custom keys",{"type":173,"tag":182,"props":1675,"children":1676},{},[1677,1679,1685],{"type":179,"value":1678},"You can use the ",{"type":173,"tag":198,"props":1680,"children":1682},{"className":1681},[],[1683],{"type":179,"value":1684},"navigation",{"type":179,"value":1686}," property in the front-matter of your content files to add keys to the navigation object.",{"type":173,"tag":1128,"props":1688,"children":1689},{},[1690,1796],{"type":173,"tag":299,"props":1691,"children":1695},{"code":1692,"filename":1693,"language":1047,"meta":167,"className":1694,"style":167},"---\nnavigation:\n  title: 'Home'\n  icon: '🏡'\n---\n\n# Welcome\n","index.md","language-md shiki shiki-themes material-theme-lighter material-theme material-theme-palenight",[1696],{"type":173,"tag":198,"props":1697,"children":1698},{"__ignoreMap":167},[1699,1707,1719,1744,1769,1776,1783],{"type":173,"tag":309,"props":1700,"children":1701},{"class":311,"line":312},[1702],{"type":173,"tag":309,"props":1703,"children":1704},{"style":384},[1705],{"type":179,"value":1706},"---\n",{"type":173,"tag":309,"props":1708,"children":1709},{"class":311,"line":364},[1710,1714],{"type":173,"tag":309,"props":1711,"children":1712},{"style":322},[1713],{"type":179,"value":1684},{"type":173,"tag":309,"props":1715,"children":1716},{"style":316},[1717],{"type":179,"value":1718},":\n",{"type":173,"tag":309,"props":1720,"children":1721},{"class":311,"line":415},[1722,1727,1731,1735,1740],{"type":173,"tag":309,"props":1723,"children":1724},{"style":322},[1725],{"type":179,"value":1726},"  title",{"type":173,"tag":309,"props":1728,"children":1729},{"style":316},[1730],{"type":179,"value":465},{"type":173,"tag":309,"props":1732,"children":1733},{"style":316},[1734],{"type":179,"value":402},{"type":173,"tag":309,"props":1736,"children":1737},{"style":349},[1738],{"type":179,"value":1739},"Home",{"type":173,"tag":309,"props":1741,"children":1742},{"style":316},[1743],{"type":179,"value":412},{"type":173,"tag":309,"props":1745,"children":1746},{"class":311,"line":425},[1747,1752,1756,1760,1765],{"type":173,"tag":309,"props":1748,"children":1749},{"style":322},[1750],{"type":179,"value":1751},"  icon",{"type":173,"tag":309,"props":1753,"children":1754},{"style":316},[1755],{"type":179,"value":465},{"type":173,"tag":309,"props":1757,"children":1758},{"style":316},[1759],{"type":179,"value":402},{"type":173,"tag":309,"props":1761,"children":1762},{"style":349},[1763],{"type":179,"value":1764},"🏡",{"type":173,"tag":309,"props":1766,"children":1767},{"style":316},[1768],{"type":179,"value":412},{"type":173,"tag":309,"props":1770,"children":1771},{"class":311,"line":454},[1772],{"type":173,"tag":309,"props":1773,"children":1774},{"style":384},[1775],{"type":179,"value":1706},{"type":173,"tag":309,"props":1777,"children":1778},{"class":311,"line":481},[1779],{"type":173,"tag":309,"props":1780,"children":1781},{"emptyLinePlaceholder":419},[1782],{"type":179,"value":422},{"type":173,"tag":309,"props":1784,"children":1785},{"class":311,"line":507},[1786,1791],{"type":173,"tag":309,"props":1787,"children":1788},{"style":316},[1789],{"type":179,"value":1790},"# ",{"type":173,"tag":309,"props":1792,"children":1793},{"style":434},[1794],{"type":179,"value":1795},"Welcome\n",{"type":173,"tag":299,"props":1797,"children":1800},{"code":1798,"filename":1799,"language":1144,"meta":167,"className":1145,"style":167},"[\n  {\n    \"title\": \"Home\",\n    \"icon\": \"🏡\",\n    \"_path\": \"/\",\n  }\n]\n","Navigation",[1801],{"type":173,"tag":198,"props":1802,"children":1803},{"__ignoreMap":167},[1804,1811,1818,1853,1889,1925,1932],{"type":173,"tag":309,"props":1805,"children":1806},{"class":311,"line":312},[1807],{"type":173,"tag":309,"props":1808,"children":1809},{"style":316},[1810],{"type":179,"value":1423},{"type":173,"tag":309,"props":1812,"children":1813},{"class":311,"line":364},[1814],{"type":173,"tag":309,"props":1815,"children":1816},{"style":316},[1817],{"type":179,"value":1431},{"type":173,"tag":309,"props":1819,"children":1820},{"class":311,"line":415},[1821,1825,1829,1833,1837,1841,1845,1849],{"type":173,"tag":309,"props":1822,"children":1823},{"style":316},[1824],{"type":179,"value":1439},{"type":173,"tag":309,"props":1826,"children":1827},{"style":328},[1828],{"type":179,"value":1170},{"type":173,"tag":309,"props":1830,"children":1831},{"style":316},[1832],{"type":179,"value":346},{"type":173,"tag":309,"props":1834,"children":1835},{"style":316},[1836],{"type":179,"value":465},{"type":173,"tag":309,"props":1838,"children":1839},{"style":316},[1840],{"type":179,"value":1183},{"type":173,"tag":309,"props":1842,"children":1843},{"style":349},[1844],{"type":179,"value":1739},{"type":173,"tag":309,"props":1846,"children":1847},{"style":316},[1848],{"type":179,"value":346},{"type":173,"tag":309,"props":1850,"children":1851},{"style":316},[1852],{"type":179,"value":905},{"type":173,"tag":309,"props":1854,"children":1855},{"class":311,"line":425},[1856,1860,1865,1869,1873,1877,1881,1885],{"type":173,"tag":309,"props":1857,"children":1858},{"style":316},[1859],{"type":179,"value":1439},{"type":173,"tag":309,"props":1861,"children":1862},{"style":328},[1863],{"type":179,"value":1864},"icon",{"type":173,"tag":309,"props":1866,"children":1867},{"style":316},[1868],{"type":179,"value":346},{"type":173,"tag":309,"props":1870,"children":1871},{"style":316},[1872],{"type":179,"value":465},{"type":173,"tag":309,"props":1874,"children":1875},{"style":316},[1876],{"type":179,"value":1183},{"type":173,"tag":309,"props":1878,"children":1879},{"style":349},[1880],{"type":179,"value":1764},{"type":173,"tag":309,"props":1882,"children":1883},{"style":316},[1884],{"type":179,"value":346},{"type":173,"tag":309,"props":1886,"children":1887},{"style":316},[1888],{"type":179,"value":905},{"type":173,"tag":309,"props":1890,"children":1891},{"class":311,"line":454},[1892,1896,1900,1904,1908,1912,1917,1921],{"type":173,"tag":309,"props":1893,"children":1894},{"style":316},[1895],{"type":179,"value":1439},{"type":173,"tag":309,"props":1897,"children":1898},{"style":328},[1899],{"type":179,"value":1090},{"type":173,"tag":309,"props":1901,"children":1902},{"style":316},[1903],{"type":179,"value":346},{"type":173,"tag":309,"props":1905,"children":1906},{"style":316},[1907],{"type":179,"value":465},{"type":173,"tag":309,"props":1909,"children":1910},{"style":316},[1911],{"type":179,"value":1183},{"type":173,"tag":309,"props":1913,"children":1914},{"style":349},[1915],{"type":179,"value":1916},"/",{"type":173,"tag":309,"props":1918,"children":1919},{"style":316},[1920],{"type":179,"value":346},{"type":173,"tag":309,"props":1922,"children":1923},{"style":316},[1924],{"type":179,"value":905},{"type":173,"tag":309,"props":1926,"children":1927},{"class":311,"line":481},[1928],{"type":173,"tag":309,"props":1929,"children":1930},{"style":316},[1931],{"type":179,"value":1659},{"type":173,"tag":309,"props":1933,"children":1934},{"class":311,"line":507},[1935],{"type":173,"tag":309,"props":1936,"children":1937},{"style":316},[1938],{"type":179,"value":1667},{"type":173,"tag":182,"props":1940,"children":1941},{},[1942,1944,1950],{"type":179,"value":1943},"Alternatively, the navigation also allows you to configure directory nodes via ",{"type":173,"tag":198,"props":1945,"children":1947},{"className":1946},[],[1948],{"type":179,"value":1949},"_dir.yml",{"type":179,"value":1951}," files.",{"type":173,"tag":182,"props":1953,"children":1954},{},[1955,1957,1962],{"type":179,"value":1956},"It allows you to overwrite the ",{"type":173,"tag":198,"props":1958,"children":1960},{"className":1959},[],[1961],{"type":179,"value":1170},{"type":179,"value":1963}," and custom properties to directory nodes in navigation.",{"type":173,"tag":1128,"props":1965,"children":1966},{},[1967,1975,2033],{"type":173,"tag":299,"props":1968,"children":1970},{"code":1969,"filename":1134,"meta":167},"content/\n  my-directory/\n    _dir.yml\n    page.md\n",[1971],{"type":173,"tag":198,"props":1972,"children":1973},{"__ignoreMap":167},[1974],{"type":179,"value":1969},{"type":173,"tag":299,"props":1976,"children":1980},{"code":1977,"filename":1949,"language":1978,"meta":167,"className":1979,"style":167},"title: 'My awesome directory'\nnavigation.icon: '📁'\n","yaml","language-yaml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight",[1981],{"type":173,"tag":198,"props":1982,"children":1983},{"__ignoreMap":167},[1984,2008],{"type":173,"tag":309,"props":1985,"children":1986},{"class":311,"line":312},[1987,1991,1995,1999,2004],{"type":173,"tag":309,"props":1988,"children":1989},{"style":322},[1990],{"type":179,"value":1170},{"type":173,"tag":309,"props":1992,"children":1993},{"style":316},[1994],{"type":179,"value":465},{"type":173,"tag":309,"props":1996,"children":1997},{"style":316},[1998],{"type":179,"value":402},{"type":173,"tag":309,"props":2000,"children":2001},{"style":349},[2002],{"type":179,"value":2003},"My awesome directory",{"type":173,"tag":309,"props":2005,"children":2006},{"style":316},[2007],{"type":179,"value":412},{"type":173,"tag":309,"props":2009,"children":2010},{"class":311,"line":364},[2011,2016,2020,2024,2029],{"type":173,"tag":309,"props":2012,"children":2013},{"style":322},[2014],{"type":179,"value":2015},"navigation.icon",{"type":173,"tag":309,"props":2017,"children":2018},{"style":316},[2019],{"type":179,"value":465},{"type":173,"tag":309,"props":2021,"children":2022},{"style":316},[2023],{"type":179,"value":402},{"type":173,"tag":309,"props":2025,"children":2026},{"style":349},[2027],{"type":179,"value":2028},"📁",{"type":173,"tag":309,"props":2030,"children":2031},{"style":316},[2032],{"type":179,"value":412},{"type":173,"tag":299,"props":2034,"children":2036},{"code":2035,"filename":1799,"language":1144,"meta":167,"className":1145,"style":167},"{\n  \"title\": \"My awesome directory\",\n  \"icon\": \"📁\",\n  \"_path\": \"/my-directory\",\n  \"children\": [\n    ...\n  ]\n}\n",[2037],{"type":173,"tag":198,"props":2038,"children":2039},{"__ignoreMap":167},[2040,2047,2082,2117,2152,2175,2183,2190],{"type":173,"tag":309,"props":2041,"children":2042},{"class":311,"line":312},[2043],{"type":173,"tag":309,"props":2044,"children":2045},{"style":316},[2046],{"type":179,"value":1157},{"type":173,"tag":309,"props":2048,"children":2049},{"class":311,"line":364},[2050,2054,2058,2062,2066,2070,2074,2078],{"type":173,"tag":309,"props":2051,"children":2052},{"style":316},[2053],{"type":179,"value":1165},{"type":173,"tag":309,"props":2055,"children":2056},{"style":328},[2057],{"type":179,"value":1170},{"type":173,"tag":309,"props":2059,"children":2060},{"style":316},[2061],{"type":179,"value":346},{"type":173,"tag":309,"props":2063,"children":2064},{"style":316},[2065],{"type":179,"value":465},{"type":173,"tag":309,"props":2067,"children":2068},{"style":316},[2069],{"type":179,"value":1183},{"type":173,"tag":309,"props":2071,"children":2072},{"style":349},[2073],{"type":179,"value":2003},{"type":173,"tag":309,"props":2075,"children":2076},{"style":316},[2077],{"type":179,"value":346},{"type":173,"tag":309,"props":2079,"children":2080},{"style":316},[2081],{"type":179,"value":905},{"type":173,"tag":309,"props":2083,"children":2084},{"class":311,"line":415},[2085,2089,2093,2097,2101,2105,2109,2113],{"type":173,"tag":309,"props":2086,"children":2087},{"style":316},[2088],{"type":179,"value":1165},{"type":173,"tag":309,"props":2090,"children":2091},{"style":328},[2092],{"type":179,"value":1864},{"type":173,"tag":309,"props":2094,"children":2095},{"style":316},[2096],{"type":179,"value":346},{"type":173,"tag":309,"props":2098,"children":2099},{"style":316},[2100],{"type":179,"value":465},{"type":173,"tag":309,"props":2102,"children":2103},{"style":316},[2104],{"type":179,"value":1183},{"type":173,"tag":309,"props":2106,"children":2107},{"style":349},[2108],{"type":179,"value":2028},{"type":173,"tag":309,"props":2110,"children":2111},{"style":316},[2112],{"type":179,"value":346},{"type":173,"tag":309,"props":2114,"children":2115},{"style":316},[2116],{"type":179,"value":905},{"type":173,"tag":309,"props":2118,"children":2119},{"class":311,"line":425},[2120,2124,2128,2132,2136,2140,2144,2148],{"type":173,"tag":309,"props":2121,"children":2122},{"style":316},[2123],{"type":179,"value":1165},{"type":173,"tag":309,"props":2125,"children":2126},{"style":328},[2127],{"type":179,"value":1090},{"type":173,"tag":309,"props":2129,"children":2130},{"style":316},[2131],{"type":179,"value":346},{"type":173,"tag":309,"props":2133,"children":2134},{"style":316},[2135],{"type":179,"value":465},{"type":173,"tag":309,"props":2137,"children":2138},{"style":316},[2139],{"type":179,"value":1183},{"type":173,"tag":309,"props":2141,"children":2142},{"style":349},[2143],{"type":179,"value":1224},{"type":173,"tag":309,"props":2145,"children":2146},{"style":316},[2147],{"type":179,"value":346},{"type":173,"tag":309,"props":2149,"children":2150},{"style":316},[2151],{"type":179,"value":905},{"type":173,"tag":309,"props":2153,"children":2154},{"class":311,"line":454},[2155,2159,2163,2167,2171],{"type":173,"tag":309,"props":2156,"children":2157},{"style":316},[2158],{"type":179,"value":1165},{"type":173,"tag":309,"props":2160,"children":2161},{"style":328},[2162],{"type":179,"value":1244},{"type":173,"tag":309,"props":2164,"children":2165},{"style":316},[2166],{"type":179,"value":346},{"type":173,"tag":309,"props":2168,"children":2169},{"style":316},[2170],{"type":179,"value":465},{"type":173,"tag":309,"props":2172,"children":2173},{"style":316},[2174],{"type":179,"value":1257},{"type":173,"tag":309,"props":2176,"children":2177},{"class":311,"line":481},[2178],{"type":173,"tag":309,"props":2179,"children":2180},{"style":384},[2181],{"type":179,"value":2182},"    ...\n",{"type":173,"tag":309,"props":2184,"children":2185},{"class":311,"line":507},[2186],{"type":173,"tag":309,"props":2187,"children":2188},{"style":316},[2189],{"type":179,"value":1273},{"type":173,"tag":309,"props":2191,"children":2192},{"class":311,"line":532},[2193],{"type":173,"tag":309,"props":2194,"children":2195},{"style":316},[2196],{"type":179,"value":538},{"type":173,"tag":182,"props":2198,"children":2199},{},[2200,2202,2212,2214,2220],{"type":179,"value":2201},"If you want to use top-level keys in the front-matter to be included in the navigation object, use the ",{"type":173,"tag":206,"props":2203,"children":2205},{"href":2204},"/get-started/configuration#navigation",[2206],{"type":173,"tag":198,"props":2207,"children":2209},{"className":2208},[],[2210],{"type":179,"value":2211},"content.navigation.fields",{"type":179,"value":2213}," property in the ",{"type":173,"tag":198,"props":2215,"children":2217},{"className":2216},[],[2218],{"type":179,"value":2219},"nuxt.config",{"type":179,"value":465},{"type":173,"tag":1128,"props":2222,"children":2223},{},[2224,2359,2445],{"type":173,"tag":299,"props":2225,"children":2229},{"code":2226,"filename":2227,"language":352,"meta":167,"className":2228,"style":167},"defineNuxtConfig({\n  content: {\n    navigation: {\n      fields: ['author', 'publishedAt']\n    }\n  }\n})\n","nuxt.config.ts","language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight",[2230],{"type":173,"tag":198,"props":2231,"children":2232},{"__ignoreMap":167},[2233,2249,2265,2281,2333,2341,2348],{"type":173,"tag":309,"props":2234,"children":2235},{"class":311,"line":312},[2236,2241,2245],{"type":173,"tag":309,"props":2237,"children":2238},{"style":592},[2239],{"type":179,"value":2240},"defineNuxtConfig",{"type":173,"tag":309,"props":2242,"children":2243},{"style":384},[2244],{"type":179,"value":638},{"type":173,"tag":309,"props":2246,"children":2247},{"style":316},[2248],{"type":179,"value":1157},{"type":173,"tag":309,"props":2250,"children":2251},{"class":311,"line":364},[2252,2257,2261],{"type":173,"tag":309,"props":2253,"children":2254},{"style":322},[2255],{"type":179,"value":2256},"  content",{"type":173,"tag":309,"props":2258,"children":2259},{"style":316},[2260],{"type":179,"value":465},{"type":173,"tag":309,"props":2262,"children":2263},{"style":316},[2264],{"type":179,"value":451},{"type":173,"tag":309,"props":2266,"children":2267},{"class":311,"line":415},[2268,2273,2277],{"type":173,"tag":309,"props":2269,"children":2270},{"style":322},[2271],{"type":179,"value":2272},"    navigation",{"type":173,"tag":309,"props":2274,"children":2275},{"style":316},[2276],{"type":179,"value":465},{"type":173,"tag":309,"props":2278,"children":2279},{"style":316},[2280],{"type":179,"value":451},{"type":173,"tag":309,"props":2282,"children":2283},{"class":311,"line":425},[2284,2289,2293,2298,2302,2307,2311,2316,2320,2325,2329],{"type":173,"tag":309,"props":2285,"children":2286},{"style":322},[2287],{"type":179,"value":2288},"      fields",{"type":173,"tag":309,"props":2290,"children":2291},{"style":316},[2292],{"type":179,"value":465},{"type":173,"tag":309,"props":2294,"children":2295},{"style":384},[2296],{"type":179,"value":2297}," [",{"type":173,"tag":309,"props":2299,"children":2300},{"style":316},[2301],{"type":179,"value":900},{"type":173,"tag":309,"props":2303,"children":2304},{"style":349},[2305],{"type":179,"value":2306},"author",{"type":173,"tag":309,"props":2308,"children":2309},{"style":316},[2310],{"type":179,"value":900},{"type":173,"tag":309,"props":2312,"children":2313},{"style":316},[2314],{"type":179,"value":2315},",",{"type":173,"tag":309,"props":2317,"children":2318},{"style":316},[2319],{"type":179,"value":402},{"type":173,"tag":309,"props":2321,"children":2322},{"style":349},[2323],{"type":179,"value":2324},"publishedAt",{"type":173,"tag":309,"props":2326,"children":2327},{"style":316},[2328],{"type":179,"value":900},{"type":173,"tag":309,"props":2330,"children":2331},{"style":384},[2332],{"type":179,"value":1667},{"type":173,"tag":309,"props":2334,"children":2335},{"class":311,"line":454},[2336],{"type":173,"tag":309,"props":2337,"children":2338},{"style":316},[2339],{"type":179,"value":2340},"    }\n",{"type":173,"tag":309,"props":2342,"children":2343},{"class":311,"line":481},[2344],{"type":173,"tag":309,"props":2345,"children":2346},{"style":316},[2347],{"type":179,"value":1659},{"type":173,"tag":309,"props":2349,"children":2350},{"class":311,"line":507},[2351,2355],{"type":173,"tag":309,"props":2352,"children":2353},{"style":316},[2354],{"type":179,"value":579},{"type":173,"tag":309,"props":2356,"children":2357},{"style":384},[2358],{"type":179,"value":662},{"type":173,"tag":299,"props":2360,"children":2363},{"code":2361,"filename":2362,"language":1047,"meta":167,"className":1694,"style":167},"---\ntitle: My Page\nauthor: 'Sébastien Chopin'\npublishedAt: '15-06-2022'\n---\n","page.md",[2364],{"type":173,"tag":198,"props":2365,"children":2366},{"__ignoreMap":167},[2367,2374,2390,2414,2438],{"type":173,"tag":309,"props":2368,"children":2369},{"class":311,"line":312},[2370],{"type":173,"tag":309,"props":2371,"children":2372},{"style":384},[2373],{"type":179,"value":1706},{"type":173,"tag":309,"props":2375,"children":2376},{"class":311,"line":364},[2377,2381,2385],{"type":173,"tag":309,"props":2378,"children":2379},{"style":322},[2380],{"type":179,"value":1170},{"type":173,"tag":309,"props":2382,"children":2383},{"style":316},[2384],{"type":179,"value":465},{"type":173,"tag":309,"props":2386,"children":2387},{"style":349},[2388],{"type":179,"value":2389}," My Page\n",{"type":173,"tag":309,"props":2391,"children":2392},{"class":311,"line":415},[2393,2397,2401,2405,2410],{"type":173,"tag":309,"props":2394,"children":2395},{"style":322},[2396],{"type":179,"value":2306},{"type":173,"tag":309,"props":2398,"children":2399},{"style":316},[2400],{"type":179,"value":465},{"type":173,"tag":309,"props":2402,"children":2403},{"style":316},[2404],{"type":179,"value":402},{"type":173,"tag":309,"props":2406,"children":2407},{"style":349},[2408],{"type":179,"value":2409},"Sébastien Chopin",{"type":173,"tag":309,"props":2411,"children":2412},{"style":316},[2413],{"type":179,"value":412},{"type":173,"tag":309,"props":2415,"children":2416},{"class":311,"line":425},[2417,2421,2425,2429,2434],{"type":173,"tag":309,"props":2418,"children":2419},{"style":322},[2420],{"type":179,"value":2324},{"type":173,"tag":309,"props":2422,"children":2423},{"style":316},[2424],{"type":179,"value":465},{"type":173,"tag":309,"props":2426,"children":2427},{"style":316},[2428],{"type":179,"value":402},{"type":173,"tag":309,"props":2430,"children":2431},{"style":349},[2432],{"type":179,"value":2433},"15-06-2022",{"type":173,"tag":309,"props":2435,"children":2436},{"style":316},[2437],{"type":179,"value":412},{"type":173,"tag":309,"props":2439,"children":2440},{"class":311,"line":454},[2441],{"type":173,"tag":309,"props":2442,"children":2443},{"style":384},[2444],{"type":179,"value":1706},{"type":173,"tag":299,"props":2446,"children":2449},{"code":2447,"filename":2448,"language":1144,"meta":167,"className":1145,"style":167},"{\n  \"title\": \"My Page\",\n  \"author\": \"Sébastien Chopin\",\n  \"publishedAt\": \"15-06-2022\",\n  \"_path\": \"/page\",\n  \"_id\": \"content:page.md\",\n}\n","Navigation node",[2450],{"type":173,"tag":198,"props":2451,"children":2452},{"__ignoreMap":167},[2453,2460,2496,2531,2566,2602,2638],{"type":173,"tag":309,"props":2454,"children":2455},{"class":311,"line":312},[2456],{"type":173,"tag":309,"props":2457,"children":2458},{"style":316},[2459],{"type":179,"value":1157},{"type":173,"tag":309,"props":2461,"children":2462},{"class":311,"line":364},[2463,2467,2471,2475,2479,2483,2488,2492],{"type":173,"tag":309,"props":2464,"children":2465},{"style":316},[2466],{"type":179,"value":1165},{"type":173,"tag":309,"props":2468,"children":2469},{"style":328},[2470],{"type":179,"value":1170},{"type":173,"tag":309,"props":2472,"children":2473},{"style":316},[2474],{"type":179,"value":346},{"type":173,"tag":309,"props":2476,"children":2477},{"style":316},[2478],{"type":179,"value":465},{"type":173,"tag":309,"props":2480,"children":2481},{"style":316},[2482],{"type":179,"value":1183},{"type":173,"tag":309,"props":2484,"children":2485},{"style":349},[2486],{"type":179,"value":2487},"My Page",{"type":173,"tag":309,"props":2489,"children":2490},{"style":316},[2491],{"type":179,"value":346},{"type":173,"tag":309,"props":2493,"children":2494},{"style":316},[2495],{"type":179,"value":905},{"type":173,"tag":309,"props":2497,"children":2498},{"class":311,"line":415},[2499,2503,2507,2511,2515,2519,2523,2527],{"type":173,"tag":309,"props":2500,"children":2501},{"style":316},[2502],{"type":179,"value":1165},{"type":173,"tag":309,"props":2504,"children":2505},{"style":328},[2506],{"type":179,"value":2306},{"type":173,"tag":309,"props":2508,"children":2509},{"style":316},[2510],{"type":179,"value":346},{"type":173,"tag":309,"props":2512,"children":2513},{"style":316},[2514],{"type":179,"value":465},{"type":173,"tag":309,"props":2516,"children":2517},{"style":316},[2518],{"type":179,"value":1183},{"type":173,"tag":309,"props":2520,"children":2521},{"style":349},[2522],{"type":179,"value":2409},{"type":173,"tag":309,"props":2524,"children":2525},{"style":316},[2526],{"type":179,"value":346},{"type":173,"tag":309,"props":2528,"children":2529},{"style":316},[2530],{"type":179,"value":905},{"type":173,"tag":309,"props":2532,"children":2533},{"class":311,"line":425},[2534,2538,2542,2546,2550,2554,2558,2562],{"type":173,"tag":309,"props":2535,"children":2536},{"style":316},[2537],{"type":179,"value":1165},{"type":173,"tag":309,"props":2539,"children":2540},{"style":328},[2541],{"type":179,"value":2324},{"type":173,"tag":309,"props":2543,"children":2544},{"style":316},[2545],{"type":179,"value":346},{"type":173,"tag":309,"props":2547,"children":2548},{"style":316},[2549],{"type":179,"value":465},{"type":173,"tag":309,"props":2551,"children":2552},{"style":316},[2553],{"type":179,"value":1183},{"type":173,"tag":309,"props":2555,"children":2556},{"style":349},[2557],{"type":179,"value":2433},{"type":173,"tag":309,"props":2559,"children":2560},{"style":316},[2561],{"type":179,"value":346},{"type":173,"tag":309,"props":2563,"children":2564},{"style":316},[2565],{"type":179,"value":905},{"type":173,"tag":309,"props":2567,"children":2568},{"class":311,"line":454},[2569,2573,2577,2581,2585,2589,2594,2598],{"type":173,"tag":309,"props":2570,"children":2571},{"style":316},[2572],{"type":179,"value":1165},{"type":173,"tag":309,"props":2574,"children":2575},{"style":328},[2576],{"type":179,"value":1090},{"type":173,"tag":309,"props":2578,"children":2579},{"style":316},[2580],{"type":179,"value":346},{"type":173,"tag":309,"props":2582,"children":2583},{"style":316},[2584],{"type":179,"value":465},{"type":173,"tag":309,"props":2586,"children":2587},{"style":316},[2588],{"type":179,"value":1183},{"type":173,"tag":309,"props":2590,"children":2591},{"style":349},[2592],{"type":179,"value":2593},"/page",{"type":173,"tag":309,"props":2595,"children":2596},{"style":316},[2597],{"type":179,"value":346},{"type":173,"tag":309,"props":2599,"children":2600},{"style":316},[2601],{"type":179,"value":905},{"type":173,"tag":309,"props":2603,"children":2604},{"class":311,"line":481},[2605,2609,2613,2617,2621,2625,2630,2634],{"type":173,"tag":309,"props":2606,"children":2607},{"style":316},[2608],{"type":179,"value":1165},{"type":173,"tag":309,"props":2610,"children":2611},{"style":328},[2612],{"type":179,"value":1082},{"type":173,"tag":309,"props":2614,"children":2615},{"style":316},[2616],{"type":179,"value":346},{"type":173,"tag":309,"props":2618,"children":2619},{"style":316},[2620],{"type":179,"value":465},{"type":173,"tag":309,"props":2622,"children":2623},{"style":316},[2624],{"type":179,"value":1183},{"type":173,"tag":309,"props":2626,"children":2627},{"style":349},[2628],{"type":179,"value":2629},"content:page.md",{"type":173,"tag":309,"props":2631,"children":2632},{"style":316},[2633],{"type":179,"value":346},{"type":173,"tag":309,"props":2635,"children":2636},{"style":316},[2637],{"type":179,"value":905},{"type":173,"tag":309,"props":2639,"children":2640},{"class":311,"line":507},[2641],{"type":173,"tag":309,"props":2642,"children":2643},{"style":316},[2644],{"type":179,"value":538},{"type":173,"tag":188,"props":2646,"children":2648},{"id":2647},"excluding",[2649],{"type":179,"value":2650},"Excluding",{"type":173,"tag":182,"props":2652,"children":2653},{},[2654,2656,2662,2664,2669],{"type":179,"value":2655},"Set ",{"type":173,"tag":198,"props":2657,"children":2659},{"className":2658},[],[2660],{"type":179,"value":2661},"navigation: false",{"type":179,"value":2663}," in the ",{"type":173,"tag":206,"props":2665,"children":2666},{"href":29},[2667],{"type":179,"value":2668},"front-matter",{"type":179,"value":2670}," of a page to filter it out.",{"type":173,"tag":299,"props":2672,"children":2674},{"code":2673,"filename":2362,"language":1047,"meta":167,"className":1694,"style":167},"---\nnavigation: false\n---\n",[2675],{"type":173,"tag":198,"props":2676,"children":2677},{"__ignoreMap":167},[2678,2685,2702],{"type":173,"tag":309,"props":2679,"children":2680},{"class":311,"line":312},[2681],{"type":173,"tag":309,"props":2682,"children":2683},{"style":384},[2684],{"type":179,"value":1706},{"type":173,"tag":309,"props":2686,"children":2687},{"class":311,"line":364},[2688,2692,2696],{"type":173,"tag":309,"props":2689,"children":2690},{"style":322},[2691],{"type":179,"value":1684},{"type":173,"tag":309,"props":2693,"children":2694},{"style":316},[2695],{"type":179,"value":465},{"type":173,"tag":309,"props":2697,"children":2699},{"style":2698},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[2700],{"type":179,"value":2701}," false\n",{"type":173,"tag":309,"props":2703,"children":2704},{"class":311,"line":415},[2705],{"type":173,"tag":309,"props":2706,"children":2707},{"style":384},[2708],{"type":179,"value":1706},{"type":173,"tag":182,"props":2710,"children":2711},{},[2712,2714,2719],{"type":179,"value":2713},"This pattern also works inside ",{"type":173,"tag":198,"props":2715,"children":2717},{"className":2716},[],[2718],{"type":179,"value":1949},{"type":179,"value":2720}," file, allowing you to filter out content directories and files.",{"type":173,"tag":299,"props":2722,"children":2724},{"code":2723,"filename":1949,"language":1978,"meta":167,"className":1979,"style":167},"navigation: false\n",[2725],{"type":173,"tag":198,"props":2726,"children":2727},{"__ignoreMap":167},[2728],{"type":173,"tag":309,"props":2729,"children":2730},{"class":311,"line":312},[2731,2735,2739],{"type":173,"tag":309,"props":2732,"children":2733},{"style":322},[2734],{"type":179,"value":1684},{"type":173,"tag":309,"props":2736,"children":2737},{"style":316},[2738],{"type":179,"value":465},{"type":173,"tag":309,"props":2740,"children":2741},{"style":2698},[2742],{"type":179,"value":2701},{"type":173,"tag":182,"props":2744,"children":2745},{},[2746,2748,2754],{"type":179,"value":2747},"You can also use the ",{"type":173,"tag":198,"props":2749,"children":2751},{"className":2750},[],[2752],{"type":179,"value":2753},"_",{"type":179,"value":2755}," content prefix to exclude content directories and files.",{"type":173,"tag":1128,"props":2757,"children":2758},{},[2759,2767],{"type":173,"tag":299,"props":2760,"children":2762},{"code":2761,"filename":1134,"meta":167},"content/\n  _hidden-directory/\n    page.md\n    index.md\n  not-hidden-directory/\n    _dir.yml\n    index.md\n    page.md\n",[2763],{"type":173,"tag":198,"props":2764,"children":2765},{"__ignoreMap":167},[2766],{"type":179,"value":2761},{"type":173,"tag":299,"props":2768,"children":2771},{"code":2769,"filename":2770,"language":1144,"meta":167,"className":1145,"style":167},"[\n  {\n    \"title\": \"Not Hidden Directory\",\n    \"_path\": \"/not-hidden-directory\",\n    \"children\": [\n      {\n        \"title\": \"Page\",\n        \"_id\": \"content:not-hidden-directory:page.md\",\n        \"_path\": \"/not-hidden-directory/page\"\n      }\n    ]\n  }\n]\n","Navigation object",[2772],{"type":173,"tag":198,"props":2773,"children":2774},{"__ignoreMap":167},[2775,2782,2789,2825,2861,2884,2891,2927,2963,2995,3002,3009,3016],{"type":173,"tag":309,"props":2776,"children":2777},{"class":311,"line":312},[2778],{"type":173,"tag":309,"props":2779,"children":2780},{"style":316},[2781],{"type":179,"value":1423},{"type":173,"tag":309,"props":2783,"children":2784},{"class":311,"line":364},[2785],{"type":173,"tag":309,"props":2786,"children":2787},{"style":316},[2788],{"type":179,"value":1431},{"type":173,"tag":309,"props":2790,"children":2791},{"class":311,"line":415},[2792,2796,2800,2804,2808,2812,2817,2821],{"type":173,"tag":309,"props":2793,"children":2794},{"style":316},[2795],{"type":179,"value":1439},{"type":173,"tag":309,"props":2797,"children":2798},{"style":328},[2799],{"type":179,"value":1170},{"type":173,"tag":309,"props":2801,"children":2802},{"style":316},[2803],{"type":179,"value":346},{"type":173,"tag":309,"props":2805,"children":2806},{"style":316},[2807],{"type":179,"value":465},{"type":173,"tag":309,"props":2809,"children":2810},{"style":316},[2811],{"type":179,"value":1183},{"type":173,"tag":309,"props":2813,"children":2814},{"style":349},[2815],{"type":179,"value":2816},"Not Hidden Directory",{"type":173,"tag":309,"props":2818,"children":2819},{"style":316},[2820],{"type":179,"value":346},{"type":173,"tag":309,"props":2822,"children":2823},{"style":316},[2824],{"type":179,"value":905},{"type":173,"tag":309,"props":2826,"children":2827},{"class":311,"line":425},[2828,2832,2836,2840,2844,2848,2853,2857],{"type":173,"tag":309,"props":2829,"children":2830},{"style":316},[2831],{"type":179,"value":1439},{"type":173,"tag":309,"props":2833,"children":2834},{"style":328},[2835],{"type":179,"value":1090},{"type":173,"tag":309,"props":2837,"children":2838},{"style":316},[2839],{"type":179,"value":346},{"type":173,"tag":309,"props":2841,"children":2842},{"style":316},[2843],{"type":179,"value":465},{"type":173,"tag":309,"props":2845,"children":2846},{"style":316},[2847],{"type":179,"value":1183},{"type":173,"tag":309,"props":2849,"children":2850},{"style":349},[2851],{"type":179,"value":2852},"/not-hidden-directory",{"type":173,"tag":309,"props":2854,"children":2855},{"style":316},[2856],{"type":179,"value":346},{"type":173,"tag":309,"props":2858,"children":2859},{"style":316},[2860],{"type":179,"value":905},{"type":173,"tag":309,"props":2862,"children":2863},{"class":311,"line":454},[2864,2868,2872,2876,2880],{"type":173,"tag":309,"props":2865,"children":2866},{"style":316},[2867],{"type":179,"value":1439},{"type":173,"tag":309,"props":2869,"children":2870},{"style":328},[2871],{"type":179,"value":1244},{"type":173,"tag":309,"props":2873,"children":2874},{"style":316},[2875],{"type":179,"value":346},{"type":173,"tag":309,"props":2877,"children":2878},{"style":316},[2879],{"type":179,"value":465},{"type":173,"tag":309,"props":2881,"children":2882},{"style":316},[2883],{"type":179,"value":1257},{"type":173,"tag":309,"props":2885,"children":2886},{"class":311,"line":481},[2887],{"type":173,"tag":309,"props":2888,"children":2889},{"style":316},[2890],{"type":179,"value":1533},{"type":173,"tag":309,"props":2892,"children":2893},{"class":311,"line":507},[2894,2898,2902,2906,2910,2914,2919,2923],{"type":173,"tag":309,"props":2895,"children":2896},{"style":316},[2897],{"type":179,"value":1541},{"type":173,"tag":309,"props":2899,"children":2900},{"style":434},[2901],{"type":179,"value":1170},{"type":173,"tag":309,"props":2903,"children":2904},{"style":316},[2905],{"type":179,"value":346},{"type":173,"tag":309,"props":2907,"children":2908},{"style":316},[2909],{"type":179,"value":465},{"type":173,"tag":309,"props":2911,"children":2912},{"style":316},[2913],{"type":179,"value":1183},{"type":173,"tag":309,"props":2915,"children":2916},{"style":349},[2917],{"type":179,"value":2918},"Page",{"type":173,"tag":309,"props":2920,"children":2921},{"style":316},[2922],{"type":179,"value":346},{"type":173,"tag":309,"props":2924,"children":2925},{"style":316},[2926],{"type":179,"value":905},{"type":173,"tag":309,"props":2928,"children":2929},{"class":311,"line":532},[2930,2934,2938,2942,2946,2950,2955,2959],{"type":173,"tag":309,"props":2931,"children":2932},{"style":316},[2933],{"type":179,"value":1541},{"type":173,"tag":309,"props":2935,"children":2936},{"style":434},[2937],{"type":179,"value":1082},{"type":173,"tag":309,"props":2939,"children":2940},{"style":316},[2941],{"type":179,"value":346},{"type":173,"tag":309,"props":2943,"children":2944},{"style":316},[2945],{"type":179,"value":465},{"type":173,"tag":309,"props":2947,"children":2948},{"style":316},[2949],{"type":179,"value":1183},{"type":173,"tag":309,"props":2951,"children":2952},{"style":349},[2953],{"type":179,"value":2954},"content:not-hidden-directory:page.md",{"type":173,"tag":309,"props":2956,"children":2957},{"style":316},[2958],{"type":179,"value":346},{"type":173,"tag":309,"props":2960,"children":2961},{"style":316},[2962],{"type":179,"value":905},{"type":173,"tag":309,"props":2964,"children":2965},{"class":311,"line":541},[2966,2970,2974,2978,2982,2986,2991],{"type":173,"tag":309,"props":2967,"children":2968},{"style":316},[2969],{"type":179,"value":1541},{"type":173,"tag":309,"props":2971,"children":2972},{"style":434},[2973],{"type":179,"value":1090},{"type":173,"tag":309,"props":2975,"children":2976},{"style":316},[2977],{"type":179,"value":346},{"type":173,"tag":309,"props":2979,"children":2980},{"style":316},[2981],{"type":179,"value":465},{"type":173,"tag":309,"props":2983,"children":2984},{"style":316},[2985],{"type":179,"value":1183},{"type":173,"tag":309,"props":2987,"children":2988},{"style":349},[2989],{"type":179,"value":2990},"/not-hidden-directory/page",{"type":173,"tag":309,"props":2992,"children":2993},{"style":316},[2994],{"type":179,"value":1400},{"type":173,"tag":309,"props":2996,"children":2997},{"class":311,"line":549},[2998],{"type":173,"tag":309,"props":2999,"children":3000},{"style":316},[3001],{"type":179,"value":1643},{"type":173,"tag":309,"props":3003,"children":3004},{"class":311,"line":559},[3005],{"type":173,"tag":309,"props":3006,"children":3007},{"style":316},[3008],{"type":179,"value":1651},{"type":173,"tag":309,"props":3010,"children":3011},{"class":311,"line":603},[3012],{"type":173,"tag":309,"props":3013,"children":3014},{"style":316},[3015],{"type":179,"value":1659},{"type":173,"tag":309,"props":3017,"children":3018},{"class":311,"line":665},[3019],{"type":173,"tag":309,"props":3020,"children":3021},{"style":316},[3022],{"type":179,"value":1667},{"type":173,"tag":188,"props":3024,"children":3026},{"id":3025},"nested-navigation",[3027],{"type":179,"value":3028},"Nested navigation",{"type":173,"tag":182,"props":3030,"children":3031},{},[3032,3034,3039,3041,3046],{"type":179,"value":3033},"You can pass a ",{"type":173,"tag":198,"props":3035,"children":3037},{"className":3036},[],[3038],{"type":179,"value":50},{"type":179,"value":3040}," instance to the ",{"type":173,"tag":198,"props":3042,"children":3044},{"className":3043},[],[3045],{"type":179,"value":53},{"type":179,"value":3047}," utility to filter the items returned.",{"type":173,"tag":182,"props":3049,"children":3050},{},[3051],{"type":179,"value":3052},"That allows to create navigation objects for which the starting point is based on a specific content directory.",{"type":173,"tag":299,"props":3054,"children":3056},{"code":3055,"language":352,"meta":167,"className":2228,"style":167},"const query = queryContent({\n  where: {\n    _path: { $contains: '/your/navigation/starting/point' }\n  }\n})\n",[3057],{"type":173,"tag":198,"props":3058,"children":3059},{"__ignoreMap":167},[3060,3088,3104,3147,3154],{"type":173,"tag":309,"props":3061,"children":3062},{"class":311,"line":312},[3063,3067,3072,3076,3080,3084],{"type":173,"tag":309,"props":3064,"children":3065},{"style":328},[3066],{"type":179,"value":565},{"type":173,"tag":309,"props":3068,"children":3069},{"style":384},[3070],{"type":179,"value":3071}," query ",{"type":173,"tag":309,"props":3073,"children":3074},{"style":316},[3075],{"type":179,"value":341},{"type":173,"tag":309,"props":3077,"children":3078},{"style":592},[3079],{"type":179,"value":619},{"type":173,"tag":309,"props":3081,"children":3082},{"style":384},[3083],{"type":179,"value":638},{"type":173,"tag":309,"props":3085,"children":3086},{"style":316},[3087],{"type":179,"value":1157},{"type":173,"tag":309,"props":3089,"children":3090},{"class":311,"line":364},[3091,3096,3100],{"type":173,"tag":309,"props":3092,"children":3093},{"style":322},[3094],{"type":179,"value":3095},"  where",{"type":173,"tag":309,"props":3097,"children":3098},{"style":316},[3099],{"type":179,"value":465},{"type":173,"tag":309,"props":3101,"children":3102},{"style":316},[3103],{"type":179,"value":451},{"type":173,"tag":309,"props":3105,"children":3106},{"class":311,"line":415},[3107,3112,3116,3120,3125,3129,3133,3138,3142],{"type":173,"tag":309,"props":3108,"children":3109},{"style":322},[3110],{"type":179,"value":3111},"    _path",{"type":173,"tag":309,"props":3113,"children":3114},{"style":316},[3115],{"type":179,"value":465},{"type":173,"tag":309,"props":3117,"children":3118},{"style":316},[3119],{"type":179,"value":381},{"type":173,"tag":309,"props":3121,"children":3122},{"style":322},[3123],{"type":179,"value":3124}," $contains",{"type":173,"tag":309,"props":3126,"children":3127},{"style":316},[3128],{"type":179,"value":465},{"type":173,"tag":309,"props":3130,"children":3131},{"style":316},[3132],{"type":179,"value":402},{"type":173,"tag":309,"props":3134,"children":3135},{"style":349},[3136],{"type":179,"value":3137},"/your/navigation/starting/point",{"type":173,"tag":309,"props":3139,"children":3140},{"style":316},[3141],{"type":179,"value":900},{"type":173,"tag":309,"props":3143,"children":3144},{"style":316},[3145],{"type":179,"value":3146}," }\n",{"type":173,"tag":309,"props":3148,"children":3149},{"class":311,"line":425},[3150],{"type":173,"tag":309,"props":3151,"children":3152},{"style":316},[3153],{"type":179,"value":1659},{"type":173,"tag":309,"props":3155,"children":3156},{"class":311,"line":454},[3157,3161],{"type":173,"tag":309,"props":3158,"children":3159},{"style":316},[3160],{"type":179,"value":579},{"type":173,"tag":309,"props":3162,"children":3163},{"style":384},[3164],{"type":179,"value":662},{"type":173,"tag":3166,"props":3167,"children":3168},"hr",{},[],{"type":173,"tag":1022,"props":3170,"children":3172},{"type":3171},"info",[3173,3185],{"type":173,"tag":182,"props":3174,"children":3175},{},[3176,3178,3183],{"type":179,"value":3177},"Go deeper in the ",{"type":173,"tag":1115,"props":3179,"children":3180},{},[3181],{"type":179,"value":3182},"API",{"type":179,"value":3184}," section:",{"type":173,"tag":3186,"props":3187,"children":3188},"ul",{},[3189,3209],{"type":173,"tag":3190,"props":3191,"children":3192},"li",{},[3193,3201,3203],{"type":173,"tag":206,"props":3194,"children":3195},{"href":54},[3196],{"type":173,"tag":198,"props":3197,"children":3199},{"className":3198},[],[3200],{"type":179,"value":53},{"type":179,"value":3202}," composable to fetch navigation in ",{"type":173,"tag":198,"props":3204,"children":3206},{"className":3205},[],[3207],{"type":179,"value":3208},"\u003Cscript>",{"type":173,"tag":3190,"props":3210,"children":3211},{},[3212,3220,3222],{"type":173,"tag":206,"props":3213,"children":3214},{"href":82},[3215],{"type":173,"tag":198,"props":3216,"children":3218},{"className":3217},[],[3219],{"type":179,"value":81},{"type":179,"value":3221}," component made to shorten access to navigation in ",{"type":173,"tag":198,"props":3223,"children":3225},{"className":3224},[],[3226],{"type":179,"value":3227},"\u003Ctemplate>",{"type":173,"tag":1032,"props":3229,"children":3230},{},[3231],{"type":179,"value":1036},{"title":167,"searchDepth":364,"depth":364,"links":3233},[3234,3235,3236,3237],{"id":1100,"depth":364,"text":1103},{"id":1670,"depth":364,"text":1673},{"id":2647,"depth":364,"text":2650},{"id":3025,"depth":364,"text":3028},"content:2.usage:4.navigation.md","2.usage/4.navigation.md",{"_path":51,"_dir":3241,"_draft":166,"_partial":166,"_locale":167,"title":50,"description":3242,"body":3243,"_type":1043,"_id":7364,"_source":1045,"_file":7365,"_extension":1047},"composables","The queryContent composable provides methods for querying and fetching your contents.",{"type":170,"children":3244,"toc":7350},[3245,3251,3271,3498,3504,3516,3521,3685,3695,3730,3735,3749,3751,4068,4602,4607,4896,4906,4938,4943,5467,5553,5558,5682,5695,5705,5737,5742,5834,5844,5874,5879,6000,6010,6048,6053,6254,6264,6300,6305,6503,6511,6516,6586,6595,6600,6663,6673,6736,6741,6746,7079,7088,7093,7190,7210,7346],{"type":173,"tag":188,"props":3246,"children":3248},{"id":3247},"important-️",[3249],{"type":179,"value":3250},"Important ⚠️",{"type":173,"tag":182,"props":3252,"children":3253},{},[3254,3256,3269],{"type":179,"value":3255},"In your pages and components, wrap your query in ",{"type":173,"tag":206,"props":3257,"children":3260},{"href":3258,"rel":3259},"https://nuxt.com/docs/api/composables/use-async-data",[210],[3261,3267],{"type":173,"tag":198,"props":3262,"children":3264},{"className":3263},[],[3265],{"type":179,"value":3266},"useAsyncData",{"type":179,"value":3268}," composable",{"type":179,"value":3270}," to prevent fetching duplication on first load.",{"type":173,"tag":299,"props":3272,"children":3275},{"className":301,"code":3273,"filename":3274,"language":303,"meta":167,"style":167},"\u003Cscript setup>\nconst { data } = await useAsyncData('home', () => queryContent('/').findOne())\n\u003C/script>\n\n\u003Ctemplate>\n  \u003Cpre>\n    {{ data }}\n  \u003C/pre>\n\u003C/template>\n","app.vue",[3276],{"type":173,"tag":198,"props":3277,"children":3278},{"__ignoreMap":167},[3279,3298,3396,3411,3418,3434,3450,3467,3483],{"type":173,"tag":309,"props":3280,"children":3281},{"class":311,"line":312},[3282,3286,3290,3294],{"type":173,"tag":309,"props":3283,"children":3284},{"style":316},[3285],{"type":179,"value":319},{"type":173,"tag":309,"props":3287,"children":3288},{"style":322},[3289],{"type":179,"value":325},{"type":173,"tag":309,"props":3291,"children":3292},{"style":328},[3293],{"type":179,"value":331},{"type":173,"tag":309,"props":3295,"children":3296},{"style":316},[3297],{"type":179,"value":361},{"type":173,"tag":309,"props":3299,"children":3300},{"class":311,"line":364},[3301,3305,3309,3313,3317,3321,3325,3329,3333,3337,3342,3346,3350,3355,3359,3363,3367,3371,3375,3379,3383,3387,3391],{"type":173,"tag":309,"props":3302,"children":3303},{"style":328},[3304],{"type":179,"value":565},{"type":173,"tag":309,"props":3306,"children":3307},{"style":316},[3308],{"type":179,"value":381},{"type":173,"tag":309,"props":3310,"children":3311},{"style":384},[3312],{"type":179,"value":574},{"type":173,"tag":309,"props":3314,"children":3315},{"style":316},[3316],{"type":179,"value":579},{"type":173,"tag":309,"props":3318,"children":3319},{"style":316},[3320],{"type":179,"value":584},{"type":173,"tag":309,"props":3322,"children":3323},{"style":368},[3324],{"type":179,"value":589},{"type":173,"tag":309,"props":3326,"children":3327},{"style":592},[3328],{"type":179,"value":595},{"type":173,"tag":309,"props":3330,"children":3331},{"style":384},[3332],{"type":179,"value":638},{"type":173,"tag":309,"props":3334,"children":3335},{"style":316},[3336],{"type":179,"value":900},{"type":173,"tag":309,"props":3338,"children":3339},{"style":349},[3340],{"type":179,"value":3341},"home",{"type":173,"tag":309,"props":3343,"children":3344},{"style":316},[3345],{"type":179,"value":900},{"type":173,"tag":309,"props":3347,"children":3348},{"style":316},[3349],{"type":179,"value":2315},{"type":173,"tag":309,"props":3351,"children":3352},{"style":316},[3353],{"type":179,"value":3354}," ()",{"type":173,"tag":309,"props":3356,"children":3357},{"style":328},[3358],{"type":179,"value":614},{"type":173,"tag":309,"props":3360,"children":3361},{"style":592},[3362],{"type":179,"value":619},{"type":173,"tag":309,"props":3364,"children":3365},{"style":384},[3366],{"type":179,"value":638},{"type":173,"tag":309,"props":3368,"children":3369},{"style":316},[3370],{"type":179,"value":900},{"type":173,"tag":309,"props":3372,"children":3373},{"style":349},[3374],{"type":179,"value":1916},{"type":173,"tag":309,"props":3376,"children":3377},{"style":316},[3378],{"type":179,"value":900},{"type":173,"tag":309,"props":3380,"children":3381},{"style":384},[3382],{"type":179,"value":955},{"type":173,"tag":309,"props":3384,"children":3385},{"style":316},[3386],{"type":179,"value":260},{"type":173,"tag":309,"props":3388,"children":3389},{"style":592},[3390],{"type":179,"value":964},{"type":173,"tag":309,"props":3392,"children":3393},{"style":384},[3394],{"type":179,"value":3395},"())\n",{"type":173,"tag":309,"props":3397,"children":3398},{"class":311,"line":415},[3399,3403,3407],{"type":173,"tag":309,"props":3400,"children":3401},{"style":316},[3402],{"type":179,"value":679},{"type":173,"tag":309,"props":3404,"children":3405},{"style":322},[3406],{"type":179,"value":325},{"type":173,"tag":309,"props":3408,"children":3409},{"style":316},[3410],{"type":179,"value":361},{"type":173,"tag":309,"props":3412,"children":3413},{"class":311,"line":425},[3414],{"type":173,"tag":309,"props":3415,"children":3416},{"emptyLinePlaceholder":419},[3417],{"type":179,"value":422},{"type":173,"tag":309,"props":3419,"children":3420},{"class":311,"line":454},[3421,3425,3430],{"type":173,"tag":309,"props":3422,"children":3423},{"style":316},[3424],{"type":179,"value":319},{"type":173,"tag":309,"props":3426,"children":3427},{"style":322},[3428],{"type":179,"value":3429},"template",{"type":173,"tag":309,"props":3431,"children":3432},{"style":316},[3433],{"type":179,"value":361},{"type":173,"tag":309,"props":3435,"children":3436},{"class":311,"line":481},[3437,3442,3446],{"type":173,"tag":309,"props":3438,"children":3439},{"style":316},[3440],{"type":179,"value":3441},"  \u003C",{"type":173,"tag":309,"props":3443,"children":3444},{"style":322},[3445],{"type":179,"value":299},{"type":173,"tag":309,"props":3447,"children":3448},{"style":316},[3449],{"type":179,"value":361},{"type":173,"tag":309,"props":3451,"children":3452},{"class":311,"line":507},[3453,3458,3462],{"type":173,"tag":309,"props":3454,"children":3455},{"style":316},[3456],{"type":179,"value":3457},"    {{",{"type":173,"tag":309,"props":3459,"children":3460},{"style":384},[3461],{"type":179,"value":574},{"type":173,"tag":309,"props":3463,"children":3464},{"style":316},[3465],{"type":179,"value":3466},"}}\n",{"type":173,"tag":309,"props":3468,"children":3469},{"class":311,"line":532},[3470,3475,3479],{"type":173,"tag":309,"props":3471,"children":3472},{"style":316},[3473],{"type":179,"value":3474},"  \u003C/",{"type":173,"tag":309,"props":3476,"children":3477},{"style":322},[3478],{"type":179,"value":299},{"type":173,"tag":309,"props":3480,"children":3481},{"style":316},[3482],{"type":179,"value":361},{"type":173,"tag":309,"props":3484,"children":3485},{"class":311,"line":541},[3486,3490,3494],{"type":173,"tag":309,"props":3487,"children":3488},{"style":316},[3489],{"type":179,"value":679},{"type":173,"tag":309,"props":3491,"children":3492},{"style":322},[3493],{"type":179,"value":3429},{"type":173,"tag":309,"props":3495,"children":3496},{"style":316},[3497],{"type":179,"value":361},{"type":173,"tag":188,"props":3499,"children":3501},{"id":3500},"query-builder",[3502],{"type":179,"value":3503},"Query builder",{"type":173,"tag":182,"props":3505,"children":3506},{},[3507,3509,3514],{"type":179,"value":3508},"The ",{"type":173,"tag":198,"props":3510,"children":3512},{"className":3511},[],[3513],{"type":179,"value":50},{"type":179,"value":3515}," composable provides methods for querying and fetching your contents.",{"type":173,"tag":182,"props":3517,"children":3518},{},[3519],{"type":179,"value":3520},"Create a query builder to search contents.",{"type":173,"tag":299,"props":3522,"children":3524},{"className":2228,"code":3523,"language":352,"meta":167,"style":167},"// Create a query looking for anything in content/ directory\nconst contentQuery = queryContent()\n\n// Create a query looking into content/articles directory\nconst contentQuery = queryContent('articles')\n\n// Create a query looking into content/articles/nuxt3 directory\nconst contentQuery = queryContent('articles', 'nuxt3')\n",[3525],{"type":173,"tag":198,"props":3526,"children":3527},{"__ignoreMap":167},[3528,3536,3560,3567,3575,3614,3621,3629],{"type":173,"tag":309,"props":3529,"children":3530},{"class":311,"line":312},[3531],{"type":173,"tag":309,"props":3532,"children":3533},{"style":553},[3534],{"type":179,"value":3535},"// Create a query looking for anything in content/ directory\n",{"type":173,"tag":309,"props":3537,"children":3538},{"class":311,"line":364},[3539,3543,3548,3552,3556],{"type":173,"tag":309,"props":3540,"children":3541},{"style":328},[3542],{"type":179,"value":565},{"type":173,"tag":309,"props":3544,"children":3545},{"style":384},[3546],{"type":179,"value":3547}," contentQuery ",{"type":173,"tag":309,"props":3549,"children":3550},{"style":316},[3551],{"type":179,"value":341},{"type":173,"tag":309,"props":3553,"children":3554},{"style":592},[3555],{"type":179,"value":619},{"type":173,"tag":309,"props":3557,"children":3558},{"style":384},[3559],{"type":179,"value":969},{"type":173,"tag":309,"props":3561,"children":3562},{"class":311,"line":415},[3563],{"type":173,"tag":309,"props":3564,"children":3565},{"emptyLinePlaceholder":419},[3566],{"type":179,"value":422},{"type":173,"tag":309,"props":3568,"children":3569},{"class":311,"line":425},[3570],{"type":173,"tag":309,"props":3571,"children":3572},{"style":553},[3573],{"type":179,"value":3574},"// Create a query looking into content/articles directory\n",{"type":173,"tag":309,"props":3576,"children":3577},{"class":311,"line":454},[3578,3582,3586,3590,3594,3598,3602,3606,3610],{"type":173,"tag":309,"props":3579,"children":3580},{"style":328},[3581],{"type":179,"value":565},{"type":173,"tag":309,"props":3583,"children":3584},{"style":384},[3585],{"type":179,"value":3547},{"type":173,"tag":309,"props":3587,"children":3588},{"style":316},[3589],{"type":179,"value":341},{"type":173,"tag":309,"props":3591,"children":3592},{"style":592},[3593],{"type":179,"value":619},{"type":173,"tag":309,"props":3595,"children":3596},{"style":384},[3597],{"type":179,"value":638},{"type":173,"tag":309,"props":3599,"children":3600},{"style":316},[3601],{"type":179,"value":900},{"type":173,"tag":309,"props":3603,"children":3604},{"style":349},[3605],{"type":179,"value":946},{"type":173,"tag":309,"props":3607,"children":3608},{"style":316},[3609],{"type":179,"value":900},{"type":173,"tag":309,"props":3611,"children":3612},{"style":384},[3613],{"type":179,"value":662},{"type":173,"tag":309,"props":3615,"children":3616},{"class":311,"line":481},[3617],{"type":173,"tag":309,"props":3618,"children":3619},{"emptyLinePlaceholder":419},[3620],{"type":179,"value":422},{"type":173,"tag":309,"props":3622,"children":3623},{"class":311,"line":507},[3624],{"type":173,"tag":309,"props":3625,"children":3626},{"style":553},[3627],{"type":179,"value":3628},"// Create a query looking into content/articles/nuxt3 directory\n",{"type":173,"tag":309,"props":3630,"children":3631},{"class":311,"line":532},[3632,3636,3640,3644,3648,3652,3656,3660,3664,3668,3672,3677,3681],{"type":173,"tag":309,"props":3633,"children":3634},{"style":328},[3635],{"type":179,"value":565},{"type":173,"tag":309,"props":3637,"children":3638},{"style":384},[3639],{"type":179,"value":3547},{"type":173,"tag":309,"props":3641,"children":3642},{"style":316},[3643],{"type":179,"value":341},{"type":173,"tag":309,"props":3645,"children":3646},{"style":592},[3647],{"type":179,"value":619},{"type":173,"tag":309,"props":3649,"children":3650},{"style":384},[3651],{"type":179,"value":638},{"type":173,"tag":309,"props":3653,"children":3654},{"style":316},[3655],{"type":179,"value":900},{"type":173,"tag":309,"props":3657,"children":3658},{"style":349},[3659],{"type":179,"value":946},{"type":173,"tag":309,"props":3661,"children":3662},{"style":316},[3663],{"type":179,"value":900},{"type":173,"tag":309,"props":3665,"children":3666},{"style":316},[3667],{"type":179,"value":2315},{"type":173,"tag":309,"props":3669,"children":3670},{"style":316},[3671],{"type":179,"value":402},{"type":173,"tag":309,"props":3673,"children":3674},{"style":349},[3675],{"type":179,"value":3676},"nuxt3",{"type":173,"tag":309,"props":3678,"children":3679},{"style":316},[3680],{"type":179,"value":900},{"type":173,"tag":309,"props":3682,"children":3683},{"style":384},[3684],{"type":179,"value":662},{"type":173,"tag":188,"props":3686,"children":3688},{"id":3687},"wherequery",[3689],{"type":173,"tag":198,"props":3690,"children":3692},{"className":3691},[],[3693],{"type":179,"value":3694},"where(query)",{"type":173,"tag":3186,"props":3696,"children":3697},{},[3698],{"type":173,"tag":3190,"props":3699,"children":3700},{},[3701,3707,3708],{"type":173,"tag":198,"props":3702,"children":3704},{"className":3703},[],[3705],{"type":179,"value":3706},"query",{"type":179,"value":1718},{"type":173,"tag":3186,"props":3709,"children":3710},{},[3711,3722],{"type":173,"tag":3190,"props":3712,"children":3713},{},[3714,3716],{"type":179,"value":3715},"Type: ",{"type":173,"tag":198,"props":3717,"children":3719},{"className":3718},[],[3720],{"type":179,"value":3721},"Partial\u003CQueryBuilderParams>",{"type":173,"tag":3190,"props":3723,"children":3724},{},[3725],{"type":173,"tag":1115,"props":3726,"children":3727},{},[3728],{"type":179,"value":3729},"Required",{"type":173,"tag":182,"props":3731,"children":3732},{},[3733],{"type":179,"value":3734},"Filter results by query.",{"type":173,"tag":182,"props":3736,"children":3737},{},[3738,3740,3747],{"type":179,"value":3739},"Where queries are based on subset of ",{"type":173,"tag":206,"props":3741,"children":3744},{"href":3742,"rel":3743},"https://www.mongodb.com/docs/manual/reference/operator/query",[210],[3745],{"type":179,"value":3746},"Mongo query syntax",{"type":179,"value":3748},", it handles:",{"type":179,"value":3750},"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",{"type":173,"tag":3752,"props":3753,"children":3754},"table",{},[3755,3774],{"type":173,"tag":3756,"props":3757,"children":3758},"thead",{},[3759],{"type":173,"tag":3760,"props":3761,"children":3762},"tr",{},[3763,3769],{"type":173,"tag":3764,"props":3765,"children":3766},"th",{},[3767],{"type":179,"value":3768},"Operator",{"type":173,"tag":3764,"props":3770,"children":3771},{},[3772],{"type":179,"value":3773},"Description",{"type":173,"tag":3775,"props":3776,"children":3777},"tbody",{},[3778,3796,3813,3830,3847,3864,3881,3898,3915,3932,3949,3966,3983,4000,4017,4034,4051],{"type":173,"tag":3760,"props":3779,"children":3780},{},[3781,3791],{"type":173,"tag":3782,"props":3783,"children":3784},"td",{},[3785],{"type":173,"tag":198,"props":3786,"children":3788},{"className":3787},[],[3789],{"type":179,"value":3790},"$match",{"type":173,"tag":3782,"props":3792,"children":3793},{},[3794],{"type":179,"value":3795},"–",{"type":173,"tag":3760,"props":3797,"children":3798},{},[3799,3808],{"type":173,"tag":3782,"props":3800,"children":3801},{},[3802],{"type":173,"tag":198,"props":3803,"children":3805},{"className":3804},[],[3806],{"type":179,"value":3807},"$eq",{"type":173,"tag":3782,"props":3809,"children":3810},{},[3811],{"type":179,"value":3812},"Match if item equals condition",{"type":173,"tag":3760,"props":3814,"children":3815},{},[3816,3825],{"type":173,"tag":3782,"props":3817,"children":3818},{},[3819],{"type":173,"tag":198,"props":3820,"children":3822},{"className":3821},[],[3823],{"type":179,"value":3824},"$ne",{"type":173,"tag":3782,"props":3826,"children":3827},{},[3828],{"type":179,"value":3829},"Match if item not equals condition",{"type":173,"tag":3760,"props":3831,"children":3832},{},[3833,3842],{"type":173,"tag":3782,"props":3834,"children":3835},{},[3836],{"type":173,"tag":198,"props":3837,"children":3839},{"className":3838},[],[3840],{"type":179,"value":3841},"$not",{"type":173,"tag":3782,"props":3843,"children":3844},{},[3845],{"type":179,"value":3846},"Match is condition is false",{"type":173,"tag":3760,"props":3848,"children":3849},{},[3850,3859],{"type":173,"tag":3782,"props":3851,"children":3852},{},[3853],{"type":173,"tag":198,"props":3854,"children":3856},{"className":3855},[],[3857],{"type":179,"value":3858},"$and",{"type":173,"tag":3782,"props":3860,"children":3861},{},[3862],{"type":179,"value":3863},"Match only if all of nested conditions are true",{"type":173,"tag":3760,"props":3865,"children":3866},{},[3867,3876],{"type":173,"tag":3782,"props":3868,"children":3869},{},[3870],{"type":173,"tag":198,"props":3871,"children":3873},{"className":3872},[],[3874],{"type":179,"value":3875},"$or",{"type":173,"tag":3782,"props":3877,"children":3878},{},[3879],{"type":179,"value":3880},"Match if any of nested conditions is true",{"type":173,"tag":3760,"props":3882,"children":3883},{},[3884,3893],{"type":173,"tag":3782,"props":3885,"children":3886},{},[3887],{"type":173,"tag":198,"props":3888,"children":3890},{"className":3889},[],[3891],{"type":179,"value":3892},"$in",{"type":173,"tag":3782,"props":3894,"children":3895},{},[3896],{"type":179,"value":3897},"Match if item is in condition array",{"type":173,"tag":3760,"props":3899,"children":3900},{},[3901,3910],{"type":173,"tag":3782,"props":3902,"children":3903},{},[3904],{"type":173,"tag":198,"props":3905,"children":3907},{"className":3906},[],[3908],{"type":179,"value":3909},"$contains",{"type":173,"tag":3782,"props":3911,"children":3912},{},[3913],{"type":179,"value":3914},"Match if item contains every condition or match every rule in condition array",{"type":173,"tag":3760,"props":3916,"children":3917},{},[3918,3927],{"type":173,"tag":3782,"props":3919,"children":3920},{},[3921],{"type":173,"tag":198,"props":3922,"children":3924},{"className":3923},[],[3925],{"type":179,"value":3926},"$icontains",{"type":173,"tag":3782,"props":3928,"children":3929},{},[3930],{"type":179,"value":3931},"Ignore case contains",{"type":173,"tag":3760,"props":3933,"children":3934},{},[3935,3944],{"type":173,"tag":3782,"props":3936,"children":3937},{},[3938],{"type":173,"tag":198,"props":3939,"children":3941},{"className":3940},[],[3942],{"type":179,"value":3943},"$containsAny",{"type":173,"tag":3782,"props":3945,"children":3946},{},[3947],{"type":179,"value":3948},"Match if item contains at least one rule from condition array",{"type":173,"tag":3760,"props":3950,"children":3951},{},[3952,3961],{"type":173,"tag":3782,"props":3953,"children":3954},{},[3955],{"type":173,"tag":198,"props":3956,"children":3958},{"className":3957},[],[3959],{"type":179,"value":3960},"$exists",{"type":173,"tag":3782,"props":3962,"children":3963},{},[3964],{"type":179,"value":3965},"Check key existence",{"type":173,"tag":3760,"props":3967,"children":3968},{},[3969,3978],{"type":173,"tag":3782,"props":3970,"children":3971},{},[3972],{"type":173,"tag":198,"props":3973,"children":3975},{"className":3974},[],[3976],{"type":179,"value":3977},"$type",{"type":173,"tag":3782,"props":3979,"children":3980},{},[3981],{"type":179,"value":3982},"Match if type of item equals condition",{"type":173,"tag":3760,"props":3984,"children":3985},{},[3986,3995],{"type":173,"tag":3782,"props":3987,"children":3988},{},[3989],{"type":173,"tag":198,"props":3990,"children":3992},{"className":3991},[],[3993],{"type":179,"value":3994},"$regex",{"type":173,"tag":3782,"props":3996,"children":3997},{},[3998],{"type":179,"value":3999},"Provides regular expression capabilities for pattern matching strings",{"type":173,"tag":3760,"props":4001,"children":4002},{},[4003,4012],{"type":173,"tag":3782,"props":4004,"children":4005},{},[4006],{"type":173,"tag":198,"props":4007,"children":4009},{"className":4008},[],[4010],{"type":179,"value":4011},"$lt",{"type":173,"tag":3782,"props":4013,"children":4014},{},[4015],{"type":179,"value":4016},"Check if item is less than condition",{"type":173,"tag":3760,"props":4018,"children":4019},{},[4020,4029],{"type":173,"tag":3782,"props":4021,"children":4022},{},[4023],{"type":173,"tag":198,"props":4024,"children":4026},{"className":4025},[],[4027],{"type":179,"value":4028},"$lte",{"type":173,"tag":3782,"props":4030,"children":4031},{},[4032],{"type":179,"value":4033},"Check if item is less than or equal to condition",{"type":173,"tag":3760,"props":4035,"children":4036},{},[4037,4046],{"type":173,"tag":3782,"props":4038,"children":4039},{},[4040],{"type":173,"tag":198,"props":4041,"children":4043},{"className":4042},[],[4044],{"type":179,"value":4045},"$gt",{"type":173,"tag":3782,"props":4047,"children":4048},{},[4049],{"type":179,"value":4050},"Check if item is greater than condition",{"type":173,"tag":3760,"props":4052,"children":4053},{},[4054,4063],{"type":173,"tag":3782,"props":4055,"children":4056},{},[4057],{"type":173,"tag":198,"props":4058,"children":4060},{"className":4059},[],[4061],{"type":179,"value":4062},"$gte",{"type":173,"tag":3782,"props":4064,"children":4065},{},[4066],{"type":179,"value":4067},"Check if item is greater than or equal to condition",{"type":173,"tag":299,"props":4069,"children":4071},{"className":2228,"code":4070,"language":352,"meta":167,"style":167},"// Implicit (assumes $eq operator)\nconst articles = await queryContent('articles').where({ title: 'Home' }).findOne()\n\n// Explicit $eq\nconst articles = await queryContent('articles').where({ title: { $eq: 'Home' } }).findOne()\n\n// $gt\nconst articles = await queryContent('articles').where({ age: { $gt: 18 } }).find()\n\n// $in\nconst articles = await queryContent('articles').where({ name: { $in: ['odin', 'thor'] } }).find()\n",[4072],{"type":173,"tag":198,"props":4073,"children":4074},{"__ignoreMap":167},[4075,4083,4185,4192,4200,4316,4323,4331,4443,4450,4458],{"type":173,"tag":309,"props":4076,"children":4077},{"class":311,"line":312},[4078],{"type":173,"tag":309,"props":4079,"children":4080},{"style":553},[4081],{"type":179,"value":4082},"// Implicit (assumes $eq operator)\n",{"type":173,"tag":309,"props":4084,"children":4085},{"class":311,"line":364},[4086,4090,4095,4099,4103,4107,4111,4115,4119,4123,4127,4131,4136,4140,4144,4149,4153,4157,4161,4165,4169,4173,4177,4181],{"type":173,"tag":309,"props":4087,"children":4088},{"style":328},[4089],{"type":179,"value":565},{"type":173,"tag":309,"props":4091,"children":4092},{"style":384},[4093],{"type":179,"value":4094}," articles ",{"type":173,"tag":309,"props":4096,"children":4097},{"style":316},[4098],{"type":179,"value":341},{"type":173,"tag":309,"props":4100,"children":4101},{"style":368},[4102],{"type":179,"value":589},{"type":173,"tag":309,"props":4104,"children":4105},{"style":592},[4106],{"type":179,"value":619},{"type":173,"tag":309,"props":4108,"children":4109},{"style":384},[4110],{"type":179,"value":638},{"type":173,"tag":309,"props":4112,"children":4113},{"style":316},[4114],{"type":179,"value":900},{"type":173,"tag":309,"props":4116,"children":4117},{"style":349},[4118],{"type":179,"value":946},{"type":173,"tag":309,"props":4120,"children":4121},{"style":316},[4122],{"type":179,"value":900},{"type":173,"tag":309,"props":4124,"children":4125},{"style":384},[4126],{"type":179,"value":955},{"type":173,"tag":309,"props":4128,"children":4129},{"style":316},[4130],{"type":179,"value":260},{"type":173,"tag":309,"props":4132,"children":4133},{"style":592},[4134],{"type":179,"value":4135},"where",{"type":173,"tag":309,"props":4137,"children":4138},{"style":384},[4139],{"type":179,"value":638},{"type":173,"tag":309,"props":4141,"children":4142},{"style":316},[4143],{"type":179,"value":643},{"type":173,"tag":309,"props":4145,"children":4146},{"style":322},[4147],{"type":179,"value":4148}," title",{"type":173,"tag":309,"props":4150,"children":4151},{"style":316},[4152],{"type":179,"value":465},{"type":173,"tag":309,"props":4154,"children":4155},{"style":316},[4156],{"type":179,"value":402},{"type":173,"tag":309,"props":4158,"children":4159},{"style":349},[4160],{"type":179,"value":1739},{"type":173,"tag":309,"props":4162,"children":4163},{"style":316},[4164],{"type":179,"value":900},{"type":173,"tag":309,"props":4166,"children":4167},{"style":316},[4168],{"type":179,"value":392},{"type":173,"tag":309,"props":4170,"children":4171},{"style":384},[4172],{"type":179,"value":955},{"type":173,"tag":309,"props":4174,"children":4175},{"style":316},[4176],{"type":179,"value":260},{"type":173,"tag":309,"props":4178,"children":4179},{"style":592},[4180],{"type":179,"value":964},{"type":173,"tag":309,"props":4182,"children":4183},{"style":384},[4184],{"type":179,"value":969},{"type":173,"tag":309,"props":4186,"children":4187},{"class":311,"line":415},[4188],{"type":173,"tag":309,"props":4189,"children":4190},{"emptyLinePlaceholder":419},[4191],{"type":179,"value":422},{"type":173,"tag":309,"props":4193,"children":4194},{"class":311,"line":425},[4195],{"type":173,"tag":309,"props":4196,"children":4197},{"style":553},[4198],{"type":179,"value":4199},"// Explicit $eq\n",{"type":173,"tag":309,"props":4201,"children":4202},{"class":311,"line":454},[4203,4207,4211,4215,4219,4223,4227,4231,4235,4239,4243,4247,4251,4255,4259,4263,4267,4271,4276,4280,4284,4288,4292,4296,4300,4304,4308,4312],{"type":173,"tag":309,"props":4204,"children":4205},{"style":328},[4206],{"type":179,"value":565},{"type":173,"tag":309,"props":4208,"children":4209},{"style":384},[4210],{"type":179,"value":4094},{"type":173,"tag":309,"props":4212,"children":4213},{"style":316},[4214],{"type":179,"value":341},{"type":173,"tag":309,"props":4216,"children":4217},{"style":368},[4218],{"type":179,"value":589},{"type":173,"tag":309,"props":4220,"children":4221},{"style":592},[4222],{"type":179,"value":619},{"type":173,"tag":309,"props":4224,"children":4225},{"style":384},[4226],{"type":179,"value":638},{"type":173,"tag":309,"props":4228,"children":4229},{"style":316},[4230],{"type":179,"value":900},{"type":173,"tag":309,"props":4232,"children":4233},{"style":349},[4234],{"type":179,"value":946},{"type":173,"tag":309,"props":4236,"children":4237},{"style":316},[4238],{"type":179,"value":900},{"type":173,"tag":309,"props":4240,"children":4241},{"style":384},[4242],{"type":179,"value":955},{"type":173,"tag":309,"props":4244,"children":4245},{"style":316},[4246],{"type":179,"value":260},{"type":173,"tag":309,"props":4248,"children":4249},{"style":592},[4250],{"type":179,"value":4135},{"type":173,"tag":309,"props":4252,"children":4253},{"style":384},[4254],{"type":179,"value":638},{"type":173,"tag":309,"props":4256,"children":4257},{"style":316},[4258],{"type":179,"value":643},{"type":173,"tag":309,"props":4260,"children":4261},{"style":322},[4262],{"type":179,"value":4148},{"type":173,"tag":309,"props":4264,"children":4265},{"style":316},[4266],{"type":179,"value":465},{"type":173,"tag":309,"props":4268,"children":4269},{"style":316},[4270],{"type":179,"value":381},{"type":173,"tag":309,"props":4272,"children":4273},{"style":322},[4274],{"type":179,"value":4275}," $eq",{"type":173,"tag":309,"props":4277,"children":4278},{"style":316},[4279],{"type":179,"value":465},{"type":173,"tag":309,"props":4281,"children":4282},{"style":316},[4283],{"type":179,"value":402},{"type":173,"tag":309,"props":4285,"children":4286},{"style":349},[4287],{"type":179,"value":1739},{"type":173,"tag":309,"props":4289,"children":4290},{"style":316},[4291],{"type":179,"value":900},{"type":173,"tag":309,"props":4293,"children":4294},{"style":316},[4295],{"type":179,"value":392},{"type":173,"tag":309,"props":4297,"children":4298},{"style":316},[4299],{"type":179,"value":392},{"type":173,"tag":309,"props":4301,"children":4302},{"style":384},[4303],{"type":179,"value":955},{"type":173,"tag":309,"props":4305,"children":4306},{"style":316},[4307],{"type":179,"value":260},{"type":173,"tag":309,"props":4309,"children":4310},{"style":592},[4311],{"type":179,"value":964},{"type":173,"tag":309,"props":4313,"children":4314},{"style":384},[4315],{"type":179,"value":969},{"type":173,"tag":309,"props":4317,"children":4318},{"class":311,"line":481},[4319],{"type":173,"tag":309,"props":4320,"children":4321},{"emptyLinePlaceholder":419},[4322],{"type":179,"value":422},{"type":173,"tag":309,"props":4324,"children":4325},{"class":311,"line":507},[4326],{"type":173,"tag":309,"props":4327,"children":4328},{"style":553},[4329],{"type":179,"value":4330},"// $gt\n",{"type":173,"tag":309,"props":4332,"children":4333},{"class":311,"line":532},[4334,4338,4342,4346,4350,4354,4358,4362,4366,4370,4374,4378,4382,4386,4390,4395,4399,4403,4408,4412,4418,4422,4426,4430,4434,4439],{"type":173,"tag":309,"props":4335,"children":4336},{"style":328},[4337],{"type":179,"value":565},{"type":173,"tag":309,"props":4339,"children":4340},{"style":384},[4341],{"type":179,"value":4094},{"type":173,"tag":309,"props":4343,"children":4344},{"style":316},[4345],{"type":179,"value":341},{"type":173,"tag":309,"props":4347,"children":4348},{"style":368},[4349],{"type":179,"value":589},{"type":173,"tag":309,"props":4351,"children":4352},{"style":592},[4353],{"type":179,"value":619},{"type":173,"tag":309,"props":4355,"children":4356},{"style":384},[4357],{"type":179,"value":638},{"type":173,"tag":309,"props":4359,"children":4360},{"style":316},[4361],{"type":179,"value":900},{"type":173,"tag":309,"props":4363,"children":4364},{"style":349},[4365],{"type":179,"value":946},{"type":173,"tag":309,"props":4367,"children":4368},{"style":316},[4369],{"type":179,"value":900},{"type":173,"tag":309,"props":4371,"children":4372},{"style":384},[4373],{"type":179,"value":955},{"type":173,"tag":309,"props":4375,"children":4376},{"style":316},[4377],{"type":179,"value":260},{"type":173,"tag":309,"props":4379,"children":4380},{"style":592},[4381],{"type":179,"value":4135},{"type":173,"tag":309,"props":4383,"children":4384},{"style":384},[4385],{"type":179,"value":638},{"type":173,"tag":309,"props":4387,"children":4388},{"style":316},[4389],{"type":179,"value":643},{"type":173,"tag":309,"props":4391,"children":4392},{"style":322},[4393],{"type":179,"value":4394}," age",{"type":173,"tag":309,"props":4396,"children":4397},{"style":316},[4398],{"type":179,"value":465},{"type":173,"tag":309,"props":4400,"children":4401},{"style":316},[4402],{"type":179,"value":381},{"type":173,"tag":309,"props":4404,"children":4405},{"style":322},[4406],{"type":179,"value":4407}," $gt",{"type":173,"tag":309,"props":4409,"children":4410},{"style":316},[4411],{"type":179,"value":465},{"type":173,"tag":309,"props":4413,"children":4415},{"style":4414},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[4416],{"type":179,"value":4417}," 18",{"type":173,"tag":309,"props":4419,"children":4420},{"style":316},[4421],{"type":179,"value":392},{"type":173,"tag":309,"props":4423,"children":4424},{"style":316},[4425],{"type":179,"value":392},{"type":173,"tag":309,"props":4427,"children":4428},{"style":384},[4429],{"type":179,"value":955},{"type":173,"tag":309,"props":4431,"children":4432},{"style":316},[4433],{"type":179,"value":260},{"type":173,"tag":309,"props":4435,"children":4436},{"style":592},[4437],{"type":179,"value":4438},"find",{"type":173,"tag":309,"props":4440,"children":4441},{"style":384},[4442],{"type":179,"value":969},{"type":173,"tag":309,"props":4444,"children":4445},{"class":311,"line":541},[4446],{"type":173,"tag":309,"props":4447,"children":4448},{"emptyLinePlaceholder":419},[4449],{"type":179,"value":422},{"type":173,"tag":309,"props":4451,"children":4452},{"class":311,"line":549},[4453],{"type":173,"tag":309,"props":4454,"children":4455},{"style":553},[4456],{"type":179,"value":4457},"// $in\n",{"type":173,"tag":309,"props":4459,"children":4460},{"class":311,"line":559},[4461,4465,4469,4473,4477,4481,4485,4489,4493,4497,4501,4505,4509,4513,4517,4522,4526,4530,4535,4539,4543,4547,4552,4556,4560,4564,4569,4573,4578,4582,4586,4590,4594,4598],{"type":173,"tag":309,"props":4462,"children":4463},{"style":328},[4464],{"type":179,"value":565},{"type":173,"tag":309,"props":4466,"children":4467},{"style":384},[4468],{"type":179,"value":4094},{"type":173,"tag":309,"props":4470,"children":4471},{"style":316},[4472],{"type":179,"value":341},{"type":173,"tag":309,"props":4474,"children":4475},{"style":368},[4476],{"type":179,"value":589},{"type":173,"tag":309,"props":4478,"children":4479},{"style":592},[4480],{"type":179,"value":619},{"type":173,"tag":309,"props":4482,"children":4483},{"style":384},[4484],{"type":179,"value":638},{"type":173,"tag":309,"props":4486,"children":4487},{"style":316},[4488],{"type":179,"value":900},{"type":173,"tag":309,"props":4490,"children":4491},{"style":349},[4492],{"type":179,"value":946},{"type":173,"tag":309,"props":4494,"children":4495},{"style":316},[4496],{"type":179,"value":900},{"type":173,"tag":309,"props":4498,"children":4499},{"style":384},[4500],{"type":179,"value":955},{"type":173,"tag":309,"props":4502,"children":4503},{"style":316},[4504],{"type":179,"value":260},{"type":173,"tag":309,"props":4506,"children":4507},{"style":592},[4508],{"type":179,"value":4135},{"type":173,"tag":309,"props":4510,"children":4511},{"style":384},[4512],{"type":179,"value":638},{"type":173,"tag":309,"props":4514,"children":4515},{"style":316},[4516],{"type":179,"value":643},{"type":173,"tag":309,"props":4518,"children":4519},{"style":322},[4520],{"type":179,"value":4521}," name",{"type":173,"tag":309,"props":4523,"children":4524},{"style":316},[4525],{"type":179,"value":465},{"type":173,"tag":309,"props":4527,"children":4528},{"style":316},[4529],{"type":179,"value":381},{"type":173,"tag":309,"props":4531,"children":4532},{"style":322},[4533],{"type":179,"value":4534}," $in",{"type":173,"tag":309,"props":4536,"children":4537},{"style":316},[4538],{"type":179,"value":465},{"type":173,"tag":309,"props":4540,"children":4541},{"style":384},[4542],{"type":179,"value":2297},{"type":173,"tag":309,"props":4544,"children":4545},{"style":316},[4546],{"type":179,"value":900},{"type":173,"tag":309,"props":4548,"children":4549},{"style":349},[4550],{"type":179,"value":4551},"odin",{"type":173,"tag":309,"props":4553,"children":4554},{"style":316},[4555],{"type":179,"value":900},{"type":173,"tag":309,"props":4557,"children":4558},{"style":316},[4559],{"type":179,"value":2315},{"type":173,"tag":309,"props":4561,"children":4562},{"style":316},[4563],{"type":179,"value":402},{"type":173,"tag":309,"props":4565,"children":4566},{"style":349},[4567],{"type":179,"value":4568},"thor",{"type":173,"tag":309,"props":4570,"children":4571},{"style":316},[4572],{"type":179,"value":900},{"type":173,"tag":309,"props":4574,"children":4575},{"style":384},[4576],{"type":179,"value":4577},"] ",{"type":173,"tag":309,"props":4579,"children":4580},{"style":316},[4581],{"type":179,"value":579},{"type":173,"tag":309,"props":4583,"children":4584},{"style":316},[4585],{"type":179,"value":392},{"type":173,"tag":309,"props":4587,"children":4588},{"style":384},[4589],{"type":179,"value":955},{"type":173,"tag":309,"props":4591,"children":4592},{"style":316},[4593],{"type":179,"value":260},{"type":173,"tag":309,"props":4595,"children":4596},{"style":592},[4597],{"type":179,"value":4438},{"type":173,"tag":309,"props":4599,"children":4600},{"style":384},[4601],{"type":179,"value":969},{"type":173,"tag":182,"props":4603,"children":4604},{},[4605],{"type":179,"value":4606},"In order to filter in objects and an array or arrays, you can use the nested properties style:",{"type":173,"tag":299,"props":4608,"children":4610},{"className":2228,"code":4609,"language":352,"meta":167,"style":167},"const products = await queryContent('products').where({ 'categories': { $contains: 'top' } }).find()\n\nconst products = await queryContent('products').where({ 'categories': { $contains: ['top', 'woman'] } }).find()\n",[4611],{"type":173,"tag":198,"props":4612,"children":4613},{"__ignoreMap":167},[4614,4741,4748],{"type":173,"tag":309,"props":4615,"children":4616},{"class":311,"line":312},[4617,4621,4626,4630,4634,4638,4642,4646,4651,4655,4659,4663,4667,4671,4675,4679,4684,4688,4692,4696,4700,4704,4708,4713,4717,4721,4725,4729,4733,4737],{"type":173,"tag":309,"props":4618,"children":4619},{"style":328},[4620],{"type":179,"value":565},{"type":173,"tag":309,"props":4622,"children":4623},{"style":384},[4624],{"type":179,"value":4625}," products ",{"type":173,"tag":309,"props":4627,"children":4628},{"style":316},[4629],{"type":179,"value":341},{"type":173,"tag":309,"props":4631,"children":4632},{"style":368},[4633],{"type":179,"value":589},{"type":173,"tag":309,"props":4635,"children":4636},{"style":592},[4637],{"type":179,"value":619},{"type":173,"tag":309,"props":4639,"children":4640},{"style":384},[4641],{"type":179,"value":638},{"type":173,"tag":309,"props":4643,"children":4644},{"style":316},[4645],{"type":179,"value":900},{"type":173,"tag":309,"props":4647,"children":4648},{"style":349},[4649],{"type":179,"value":4650},"products",{"type":173,"tag":309,"props":4652,"children":4653},{"style":316},[4654],{"type":179,"value":900},{"type":173,"tag":309,"props":4656,"children":4657},{"style":384},[4658],{"type":179,"value":955},{"type":173,"tag":309,"props":4660,"children":4661},{"style":316},[4662],{"type":179,"value":260},{"type":173,"tag":309,"props":4664,"children":4665},{"style":592},[4666],{"type":179,"value":4135},{"type":173,"tag":309,"props":4668,"children":4669},{"style":384},[4670],{"type":179,"value":638},{"type":173,"tag":309,"props":4672,"children":4673},{"style":316},[4674],{"type":179,"value":643},{"type":173,"tag":309,"props":4676,"children":4677},{"style":316},[4678],{"type":179,"value":402},{"type":173,"tag":309,"props":4680,"children":4681},{"style":322},[4682],{"type":179,"value":4683},"categories",{"type":173,"tag":309,"props":4685,"children":4686},{"style":316},[4687],{"type":179,"value":900},{"type":173,"tag":309,"props":4689,"children":4690},{"style":316},[4691],{"type":179,"value":465},{"type":173,"tag":309,"props":4693,"children":4694},{"style":316},[4695],{"type":179,"value":381},{"type":173,"tag":309,"props":4697,"children":4698},{"style":322},[4699],{"type":179,"value":3124},{"type":173,"tag":309,"props":4701,"children":4702},{"style":316},[4703],{"type":179,"value":465},{"type":173,"tag":309,"props":4705,"children":4706},{"style":316},[4707],{"type":179,"value":402},{"type":173,"tag":309,"props":4709,"children":4710},{"style":349},[4711],{"type":179,"value":4712},"top",{"type":173,"tag":309,"props":4714,"children":4715},{"style":316},[4716],{"type":179,"value":900},{"type":173,"tag":309,"props":4718,"children":4719},{"style":316},[4720],{"type":179,"value":392},{"type":173,"tag":309,"props":4722,"children":4723},{"style":316},[4724],{"type":179,"value":392},{"type":173,"tag":309,"props":4726,"children":4727},{"style":384},[4728],{"type":179,"value":955},{"type":173,"tag":309,"props":4730,"children":4731},{"style":316},[4732],{"type":179,"value":260},{"type":173,"tag":309,"props":4734,"children":4735},{"style":592},[4736],{"type":179,"value":4438},{"type":173,"tag":309,"props":4738,"children":4739},{"style":384},[4740],{"type":179,"value":969},{"type":173,"tag":309,"props":4742,"children":4743},{"class":311,"line":364},[4744],{"type":173,"tag":309,"props":4745,"children":4746},{"emptyLinePlaceholder":419},[4747],{"type":179,"value":422},{"type":173,"tag":309,"props":4749,"children":4750},{"class":311,"line":415},[4751,4755,4759,4763,4767,4771,4775,4779,4783,4787,4791,4795,4799,4803,4807,4811,4815,4819,4823,4827,4831,4835,4839,4843,4847,4851,4855,4859,4864,4868,4872,4876,4880,4884,4888,4892],{"type":173,"tag":309,"props":4752,"children":4753},{"style":328},[4754],{"type":179,"value":565},{"type":173,"tag":309,"props":4756,"children":4757},{"style":384},[4758],{"type":179,"value":4625},{"type":173,"tag":309,"props":4760,"children":4761},{"style":316},[4762],{"type":179,"value":341},{"type":173,"tag":309,"props":4764,"children":4765},{"style":368},[4766],{"type":179,"value":589},{"type":173,"tag":309,"props":4768,"children":4769},{"style":592},[4770],{"type":179,"value":619},{"type":173,"tag":309,"props":4772,"children":4773},{"style":384},[4774],{"type":179,"value":638},{"type":173,"tag":309,"props":4776,"children":4777},{"style":316},[4778],{"type":179,"value":900},{"type":173,"tag":309,"props":4780,"children":4781},{"style":349},[4782],{"type":179,"value":4650},{"type":173,"tag":309,"props":4784,"children":4785},{"style":316},[4786],{"type":179,"value":900},{"type":173,"tag":309,"props":4788,"children":4789},{"style":384},[4790],{"type":179,"value":955},{"type":173,"tag":309,"props":4792,"children":4793},{"style":316},[4794],{"type":179,"value":260},{"type":173,"tag":309,"props":4796,"children":4797},{"style":592},[4798],{"type":179,"value":4135},{"type":173,"tag":309,"props":4800,"children":4801},{"style":384},[4802],{"type":179,"value":638},{"type":173,"tag":309,"props":4804,"children":4805},{"style":316},[4806],{"type":179,"value":643},{"type":173,"tag":309,"props":4808,"children":4809},{"style":316},[4810],{"type":179,"value":402},{"type":173,"tag":309,"props":4812,"children":4813},{"style":322},[4814],{"type":179,"value":4683},{"type":173,"tag":309,"props":4816,"children":4817},{"style":316},[4818],{"type":179,"value":900},{"type":173,"tag":309,"props":4820,"children":4821},{"style":316},[4822],{"type":179,"value":465},{"type":173,"tag":309,"props":4824,"children":4825},{"style":316},[4826],{"type":179,"value":381},{"type":173,"tag":309,"props":4828,"children":4829},{"style":322},[4830],{"type":179,"value":3124},{"type":173,"tag":309,"props":4832,"children":4833},{"style":316},[4834],{"type":179,"value":465},{"type":173,"tag":309,"props":4836,"children":4837},{"style":384},[4838],{"type":179,"value":2297},{"type":173,"tag":309,"props":4840,"children":4841},{"style":316},[4842],{"type":179,"value":900},{"type":173,"tag":309,"props":4844,"children":4845},{"style":349},[4846],{"type":179,"value":4712},{"type":173,"tag":309,"props":4848,"children":4849},{"style":316},[4850],{"type":179,"value":900},{"type":173,"tag":309,"props":4852,"children":4853},{"style":316},[4854],{"type":179,"value":2315},{"type":173,"tag":309,"props":4856,"children":4857},{"style":316},[4858],{"type":179,"value":402},{"type":173,"tag":309,"props":4860,"children":4861},{"style":349},[4862],{"type":179,"value":4863},"woman",{"type":173,"tag":309,"props":4865,"children":4866},{"style":316},[4867],{"type":179,"value":900},{"type":173,"tag":309,"props":4869,"children":4870},{"style":384},[4871],{"type":179,"value":4577},{"type":173,"tag":309,"props":4873,"children":4874},{"style":316},[4875],{"type":179,"value":579},{"type":173,"tag":309,"props":4877,"children":4878},{"style":316},[4879],{"type":179,"value":392},{"type":173,"tag":309,"props":4881,"children":4882},{"style":384},[4883],{"type":179,"value":955},{"type":173,"tag":309,"props":4885,"children":4886},{"style":316},[4887],{"type":179,"value":260},{"type":173,"tag":309,"props":4889,"children":4890},{"style":592},[4891],{"type":179,"value":4438},{"type":173,"tag":309,"props":4893,"children":4894},{"style":384},[4895],{"type":179,"value":969},{"type":173,"tag":188,"props":4897,"children":4899},{"id":4898},"sortoptions",[4900],{"type":173,"tag":198,"props":4901,"children":4903},{"className":4902},[],[4904],{"type":179,"value":4905},"sort(options)",{"type":173,"tag":3186,"props":4907,"children":4908},{},[4909],{"type":173,"tag":3190,"props":4910,"children":4911},{},[4912,4918],{"type":173,"tag":198,"props":4913,"children":4915},{"className":4914},[],[4916],{"type":179,"value":4917},"options",{"type":173,"tag":3186,"props":4919,"children":4920},{},[4921,4931],{"type":173,"tag":3190,"props":4922,"children":4923},{},[4924,4925],{"type":179,"value":3715},{"type":173,"tag":198,"props":4926,"children":4928},{"className":4927},[],[4929],{"type":179,"value":4930},"object",{"type":173,"tag":3190,"props":4932,"children":4933},{},[4934],{"type":173,"tag":1115,"props":4935,"children":4936},{},[4937],{"type":179,"value":3729},{"type":173,"tag":182,"props":4939,"children":4940},{},[4941],{"type":179,"value":4942},"Sort results by a field or fields.",{"type":173,"tag":299,"props":4944,"children":4946},{"className":2228,"code":4945,"language":352,"meta":167,"style":167},"// Sort by title ascending\nconst articles = await queryContent('articles')\n  .sort({ title: 1 })\n  .find()\n\n// Sort by title ascending first then sort by category descending\nconst articles = await queryContent('articles')\n  .sort({ title: 1, category: -1 })\n  .find()\n// OR\nconst articles = await queryContent('articles')\n  .sort({ title: 1 })\n  .sort({ category: -1 })\n  .find()\n\n// Sort by nested field\nconst articles = await queryContent('articles')\n  .sort({ 'category.title': 1 })\n  .find()\n\n",[4947],{"type":173,"tag":198,"props":4948,"children":4949},{"__ignoreMap":167},[4950,4958,5001,5043,5058,5065,5073,5116,5178,5193,5201,5244,5283,5326,5341,5349,5358,5402,5451],{"type":173,"tag":309,"props":4951,"children":4952},{"class":311,"line":312},[4953],{"type":173,"tag":309,"props":4954,"children":4955},{"style":553},[4956],{"type":179,"value":4957},"// Sort by title ascending\n",{"type":173,"tag":309,"props":4959,"children":4960},{"class":311,"line":364},[4961,4965,4969,4973,4977,4981,4985,4989,4993,4997],{"type":173,"tag":309,"props":4962,"children":4963},{"style":328},[4964],{"type":179,"value":565},{"type":173,"tag":309,"props":4966,"children":4967},{"style":384},[4968],{"type":179,"value":4094},{"type":173,"tag":309,"props":4970,"children":4971},{"style":316},[4972],{"type":179,"value":341},{"type":173,"tag":309,"props":4974,"children":4975},{"style":368},[4976],{"type":179,"value":589},{"type":173,"tag":309,"props":4978,"children":4979},{"style":592},[4980],{"type":179,"value":619},{"type":173,"tag":309,"props":4982,"children":4983},{"style":384},[4984],{"type":179,"value":638},{"type":173,"tag":309,"props":4986,"children":4987},{"style":316},[4988],{"type":179,"value":900},{"type":173,"tag":309,"props":4990,"children":4991},{"style":349},[4992],{"type":179,"value":946},{"type":173,"tag":309,"props":4994,"children":4995},{"style":316},[4996],{"type":179,"value":900},{"type":173,"tag":309,"props":4998,"children":4999},{"style":384},[5000],{"type":179,"value":662},{"type":173,"tag":309,"props":5002,"children":5003},{"class":311,"line":415},[5004,5009,5014,5018,5022,5026,5030,5035,5039],{"type":173,"tag":309,"props":5005,"children":5006},{"style":316},[5007],{"type":179,"value":5008},"  .",{"type":173,"tag":309,"props":5010,"children":5011},{"style":592},[5012],{"type":179,"value":5013},"sort",{"type":173,"tag":309,"props":5015,"children":5016},{"style":384},[5017],{"type":179,"value":638},{"type":173,"tag":309,"props":5019,"children":5020},{"style":316},[5021],{"type":179,"value":643},{"type":173,"tag":309,"props":5023,"children":5024},{"style":322},[5025],{"type":179,"value":4148},{"type":173,"tag":309,"props":5027,"children":5028},{"style":316},[5029],{"type":179,"value":465},{"type":173,"tag":309,"props":5031,"children":5032},{"style":4414},[5033],{"type":179,"value":5034}," 1",{"type":173,"tag":309,"props":5036,"children":5037},{"style":316},[5038],{"type":179,"value":392},{"type":173,"tag":309,"props":5040,"children":5041},{"style":384},[5042],{"type":179,"value":662},{"type":173,"tag":309,"props":5044,"children":5045},{"class":311,"line":425},[5046,5050,5054],{"type":173,"tag":309,"props":5047,"children":5048},{"style":316},[5049],{"type":179,"value":5008},{"type":173,"tag":309,"props":5051,"children":5052},{"style":592},[5053],{"type":179,"value":4438},{"type":173,"tag":309,"props":5055,"children":5056},{"style":384},[5057],{"type":179,"value":969},{"type":173,"tag":309,"props":5059,"children":5060},{"class":311,"line":454},[5061],{"type":173,"tag":309,"props":5062,"children":5063},{"emptyLinePlaceholder":419},[5064],{"type":179,"value":422},{"type":173,"tag":309,"props":5066,"children":5067},{"class":311,"line":481},[5068],{"type":173,"tag":309,"props":5069,"children":5070},{"style":553},[5071],{"type":179,"value":5072},"// Sort by title ascending first then sort by category descending\n",{"type":173,"tag":309,"props":5074,"children":5075},{"class":311,"line":507},[5076,5080,5084,5088,5092,5096,5100,5104,5108,5112],{"type":173,"tag":309,"props":5077,"children":5078},{"style":328},[5079],{"type":179,"value":565},{"type":173,"tag":309,"props":5081,"children":5082},{"style":384},[5083],{"type":179,"value":4094},{"type":173,"tag":309,"props":5085,"children":5086},{"style":316},[5087],{"type":179,"value":341},{"type":173,"tag":309,"props":5089,"children":5090},{"style":368},[5091],{"type":179,"value":589},{"type":173,"tag":309,"props":5093,"children":5094},{"style":592},[5095],{"type":179,"value":619},{"type":173,"tag":309,"props":5097,"children":5098},{"style":384},[5099],{"type":179,"value":638},{"type":173,"tag":309,"props":5101,"children":5102},{"style":316},[5103],{"type":179,"value":900},{"type":173,"tag":309,"props":5105,"children":5106},{"style":349},[5107],{"type":179,"value":946},{"type":173,"tag":309,"props":5109,"children":5110},{"style":316},[5111],{"type":179,"value":900},{"type":173,"tag":309,"props":5113,"children":5114},{"style":384},[5115],{"type":179,"value":662},{"type":173,"tag":309,"props":5117,"children":5118},{"class":311,"line":532},[5119,5123,5127,5131,5135,5139,5143,5147,5151,5156,5160,5165,5170,5174],{"type":173,"tag":309,"props":5120,"children":5121},{"style":316},[5122],{"type":179,"value":5008},{"type":173,"tag":309,"props":5124,"children":5125},{"style":592},[5126],{"type":179,"value":5013},{"type":173,"tag":309,"props":5128,"children":5129},{"style":384},[5130],{"type":179,"value":638},{"type":173,"tag":309,"props":5132,"children":5133},{"style":316},[5134],{"type":179,"value":643},{"type":173,"tag":309,"props":5136,"children":5137},{"style":322},[5138],{"type":179,"value":4148},{"type":173,"tag":309,"props":5140,"children":5141},{"style":316},[5142],{"type":179,"value":465},{"type":173,"tag":309,"props":5144,"children":5145},{"style":4414},[5146],{"type":179,"value":5034},{"type":173,"tag":309,"props":5148,"children":5149},{"style":316},[5150],{"type":179,"value":2315},{"type":173,"tag":309,"props":5152,"children":5153},{"style":322},[5154],{"type":179,"value":5155}," category",{"type":173,"tag":309,"props":5157,"children":5158},{"style":316},[5159],{"type":179,"value":465},{"type":173,"tag":309,"props":5161,"children":5162},{"style":316},[5163],{"type":179,"value":5164}," -",{"type":173,"tag":309,"props":5166,"children":5167},{"style":4414},[5168],{"type":179,"value":5169},"1",{"type":173,"tag":309,"props":5171,"children":5172},{"style":316},[5173],{"type":179,"value":392},{"type":173,"tag":309,"props":5175,"children":5176},{"style":384},[5177],{"type":179,"value":662},{"type":173,"tag":309,"props":5179,"children":5180},{"class":311,"line":541},[5181,5185,5189],{"type":173,"tag":309,"props":5182,"children":5183},{"style":316},[5184],{"type":179,"value":5008},{"type":173,"tag":309,"props":5186,"children":5187},{"style":592},[5188],{"type":179,"value":4438},{"type":173,"tag":309,"props":5190,"children":5191},{"style":384},[5192],{"type":179,"value":969},{"type":173,"tag":309,"props":5194,"children":5195},{"class":311,"line":549},[5196],{"type":173,"tag":309,"props":5197,"children":5198},{"style":553},[5199],{"type":179,"value":5200},"// OR\n",{"type":173,"tag":309,"props":5202,"children":5203},{"class":311,"line":559},[5204,5208,5212,5216,5220,5224,5228,5232,5236,5240],{"type":173,"tag":309,"props":5205,"children":5206},{"style":328},[5207],{"type":179,"value":565},{"type":173,"tag":309,"props":5209,"children":5210},{"style":384},[5211],{"type":179,"value":4094},{"type":173,"tag":309,"props":5213,"children":5214},{"style":316},[5215],{"type":179,"value":341},{"type":173,"tag":309,"props":5217,"children":5218},{"style":368},[5219],{"type":179,"value":589},{"type":173,"tag":309,"props":5221,"children":5222},{"style":592},[5223],{"type":179,"value":619},{"type":173,"tag":309,"props":5225,"children":5226},{"style":384},[5227],{"type":179,"value":638},{"type":173,"tag":309,"props":5229,"children":5230},{"style":316},[5231],{"type":179,"value":900},{"type":173,"tag":309,"props":5233,"children":5234},{"style":349},[5235],{"type":179,"value":946},{"type":173,"tag":309,"props":5237,"children":5238},{"style":316},[5239],{"type":179,"value":900},{"type":173,"tag":309,"props":5241,"children":5242},{"style":384},[5243],{"type":179,"value":662},{"type":173,"tag":309,"props":5245,"children":5246},{"class":311,"line":603},[5247,5251,5255,5259,5263,5267,5271,5275,5279],{"type":173,"tag":309,"props":5248,"children":5249},{"style":316},[5250],{"type":179,"value":5008},{"type":173,"tag":309,"props":5252,"children":5253},{"style":592},[5254],{"type":179,"value":5013},{"type":173,"tag":309,"props":5256,"children":5257},{"style":384},[5258],{"type":179,"value":638},{"type":173,"tag":309,"props":5260,"children":5261},{"style":316},[5262],{"type":179,"value":643},{"type":173,"tag":309,"props":5264,"children":5265},{"style":322},[5266],{"type":179,"value":4148},{"type":173,"tag":309,"props":5268,"children":5269},{"style":316},[5270],{"type":179,"value":465},{"type":173,"tag":309,"props":5272,"children":5273},{"style":4414},[5274],{"type":179,"value":5034},{"type":173,"tag":309,"props":5276,"children":5277},{"style":316},[5278],{"type":179,"value":392},{"type":173,"tag":309,"props":5280,"children":5281},{"style":384},[5282],{"type":179,"value":662},{"type":173,"tag":309,"props":5284,"children":5285},{"class":311,"line":665},[5286,5290,5294,5298,5302,5306,5310,5314,5318,5322],{"type":173,"tag":309,"props":5287,"children":5288},{"style":316},[5289],{"type":179,"value":5008},{"type":173,"tag":309,"props":5291,"children":5292},{"style":592},[5293],{"type":179,"value":5013},{"type":173,"tag":309,"props":5295,"children":5296},{"style":384},[5297],{"type":179,"value":638},{"type":173,"tag":309,"props":5299,"children":5300},{"style":316},[5301],{"type":179,"value":643},{"type":173,"tag":309,"props":5303,"children":5304},{"style":322},[5305],{"type":179,"value":5155},{"type":173,"tag":309,"props":5307,"children":5308},{"style":316},[5309],{"type":179,"value":465},{"type":173,"tag":309,"props":5311,"children":5312},{"style":316},[5313],{"type":179,"value":5164},{"type":173,"tag":309,"props":5315,"children":5316},{"style":4414},[5317],{"type":179,"value":5169},{"type":173,"tag":309,"props":5319,"children":5320},{"style":316},[5321],{"type":179,"value":392},{"type":173,"tag":309,"props":5323,"children":5324},{"style":384},[5325],{"type":179,"value":662},{"type":173,"tag":309,"props":5327,"children":5328},{"class":311,"line":673},[5329,5333,5337],{"type":173,"tag":309,"props":5330,"children":5331},{"style":316},[5332],{"type":179,"value":5008},{"type":173,"tag":309,"props":5334,"children":5335},{"style":592},[5336],{"type":179,"value":4438},{"type":173,"tag":309,"props":5338,"children":5339},{"style":384},[5340],{"type":179,"value":969},{"type":173,"tag":309,"props":5342,"children":5344},{"class":311,"line":5343},15,[5345],{"type":173,"tag":309,"props":5346,"children":5347},{"emptyLinePlaceholder":419},[5348],{"type":179,"value":422},{"type":173,"tag":309,"props":5350,"children":5352},{"class":311,"line":5351},16,[5353],{"type":173,"tag":309,"props":5354,"children":5355},{"style":553},[5356],{"type":179,"value":5357},"// Sort by nested field\n",{"type":173,"tag":309,"props":5359,"children":5361},{"class":311,"line":5360},17,[5362,5366,5370,5374,5378,5382,5386,5390,5394,5398],{"type":173,"tag":309,"props":5363,"children":5364},{"style":328},[5365],{"type":179,"value":565},{"type":173,"tag":309,"props":5367,"children":5368},{"style":384},[5369],{"type":179,"value":4094},{"type":173,"tag":309,"props":5371,"children":5372},{"style":316},[5373],{"type":179,"value":341},{"type":173,"tag":309,"props":5375,"children":5376},{"style":368},[5377],{"type":179,"value":589},{"type":173,"tag":309,"props":5379,"children":5380},{"style":592},[5381],{"type":179,"value":619},{"type":173,"tag":309,"props":5383,"children":5384},{"style":384},[5385],{"type":179,"value":638},{"type":173,"tag":309,"props":5387,"children":5388},{"style":316},[5389],{"type":179,"value":900},{"type":173,"tag":309,"props":5391,"children":5392},{"style":349},[5393],{"type":179,"value":946},{"type":173,"tag":309,"props":5395,"children":5396},{"style":316},[5397],{"type":179,"value":900},{"type":173,"tag":309,"props":5399,"children":5400},{"style":384},[5401],{"type":179,"value":662},{"type":173,"tag":309,"props":5403,"children":5405},{"class":311,"line":5404},18,[5406,5410,5414,5418,5422,5426,5431,5435,5439,5443,5447],{"type":173,"tag":309,"props":5407,"children":5408},{"style":316},[5409],{"type":179,"value":5008},{"type":173,"tag":309,"props":5411,"children":5412},{"style":592},[5413],{"type":179,"value":5013},{"type":173,"tag":309,"props":5415,"children":5416},{"style":384},[5417],{"type":179,"value":638},{"type":173,"tag":309,"props":5419,"children":5420},{"style":316},[5421],{"type":179,"value":643},{"type":173,"tag":309,"props":5423,"children":5424},{"style":316},[5425],{"type":179,"value":402},{"type":173,"tag":309,"props":5427,"children":5428},{"style":322},[5429],{"type":179,"value":5430},"category.title",{"type":173,"tag":309,"props":5432,"children":5433},{"style":316},[5434],{"type":179,"value":900},{"type":173,"tag":309,"props":5436,"children":5437},{"style":316},[5438],{"type":179,"value":465},{"type":173,"tag":309,"props":5440,"children":5441},{"style":4414},[5442],{"type":179,"value":5034},{"type":173,"tag":309,"props":5444,"children":5445},{"style":316},[5446],{"type":179,"value":392},{"type":173,"tag":309,"props":5448,"children":5449},{"style":384},[5450],{"type":179,"value":662},{"type":173,"tag":309,"props":5452,"children":5454},{"class":311,"line":5453},19,[5455,5459,5463],{"type":173,"tag":309,"props":5456,"children":5457},{"style":316},[5458],{"type":179,"value":5008},{"type":173,"tag":309,"props":5460,"children":5461},{"style":592},[5462],{"type":179,"value":4438},{"type":173,"tag":309,"props":5464,"children":5465},{"style":384},[5466],{"type":179,"value":969},{"type":173,"tag":5468,"props":5469,"children":5470},"blockquote",{},[5471,5502],{"type":173,"tag":182,"props":5472,"children":5473},{},[5474,5480,5482,5487,5489,5494,5496,5501],{"type":173,"tag":198,"props":5475,"children":5477},{"className":5476},[],[5478],{"type":179,"value":5479},"sort()",{"type":179,"value":5481}," method does ",{"type":173,"tag":1115,"props":5483,"children":5484},{},[5485],{"type":179,"value":5486},"case-sensitive, alphabetical",{"type":179,"value":5488}," sort by default. There is some magical options you can pass to sort options to change sort behavior, like sorting ",{"type":173,"tag":1115,"props":5490,"children":5491},{},[5492],{"type":179,"value":5493},"case-insensitive",{"type":179,"value":5495}," or ",{"type":173,"tag":1115,"props":5497,"children":5498},{},[5499],{"type":179,"value":5500},"numerically rather than alphabetically",{"type":179,"value":260},{"type":173,"tag":3186,"props":5503,"children":5504},{},[5505,5524,5542],{"type":173,"tag":3190,"props":5506,"children":5507},{},[5508,5514,5516,5522],{"type":173,"tag":198,"props":5509,"children":5511},{"className":5510},[],[5512],{"type":179,"value":5513},"$sensitivity",{"type":179,"value":5515},": Change case sensitivity. Like using ",{"type":173,"tag":198,"props":5517,"children":5519},{"className":5518},[],[5520],{"type":179,"value":5521},"$sensitivity: 'base'",{"type":179,"value":5523}," for case-insensitive sort",{"type":173,"tag":3190,"props":5525,"children":5526},{},[5527,5533,5535,5541],{"type":173,"tag":198,"props":5528,"children":5530},{"className":5529},[],[5531],{"type":179,"value":5532},"$numeric",{"type":179,"value":5534},": Boolean whether numeric collation should be used, such that ",{"type":173,"tag":198,"props":5536,"children":5538},{"className":5537},[],[5539],{"type":179,"value":5540},"\"1\" \u003C \"2\" \u003C \"10\"",{"type":179,"value":260},{"type":173,"tag":3190,"props":5543,"children":5544},{},[5545,5551],{"type":173,"tag":198,"props":5546,"children":5548},{"className":5547},[],[5549],{"type":179,"value":5550},"$caseFirst",{"type":179,"value":5552},": Whether upper case or lower case should sort first.",{"type":173,"tag":182,"props":5554,"children":5555},{},[5556],{"type":179,"value":5557},"For example, to sort a list of people from youngest to oldest:",{"type":173,"tag":299,"props":5559,"children":5561},{"className":2228,"code":5560,"language":352,"meta":167,"style":167},"const people = await queryContent('people')\n  .sort({ age: 1, $numeric: true })\n  .find()\n",[5562],{"type":173,"tag":198,"props":5563,"children":5564},{"__ignoreMap":167},[5565,5610,5667],{"type":173,"tag":309,"props":5566,"children":5567},{"class":311,"line":312},[5568,5572,5577,5581,5585,5589,5593,5597,5602,5606],{"type":173,"tag":309,"props":5569,"children":5570},{"style":328},[5571],{"type":179,"value":565},{"type":173,"tag":309,"props":5573,"children":5574},{"style":384},[5575],{"type":179,"value":5576}," people ",{"type":173,"tag":309,"props":5578,"children":5579},{"style":316},[5580],{"type":179,"value":341},{"type":173,"tag":309,"props":5582,"children":5583},{"style":368},[5584],{"type":179,"value":589},{"type":173,"tag":309,"props":5586,"children":5587},{"style":592},[5588],{"type":179,"value":619},{"type":173,"tag":309,"props":5590,"children":5591},{"style":384},[5592],{"type":179,"value":638},{"type":173,"tag":309,"props":5594,"children":5595},{"style":316},[5596],{"type":179,"value":900},{"type":173,"tag":309,"props":5598,"children":5599},{"style":349},[5600],{"type":179,"value":5601},"people",{"type":173,"tag":309,"props":5603,"children":5604},{"style":316},[5605],{"type":179,"value":900},{"type":173,"tag":309,"props":5607,"children":5608},{"style":384},[5609],{"type":179,"value":662},{"type":173,"tag":309,"props":5611,"children":5612},{"class":311,"line":364},[5613,5617,5621,5625,5629,5633,5637,5641,5645,5650,5654,5659,5663],{"type":173,"tag":309,"props":5614,"children":5615},{"style":316},[5616],{"type":179,"value":5008},{"type":173,"tag":309,"props":5618,"children":5619},{"style":592},[5620],{"type":179,"value":5013},{"type":173,"tag":309,"props":5622,"children":5623},{"style":384},[5624],{"type":179,"value":638},{"type":173,"tag":309,"props":5626,"children":5627},{"style":316},[5628],{"type":179,"value":643},{"type":173,"tag":309,"props":5630,"children":5631},{"style":322},[5632],{"type":179,"value":4394},{"type":173,"tag":309,"props":5634,"children":5635},{"style":316},[5636],{"type":179,"value":465},{"type":173,"tag":309,"props":5638,"children":5639},{"style":4414},[5640],{"type":179,"value":5034},{"type":173,"tag":309,"props":5642,"children":5643},{"style":316},[5644],{"type":179,"value":2315},{"type":173,"tag":309,"props":5646,"children":5647},{"style":322},[5648],{"type":179,"value":5649}," $numeric",{"type":173,"tag":309,"props":5651,"children":5652},{"style":316},[5653],{"type":179,"value":465},{"type":173,"tag":309,"props":5655,"children":5656},{"style":2698},[5657],{"type":179,"value":5658}," true",{"type":173,"tag":309,"props":5660,"children":5661},{"style":316},[5662],{"type":179,"value":392},{"type":173,"tag":309,"props":5664,"children":5665},{"style":384},[5666],{"type":179,"value":662},{"type":173,"tag":309,"props":5668,"children":5669},{"class":311,"line":415},[5670,5674,5678],{"type":173,"tag":309,"props":5671,"children":5672},{"style":316},[5673],{"type":179,"value":5008},{"type":173,"tag":309,"props":5675,"children":5676},{"style":592},[5677],{"type":179,"value":4438},{"type":173,"tag":309,"props":5679,"children":5680},{"style":384},[5681],{"type":179,"value":969},{"type":173,"tag":182,"props":5683,"children":5684},{},[5685,5687,5694],{"type":179,"value":5686},"These options are given to ",{"type":173,"tag":206,"props":5688,"children":5691},{"href":5689,"rel":5690},"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Collator/Collator#parameters",[210],[5692],{"type":179,"value":5693},"Intl.Collator()",{"type":179,"value":260},{"type":173,"tag":188,"props":5696,"children":5698},{"id":5697},"limitcount",[5699],{"type":173,"tag":198,"props":5700,"children":5702},{"className":5701},[],[5703],{"type":179,"value":5704},"limit(count)",{"type":173,"tag":3186,"props":5706,"children":5707},{},[5708],{"type":173,"tag":3190,"props":5709,"children":5710},{},[5711,5717],{"type":173,"tag":198,"props":5712,"children":5714},{"className":5713},[],[5715],{"type":179,"value":5716},"count",{"type":173,"tag":3186,"props":5718,"children":5719},{},[5720,5730],{"type":173,"tag":3190,"props":5721,"children":5722},{},[5723,5724],{"type":179,"value":3715},{"type":173,"tag":198,"props":5725,"children":5727},{"className":5726},[],[5728],{"type":179,"value":5729},"number",{"type":173,"tag":3190,"props":5731,"children":5732},{},[5733],{"type":173,"tag":1115,"props":5734,"children":5735},{},[5736],{"type":179,"value":3729},{"type":173,"tag":182,"props":5738,"children":5739},{},[5740],{"type":179,"value":5741},"Limit number of results.",{"type":173,"tag":299,"props":5743,"children":5745},{"className":2228,"code":5744,"language":352,"meta":167,"style":167},"// fetch only 5 articles\nconst articles = await queryContent('articles').limit(5).find()\n",[5746],{"type":173,"tag":198,"props":5747,"children":5748},{"__ignoreMap":167},[5749,5757],{"type":173,"tag":309,"props":5750,"children":5751},{"class":311,"line":312},[5752],{"type":173,"tag":309,"props":5753,"children":5754},{"style":553},[5755],{"type":179,"value":5756},"// fetch only 5 articles\n",{"type":173,"tag":309,"props":5758,"children":5759},{"class":311,"line":364},[5760,5764,5768,5772,5776,5780,5784,5788,5792,5796,5800,5804,5809,5813,5818,5822,5826,5830],{"type":173,"tag":309,"props":5761,"children":5762},{"style":328},[5763],{"type":179,"value":565},{"type":173,"tag":309,"props":5765,"children":5766},{"style":384},[5767],{"type":179,"value":4094},{"type":173,"tag":309,"props":5769,"children":5770},{"style":316},[5771],{"type":179,"value":341},{"type":173,"tag":309,"props":5773,"children":5774},{"style":368},[5775],{"type":179,"value":589},{"type":173,"tag":309,"props":5777,"children":5778},{"style":592},[5779],{"type":179,"value":619},{"type":173,"tag":309,"props":5781,"children":5782},{"style":384},[5783],{"type":179,"value":638},{"type":173,"tag":309,"props":5785,"children":5786},{"style":316},[5787],{"type":179,"value":900},{"type":173,"tag":309,"props":5789,"children":5790},{"style":349},[5791],{"type":179,"value":946},{"type":173,"tag":309,"props":5793,"children":5794},{"style":316},[5795],{"type":179,"value":900},{"type":173,"tag":309,"props":5797,"children":5798},{"style":384},[5799],{"type":179,"value":955},{"type":173,"tag":309,"props":5801,"children":5802},{"style":316},[5803],{"type":179,"value":260},{"type":173,"tag":309,"props":5805,"children":5806},{"style":592},[5807],{"type":179,"value":5808},"limit",{"type":173,"tag":309,"props":5810,"children":5811},{"style":384},[5812],{"type":179,"value":638},{"type":173,"tag":309,"props":5814,"children":5815},{"style":4414},[5816],{"type":179,"value":5817},"5",{"type":173,"tag":309,"props":5819,"children":5820},{"style":384},[5821],{"type":179,"value":955},{"type":173,"tag":309,"props":5823,"children":5824},{"style":316},[5825],{"type":179,"value":260},{"type":173,"tag":309,"props":5827,"children":5828},{"style":592},[5829],{"type":179,"value":4438},{"type":173,"tag":309,"props":5831,"children":5832},{"style":384},[5833],{"type":179,"value":969},{"type":173,"tag":188,"props":5835,"children":5837},{"id":5836},"skipcount",[5838],{"type":173,"tag":198,"props":5839,"children":5841},{"className":5840},[],[5842],{"type":179,"value":5843},"skip(count)",{"type":173,"tag":3186,"props":5845,"children":5846},{},[5847],{"type":173,"tag":3190,"props":5848,"children":5849},{},[5850,5855],{"type":173,"tag":198,"props":5851,"children":5853},{"className":5852},[],[5854],{"type":179,"value":5716},{"type":173,"tag":3186,"props":5856,"children":5857},{},[5858,5867],{"type":173,"tag":3190,"props":5859,"children":5860},{},[5861,5862],{"type":179,"value":3715},{"type":173,"tag":198,"props":5863,"children":5865},{"className":5864},[],[5866],{"type":179,"value":5729},{"type":173,"tag":3190,"props":5868,"children":5869},{},[5870],{"type":173,"tag":1115,"props":5871,"children":5872},{},[5873],{"type":179,"value":3729},{"type":173,"tag":182,"props":5875,"children":5876},{},[5877],{"type":179,"value":5878},"Skip results.",{"type":173,"tag":299,"props":5880,"children":5882},{"className":2228,"code":5881,"language":352,"meta":167,"style":167},"// fetch the next 5 articles\nconst articles = await queryContent('articles')\n    .skip(5)\n    .limit(5)\n    .find()\n",[5883],{"type":173,"tag":198,"props":5884,"children":5885},{"__ignoreMap":167},[5886,5894,5937,5962,5985],{"type":173,"tag":309,"props":5887,"children":5888},{"class":311,"line":312},[5889],{"type":173,"tag":309,"props":5890,"children":5891},{"style":553},[5892],{"type":179,"value":5893},"// fetch the next 5 articles\n",{"type":173,"tag":309,"props":5895,"children":5896},{"class":311,"line":364},[5897,5901,5905,5909,5913,5917,5921,5925,5929,5933],{"type":173,"tag":309,"props":5898,"children":5899},{"style":328},[5900],{"type":179,"value":565},{"type":173,"tag":309,"props":5902,"children":5903},{"style":384},[5904],{"type":179,"value":4094},{"type":173,"tag":309,"props":5906,"children":5907},{"style":316},[5908],{"type":179,"value":341},{"type":173,"tag":309,"props":5910,"children":5911},{"style":368},[5912],{"type":179,"value":589},{"type":173,"tag":309,"props":5914,"children":5915},{"style":592},[5916],{"type":179,"value":619},{"type":173,"tag":309,"props":5918,"children":5919},{"style":384},[5920],{"type":179,"value":638},{"type":173,"tag":309,"props":5922,"children":5923},{"style":316},[5924],{"type":179,"value":900},{"type":173,"tag":309,"props":5926,"children":5927},{"style":349},[5928],{"type":179,"value":946},{"type":173,"tag":309,"props":5930,"children":5931},{"style":316},[5932],{"type":179,"value":900},{"type":173,"tag":309,"props":5934,"children":5935},{"style":384},[5936],{"type":179,"value":662},{"type":173,"tag":309,"props":5938,"children":5939},{"class":311,"line":415},[5940,5945,5950,5954,5958],{"type":173,"tag":309,"props":5941,"children":5942},{"style":316},[5943],{"type":179,"value":5944},"    .",{"type":173,"tag":309,"props":5946,"children":5947},{"style":592},[5948],{"type":179,"value":5949},"skip",{"type":173,"tag":309,"props":5951,"children":5952},{"style":384},[5953],{"type":179,"value":638},{"type":173,"tag":309,"props":5955,"children":5956},{"style":4414},[5957],{"type":179,"value":5817},{"type":173,"tag":309,"props":5959,"children":5960},{"style":384},[5961],{"type":179,"value":662},{"type":173,"tag":309,"props":5963,"children":5964},{"class":311,"line":425},[5965,5969,5973,5977,5981],{"type":173,"tag":309,"props":5966,"children":5967},{"style":316},[5968],{"type":179,"value":5944},{"type":173,"tag":309,"props":5970,"children":5971},{"style":592},[5972],{"type":179,"value":5808},{"type":173,"tag":309,"props":5974,"children":5975},{"style":384},[5976],{"type":179,"value":638},{"type":173,"tag":309,"props":5978,"children":5979},{"style":4414},[5980],{"type":179,"value":5817},{"type":173,"tag":309,"props":5982,"children":5983},{"style":384},[5984],{"type":179,"value":662},{"type":173,"tag":309,"props":5986,"children":5987},{"class":311,"line":454},[5988,5992,5996],{"type":173,"tag":309,"props":5989,"children":5990},{"style":316},[5991],{"type":179,"value":5944},{"type":173,"tag":309,"props":5993,"children":5994},{"style":592},[5995],{"type":179,"value":4438},{"type":173,"tag":309,"props":5997,"children":5998},{"style":384},[5999],{"type":179,"value":969},{"type":173,"tag":188,"props":6001,"children":6003},{"id":6002},"withoutkeys",[6004],{"type":173,"tag":198,"props":6005,"children":6007},{"className":6006},[],[6008],{"type":179,"value":6009},"without(keys)",{"type":173,"tag":3186,"props":6011,"children":6012},{},[6013],{"type":173,"tag":3190,"props":6014,"children":6015},{},[6016,6021],{"type":173,"tag":198,"props":6017,"children":6019},{"className":6018},[],[6020],{"type":179,"value":474},{"type":173,"tag":3186,"props":6022,"children":6023},{},[6024,6041],{"type":173,"tag":3190,"props":6025,"children":6026},{},[6027,6028,6034,6035],{"type":179,"value":3715},{"type":173,"tag":198,"props":6029,"children":6031},{"className":6030},[],[6032],{"type":179,"value":6033},"string[]",{"type":179,"value":5495},{"type":173,"tag":198,"props":6036,"children":6038},{"className":6037},[],[6039],{"type":179,"value":6040},"string",{"type":173,"tag":3190,"props":6042,"children":6043},{},[6044],{"type":173,"tag":1115,"props":6045,"children":6046},{},[6047],{"type":179,"value":3729},{"type":173,"tag":182,"props":6049,"children":6050},{},[6051],{"type":179,"value":6052},"Remove a subset of fields.",{"type":173,"tag":299,"props":6054,"children":6056},{"className":2228,"code":6055,"language":352,"meta":167,"style":167},"const articles = await queryContent('articles').without('unused-key').find()\n\nconst articles = await queryContent('articles').without(['unused-key', 'another-unused-key']).find()\n",[6057],{"type":173,"tag":198,"props":6058,"children":6059},{"__ignoreMap":167},[6060,6145,6152],{"type":173,"tag":309,"props":6061,"children":6062},{"class":311,"line":312},[6063,6067,6071,6075,6079,6083,6087,6091,6095,6099,6103,6107,6112,6116,6120,6125,6129,6133,6137,6141],{"type":173,"tag":309,"props":6064,"children":6065},{"style":328},[6066],{"type":179,"value":565},{"type":173,"tag":309,"props":6068,"children":6069},{"style":384},[6070],{"type":179,"value":4094},{"type":173,"tag":309,"props":6072,"children":6073},{"style":316},[6074],{"type":179,"value":341},{"type":173,"tag":309,"props":6076,"children":6077},{"style":368},[6078],{"type":179,"value":589},{"type":173,"tag":309,"props":6080,"children":6081},{"style":592},[6082],{"type":179,"value":619},{"type":173,"tag":309,"props":6084,"children":6085},{"style":384},[6086],{"type":179,"value":638},{"type":173,"tag":309,"props":6088,"children":6089},{"style":316},[6090],{"type":179,"value":900},{"type":173,"tag":309,"props":6092,"children":6093},{"style":349},[6094],{"type":179,"value":946},{"type":173,"tag":309,"props":6096,"children":6097},{"style":316},[6098],{"type":179,"value":900},{"type":173,"tag":309,"props":6100,"children":6101},{"style":384},[6102],{"type":179,"value":955},{"type":173,"tag":309,"props":6104,"children":6105},{"style":316},[6106],{"type":179,"value":260},{"type":173,"tag":309,"props":6108,"children":6109},{"style":592},[6110],{"type":179,"value":6111},"without",{"type":173,"tag":309,"props":6113,"children":6114},{"style":384},[6115],{"type":179,"value":638},{"type":173,"tag":309,"props":6117,"children":6118},{"style":316},[6119],{"type":179,"value":900},{"type":173,"tag":309,"props":6121,"children":6122},{"style":349},[6123],{"type":179,"value":6124},"unused-key",{"type":173,"tag":309,"props":6126,"children":6127},{"style":316},[6128],{"type":179,"value":900},{"type":173,"tag":309,"props":6130,"children":6131},{"style":384},[6132],{"type":179,"value":955},{"type":173,"tag":309,"props":6134,"children":6135},{"style":316},[6136],{"type":179,"value":260},{"type":173,"tag":309,"props":6138,"children":6139},{"style":592},[6140],{"type":179,"value":4438},{"type":173,"tag":309,"props":6142,"children":6143},{"style":384},[6144],{"type":179,"value":969},{"type":173,"tag":309,"props":6146,"children":6147},{"class":311,"line":364},[6148],{"type":173,"tag":309,"props":6149,"children":6150},{"emptyLinePlaceholder":419},[6151],{"type":179,"value":422},{"type":173,"tag":309,"props":6153,"children":6154},{"class":311,"line":415},[6155,6159,6163,6167,6171,6175,6179,6183,6187,6191,6195,6199,6203,6208,6212,6216,6220,6224,6228,6233,6237,6242,6246,6250],{"type":173,"tag":309,"props":6156,"children":6157},{"style":328},[6158],{"type":179,"value":565},{"type":173,"tag":309,"props":6160,"children":6161},{"style":384},[6162],{"type":179,"value":4094},{"type":173,"tag":309,"props":6164,"children":6165},{"style":316},[6166],{"type":179,"value":341},{"type":173,"tag":309,"props":6168,"children":6169},{"style":368},[6170],{"type":179,"value":589},{"type":173,"tag":309,"props":6172,"children":6173},{"style":592},[6174],{"type":179,"value":619},{"type":173,"tag":309,"props":6176,"children":6177},{"style":384},[6178],{"type":179,"value":638},{"type":173,"tag":309,"props":6180,"children":6181},{"style":316},[6182],{"type":179,"value":900},{"type":173,"tag":309,"props":6184,"children":6185},{"style":349},[6186],{"type":179,"value":946},{"type":173,"tag":309,"props":6188,"children":6189},{"style":316},[6190],{"type":179,"value":900},{"type":173,"tag":309,"props":6192,"children":6193},{"style":384},[6194],{"type":179,"value":955},{"type":173,"tag":309,"props":6196,"children":6197},{"style":316},[6198],{"type":179,"value":260},{"type":173,"tag":309,"props":6200,"children":6201},{"style":592},[6202],{"type":179,"value":6111},{"type":173,"tag":309,"props":6204,"children":6205},{"style":384},[6206],{"type":179,"value":6207},"([",{"type":173,"tag":309,"props":6209,"children":6210},{"style":316},[6211],{"type":179,"value":900},{"type":173,"tag":309,"props":6213,"children":6214},{"style":349},[6215],{"type":179,"value":6124},{"type":173,"tag":309,"props":6217,"children":6218},{"style":316},[6219],{"type":179,"value":900},{"type":173,"tag":309,"props":6221,"children":6222},{"style":316},[6223],{"type":179,"value":2315},{"type":173,"tag":309,"props":6225,"children":6226},{"style":316},[6227],{"type":179,"value":402},{"type":173,"tag":309,"props":6229,"children":6230},{"style":349},[6231],{"type":179,"value":6232},"another-unused-key",{"type":173,"tag":309,"props":6234,"children":6235},{"style":316},[6236],{"type":179,"value":900},{"type":173,"tag":309,"props":6238,"children":6239},{"style":384},[6240],{"type":179,"value":6241},"])",{"type":173,"tag":309,"props":6243,"children":6244},{"style":316},[6245],{"type":179,"value":260},{"type":173,"tag":309,"props":6247,"children":6248},{"style":592},[6249],{"type":179,"value":4438},{"type":173,"tag":309,"props":6251,"children":6252},{"style":384},[6253],{"type":179,"value":969},{"type":173,"tag":188,"props":6255,"children":6257},{"id":6256},"onlykeys",[6258],{"type":173,"tag":198,"props":6259,"children":6261},{"className":6260},[],[6262],{"type":179,"value":6263},"only(keys)",{"type":173,"tag":3186,"props":6265,"children":6266},{},[6267],{"type":173,"tag":3190,"props":6268,"children":6269},{},[6270,6275],{"type":173,"tag":198,"props":6271,"children":6273},{"className":6272},[],[6274],{"type":179,"value":474},{"type":173,"tag":3186,"props":6276,"children":6277},{},[6278,6293],{"type":173,"tag":3190,"props":6279,"children":6280},{},[6281,6282,6287,6288],{"type":179,"value":3715},{"type":173,"tag":198,"props":6283,"children":6285},{"className":6284},[],[6286],{"type":179,"value":6033},{"type":179,"value":5495},{"type":173,"tag":198,"props":6289,"children":6291},{"className":6290},[],[6292],{"type":179,"value":6040},{"type":173,"tag":3190,"props":6294,"children":6295},{},[6296],{"type":173,"tag":1115,"props":6297,"children":6298},{},[6299],{"type":179,"value":3729},{"type":173,"tag":182,"props":6301,"children":6302},{},[6303],{"type":179,"value":6304},"Select a subset of fields.",{"type":173,"tag":299,"props":6306,"children":6308},{"className":2228,"code":6307,"language":352,"meta":167,"style":167},"const articles = await queryContent('articles').only('id').find()\n\nconst articles = await queryContent('articles').only(['id', 'title']).find()\n",[6309],{"type":173,"tag":198,"props":6310,"children":6311},{"__ignoreMap":167},[6312,6397,6404],{"type":173,"tag":309,"props":6313,"children":6314},{"class":311,"line":312},[6315,6319,6323,6327,6331,6335,6339,6343,6347,6351,6355,6359,6364,6368,6372,6377,6381,6385,6389,6393],{"type":173,"tag":309,"props":6316,"children":6317},{"style":328},[6318],{"type":179,"value":565},{"type":173,"tag":309,"props":6320,"children":6321},{"style":384},[6322],{"type":179,"value":4094},{"type":173,"tag":309,"props":6324,"children":6325},{"style":316},[6326],{"type":179,"value":341},{"type":173,"tag":309,"props":6328,"children":6329},{"style":368},[6330],{"type":179,"value":589},{"type":173,"tag":309,"props":6332,"children":6333},{"style":592},[6334],{"type":179,"value":619},{"type":173,"tag":309,"props":6336,"children":6337},{"style":384},[6338],{"type":179,"value":638},{"type":173,"tag":309,"props":6340,"children":6341},{"style":316},[6342],{"type":179,"value":900},{"type":173,"tag":309,"props":6344,"children":6345},{"style":349},[6346],{"type":179,"value":946},{"type":173,"tag":309,"props":6348,"children":6349},{"style":316},[6350],{"type":179,"value":900},{"type":173,"tag":309,"props":6352,"children":6353},{"style":384},[6354],{"type":179,"value":955},{"type":173,"tag":309,"props":6356,"children":6357},{"style":316},[6358],{"type":179,"value":260},{"type":173,"tag":309,"props":6360,"children":6361},{"style":592},[6362],{"type":179,"value":6363},"only",{"type":173,"tag":309,"props":6365,"children":6366},{"style":384},[6367],{"type":179,"value":638},{"type":173,"tag":309,"props":6369,"children":6370},{"style":316},[6371],{"type":179,"value":900},{"type":173,"tag":309,"props":6373,"children":6374},{"style":349},[6375],{"type":179,"value":6376},"id",{"type":173,"tag":309,"props":6378,"children":6379},{"style":316},[6380],{"type":179,"value":900},{"type":173,"tag":309,"props":6382,"children":6383},{"style":384},[6384],{"type":179,"value":955},{"type":173,"tag":309,"props":6386,"children":6387},{"style":316},[6388],{"type":179,"value":260},{"type":173,"tag":309,"props":6390,"children":6391},{"style":592},[6392],{"type":179,"value":4438},{"type":173,"tag":309,"props":6394,"children":6395},{"style":384},[6396],{"type":179,"value":969},{"type":173,"tag":309,"props":6398,"children":6399},{"class":311,"line":364},[6400],{"type":173,"tag":309,"props":6401,"children":6402},{"emptyLinePlaceholder":419},[6403],{"type":179,"value":422},{"type":173,"tag":309,"props":6405,"children":6406},{"class":311,"line":415},[6407,6411,6415,6419,6423,6427,6431,6435,6439,6443,6447,6451,6455,6459,6463,6467,6471,6475,6479,6483,6487,6491,6495,6499],{"type":173,"tag":309,"props":6408,"children":6409},{"style":328},[6410],{"type":179,"value":565},{"type":173,"tag":309,"props":6412,"children":6413},{"style":384},[6414],{"type":179,"value":4094},{"type":173,"tag":309,"props":6416,"children":6417},{"style":316},[6418],{"type":179,"value":341},{"type":173,"tag":309,"props":6420,"children":6421},{"style":368},[6422],{"type":179,"value":589},{"type":173,"tag":309,"props":6424,"children":6425},{"style":592},[6426],{"type":179,"value":619},{"type":173,"tag":309,"props":6428,"children":6429},{"style":384},[6430],{"type":179,"value":638},{"type":173,"tag":309,"props":6432,"children":6433},{"style":316},[6434],{"type":179,"value":900},{"type":173,"tag":309,"props":6436,"children":6437},{"style":349},[6438],{"type":179,"value":946},{"type":173,"tag":309,"props":6440,"children":6441},{"style":316},[6442],{"type":179,"value":900},{"type":173,"tag":309,"props":6444,"children":6445},{"style":384},[6446],{"type":179,"value":955},{"type":173,"tag":309,"props":6448,"children":6449},{"style":316},[6450],{"type":179,"value":260},{"type":173,"tag":309,"props":6452,"children":6453},{"style":592},[6454],{"type":179,"value":6363},{"type":173,"tag":309,"props":6456,"children":6457},{"style":384},[6458],{"type":179,"value":6207},{"type":173,"tag":309,"props":6460,"children":6461},{"style":316},[6462],{"type":179,"value":900},{"type":173,"tag":309,"props":6464,"children":6465},{"style":349},[6466],{"type":179,"value":6376},{"type":173,"tag":309,"props":6468,"children":6469},{"style":316},[6470],{"type":179,"value":900},{"type":173,"tag":309,"props":6472,"children":6473},{"style":316},[6474],{"type":179,"value":2315},{"type":173,"tag":309,"props":6476,"children":6477},{"style":316},[6478],{"type":179,"value":402},{"type":173,"tag":309,"props":6480,"children":6481},{"style":349},[6482],{"type":179,"value":1170},{"type":173,"tag":309,"props":6484,"children":6485},{"style":316},[6486],{"type":179,"value":900},{"type":173,"tag":309,"props":6488,"children":6489},{"style":384},[6490],{"type":179,"value":6241},{"type":173,"tag":309,"props":6492,"children":6493},{"style":316},[6494],{"type":179,"value":260},{"type":173,"tag":309,"props":6496,"children":6497},{"style":592},[6498],{"type":179,"value":4438},{"type":173,"tag":309,"props":6500,"children":6501},{"style":384},[6502],{"type":179,"value":969},{"type":173,"tag":188,"props":6504,"children":6505},{"id":4438},[6506],{"type":173,"tag":198,"props":6507,"children":6509},{"className":6508},[],[6510],{"type":179,"value":230},{"type":173,"tag":182,"props":6512,"children":6513},{},[6514],{"type":179,"value":6515},"Fetch and return the list of matched contents based on the query.",{"type":173,"tag":299,"props":6517,"children":6519},{"className":2228,"code":6518,"language":352,"meta":167,"style":167},"// List of articles\nconst articles = await queryContent('articles').find()\n",[6520],{"type":173,"tag":198,"props":6521,"children":6522},{"__ignoreMap":167},[6523,6531],{"type":173,"tag":309,"props":6524,"children":6525},{"class":311,"line":312},[6526],{"type":173,"tag":309,"props":6527,"children":6528},{"style":553},[6529],{"type":179,"value":6530},"// List of articles\n",{"type":173,"tag":309,"props":6532,"children":6533},{"class":311,"line":364},[6534,6538,6542,6546,6550,6554,6558,6562,6566,6570,6574,6578,6582],{"type":173,"tag":309,"props":6535,"children":6536},{"style":328},[6537],{"type":179,"value":565},{"type":173,"tag":309,"props":6539,"children":6540},{"style":384},[6541],{"type":179,"value":4094},{"type":173,"tag":309,"props":6543,"children":6544},{"style":316},[6545],{"type":179,"value":341},{"type":173,"tag":309,"props":6547,"children":6548},{"style":368},[6549],{"type":179,"value":589},{"type":173,"tag":309,"props":6551,"children":6552},{"style":592},[6553],{"type":179,"value":619},{"type":173,"tag":309,"props":6555,"children":6556},{"style":384},[6557],{"type":179,"value":638},{"type":173,"tag":309,"props":6559,"children":6560},{"style":316},[6561],{"type":179,"value":900},{"type":173,"tag":309,"props":6563,"children":6564},{"style":349},[6565],{"type":179,"value":946},{"type":173,"tag":309,"props":6567,"children":6568},{"style":316},[6569],{"type":179,"value":900},{"type":173,"tag":309,"props":6571,"children":6572},{"style":384},[6573],{"type":179,"value":955},{"type":173,"tag":309,"props":6575,"children":6576},{"style":316},[6577],{"type":179,"value":260},{"type":173,"tag":309,"props":6579,"children":6580},{"style":592},[6581],{"type":179,"value":4438},{"type":173,"tag":309,"props":6583,"children":6584},{"style":384},[6585],{"type":179,"value":969},{"type":173,"tag":188,"props":6587,"children":6589},{"id":6588},"findone",[6590],{"type":173,"tag":198,"props":6591,"children":6593},{"className":6592},[],[6594],{"type":179,"value":238},{"type":173,"tag":182,"props":6596,"children":6597},{},[6598],{"type":179,"value":6599},"Fetch the first match of content.",{"type":173,"tag":299,"props":6601,"children":6603},{"className":2228,"code":6602,"language":352,"meta":167,"style":167},"const firstArticle = await queryContent('articles').findOne()\n",[6604],{"type":173,"tag":198,"props":6605,"children":6606},{"__ignoreMap":167},[6607],{"type":173,"tag":309,"props":6608,"children":6609},{"class":311,"line":312},[6610,6614,6619,6623,6627,6631,6635,6639,6643,6647,6651,6655,6659],{"type":173,"tag":309,"props":6611,"children":6612},{"style":328},[6613],{"type":179,"value":565},{"type":173,"tag":309,"props":6615,"children":6616},{"style":384},[6617],{"type":179,"value":6618}," firstArticle ",{"type":173,"tag":309,"props":6620,"children":6621},{"style":316},[6622],{"type":179,"value":341},{"type":173,"tag":309,"props":6624,"children":6625},{"style":368},[6626],{"type":179,"value":589},{"type":173,"tag":309,"props":6628,"children":6629},{"style":592},[6630],{"type":179,"value":619},{"type":173,"tag":309,"props":6632,"children":6633},{"style":384},[6634],{"type":179,"value":638},{"type":173,"tag":309,"props":6636,"children":6637},{"style":316},[6638],{"type":179,"value":900},{"type":173,"tag":309,"props":6640,"children":6641},{"style":349},[6642],{"type":179,"value":946},{"type":173,"tag":309,"props":6644,"children":6645},{"style":316},[6646],{"type":179,"value":900},{"type":173,"tag":309,"props":6648,"children":6649},{"style":384},[6650],{"type":179,"value":955},{"type":173,"tag":309,"props":6652,"children":6653},{"style":316},[6654],{"type":179,"value":260},{"type":173,"tag":309,"props":6656,"children":6657},{"style":592},[6658],{"type":179,"value":964},{"type":173,"tag":309,"props":6660,"children":6661},{"style":384},[6662],{"type":179,"value":969},{"type":173,"tag":188,"props":6664,"children":6666},{"id":6665},"findsurroundpath-options",[6667],{"type":173,"tag":198,"props":6668,"children":6670},{"className":6669},[],[6671],{"type":179,"value":6672},"findSurround(path, options)",{"type":173,"tag":3186,"props":6674,"children":6675},{},[6676,6704],{"type":173,"tag":3190,"props":6677,"children":6678},{},[6679,6685],{"type":173,"tag":198,"props":6680,"children":6682},{"className":6681},[],[6683],{"type":179,"value":6684},"path",{"type":173,"tag":3186,"props":6686,"children":6687},{},[6688,6697],{"type":173,"tag":3190,"props":6689,"children":6690},{},[6691,6692],{"type":179,"value":3715},{"type":173,"tag":198,"props":6693,"children":6695},{"className":6694},[],[6696],{"type":179,"value":6040},{"type":173,"tag":3190,"props":6698,"children":6699},{},[6700],{"type":173,"tag":1115,"props":6701,"children":6702},{},[6703],{"type":179,"value":3729},{"type":173,"tag":3190,"props":6705,"children":6706},{},[6707,6712],{"type":173,"tag":198,"props":6708,"children":6710},{"className":6709},[],[6711],{"type":179,"value":4917},{"type":173,"tag":3186,"props":6713,"children":6714},{},[6715,6725],{"type":173,"tag":3190,"props":6716,"children":6717},{},[6718,6719],{"type":179,"value":3715},{"type":173,"tag":198,"props":6720,"children":6722},{"className":6721},[],[6723],{"type":179,"value":6724},"{ before: number, after: number }",{"type":173,"tag":3190,"props":6726,"children":6727},{},[6728,6730],{"type":179,"value":6729},"Default: ",{"type":173,"tag":198,"props":6731,"children":6733},{"className":6732},[],[6734],{"type":179,"value":6735},"{ before: 1, after: 1 }",{"type":173,"tag":182,"props":6737,"children":6738},{},[6739],{"type":179,"value":6740},"Get the previous and next results around the path. The path should be the full path of the target content.",{"type":173,"tag":182,"props":6742,"children":6743},{},[6744],{"type":179,"value":6745},"You will always obtain an array of fixed length filled with the matching document or null.",{"type":173,"tag":299,"props":6747,"children":6749},{"className":2228,"code":6748,"language":352,"meta":167,"style":167},"const [prev, next] = await queryContent()\n  .only(['_path', 'title'])\n  .sort({ date: 1})\n  .where({ isArchived: false })\n  .findSurround('/articles/article-2')\n\n// Returns\n[\n  {\n    title: 'Article 1',\n    _path: '/articles/article-1'\n    //...\n  },\n  null // no article-3 here\n]\n",[6750],{"type":173,"tag":198,"props":6751,"children":6752},{"__ignoreMap":167},[6753,6799,6847,6887,6928,6961,6968,6976,6983,6990,7019,7043,7051,7059,7072],{"type":173,"tag":309,"props":6754,"children":6755},{"class":311,"line":312},[6756,6760,6764,6769,6773,6778,6783,6787,6791,6795],{"type":173,"tag":309,"props":6757,"children":6758},{"style":328},[6759],{"type":179,"value":565},{"type":173,"tag":309,"props":6761,"children":6762},{"style":316},[6763],{"type":179,"value":2297},{"type":173,"tag":309,"props":6765,"children":6766},{"style":384},[6767],{"type":179,"value":6768},"prev",{"type":173,"tag":309,"props":6770,"children":6771},{"style":316},[6772],{"type":179,"value":2315},{"type":173,"tag":309,"props":6774,"children":6775},{"style":384},[6776],{"type":179,"value":6777}," next",{"type":173,"tag":309,"props":6779,"children":6780},{"style":316},[6781],{"type":179,"value":6782},"]",{"type":173,"tag":309,"props":6784,"children":6785},{"style":316},[6786],{"type":179,"value":584},{"type":173,"tag":309,"props":6788,"children":6789},{"style":368},[6790],{"type":179,"value":589},{"type":173,"tag":309,"props":6792,"children":6793},{"style":592},[6794],{"type":179,"value":619},{"type":173,"tag":309,"props":6796,"children":6797},{"style":384},[6798],{"type":179,"value":969},{"type":173,"tag":309,"props":6800,"children":6801},{"class":311,"line":364},[6802,6806,6810,6814,6818,6822,6826,6830,6834,6838,6842],{"type":173,"tag":309,"props":6803,"children":6804},{"style":316},[6805],{"type":179,"value":5008},{"type":173,"tag":309,"props":6807,"children":6808},{"style":592},[6809],{"type":179,"value":6363},{"type":173,"tag":309,"props":6811,"children":6812},{"style":384},[6813],{"type":179,"value":6207},{"type":173,"tag":309,"props":6815,"children":6816},{"style":316},[6817],{"type":179,"value":900},{"type":173,"tag":309,"props":6819,"children":6820},{"style":349},[6821],{"type":179,"value":1090},{"type":173,"tag":309,"props":6823,"children":6824},{"style":316},[6825],{"type":179,"value":900},{"type":173,"tag":309,"props":6827,"children":6828},{"style":316},[6829],{"type":179,"value":2315},{"type":173,"tag":309,"props":6831,"children":6832},{"style":316},[6833],{"type":179,"value":402},{"type":173,"tag":309,"props":6835,"children":6836},{"style":349},[6837],{"type":179,"value":1170},{"type":173,"tag":309,"props":6839,"children":6840},{"style":316},[6841],{"type":179,"value":900},{"type":173,"tag":309,"props":6843,"children":6844},{"style":384},[6845],{"type":179,"value":6846},"])\n",{"type":173,"tag":309,"props":6848,"children":6849},{"class":311,"line":415},[6850,6854,6858,6862,6866,6871,6875,6879,6883],{"type":173,"tag":309,"props":6851,"children":6852},{"style":316},[6853],{"type":179,"value":5008},{"type":173,"tag":309,"props":6855,"children":6856},{"style":592},[6857],{"type":179,"value":5013},{"type":173,"tag":309,"props":6859,"children":6860},{"style":384},[6861],{"type":179,"value":638},{"type":173,"tag":309,"props":6863,"children":6864},{"style":316},[6865],{"type":179,"value":643},{"type":173,"tag":309,"props":6867,"children":6868},{"style":322},[6869],{"type":179,"value":6870}," date",{"type":173,"tag":309,"props":6872,"children":6873},{"style":316},[6874],{"type":179,"value":465},{"type":173,"tag":309,"props":6876,"children":6877},{"style":4414},[6878],{"type":179,"value":5034},{"type":173,"tag":309,"props":6880,"children":6881},{"style":316},[6882],{"type":179,"value":579},{"type":173,"tag":309,"props":6884,"children":6885},{"style":384},[6886],{"type":179,"value":662},{"type":173,"tag":309,"props":6888,"children":6889},{"class":311,"line":425},[6890,6894,6898,6902,6906,6911,6915,6920,6924],{"type":173,"tag":309,"props":6891,"children":6892},{"style":316},[6893],{"type":179,"value":5008},{"type":173,"tag":309,"props":6895,"children":6896},{"style":592},[6897],{"type":179,"value":4135},{"type":173,"tag":309,"props":6899,"children":6900},{"style":384},[6901],{"type":179,"value":638},{"type":173,"tag":309,"props":6903,"children":6904},{"style":316},[6905],{"type":179,"value":643},{"type":173,"tag":309,"props":6907,"children":6908},{"style":322},[6909],{"type":179,"value":6910}," isArchived",{"type":173,"tag":309,"props":6912,"children":6913},{"style":316},[6914],{"type":179,"value":465},{"type":173,"tag":309,"props":6916,"children":6917},{"style":2698},[6918],{"type":179,"value":6919}," false",{"type":173,"tag":309,"props":6921,"children":6922},{"style":316},[6923],{"type":179,"value":392},{"type":173,"tag":309,"props":6925,"children":6926},{"style":384},[6927],{"type":179,"value":662},{"type":173,"tag":309,"props":6929,"children":6930},{"class":311,"line":454},[6931,6935,6940,6944,6948,6953,6957],{"type":173,"tag":309,"props":6932,"children":6933},{"style":316},[6934],{"type":179,"value":5008},{"type":173,"tag":309,"props":6936,"children":6937},{"style":592},[6938],{"type":179,"value":6939},"findSurround",{"type":173,"tag":309,"props":6941,"children":6942},{"style":384},[6943],{"type":179,"value":638},{"type":173,"tag":309,"props":6945,"children":6946},{"style":316},[6947],{"type":179,"value":900},{"type":173,"tag":309,"props":6949,"children":6950},{"style":349},[6951],{"type":179,"value":6952},"/articles/article-2",{"type":173,"tag":309,"props":6954,"children":6955},{"style":316},[6956],{"type":179,"value":900},{"type":173,"tag":309,"props":6958,"children":6959},{"style":384},[6960],{"type":179,"value":662},{"type":173,"tag":309,"props":6962,"children":6963},{"class":311,"line":481},[6964],{"type":173,"tag":309,"props":6965,"children":6966},{"emptyLinePlaceholder":419},[6967],{"type":179,"value":422},{"type":173,"tag":309,"props":6969,"children":6970},{"class":311,"line":507},[6971],{"type":173,"tag":309,"props":6972,"children":6973},{"style":553},[6974],{"type":179,"value":6975},"// Returns\n",{"type":173,"tag":309,"props":6977,"children":6978},{"class":311,"line":532},[6979],{"type":173,"tag":309,"props":6980,"children":6981},{"style":384},[6982],{"type":179,"value":1423},{"type":173,"tag":309,"props":6984,"children":6985},{"class":311,"line":541},[6986],{"type":173,"tag":309,"props":6987,"children":6988},{"style":316},[6989],{"type":179,"value":1431},{"type":173,"tag":309,"props":6991,"children":6992},{"class":311,"line":549},[6993,6998,7002,7006,7011,7015],{"type":173,"tag":309,"props":6994,"children":6995},{"style":322},[6996],{"type":179,"value":6997},"    title",{"type":173,"tag":309,"props":6999,"children":7000},{"style":316},[7001],{"type":179,"value":465},{"type":173,"tag":309,"props":7003,"children":7004},{"style":316},[7005],{"type":179,"value":402},{"type":173,"tag":309,"props":7007,"children":7008},{"style":349},[7009],{"type":179,"value":7010},"Article 1",{"type":173,"tag":309,"props":7012,"children":7013},{"style":316},[7014],{"type":179,"value":900},{"type":173,"tag":309,"props":7016,"children":7017},{"style":316},[7018],{"type":179,"value":905},{"type":173,"tag":309,"props":7020,"children":7021},{"class":311,"line":559},[7022,7026,7030,7034,7039],{"type":173,"tag":309,"props":7023,"children":7024},{"style":322},[7025],{"type":179,"value":3111},{"type":173,"tag":309,"props":7027,"children":7028},{"style":316},[7029],{"type":179,"value":465},{"type":173,"tag":309,"props":7031,"children":7032},{"style":316},[7033],{"type":179,"value":402},{"type":173,"tag":309,"props":7035,"children":7036},{"style":349},[7037],{"type":179,"value":7038},"/articles/article-1",{"type":173,"tag":309,"props":7040,"children":7041},{"style":316},[7042],{"type":179,"value":412},{"type":173,"tag":309,"props":7044,"children":7045},{"class":311,"line":603},[7046],{"type":173,"tag":309,"props":7047,"children":7048},{"style":553},[7049],{"type":179,"value":7050},"    //...\n",{"type":173,"tag":309,"props":7052,"children":7053},{"class":311,"line":665},[7054],{"type":173,"tag":309,"props":7055,"children":7056},{"style":316},[7057],{"type":179,"value":7058},"  },\n",{"type":173,"tag":309,"props":7060,"children":7061},{"class":311,"line":673},[7062,7067],{"type":173,"tag":309,"props":7063,"children":7064},{"style":316},[7065],{"type":179,"value":7066},"  null",{"type":173,"tag":309,"props":7068,"children":7069},{"style":553},[7070],{"type":179,"value":7071}," // no article-3 here\n",{"type":173,"tag":309,"props":7073,"children":7074},{"class":311,"line":5343},[7075],{"type":173,"tag":309,"props":7076,"children":7077},{"style":384},[7078],{"type":179,"value":1667},{"type":173,"tag":188,"props":7080,"children":7081},{"id":5716},[7082],{"type":173,"tag":198,"props":7083,"children":7085},{"className":7084},[],[7086],{"type":179,"value":7087},"count()",{"type":173,"tag":182,"props":7089,"children":7090},{},[7091],{"type":179,"value":7092},"Count the number of matched contents based on the query.",{"type":173,"tag":299,"props":7094,"children":7096},{"className":2228,"code":7095,"language":352,"meta":167,"style":167},"// Count of articles\nconst count = await queryContent('articles').count()\n\n// Returns\n5 // number of articles\n",[7097],{"type":173,"tag":198,"props":7098,"children":7099},{"__ignoreMap":167},[7100,7108,7164,7171,7178],{"type":173,"tag":309,"props":7101,"children":7102},{"class":311,"line":312},[7103],{"type":173,"tag":309,"props":7104,"children":7105},{"style":553},[7106],{"type":179,"value":7107},"// Count of articles\n",{"type":173,"tag":309,"props":7109,"children":7110},{"class":311,"line":364},[7111,7115,7120,7124,7128,7132,7136,7140,7144,7148,7152,7156,7160],{"type":173,"tag":309,"props":7112,"children":7113},{"style":328},[7114],{"type":179,"value":565},{"type":173,"tag":309,"props":7116,"children":7117},{"style":384},[7118],{"type":179,"value":7119}," count ",{"type":173,"tag":309,"props":7121,"children":7122},{"style":316},[7123],{"type":179,"value":341},{"type":173,"tag":309,"props":7125,"children":7126},{"style":368},[7127],{"type":179,"value":589},{"type":173,"tag":309,"props":7129,"children":7130},{"style":592},[7131],{"type":179,"value":619},{"type":173,"tag":309,"props":7133,"children":7134},{"style":384},[7135],{"type":179,"value":638},{"type":173,"tag":309,"props":7137,"children":7138},{"style":316},[7139],{"type":179,"value":900},{"type":173,"tag":309,"props":7141,"children":7142},{"style":349},[7143],{"type":179,"value":946},{"type":173,"tag":309,"props":7145,"children":7146},{"style":316},[7147],{"type":179,"value":900},{"type":173,"tag":309,"props":7149,"children":7150},{"style":384},[7151],{"type":179,"value":955},{"type":173,"tag":309,"props":7153,"children":7154},{"style":316},[7155],{"type":179,"value":260},{"type":173,"tag":309,"props":7157,"children":7158},{"style":592},[7159],{"type":179,"value":5716},{"type":173,"tag":309,"props":7161,"children":7162},{"style":384},[7163],{"type":179,"value":969},{"type":173,"tag":309,"props":7165,"children":7166},{"class":311,"line":415},[7167],{"type":173,"tag":309,"props":7168,"children":7169},{"emptyLinePlaceholder":419},[7170],{"type":179,"value":422},{"type":173,"tag":309,"props":7172,"children":7173},{"class":311,"line":425},[7174],{"type":173,"tag":309,"props":7175,"children":7176},{"style":553},[7177],{"type":179,"value":6975},{"type":173,"tag":309,"props":7179,"children":7180},{"class":311,"line":454},[7181,7185],{"type":173,"tag":309,"props":7182,"children":7183},{"style":4414},[7184],{"type":179,"value":5817},{"type":173,"tag":309,"props":7186,"children":7187},{"style":553},[7188],{"type":179,"value":7189}," // number of articles\n",{"type":173,"tag":182,"props":7191,"children":7192},{},[7193,7195,7200,7202,7208],{"type":179,"value":7194},"You can also use ",{"type":173,"tag":198,"props":7196,"children":7198},{"className":7197},[],[7199],{"type":179,"value":7087},{"type":179,"value":7201}," with ",{"type":173,"tag":198,"props":7203,"children":7205},{"className":7204},[],[7206],{"type":179,"value":7207},"where()",{"type":179,"value":7209}," method.",{"type":173,"tag":299,"props":7211,"children":7213},{"className":2228,"code":7212,"language":352,"meta":167,"style":167},"// Count of articles\nconst count = await queryContent('articles')\n  .where({ isArchived: false })\n  .count()\n\n// Returns\n5 // number of articles\n",[7214],{"type":173,"tag":198,"props":7215,"children":7216},{"__ignoreMap":167},[7217,7224,7267,7306,7321,7328,7335],{"type":173,"tag":309,"props":7218,"children":7219},{"class":311,"line":312},[7220],{"type":173,"tag":309,"props":7221,"children":7222},{"style":553},[7223],{"type":179,"value":7107},{"type":173,"tag":309,"props":7225,"children":7226},{"class":311,"line":364},[7227,7231,7235,7239,7243,7247,7251,7255,7259,7263],{"type":173,"tag":309,"props":7228,"children":7229},{"style":328},[7230],{"type":179,"value":565},{"type":173,"tag":309,"props":7232,"children":7233},{"style":384},[7234],{"type":179,"value":7119},{"type":173,"tag":309,"props":7236,"children":7237},{"style":316},[7238],{"type":179,"value":341},{"type":173,"tag":309,"props":7240,"children":7241},{"style":368},[7242],{"type":179,"value":589},{"type":173,"tag":309,"props":7244,"children":7245},{"style":592},[7246],{"type":179,"value":619},{"type":173,"tag":309,"props":7248,"children":7249},{"style":384},[7250],{"type":179,"value":638},{"type":173,"tag":309,"props":7252,"children":7253},{"style":316},[7254],{"type":179,"value":900},{"type":173,"tag":309,"props":7256,"children":7257},{"style":349},[7258],{"type":179,"value":946},{"type":173,"tag":309,"props":7260,"children":7261},{"style":316},[7262],{"type":179,"value":900},{"type":173,"tag":309,"props":7264,"children":7265},{"style":384},[7266],{"type":179,"value":662},{"type":173,"tag":309,"props":7268,"children":7269},{"class":311,"line":415},[7270,7274,7278,7282,7286,7290,7294,7298,7302],{"type":173,"tag":309,"props":7271,"children":7272},{"style":316},[7273],{"type":179,"value":5008},{"type":173,"tag":309,"props":7275,"children":7276},{"style":592},[7277],{"type":179,"value":4135},{"type":173,"tag":309,"props":7279,"children":7280},{"style":384},[7281],{"type":179,"value":638},{"type":173,"tag":309,"props":7283,"children":7284},{"style":316},[7285],{"type":179,"value":643},{"type":173,"tag":309,"props":7287,"children":7288},{"style":322},[7289],{"type":179,"value":6910},{"type":173,"tag":309,"props":7291,"children":7292},{"style":316},[7293],{"type":179,"value":465},{"type":173,"tag":309,"props":7295,"children":7296},{"style":2698},[7297],{"type":179,"value":6919},{"type":173,"tag":309,"props":7299,"children":7300},{"style":316},[7301],{"type":179,"value":392},{"type":173,"tag":309,"props":7303,"children":7304},{"style":384},[7305],{"type":179,"value":662},{"type":173,"tag":309,"props":7307,"children":7308},{"class":311,"line":425},[7309,7313,7317],{"type":173,"tag":309,"props":7310,"children":7311},{"style":316},[7312],{"type":179,"value":5008},{"type":173,"tag":309,"props":7314,"children":7315},{"style":592},[7316],{"type":179,"value":5716},{"type":173,"tag":309,"props":7318,"children":7319},{"style":384},[7320],{"type":179,"value":969},{"type":173,"tag":309,"props":7322,"children":7323},{"class":311,"line":454},[7324],{"type":173,"tag":309,"props":7325,"children":7326},{"emptyLinePlaceholder":419},[7327],{"type":179,"value":422},{"type":173,"tag":309,"props":7329,"children":7330},{"class":311,"line":481},[7331],{"type":173,"tag":309,"props":7332,"children":7333},{"style":553},[7334],{"type":179,"value":6975},{"type":173,"tag":309,"props":7336,"children":7337},{"class":311,"line":507},[7338,7342],{"type":173,"tag":309,"props":7339,"children":7340},{"style":4414},[7341],{"type":179,"value":5817},{"type":173,"tag":309,"props":7343,"children":7344},{"style":553},[7345],{"type":179,"value":7189},{"type":173,"tag":1032,"props":7347,"children":7348},{},[7349],{"type":179,"value":1036},{"title":167,"searchDepth":364,"depth":364,"links":7351},[7352,7353,7354,7355,7356,7357,7358,7359,7360,7361,7362,7363],{"id":3247,"depth":364,"text":3250},{"id":3500,"depth":364,"text":3503},{"id":3687,"depth":364,"text":3694},{"id":4898,"depth":364,"text":4905},{"id":5697,"depth":364,"text":5704},{"id":5836,"depth":364,"text":5843},{"id":6002,"depth":364,"text":6009},{"id":6256,"depth":364,"text":6263},{"id":4438,"depth":364,"text":230},{"id":6588,"depth":364,"text":238},{"id":6665,"depth":364,"text":6672},{"id":5716,"depth":364,"text":7087},"content:3.composables:1.query-content.md","3.composables/1.query-content.md",1719304183900]