[{"data":1,"prerenderedAt":7367},["ShallowReactive",2],{"navigation":3,"docs-/usage/typescript":164,"docs-/usage/typescript-surround":1049},[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,"_stem":1047,"_extension":1048},"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'\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",{"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'\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","2.usage/5.typescript","md",[1050,3242],{"_path":41,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":40,"description":1051,"body":1052,"_type":1043,"_id":3239,"_source":1045,"_file":3240,"_stem":3241,"_extension":1048},"Component and composable to display a navigation",{"type":170,"children":1053,"toc":3233},[1054,1060,1073,1094,1099,1105,1110,1128,1669,1675,1688,1940,1953,1965,2198,2222,2646,2652,2672,2710,2722,2744,2757,3024,3030,3049,3054,3166,3170,3229],{"type":173,"tag":174,"props":1055,"children":1057},{"id":1056},"self-managed-navigation",[1058],{"type":179,"value":1059},"Self-managed navigation",{"type":173,"tag":182,"props":1061,"children":1062},{},[1063,1065,1071],{"type":179,"value":1064},"Nuxt Content provides a component and composable to display a navigation based on the ",{"type":173,"tag":198,"props":1066,"children":1068},{"className":1067},[],[1069],{"type":179,"value":1070},"content/",{"type":179,"value":1072}," directory structure and files.",{"type":173,"tag":182,"props":1074,"children":1075},{},[1076,1078,1084,1086,1092],{"type":179,"value":1077},"Based on the generated ",{"type":173,"tag":198,"props":1079,"children":1081},{"className":1080},[],[1082],{"type":179,"value":1083},"_id",{"type":179,"value":1085}," and ",{"type":173,"tag":198,"props":1087,"children":1089},{"className":1088},[],[1090],{"type":179,"value":1091},"_path",{"type":179,"value":1093}," keys, Nuxt Content generates a whole navigation structure for your content.",{"type":173,"tag":182,"props":1095,"children":1096},{},[1097],{"type":179,"value":1098},"It allows you to create advanced navigation components without having to maintain any querying logic related to it.",{"type":173,"tag":188,"props":1100,"children":1102},{"id":1101},"structure",[1103],{"type":179,"value":1104},"Structure",{"type":173,"tag":182,"props":1106,"children":1107},{},[1108],{"type":179,"value":1109},"The navigation object can be seen as a tree, representing the structure of your content sources in JSON format.",{"type":173,"tag":182,"props":1111,"children":1112},{},[1113,1115,1121,1122,1127],{"type":179,"value":1114},"It is divided into two types of nodes: ",{"type":173,"tag":1116,"props":1117,"children":1118},"strong",{},[1119],{"type":179,"value":1120},"pages",{"type":179,"value":1085},{"type":173,"tag":1116,"props":1123,"children":1124},{},[1125],{"type":179,"value":1126},"directories",{"type":179,"value":260},{"type":173,"tag":1129,"props":1130,"children":1131},"code-group",{},[1132,1141,1282,1409],{"type":173,"tag":299,"props":1133,"children":1136},{"code":1134,"filename":1135,"meta":167},"content/\n  my-directory/\n    page.md\n","Directory structure",[1137],{"type":173,"tag":198,"props":1138,"children":1139},{"__ignoreMap":167},[1140],{"type":179,"value":1134},{"type":173,"tag":299,"props":1142,"children":1147},{"code":1143,"filename":1144,"language":1145,"meta":167,"className":1146,"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",[1148],{"type":173,"tag":198,"props":1149,"children":1150},{"__ignoreMap":167},[1151,1159,1198,1234,1259,1267,1275],{"type":173,"tag":309,"props":1152,"children":1153},{"class":311,"line":312},[1154],{"type":173,"tag":309,"props":1155,"children":1156},{"style":316},[1157],{"type":179,"value":1158},"{\n",{"type":173,"tag":309,"props":1160,"children":1161},{"class":311,"line":364},[1162,1167,1172,1176,1180,1185,1190,1194],{"type":173,"tag":309,"props":1163,"children":1164},{"style":316},[1165],{"type":179,"value":1166},"  \"",{"type":173,"tag":309,"props":1168,"children":1169},{"style":328},[1170],{"type":179,"value":1171},"title",{"type":173,"tag":309,"props":1173,"children":1174},{"style":316},[1175],{"type":179,"value":346},{"type":173,"tag":309,"props":1177,"children":1178},{"style":316},[1179],{"type":179,"value":465},{"type":173,"tag":309,"props":1181,"children":1182},{"style":316},[1183],{"type":179,"value":1184}," \"",{"type":173,"tag":309,"props":1186,"children":1187},{"style":349},[1188],{"type":179,"value":1189},"My Directory",{"type":173,"tag":309,"props":1191,"children":1192},{"style":316},[1193],{"type":179,"value":346},{"type":173,"tag":309,"props":1195,"children":1196},{"style":316},[1197],{"type":179,"value":905},{"type":173,"tag":309,"props":1199,"children":1200},{"class":311,"line":415},[1201,1205,1209,1213,1217,1221,1226,1230],{"type":173,"tag":309,"props":1202,"children":1203},{"style":316},[1204],{"type":179,"value":1166},{"type":173,"tag":309,"props":1206,"children":1207},{"style":328},[1208],{"type":179,"value":1091},{"type":173,"tag":309,"props":1210,"children":1211},{"style":316},[1212],{"type":179,"value":346},{"type":173,"tag":309,"props":1214,"children":1215},{"style":316},[1216],{"type":179,"value":465},{"type":173,"tag":309,"props":1218,"children":1219},{"style":316},[1220],{"type":179,"value":1184},{"type":173,"tag":309,"props":1222,"children":1223},{"style":349},[1224],{"type":179,"value":1225},"/my-directory",{"type":173,"tag":309,"props":1227,"children":1228},{"style":316},[1229],{"type":179,"value":346},{"type":173,"tag":309,"props":1231,"children":1232},{"style":316},[1233],{"type":179,"value":905},{"type":173,"tag":309,"props":1235,"children":1236},{"class":311,"line":425},[1237,1241,1246,1250,1254],{"type":173,"tag":309,"props":1238,"children":1239},{"style":316},[1240],{"type":179,"value":1166},{"type":173,"tag":309,"props":1242,"children":1243},{"style":328},[1244],{"type":179,"value":1245},"children",{"type":173,"tag":309,"props":1247,"children":1248},{"style":316},[1249],{"type":179,"value":346},{"type":173,"tag":309,"props":1251,"children":1252},{"style":316},[1253],{"type":179,"value":465},{"type":173,"tag":309,"props":1255,"children":1256},{"style":316},[1257],{"type":179,"value":1258}," [\n",{"type":173,"tag":309,"props":1260,"children":1261},{"class":311,"line":454},[1262],{"type":173,"tag":309,"props":1263,"children":1264},{"style":384},[1265],{"type":179,"value":1266},"    ...pagesNodes\n",{"type":173,"tag":309,"props":1268,"children":1269},{"class":311,"line":481},[1270],{"type":173,"tag":309,"props":1271,"children":1272},{"style":316},[1273],{"type":179,"value":1274},"  ]\n",{"type":173,"tag":309,"props":1276,"children":1277},{"class":311,"line":507},[1278],{"type":173,"tag":309,"props":1279,"children":1280},{"style":316},[1281],{"type":179,"value":538},{"type":173,"tag":299,"props":1283,"children":1286},{"code":1284,"filename":1285,"language":1145,"meta":167,"className":1146,"style":167},"{\n  \"title\": \"Page title\",\n  \"_path\": \"/my-directory/my-page\",\n  \"_id\": \"content:my-directory:page.md\"\n}\n","Page node",[1287],{"type":173,"tag":198,"props":1288,"children":1289},{"__ignoreMap":167},[1290,1297,1333,1369,1402],{"type":173,"tag":309,"props":1291,"children":1292},{"class":311,"line":312},[1293],{"type":173,"tag":309,"props":1294,"children":1295},{"style":316},[1296],{"type":179,"value":1158},{"type":173,"tag":309,"props":1298,"children":1299},{"class":311,"line":364},[1300,1304,1308,1312,1316,1320,1325,1329],{"type":173,"tag":309,"props":1301,"children":1302},{"style":316},[1303],{"type":179,"value":1166},{"type":173,"tag":309,"props":1305,"children":1306},{"style":328},[1307],{"type":179,"value":1171},{"type":173,"tag":309,"props":1309,"children":1310},{"style":316},[1311],{"type":179,"value":346},{"type":173,"tag":309,"props":1313,"children":1314},{"style":316},[1315],{"type":179,"value":465},{"type":173,"tag":309,"props":1317,"children":1318},{"style":316},[1319],{"type":179,"value":1184},{"type":173,"tag":309,"props":1321,"children":1322},{"style":349},[1323],{"type":179,"value":1324},"Page title",{"type":173,"tag":309,"props":1326,"children":1327},{"style":316},[1328],{"type":179,"value":346},{"type":173,"tag":309,"props":1330,"children":1331},{"style":316},[1332],{"type":179,"value":905},{"type":173,"tag":309,"props":1334,"children":1335},{"class":311,"line":415},[1336,1340,1344,1348,1352,1356,1361,1365],{"type":173,"tag":309,"props":1337,"children":1338},{"style":316},[1339],{"type":179,"value":1166},{"type":173,"tag":309,"props":1341,"children":1342},{"style":328},[1343],{"type":179,"value":1091},{"type":173,"tag":309,"props":1345,"children":1346},{"style":316},[1347],{"type":179,"value":346},{"type":173,"tag":309,"props":1349,"children":1350},{"style":316},[1351],{"type":179,"value":465},{"type":173,"tag":309,"props":1353,"children":1354},{"style":316},[1355],{"type":179,"value":1184},{"type":173,"tag":309,"props":1357,"children":1358},{"style":349},[1359],{"type":179,"value":1360},"/my-directory/my-page",{"type":173,"tag":309,"props":1362,"children":1363},{"style":316},[1364],{"type":179,"value":346},{"type":173,"tag":309,"props":1366,"children":1367},{"style":316},[1368],{"type":179,"value":905},{"type":173,"tag":309,"props":1370,"children":1371},{"class":311,"line":425},[1372,1376,1380,1384,1388,1392,1397],{"type":173,"tag":309,"props":1373,"children":1374},{"style":316},[1375],{"type":179,"value":1166},{"type":173,"tag":309,"props":1377,"children":1378},{"style":328},[1379],{"type":179,"value":1083},{"type":173,"tag":309,"props":1381,"children":1382},{"style":316},[1383],{"type":179,"value":346},{"type":173,"tag":309,"props":1385,"children":1386},{"style":316},[1387],{"type":179,"value":465},{"type":173,"tag":309,"props":1389,"children":1390},{"style":316},[1391],{"type":179,"value":1184},{"type":173,"tag":309,"props":1393,"children":1394},{"style":349},[1395],{"type":179,"value":1396},"content:my-directory:page.md",{"type":173,"tag":309,"props":1398,"children":1399},{"style":316},[1400],{"type":179,"value":1401},"\"\n",{"type":173,"tag":309,"props":1403,"children":1404},{"class":311,"line":454},[1405],{"type":173,"tag":309,"props":1406,"children":1407},{"style":316},[1408],{"type":179,"value":538},{"type":173,"tag":299,"props":1410,"children":1413},{"code":1411,"filename":1412,"language":1145,"meta":167,"className":1146,"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",[1414],{"type":173,"tag":198,"props":1415,"children":1416},{"__ignoreMap":167},[1417,1425,1433,1469,1504,1527,1535,1571,1606,1637,1645,1653,1661],{"type":173,"tag":309,"props":1418,"children":1419},{"class":311,"line":312},[1420],{"type":173,"tag":309,"props":1421,"children":1422},{"style":316},[1423],{"type":179,"value":1424},"[\n",{"type":173,"tag":309,"props":1426,"children":1427},{"class":311,"line":364},[1428],{"type":173,"tag":309,"props":1429,"children":1430},{"style":316},[1431],{"type":179,"value":1432},"  {\n",{"type":173,"tag":309,"props":1434,"children":1435},{"class":311,"line":415},[1436,1441,1445,1449,1453,1457,1461,1465],{"type":173,"tag":309,"props":1437,"children":1438},{"style":316},[1439],{"type":179,"value":1440},"    \"",{"type":173,"tag":309,"props":1442,"children":1443},{"style":328},[1444],{"type":179,"value":1171},{"type":173,"tag":309,"props":1446,"children":1447},{"style":316},[1448],{"type":179,"value":346},{"type":173,"tag":309,"props":1450,"children":1451},{"style":316},[1452],{"type":179,"value":465},{"type":173,"tag":309,"props":1454,"children":1455},{"style":316},[1456],{"type":179,"value":1184},{"type":173,"tag":309,"props":1458,"children":1459},{"style":349},[1460],{"type":179,"value":1189},{"type":173,"tag":309,"props":1462,"children":1463},{"style":316},[1464],{"type":179,"value":346},{"type":173,"tag":309,"props":1466,"children":1467},{"style":316},[1468],{"type":179,"value":905},{"type":173,"tag":309,"props":1470,"children":1471},{"class":311,"line":425},[1472,1476,1480,1484,1488,1492,1496,1500],{"type":173,"tag":309,"props":1473,"children":1474},{"style":316},[1475],{"type":179,"value":1440},{"type":173,"tag":309,"props":1477,"children":1478},{"style":328},[1479],{"type":179,"value":1091},{"type":173,"tag":309,"props":1481,"children":1482},{"style":316},[1483],{"type":179,"value":346},{"type":173,"tag":309,"props":1485,"children":1486},{"style":316},[1487],{"type":179,"value":465},{"type":173,"tag":309,"props":1489,"children":1490},{"style":316},[1491],{"type":179,"value":1184},{"type":173,"tag":309,"props":1493,"children":1494},{"style":349},[1495],{"type":179,"value":1225},{"type":173,"tag":309,"props":1497,"children":1498},{"style":316},[1499],{"type":179,"value":346},{"type":173,"tag":309,"props":1501,"children":1502},{"style":316},[1503],{"type":179,"value":905},{"type":173,"tag":309,"props":1505,"children":1506},{"class":311,"line":454},[1507,1511,1515,1519,1523],{"type":173,"tag":309,"props":1508,"children":1509},{"style":316},[1510],{"type":179,"value":1440},{"type":173,"tag":309,"props":1512,"children":1513},{"style":328},[1514],{"type":179,"value":1245},{"type":173,"tag":309,"props":1516,"children":1517},{"style":316},[1518],{"type":179,"value":346},{"type":173,"tag":309,"props":1520,"children":1521},{"style":316},[1522],{"type":179,"value":465},{"type":173,"tag":309,"props":1524,"children":1525},{"style":316},[1526],{"type":179,"value":1258},{"type":173,"tag":309,"props":1528,"children":1529},{"class":311,"line":481},[1530],{"type":173,"tag":309,"props":1531,"children":1532},{"style":316},[1533],{"type":179,"value":1534},"      {\n",{"type":173,"tag":309,"props":1536,"children":1537},{"class":311,"line":507},[1538,1543,1547,1551,1555,1559,1563,1567],{"type":173,"tag":309,"props":1539,"children":1540},{"style":316},[1541],{"type":179,"value":1542},"        \"",{"type":173,"tag":309,"props":1544,"children":1545},{"style":434},[1546],{"type":179,"value":1171},{"type":173,"tag":309,"props":1548,"children":1549},{"style":316},[1550],{"type":179,"value":346},{"type":173,"tag":309,"props":1552,"children":1553},{"style":316},[1554],{"type":179,"value":465},{"type":173,"tag":309,"props":1556,"children":1557},{"style":316},[1558],{"type":179,"value":1184},{"type":173,"tag":309,"props":1560,"children":1561},{"style":349},[1562],{"type":179,"value":1324},{"type":173,"tag":309,"props":1564,"children":1565},{"style":316},[1566],{"type":179,"value":346},{"type":173,"tag":309,"props":1568,"children":1569},{"style":316},[1570],{"type":179,"value":905},{"type":173,"tag":309,"props":1572,"children":1573},{"class":311,"line":532},[1574,1578,1582,1586,1590,1594,1598,1602],{"type":173,"tag":309,"props":1575,"children":1576},{"style":316},[1577],{"type":179,"value":1542},{"type":173,"tag":309,"props":1579,"children":1580},{"style":434},[1581],{"type":179,"value":1091},{"type":173,"tag":309,"props":1583,"children":1584},{"style":316},[1585],{"type":179,"value":346},{"type":173,"tag":309,"props":1587,"children":1588},{"style":316},[1589],{"type":179,"value":465},{"type":173,"tag":309,"props":1591,"children":1592},{"style":316},[1593],{"type":179,"value":1184},{"type":173,"tag":309,"props":1595,"children":1596},{"style":349},[1597],{"type":179,"value":1360},{"type":173,"tag":309,"props":1599,"children":1600},{"style":316},[1601],{"type":179,"value":346},{"type":173,"tag":309,"props":1603,"children":1604},{"style":316},[1605],{"type":179,"value":905},{"type":173,"tag":309,"props":1607,"children":1608},{"class":311,"line":541},[1609,1613,1617,1621,1625,1629,1633],{"type":173,"tag":309,"props":1610,"children":1611},{"style":316},[1612],{"type":179,"value":1542},{"type":173,"tag":309,"props":1614,"children":1615},{"style":434},[1616],{"type":179,"value":1083},{"type":173,"tag":309,"props":1618,"children":1619},{"style":316},[1620],{"type":179,"value":346},{"type":173,"tag":309,"props":1622,"children":1623},{"style":316},[1624],{"type":179,"value":465},{"type":173,"tag":309,"props":1626,"children":1627},{"style":316},[1628],{"type":179,"value":1184},{"type":173,"tag":309,"props":1630,"children":1631},{"style":349},[1632],{"type":179,"value":1396},{"type":173,"tag":309,"props":1634,"children":1635},{"style":316},[1636],{"type":179,"value":1401},{"type":173,"tag":309,"props":1638,"children":1639},{"class":311,"line":549},[1640],{"type":173,"tag":309,"props":1641,"children":1642},{"style":316},[1643],{"type":179,"value":1644},"      }\n",{"type":173,"tag":309,"props":1646,"children":1647},{"class":311,"line":559},[1648],{"type":173,"tag":309,"props":1649,"children":1650},{"style":316},[1651],{"type":179,"value":1652},"    ]\n",{"type":173,"tag":309,"props":1654,"children":1655},{"class":311,"line":603},[1656],{"type":173,"tag":309,"props":1657,"children":1658},{"style":316},[1659],{"type":179,"value":1660},"  }\n",{"type":173,"tag":309,"props":1662,"children":1663},{"class":311,"line":665},[1664],{"type":173,"tag":309,"props":1665,"children":1666},{"style":316},[1667],{"type":179,"value":1668},"]\n",{"type":173,"tag":188,"props":1670,"children":1672},{"id":1671},"custom-keys",[1673],{"type":179,"value":1674},"Custom keys",{"type":173,"tag":182,"props":1676,"children":1677},{},[1678,1680,1686],{"type":179,"value":1679},"You can use the ",{"type":173,"tag":198,"props":1681,"children":1683},{"className":1682},[],[1684],{"type":179,"value":1685},"navigation",{"type":179,"value":1687}," property in the front-matter of your content files to add keys to the navigation object.",{"type":173,"tag":1129,"props":1689,"children":1690},{},[1691,1797],{"type":173,"tag":299,"props":1692,"children":1696},{"code":1693,"filename":1694,"language":1048,"meta":167,"className":1695,"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",[1697],{"type":173,"tag":198,"props":1698,"children":1699},{"__ignoreMap":167},[1700,1708,1720,1745,1770,1777,1784],{"type":173,"tag":309,"props":1701,"children":1702},{"class":311,"line":312},[1703],{"type":173,"tag":309,"props":1704,"children":1705},{"style":384},[1706],{"type":179,"value":1707},"---\n",{"type":173,"tag":309,"props":1709,"children":1710},{"class":311,"line":364},[1711,1715],{"type":173,"tag":309,"props":1712,"children":1713},{"style":322},[1714],{"type":179,"value":1685},{"type":173,"tag":309,"props":1716,"children":1717},{"style":316},[1718],{"type":179,"value":1719},":\n",{"type":173,"tag":309,"props":1721,"children":1722},{"class":311,"line":415},[1723,1728,1732,1736,1741],{"type":173,"tag":309,"props":1724,"children":1725},{"style":322},[1726],{"type":179,"value":1727},"  title",{"type":173,"tag":309,"props":1729,"children":1730},{"style":316},[1731],{"type":179,"value":465},{"type":173,"tag":309,"props":1733,"children":1734},{"style":316},[1735],{"type":179,"value":402},{"type":173,"tag":309,"props":1737,"children":1738},{"style":349},[1739],{"type":179,"value":1740},"Home",{"type":173,"tag":309,"props":1742,"children":1743},{"style":316},[1744],{"type":179,"value":412},{"type":173,"tag":309,"props":1746,"children":1747},{"class":311,"line":425},[1748,1753,1757,1761,1766],{"type":173,"tag":309,"props":1749,"children":1750},{"style":322},[1751],{"type":179,"value":1752},"  icon",{"type":173,"tag":309,"props":1754,"children":1755},{"style":316},[1756],{"type":179,"value":465},{"type":173,"tag":309,"props":1758,"children":1759},{"style":316},[1760],{"type":179,"value":402},{"type":173,"tag":309,"props":1762,"children":1763},{"style":349},[1764],{"type":179,"value":1765},"🏡",{"type":173,"tag":309,"props":1767,"children":1768},{"style":316},[1769],{"type":179,"value":412},{"type":173,"tag":309,"props":1771,"children":1772},{"class":311,"line":454},[1773],{"type":173,"tag":309,"props":1774,"children":1775},{"style":384},[1776],{"type":179,"value":1707},{"type":173,"tag":309,"props":1778,"children":1779},{"class":311,"line":481},[1780],{"type":173,"tag":309,"props":1781,"children":1782},{"emptyLinePlaceholder":419},[1783],{"type":179,"value":422},{"type":173,"tag":309,"props":1785,"children":1786},{"class":311,"line":507},[1787,1792],{"type":173,"tag":309,"props":1788,"children":1789},{"style":316},[1790],{"type":179,"value":1791},"# ",{"type":173,"tag":309,"props":1793,"children":1794},{"style":434},[1795],{"type":179,"value":1796},"Welcome\n",{"type":173,"tag":299,"props":1798,"children":1801},{"code":1799,"filename":1800,"language":1145,"meta":167,"className":1146,"style":167},"[\n  {\n    \"title\": \"Home\",\n    \"icon\": \"🏡\",\n    \"_path\": \"/\",\n  }\n]\n","Navigation",[1802],{"type":173,"tag":198,"props":1803,"children":1804},{"__ignoreMap":167},[1805,1812,1819,1854,1890,1926,1933],{"type":173,"tag":309,"props":1806,"children":1807},{"class":311,"line":312},[1808],{"type":173,"tag":309,"props":1809,"children":1810},{"style":316},[1811],{"type":179,"value":1424},{"type":173,"tag":309,"props":1813,"children":1814},{"class":311,"line":364},[1815],{"type":173,"tag":309,"props":1816,"children":1817},{"style":316},[1818],{"type":179,"value":1432},{"type":173,"tag":309,"props":1820,"children":1821},{"class":311,"line":415},[1822,1826,1830,1834,1838,1842,1846,1850],{"type":173,"tag":309,"props":1823,"children":1824},{"style":316},[1825],{"type":179,"value":1440},{"type":173,"tag":309,"props":1827,"children":1828},{"style":328},[1829],{"type":179,"value":1171},{"type":173,"tag":309,"props":1831,"children":1832},{"style":316},[1833],{"type":179,"value":346},{"type":173,"tag":309,"props":1835,"children":1836},{"style":316},[1837],{"type":179,"value":465},{"type":173,"tag":309,"props":1839,"children":1840},{"style":316},[1841],{"type":179,"value":1184},{"type":173,"tag":309,"props":1843,"children":1844},{"style":349},[1845],{"type":179,"value":1740},{"type":173,"tag":309,"props":1847,"children":1848},{"style":316},[1849],{"type":179,"value":346},{"type":173,"tag":309,"props":1851,"children":1852},{"style":316},[1853],{"type":179,"value":905},{"type":173,"tag":309,"props":1855,"children":1856},{"class":311,"line":425},[1857,1861,1866,1870,1874,1878,1882,1886],{"type":173,"tag":309,"props":1858,"children":1859},{"style":316},[1860],{"type":179,"value":1440},{"type":173,"tag":309,"props":1862,"children":1863},{"style":328},[1864],{"type":179,"value":1865},"icon",{"type":173,"tag":309,"props":1867,"children":1868},{"style":316},[1869],{"type":179,"value":346},{"type":173,"tag":309,"props":1871,"children":1872},{"style":316},[1873],{"type":179,"value":465},{"type":173,"tag":309,"props":1875,"children":1876},{"style":316},[1877],{"type":179,"value":1184},{"type":173,"tag":309,"props":1879,"children":1880},{"style":349},[1881],{"type":179,"value":1765},{"type":173,"tag":309,"props":1883,"children":1884},{"style":316},[1885],{"type":179,"value":346},{"type":173,"tag":309,"props":1887,"children":1888},{"style":316},[1889],{"type":179,"value":905},{"type":173,"tag":309,"props":1891,"children":1892},{"class":311,"line":454},[1893,1897,1901,1905,1909,1913,1918,1922],{"type":173,"tag":309,"props":1894,"children":1895},{"style":316},[1896],{"type":179,"value":1440},{"type":173,"tag":309,"props":1898,"children":1899},{"style":328},[1900],{"type":179,"value":1091},{"type":173,"tag":309,"props":1902,"children":1903},{"style":316},[1904],{"type":179,"value":346},{"type":173,"tag":309,"props":1906,"children":1907},{"style":316},[1908],{"type":179,"value":465},{"type":173,"tag":309,"props":1910,"children":1911},{"style":316},[1912],{"type":179,"value":1184},{"type":173,"tag":309,"props":1914,"children":1915},{"style":349},[1916],{"type":179,"value":1917},"/",{"type":173,"tag":309,"props":1919,"children":1920},{"style":316},[1921],{"type":179,"value":346},{"type":173,"tag":309,"props":1923,"children":1924},{"style":316},[1925],{"type":179,"value":905},{"type":173,"tag":309,"props":1927,"children":1928},{"class":311,"line":481},[1929],{"type":173,"tag":309,"props":1930,"children":1931},{"style":316},[1932],{"type":179,"value":1660},{"type":173,"tag":309,"props":1934,"children":1935},{"class":311,"line":507},[1936],{"type":173,"tag":309,"props":1937,"children":1938},{"style":316},[1939],{"type":179,"value":1668},{"type":173,"tag":182,"props":1941,"children":1942},{},[1943,1945,1951],{"type":179,"value":1944},"Alternatively, the navigation also allows you to configure directory nodes via ",{"type":173,"tag":198,"props":1946,"children":1948},{"className":1947},[],[1949],{"type":179,"value":1950},"_dir.yml",{"type":179,"value":1952}," files.",{"type":173,"tag":182,"props":1954,"children":1955},{},[1956,1958,1963],{"type":179,"value":1957},"It allows you to overwrite the ",{"type":173,"tag":198,"props":1959,"children":1961},{"className":1960},[],[1962],{"type":179,"value":1171},{"type":179,"value":1964}," and custom properties to directory nodes in navigation.",{"type":173,"tag":1129,"props":1966,"children":1967},{},[1968,1976,2034],{"type":173,"tag":299,"props":1969,"children":1971},{"code":1970,"filename":1135,"meta":167},"content/\n  my-directory/\n    _dir.yml\n    page.md\n",[1972],{"type":173,"tag":198,"props":1973,"children":1974},{"__ignoreMap":167},[1975],{"type":179,"value":1970},{"type":173,"tag":299,"props":1977,"children":1981},{"code":1978,"filename":1950,"language":1979,"meta":167,"className":1980,"style":167},"title: 'My awesome directory'\nnavigation.icon: '📁'\n","yaml","language-yaml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight",[1982],{"type":173,"tag":198,"props":1983,"children":1984},{"__ignoreMap":167},[1985,2009],{"type":173,"tag":309,"props":1986,"children":1987},{"class":311,"line":312},[1988,1992,1996,2000,2005],{"type":173,"tag":309,"props":1989,"children":1990},{"style":322},[1991],{"type":179,"value":1171},{"type":173,"tag":309,"props":1993,"children":1994},{"style":316},[1995],{"type":179,"value":465},{"type":173,"tag":309,"props":1997,"children":1998},{"style":316},[1999],{"type":179,"value":402},{"type":173,"tag":309,"props":2001,"children":2002},{"style":349},[2003],{"type":179,"value":2004},"My awesome directory",{"type":173,"tag":309,"props":2006,"children":2007},{"style":316},[2008],{"type":179,"value":412},{"type":173,"tag":309,"props":2010,"children":2011},{"class":311,"line":364},[2012,2017,2021,2025,2030],{"type":173,"tag":309,"props":2013,"children":2014},{"style":322},[2015],{"type":179,"value":2016},"navigation.icon",{"type":173,"tag":309,"props":2018,"children":2019},{"style":316},[2020],{"type":179,"value":465},{"type":173,"tag":309,"props":2022,"children":2023},{"style":316},[2024],{"type":179,"value":402},{"type":173,"tag":309,"props":2026,"children":2027},{"style":349},[2028],{"type":179,"value":2029},"📁",{"type":173,"tag":309,"props":2031,"children":2032},{"style":316},[2033],{"type":179,"value":412},{"type":173,"tag":299,"props":2035,"children":2037},{"code":2036,"filename":1800,"language":1145,"meta":167,"className":1146,"style":167},"{\n  \"title\": \"My awesome directory\",\n  \"icon\": \"📁\",\n  \"_path\": \"/my-directory\",\n  \"children\": [\n    ...\n  ]\n}\n",[2038],{"type":173,"tag":198,"props":2039,"children":2040},{"__ignoreMap":167},[2041,2048,2083,2118,2153,2176,2184,2191],{"type":173,"tag":309,"props":2042,"children":2043},{"class":311,"line":312},[2044],{"type":173,"tag":309,"props":2045,"children":2046},{"style":316},[2047],{"type":179,"value":1158},{"type":173,"tag":309,"props":2049,"children":2050},{"class":311,"line":364},[2051,2055,2059,2063,2067,2071,2075,2079],{"type":173,"tag":309,"props":2052,"children":2053},{"style":316},[2054],{"type":179,"value":1166},{"type":173,"tag":309,"props":2056,"children":2057},{"style":328},[2058],{"type":179,"value":1171},{"type":173,"tag":309,"props":2060,"children":2061},{"style":316},[2062],{"type":179,"value":346},{"type":173,"tag":309,"props":2064,"children":2065},{"style":316},[2066],{"type":179,"value":465},{"type":173,"tag":309,"props":2068,"children":2069},{"style":316},[2070],{"type":179,"value":1184},{"type":173,"tag":309,"props":2072,"children":2073},{"style":349},[2074],{"type":179,"value":2004},{"type":173,"tag":309,"props":2076,"children":2077},{"style":316},[2078],{"type":179,"value":346},{"type":173,"tag":309,"props":2080,"children":2081},{"style":316},[2082],{"type":179,"value":905},{"type":173,"tag":309,"props":2084,"children":2085},{"class":311,"line":415},[2086,2090,2094,2098,2102,2106,2110,2114],{"type":173,"tag":309,"props":2087,"children":2088},{"style":316},[2089],{"type":179,"value":1166},{"type":173,"tag":309,"props":2091,"children":2092},{"style":328},[2093],{"type":179,"value":1865},{"type":173,"tag":309,"props":2095,"children":2096},{"style":316},[2097],{"type":179,"value":346},{"type":173,"tag":309,"props":2099,"children":2100},{"style":316},[2101],{"type":179,"value":465},{"type":173,"tag":309,"props":2103,"children":2104},{"style":316},[2105],{"type":179,"value":1184},{"type":173,"tag":309,"props":2107,"children":2108},{"style":349},[2109],{"type":179,"value":2029},{"type":173,"tag":309,"props":2111,"children":2112},{"style":316},[2113],{"type":179,"value":346},{"type":173,"tag":309,"props":2115,"children":2116},{"style":316},[2117],{"type":179,"value":905},{"type":173,"tag":309,"props":2119,"children":2120},{"class":311,"line":425},[2121,2125,2129,2133,2137,2141,2145,2149],{"type":173,"tag":309,"props":2122,"children":2123},{"style":316},[2124],{"type":179,"value":1166},{"type":173,"tag":309,"props":2126,"children":2127},{"style":328},[2128],{"type":179,"value":1091},{"type":173,"tag":309,"props":2130,"children":2131},{"style":316},[2132],{"type":179,"value":346},{"type":173,"tag":309,"props":2134,"children":2135},{"style":316},[2136],{"type":179,"value":465},{"type":173,"tag":309,"props":2138,"children":2139},{"style":316},[2140],{"type":179,"value":1184},{"type":173,"tag":309,"props":2142,"children":2143},{"style":349},[2144],{"type":179,"value":1225},{"type":173,"tag":309,"props":2146,"children":2147},{"style":316},[2148],{"type":179,"value":346},{"type":173,"tag":309,"props":2150,"children":2151},{"style":316},[2152],{"type":179,"value":905},{"type":173,"tag":309,"props":2154,"children":2155},{"class":311,"line":454},[2156,2160,2164,2168,2172],{"type":173,"tag":309,"props":2157,"children":2158},{"style":316},[2159],{"type":179,"value":1166},{"type":173,"tag":309,"props":2161,"children":2162},{"style":328},[2163],{"type":179,"value":1245},{"type":173,"tag":309,"props":2165,"children":2166},{"style":316},[2167],{"type":179,"value":346},{"type":173,"tag":309,"props":2169,"children":2170},{"style":316},[2171],{"type":179,"value":465},{"type":173,"tag":309,"props":2173,"children":2174},{"style":316},[2175],{"type":179,"value":1258},{"type":173,"tag":309,"props":2177,"children":2178},{"class":311,"line":481},[2179],{"type":173,"tag":309,"props":2180,"children":2181},{"style":384},[2182],{"type":179,"value":2183},"    ...\n",{"type":173,"tag":309,"props":2185,"children":2186},{"class":311,"line":507},[2187],{"type":173,"tag":309,"props":2188,"children":2189},{"style":316},[2190],{"type":179,"value":1274},{"type":173,"tag":309,"props":2192,"children":2193},{"class":311,"line":532},[2194],{"type":173,"tag":309,"props":2195,"children":2196},{"style":316},[2197],{"type":179,"value":538},{"type":173,"tag":182,"props":2199,"children":2200},{},[2201,2203,2213,2215,2221],{"type":179,"value":2202},"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":2204,"children":2206},{"href":2205},"/get-started/configuration#navigation",[2207],{"type":173,"tag":198,"props":2208,"children":2210},{"className":2209},[],[2211],{"type":179,"value":2212},"content.navigation.fields",{"type":179,"value":2214}," property in the ",{"type":173,"tag":198,"props":2216,"children":2218},{"className":2217},[],[2219],{"type":179,"value":2220},"nuxt.config",{"type":179,"value":465},{"type":173,"tag":1129,"props":2223,"children":2224},{},[2225,2360,2446],{"type":173,"tag":299,"props":2226,"children":2230},{"code":2227,"filename":2228,"language":352,"meta":167,"className":2229,"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",[2231],{"type":173,"tag":198,"props":2232,"children":2233},{"__ignoreMap":167},[2234,2250,2266,2282,2334,2342,2349],{"type":173,"tag":309,"props":2235,"children":2236},{"class":311,"line":312},[2237,2242,2246],{"type":173,"tag":309,"props":2238,"children":2239},{"style":592},[2240],{"type":179,"value":2241},"defineNuxtConfig",{"type":173,"tag":309,"props":2243,"children":2244},{"style":384},[2245],{"type":179,"value":638},{"type":173,"tag":309,"props":2247,"children":2248},{"style":316},[2249],{"type":179,"value":1158},{"type":173,"tag":309,"props":2251,"children":2252},{"class":311,"line":364},[2253,2258,2262],{"type":173,"tag":309,"props":2254,"children":2255},{"style":322},[2256],{"type":179,"value":2257},"  content",{"type":173,"tag":309,"props":2259,"children":2260},{"style":316},[2261],{"type":179,"value":465},{"type":173,"tag":309,"props":2263,"children":2264},{"style":316},[2265],{"type":179,"value":451},{"type":173,"tag":309,"props":2267,"children":2268},{"class":311,"line":415},[2269,2274,2278],{"type":173,"tag":309,"props":2270,"children":2271},{"style":322},[2272],{"type":179,"value":2273},"    navigation",{"type":173,"tag":309,"props":2275,"children":2276},{"style":316},[2277],{"type":179,"value":465},{"type":173,"tag":309,"props":2279,"children":2280},{"style":316},[2281],{"type":179,"value":451},{"type":173,"tag":309,"props":2283,"children":2284},{"class":311,"line":425},[2285,2290,2294,2299,2303,2308,2312,2317,2321,2326,2330],{"type":173,"tag":309,"props":2286,"children":2287},{"style":322},[2288],{"type":179,"value":2289},"      fields",{"type":173,"tag":309,"props":2291,"children":2292},{"style":316},[2293],{"type":179,"value":465},{"type":173,"tag":309,"props":2295,"children":2296},{"style":384},[2297],{"type":179,"value":2298}," [",{"type":173,"tag":309,"props":2300,"children":2301},{"style":316},[2302],{"type":179,"value":900},{"type":173,"tag":309,"props":2304,"children":2305},{"style":349},[2306],{"type":179,"value":2307},"author",{"type":173,"tag":309,"props":2309,"children":2310},{"style":316},[2311],{"type":179,"value":900},{"type":173,"tag":309,"props":2313,"children":2314},{"style":316},[2315],{"type":179,"value":2316},",",{"type":173,"tag":309,"props":2318,"children":2319},{"style":316},[2320],{"type":179,"value":402},{"type":173,"tag":309,"props":2322,"children":2323},{"style":349},[2324],{"type":179,"value":2325},"publishedAt",{"type":173,"tag":309,"props":2327,"children":2328},{"style":316},[2329],{"type":179,"value":900},{"type":173,"tag":309,"props":2331,"children":2332},{"style":384},[2333],{"type":179,"value":1668},{"type":173,"tag":309,"props":2335,"children":2336},{"class":311,"line":454},[2337],{"type":173,"tag":309,"props":2338,"children":2339},{"style":316},[2340],{"type":179,"value":2341},"    }\n",{"type":173,"tag":309,"props":2343,"children":2344},{"class":311,"line":481},[2345],{"type":173,"tag":309,"props":2346,"children":2347},{"style":316},[2348],{"type":179,"value":1660},{"type":173,"tag":309,"props":2350,"children":2351},{"class":311,"line":507},[2352,2356],{"type":173,"tag":309,"props":2353,"children":2354},{"style":316},[2355],{"type":179,"value":579},{"type":173,"tag":309,"props":2357,"children":2358},{"style":384},[2359],{"type":179,"value":662},{"type":173,"tag":299,"props":2361,"children":2364},{"code":2362,"filename":2363,"language":1048,"meta":167,"className":1695,"style":167},"---\ntitle: My Page\nauthor: 'Sébastien Chopin'\npublishedAt: '15-06-2022'\n---\n","page.md",[2365],{"type":173,"tag":198,"props":2366,"children":2367},{"__ignoreMap":167},[2368,2375,2391,2415,2439],{"type":173,"tag":309,"props":2369,"children":2370},{"class":311,"line":312},[2371],{"type":173,"tag":309,"props":2372,"children":2373},{"style":384},[2374],{"type":179,"value":1707},{"type":173,"tag":309,"props":2376,"children":2377},{"class":311,"line":364},[2378,2382,2386],{"type":173,"tag":309,"props":2379,"children":2380},{"style":322},[2381],{"type":179,"value":1171},{"type":173,"tag":309,"props":2383,"children":2384},{"style":316},[2385],{"type":179,"value":465},{"type":173,"tag":309,"props":2387,"children":2388},{"style":349},[2389],{"type":179,"value":2390}," My Page\n",{"type":173,"tag":309,"props":2392,"children":2393},{"class":311,"line":415},[2394,2398,2402,2406,2411],{"type":173,"tag":309,"props":2395,"children":2396},{"style":322},[2397],{"type":179,"value":2307},{"type":173,"tag":309,"props":2399,"children":2400},{"style":316},[2401],{"type":179,"value":465},{"type":173,"tag":309,"props":2403,"children":2404},{"style":316},[2405],{"type":179,"value":402},{"type":173,"tag":309,"props":2407,"children":2408},{"style":349},[2409],{"type":179,"value":2410},"Sébastien Chopin",{"type":173,"tag":309,"props":2412,"children":2413},{"style":316},[2414],{"type":179,"value":412},{"type":173,"tag":309,"props":2416,"children":2417},{"class":311,"line":425},[2418,2422,2426,2430,2435],{"type":173,"tag":309,"props":2419,"children":2420},{"style":322},[2421],{"type":179,"value":2325},{"type":173,"tag":309,"props":2423,"children":2424},{"style":316},[2425],{"type":179,"value":465},{"type":173,"tag":309,"props":2427,"children":2428},{"style":316},[2429],{"type":179,"value":402},{"type":173,"tag":309,"props":2431,"children":2432},{"style":349},[2433],{"type":179,"value":2434},"15-06-2022",{"type":173,"tag":309,"props":2436,"children":2437},{"style":316},[2438],{"type":179,"value":412},{"type":173,"tag":309,"props":2440,"children":2441},{"class":311,"line":454},[2442],{"type":173,"tag":309,"props":2443,"children":2444},{"style":384},[2445],{"type":179,"value":1707},{"type":173,"tag":299,"props":2447,"children":2450},{"code":2448,"filename":2449,"language":1145,"meta":167,"className":1146,"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",[2451],{"type":173,"tag":198,"props":2452,"children":2453},{"__ignoreMap":167},[2454,2461,2497,2532,2567,2603,2639],{"type":173,"tag":309,"props":2455,"children":2456},{"class":311,"line":312},[2457],{"type":173,"tag":309,"props":2458,"children":2459},{"style":316},[2460],{"type":179,"value":1158},{"type":173,"tag":309,"props":2462,"children":2463},{"class":311,"line":364},[2464,2468,2472,2476,2480,2484,2489,2493],{"type":173,"tag":309,"props":2465,"children":2466},{"style":316},[2467],{"type":179,"value":1166},{"type":173,"tag":309,"props":2469,"children":2470},{"style":328},[2471],{"type":179,"value":1171},{"type":173,"tag":309,"props":2473,"children":2474},{"style":316},[2475],{"type":179,"value":346},{"type":173,"tag":309,"props":2477,"children":2478},{"style":316},[2479],{"type":179,"value":465},{"type":173,"tag":309,"props":2481,"children":2482},{"style":316},[2483],{"type":179,"value":1184},{"type":173,"tag":309,"props":2485,"children":2486},{"style":349},[2487],{"type":179,"value":2488},"My Page",{"type":173,"tag":309,"props":2490,"children":2491},{"style":316},[2492],{"type":179,"value":346},{"type":173,"tag":309,"props":2494,"children":2495},{"style":316},[2496],{"type":179,"value":905},{"type":173,"tag":309,"props":2498,"children":2499},{"class":311,"line":415},[2500,2504,2508,2512,2516,2520,2524,2528],{"type":173,"tag":309,"props":2501,"children":2502},{"style":316},[2503],{"type":179,"value":1166},{"type":173,"tag":309,"props":2505,"children":2506},{"style":328},[2507],{"type":179,"value":2307},{"type":173,"tag":309,"props":2509,"children":2510},{"style":316},[2511],{"type":179,"value":346},{"type":173,"tag":309,"props":2513,"children":2514},{"style":316},[2515],{"type":179,"value":465},{"type":173,"tag":309,"props":2517,"children":2518},{"style":316},[2519],{"type":179,"value":1184},{"type":173,"tag":309,"props":2521,"children":2522},{"style":349},[2523],{"type":179,"value":2410},{"type":173,"tag":309,"props":2525,"children":2526},{"style":316},[2527],{"type":179,"value":346},{"type":173,"tag":309,"props":2529,"children":2530},{"style":316},[2531],{"type":179,"value":905},{"type":173,"tag":309,"props":2533,"children":2534},{"class":311,"line":425},[2535,2539,2543,2547,2551,2555,2559,2563],{"type":173,"tag":309,"props":2536,"children":2537},{"style":316},[2538],{"type":179,"value":1166},{"type":173,"tag":309,"props":2540,"children":2541},{"style":328},[2542],{"type":179,"value":2325},{"type":173,"tag":309,"props":2544,"children":2545},{"style":316},[2546],{"type":179,"value":346},{"type":173,"tag":309,"props":2548,"children":2549},{"style":316},[2550],{"type":179,"value":465},{"type":173,"tag":309,"props":2552,"children":2553},{"style":316},[2554],{"type":179,"value":1184},{"type":173,"tag":309,"props":2556,"children":2557},{"style":349},[2558],{"type":179,"value":2434},{"type":173,"tag":309,"props":2560,"children":2561},{"style":316},[2562],{"type":179,"value":346},{"type":173,"tag":309,"props":2564,"children":2565},{"style":316},[2566],{"type":179,"value":905},{"type":173,"tag":309,"props":2568,"children":2569},{"class":311,"line":454},[2570,2574,2578,2582,2586,2590,2595,2599],{"type":173,"tag":309,"props":2571,"children":2572},{"style":316},[2573],{"type":179,"value":1166},{"type":173,"tag":309,"props":2575,"children":2576},{"style":328},[2577],{"type":179,"value":1091},{"type":173,"tag":309,"props":2579,"children":2580},{"style":316},[2581],{"type":179,"value":346},{"type":173,"tag":309,"props":2583,"children":2584},{"style":316},[2585],{"type":179,"value":465},{"type":173,"tag":309,"props":2587,"children":2588},{"style":316},[2589],{"type":179,"value":1184},{"type":173,"tag":309,"props":2591,"children":2592},{"style":349},[2593],{"type":179,"value":2594},"/page",{"type":173,"tag":309,"props":2596,"children":2597},{"style":316},[2598],{"type":179,"value":346},{"type":173,"tag":309,"props":2600,"children":2601},{"style":316},[2602],{"type":179,"value":905},{"type":173,"tag":309,"props":2604,"children":2605},{"class":311,"line":481},[2606,2610,2614,2618,2622,2626,2631,2635],{"type":173,"tag":309,"props":2607,"children":2608},{"style":316},[2609],{"type":179,"value":1166},{"type":173,"tag":309,"props":2611,"children":2612},{"style":328},[2613],{"type":179,"value":1083},{"type":173,"tag":309,"props":2615,"children":2616},{"style":316},[2617],{"type":179,"value":346},{"type":173,"tag":309,"props":2619,"children":2620},{"style":316},[2621],{"type":179,"value":465},{"type":173,"tag":309,"props":2623,"children":2624},{"style":316},[2625],{"type":179,"value":1184},{"type":173,"tag":309,"props":2627,"children":2628},{"style":349},[2629],{"type":179,"value":2630},"content:page.md",{"type":173,"tag":309,"props":2632,"children":2633},{"style":316},[2634],{"type":179,"value":346},{"type":173,"tag":309,"props":2636,"children":2637},{"style":316},[2638],{"type":179,"value":905},{"type":173,"tag":309,"props":2640,"children":2641},{"class":311,"line":507},[2642],{"type":173,"tag":309,"props":2643,"children":2644},{"style":316},[2645],{"type":179,"value":538},{"type":173,"tag":188,"props":2647,"children":2649},{"id":2648},"excluding",[2650],{"type":179,"value":2651},"Excluding",{"type":173,"tag":182,"props":2653,"children":2654},{},[2655,2657,2663,2665,2670],{"type":179,"value":2656},"Set ",{"type":173,"tag":198,"props":2658,"children":2660},{"className":2659},[],[2661],{"type":179,"value":2662},"navigation: false",{"type":179,"value":2664}," in the ",{"type":173,"tag":206,"props":2666,"children":2667},{"href":29},[2668],{"type":179,"value":2669},"front-matter",{"type":179,"value":2671}," of a page to filter it out.",{"type":173,"tag":299,"props":2673,"children":2675},{"code":2674,"filename":2363,"language":1048,"meta":167,"className":1695,"style":167},"---\nnavigation: false\n---\n",[2676],{"type":173,"tag":198,"props":2677,"children":2678},{"__ignoreMap":167},[2679,2686,2703],{"type":173,"tag":309,"props":2680,"children":2681},{"class":311,"line":312},[2682],{"type":173,"tag":309,"props":2683,"children":2684},{"style":384},[2685],{"type":179,"value":1707},{"type":173,"tag":309,"props":2687,"children":2688},{"class":311,"line":364},[2689,2693,2697],{"type":173,"tag":309,"props":2690,"children":2691},{"style":322},[2692],{"type":179,"value":1685},{"type":173,"tag":309,"props":2694,"children":2695},{"style":316},[2696],{"type":179,"value":465},{"type":173,"tag":309,"props":2698,"children":2700},{"style":2699},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[2701],{"type":179,"value":2702}," false\n",{"type":173,"tag":309,"props":2704,"children":2705},{"class":311,"line":415},[2706],{"type":173,"tag":309,"props":2707,"children":2708},{"style":384},[2709],{"type":179,"value":1707},{"type":173,"tag":182,"props":2711,"children":2712},{},[2713,2715,2720],{"type":179,"value":2714},"This pattern also works inside ",{"type":173,"tag":198,"props":2716,"children":2718},{"className":2717},[],[2719],{"type":179,"value":1950},{"type":179,"value":2721}," file, allowing you to filter out content directories and files.",{"type":173,"tag":299,"props":2723,"children":2725},{"code":2724,"filename":1950,"language":1979,"meta":167,"className":1980,"style":167},"navigation: false\n",[2726],{"type":173,"tag":198,"props":2727,"children":2728},{"__ignoreMap":167},[2729],{"type":173,"tag":309,"props":2730,"children":2731},{"class":311,"line":312},[2732,2736,2740],{"type":173,"tag":309,"props":2733,"children":2734},{"style":322},[2735],{"type":179,"value":1685},{"type":173,"tag":309,"props":2737,"children":2738},{"style":316},[2739],{"type":179,"value":465},{"type":173,"tag":309,"props":2741,"children":2742},{"style":2699},[2743],{"type":179,"value":2702},{"type":173,"tag":182,"props":2745,"children":2746},{},[2747,2749,2755],{"type":179,"value":2748},"You can also use the ",{"type":173,"tag":198,"props":2750,"children":2752},{"className":2751},[],[2753],{"type":179,"value":2754},"_",{"type":179,"value":2756}," content prefix to exclude content directories and files.",{"type":173,"tag":1129,"props":2758,"children":2759},{},[2760,2768],{"type":173,"tag":299,"props":2761,"children":2763},{"code":2762,"filename":1135,"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",[2764],{"type":173,"tag":198,"props":2765,"children":2766},{"__ignoreMap":167},[2767],{"type":179,"value":2762},{"type":173,"tag":299,"props":2769,"children":2772},{"code":2770,"filename":2771,"language":1145,"meta":167,"className":1146,"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",[2773],{"type":173,"tag":198,"props":2774,"children":2775},{"__ignoreMap":167},[2776,2783,2790,2826,2862,2885,2892,2928,2964,2996,3003,3010,3017],{"type":173,"tag":309,"props":2777,"children":2778},{"class":311,"line":312},[2779],{"type":173,"tag":309,"props":2780,"children":2781},{"style":316},[2782],{"type":179,"value":1424},{"type":173,"tag":309,"props":2784,"children":2785},{"class":311,"line":364},[2786],{"type":173,"tag":309,"props":2787,"children":2788},{"style":316},[2789],{"type":179,"value":1432},{"type":173,"tag":309,"props":2791,"children":2792},{"class":311,"line":415},[2793,2797,2801,2805,2809,2813,2818,2822],{"type":173,"tag":309,"props":2794,"children":2795},{"style":316},[2796],{"type":179,"value":1440},{"type":173,"tag":309,"props":2798,"children":2799},{"style":328},[2800],{"type":179,"value":1171},{"type":173,"tag":309,"props":2802,"children":2803},{"style":316},[2804],{"type":179,"value":346},{"type":173,"tag":309,"props":2806,"children":2807},{"style":316},[2808],{"type":179,"value":465},{"type":173,"tag":309,"props":2810,"children":2811},{"style":316},[2812],{"type":179,"value":1184},{"type":173,"tag":309,"props":2814,"children":2815},{"style":349},[2816],{"type":179,"value":2817},"Not Hidden Directory",{"type":173,"tag":309,"props":2819,"children":2820},{"style":316},[2821],{"type":179,"value":346},{"type":173,"tag":309,"props":2823,"children":2824},{"style":316},[2825],{"type":179,"value":905},{"type":173,"tag":309,"props":2827,"children":2828},{"class":311,"line":425},[2829,2833,2837,2841,2845,2849,2854,2858],{"type":173,"tag":309,"props":2830,"children":2831},{"style":316},[2832],{"type":179,"value":1440},{"type":173,"tag":309,"props":2834,"children":2835},{"style":328},[2836],{"type":179,"value":1091},{"type":173,"tag":309,"props":2838,"children":2839},{"style":316},[2840],{"type":179,"value":346},{"type":173,"tag":309,"props":2842,"children":2843},{"style":316},[2844],{"type":179,"value":465},{"type":173,"tag":309,"props":2846,"children":2847},{"style":316},[2848],{"type":179,"value":1184},{"type":173,"tag":309,"props":2850,"children":2851},{"style":349},[2852],{"type":179,"value":2853},"/not-hidden-directory",{"type":173,"tag":309,"props":2855,"children":2856},{"style":316},[2857],{"type":179,"value":346},{"type":173,"tag":309,"props":2859,"children":2860},{"style":316},[2861],{"type":179,"value":905},{"type":173,"tag":309,"props":2863,"children":2864},{"class":311,"line":454},[2865,2869,2873,2877,2881],{"type":173,"tag":309,"props":2866,"children":2867},{"style":316},[2868],{"type":179,"value":1440},{"type":173,"tag":309,"props":2870,"children":2871},{"style":328},[2872],{"type":179,"value":1245},{"type":173,"tag":309,"props":2874,"children":2875},{"style":316},[2876],{"type":179,"value":346},{"type":173,"tag":309,"props":2878,"children":2879},{"style":316},[2880],{"type":179,"value":465},{"type":173,"tag":309,"props":2882,"children":2883},{"style":316},[2884],{"type":179,"value":1258},{"type":173,"tag":309,"props":2886,"children":2887},{"class":311,"line":481},[2888],{"type":173,"tag":309,"props":2889,"children":2890},{"style":316},[2891],{"type":179,"value":1534},{"type":173,"tag":309,"props":2893,"children":2894},{"class":311,"line":507},[2895,2899,2903,2907,2911,2915,2920,2924],{"type":173,"tag":309,"props":2896,"children":2897},{"style":316},[2898],{"type":179,"value":1542},{"type":173,"tag":309,"props":2900,"children":2901},{"style":434},[2902],{"type":179,"value":1171},{"type":173,"tag":309,"props":2904,"children":2905},{"style":316},[2906],{"type":179,"value":346},{"type":173,"tag":309,"props":2908,"children":2909},{"style":316},[2910],{"type":179,"value":465},{"type":173,"tag":309,"props":2912,"children":2913},{"style":316},[2914],{"type":179,"value":1184},{"type":173,"tag":309,"props":2916,"children":2917},{"style":349},[2918],{"type":179,"value":2919},"Page",{"type":173,"tag":309,"props":2921,"children":2922},{"style":316},[2923],{"type":179,"value":346},{"type":173,"tag":309,"props":2925,"children":2926},{"style":316},[2927],{"type":179,"value":905},{"type":173,"tag":309,"props":2929,"children":2930},{"class":311,"line":532},[2931,2935,2939,2943,2947,2951,2956,2960],{"type":173,"tag":309,"props":2932,"children":2933},{"style":316},[2934],{"type":179,"value":1542},{"type":173,"tag":309,"props":2936,"children":2937},{"style":434},[2938],{"type":179,"value":1083},{"type":173,"tag":309,"props":2940,"children":2941},{"style":316},[2942],{"type":179,"value":346},{"type":173,"tag":309,"props":2944,"children":2945},{"style":316},[2946],{"type":179,"value":465},{"type":173,"tag":309,"props":2948,"children":2949},{"style":316},[2950],{"type":179,"value":1184},{"type":173,"tag":309,"props":2952,"children":2953},{"style":349},[2954],{"type":179,"value":2955},"content:not-hidden-directory:page.md",{"type":173,"tag":309,"props":2957,"children":2958},{"style":316},[2959],{"type":179,"value":346},{"type":173,"tag":309,"props":2961,"children":2962},{"style":316},[2963],{"type":179,"value":905},{"type":173,"tag":309,"props":2965,"children":2966},{"class":311,"line":541},[2967,2971,2975,2979,2983,2987,2992],{"type":173,"tag":309,"props":2968,"children":2969},{"style":316},[2970],{"type":179,"value":1542},{"type":173,"tag":309,"props":2972,"children":2973},{"style":434},[2974],{"type":179,"value":1091},{"type":173,"tag":309,"props":2976,"children":2977},{"style":316},[2978],{"type":179,"value":346},{"type":173,"tag":309,"props":2980,"children":2981},{"style":316},[2982],{"type":179,"value":465},{"type":173,"tag":309,"props":2984,"children":2985},{"style":316},[2986],{"type":179,"value":1184},{"type":173,"tag":309,"props":2988,"children":2989},{"style":349},[2990],{"type":179,"value":2991},"/not-hidden-directory/page",{"type":173,"tag":309,"props":2993,"children":2994},{"style":316},[2995],{"type":179,"value":1401},{"type":173,"tag":309,"props":2997,"children":2998},{"class":311,"line":549},[2999],{"type":173,"tag":309,"props":3000,"children":3001},{"style":316},[3002],{"type":179,"value":1644},{"type":173,"tag":309,"props":3004,"children":3005},{"class":311,"line":559},[3006],{"type":173,"tag":309,"props":3007,"children":3008},{"style":316},[3009],{"type":179,"value":1652},{"type":173,"tag":309,"props":3011,"children":3012},{"class":311,"line":603},[3013],{"type":173,"tag":309,"props":3014,"children":3015},{"style":316},[3016],{"type":179,"value":1660},{"type":173,"tag":309,"props":3018,"children":3019},{"class":311,"line":665},[3020],{"type":173,"tag":309,"props":3021,"children":3022},{"style":316},[3023],{"type":179,"value":1668},{"type":173,"tag":188,"props":3025,"children":3027},{"id":3026},"nested-navigation",[3028],{"type":179,"value":3029},"Nested navigation",{"type":173,"tag":182,"props":3031,"children":3032},{},[3033,3035,3040,3042,3047],{"type":179,"value":3034},"You can pass a ",{"type":173,"tag":198,"props":3036,"children":3038},{"className":3037},[],[3039],{"type":179,"value":50},{"type":179,"value":3041}," instance to the ",{"type":173,"tag":198,"props":3043,"children":3045},{"className":3044},[],[3046],{"type":179,"value":53},{"type":179,"value":3048}," utility to filter the items returned.",{"type":173,"tag":182,"props":3050,"children":3051},{},[3052],{"type":179,"value":3053},"That allows to create navigation objects for which the starting point is based on a specific content directory.",{"type":173,"tag":299,"props":3055,"children":3057},{"code":3056,"language":352,"meta":167,"className":2229,"style":167},"const query = queryContent({\n  where: {\n    _path: { $contains: '/your/navigation/starting/point' }\n  }\n})\n",[3058],{"type":173,"tag":198,"props":3059,"children":3060},{"__ignoreMap":167},[3061,3089,3105,3148,3155],{"type":173,"tag":309,"props":3062,"children":3063},{"class":311,"line":312},[3064,3068,3073,3077,3081,3085],{"type":173,"tag":309,"props":3065,"children":3066},{"style":328},[3067],{"type":179,"value":565},{"type":173,"tag":309,"props":3069,"children":3070},{"style":384},[3071],{"type":179,"value":3072}," query ",{"type":173,"tag":309,"props":3074,"children":3075},{"style":316},[3076],{"type":179,"value":341},{"type":173,"tag":309,"props":3078,"children":3079},{"style":592},[3080],{"type":179,"value":619},{"type":173,"tag":309,"props":3082,"children":3083},{"style":384},[3084],{"type":179,"value":638},{"type":173,"tag":309,"props":3086,"children":3087},{"style":316},[3088],{"type":179,"value":1158},{"type":173,"tag":309,"props":3090,"children":3091},{"class":311,"line":364},[3092,3097,3101],{"type":173,"tag":309,"props":3093,"children":3094},{"style":322},[3095],{"type":179,"value":3096},"  where",{"type":173,"tag":309,"props":3098,"children":3099},{"style":316},[3100],{"type":179,"value":465},{"type":173,"tag":309,"props":3102,"children":3103},{"style":316},[3104],{"type":179,"value":451},{"type":173,"tag":309,"props":3106,"children":3107},{"class":311,"line":415},[3108,3113,3117,3121,3126,3130,3134,3139,3143],{"type":173,"tag":309,"props":3109,"children":3110},{"style":322},[3111],{"type":179,"value":3112},"    _path",{"type":173,"tag":309,"props":3114,"children":3115},{"style":316},[3116],{"type":179,"value":465},{"type":173,"tag":309,"props":3118,"children":3119},{"style":316},[3120],{"type":179,"value":381},{"type":173,"tag":309,"props":3122,"children":3123},{"style":322},[3124],{"type":179,"value":3125}," $contains",{"type":173,"tag":309,"props":3127,"children":3128},{"style":316},[3129],{"type":179,"value":465},{"type":173,"tag":309,"props":3131,"children":3132},{"style":316},[3133],{"type":179,"value":402},{"type":173,"tag":309,"props":3135,"children":3136},{"style":349},[3137],{"type":179,"value":3138},"/your/navigation/starting/point",{"type":173,"tag":309,"props":3140,"children":3141},{"style":316},[3142],{"type":179,"value":900},{"type":173,"tag":309,"props":3144,"children":3145},{"style":316},[3146],{"type":179,"value":3147}," }\n",{"type":173,"tag":309,"props":3149,"children":3150},{"class":311,"line":425},[3151],{"type":173,"tag":309,"props":3152,"children":3153},{"style":316},[3154],{"type":179,"value":1660},{"type":173,"tag":309,"props":3156,"children":3157},{"class":311,"line":454},[3158,3162],{"type":173,"tag":309,"props":3159,"children":3160},{"style":316},[3161],{"type":179,"value":579},{"type":173,"tag":309,"props":3163,"children":3164},{"style":384},[3165],{"type":179,"value":662},{"type":173,"tag":3167,"props":3168,"children":3169},"hr",{},[],{"type":173,"tag":1022,"props":3171,"children":3173},{"type":3172},"info",[3174,3186],{"type":173,"tag":182,"props":3175,"children":3176},{},[3177,3179,3184],{"type":179,"value":3178},"Go deeper in the ",{"type":173,"tag":1116,"props":3180,"children":3181},{},[3182],{"type":179,"value":3183},"API",{"type":179,"value":3185}," section:",{"type":173,"tag":3187,"props":3188,"children":3189},"ul",{},[3190,3210],{"type":173,"tag":3191,"props":3192,"children":3193},"li",{},[3194,3202,3204],{"type":173,"tag":206,"props":3195,"children":3196},{"href":54},[3197],{"type":173,"tag":198,"props":3198,"children":3200},{"className":3199},[],[3201],{"type":179,"value":53},{"type":179,"value":3203}," composable to fetch navigation in ",{"type":173,"tag":198,"props":3205,"children":3207},{"className":3206},[],[3208],{"type":179,"value":3209},"\u003Cscript>",{"type":173,"tag":3191,"props":3211,"children":3212},{},[3213,3221,3223],{"type":173,"tag":206,"props":3214,"children":3215},{"href":82},[3216],{"type":173,"tag":198,"props":3217,"children":3219},{"className":3218},[],[3220],{"type":179,"value":81},{"type":179,"value":3222}," component made to shorten access to navigation in ",{"type":173,"tag":198,"props":3224,"children":3226},{"className":3225},[],[3227],{"type":179,"value":3228},"\u003Ctemplate>",{"type":173,"tag":1032,"props":3230,"children":3231},{},[3232],{"type":179,"value":1036},{"title":167,"searchDepth":364,"depth":364,"links":3234},[3235,3236,3237,3238],{"id":1101,"depth":364,"text":1104},{"id":1671,"depth":364,"text":1674},{"id":2648,"depth":364,"text":2651},{"id":3026,"depth":364,"text":3029},"content:2.usage:4.navigation.md","2.usage/4.navigation.md","2.usage/4.navigation",{"_path":51,"_dir":3243,"_draft":166,"_partial":166,"_locale":167,"title":50,"description":3244,"body":3245,"_type":1043,"_id":7364,"_source":1045,"_file":7365,"_stem":7366,"_extension":1048},"composables","The queryContent composable provides methods for querying and fetching your contents.",{"type":170,"children":3246,"toc":7350},[3247,3253,3273,3500,3506,3518,3523,3687,3697,3732,3737,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":3248,"children":3250},{"id":3249},"important-️",[3251],{"type":179,"value":3252},"Important ⚠️",{"type":173,"tag":182,"props":3254,"children":3255},{},[3256,3258,3271],{"type":179,"value":3257},"In your pages and components, wrap your query in ",{"type":173,"tag":206,"props":3259,"children":3262},{"href":3260,"rel":3261},"https://nuxt.com/docs/api/composables/use-async-data",[210],[3263,3269],{"type":173,"tag":198,"props":3264,"children":3266},{"className":3265},[],[3267],{"type":179,"value":3268},"useAsyncData",{"type":179,"value":3270}," composable",{"type":179,"value":3272}," to prevent fetching duplication on first load.",{"type":173,"tag":299,"props":3274,"children":3277},{"className":301,"code":3275,"filename":3276,"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",[3278],{"type":173,"tag":198,"props":3279,"children":3280},{"__ignoreMap":167},[3281,3300,3398,3413,3420,3436,3452,3469,3485],{"type":173,"tag":309,"props":3282,"children":3283},{"class":311,"line":312},[3284,3288,3292,3296],{"type":173,"tag":309,"props":3285,"children":3286},{"style":316},[3287],{"type":179,"value":319},{"type":173,"tag":309,"props":3289,"children":3290},{"style":322},[3291],{"type":179,"value":325},{"type":173,"tag":309,"props":3293,"children":3294},{"style":328},[3295],{"type":179,"value":331},{"type":173,"tag":309,"props":3297,"children":3298},{"style":316},[3299],{"type":179,"value":361},{"type":173,"tag":309,"props":3301,"children":3302},{"class":311,"line":364},[3303,3307,3311,3315,3319,3323,3327,3331,3335,3339,3344,3348,3352,3357,3361,3365,3369,3373,3377,3381,3385,3389,3393],{"type":173,"tag":309,"props":3304,"children":3305},{"style":328},[3306],{"type":179,"value":565},{"type":173,"tag":309,"props":3308,"children":3309},{"style":316},[3310],{"type":179,"value":381},{"type":173,"tag":309,"props":3312,"children":3313},{"style":384},[3314],{"type":179,"value":574},{"type":173,"tag":309,"props":3316,"children":3317},{"style":316},[3318],{"type":179,"value":579},{"type":173,"tag":309,"props":3320,"children":3321},{"style":316},[3322],{"type":179,"value":584},{"type":173,"tag":309,"props":3324,"children":3325},{"style":368},[3326],{"type":179,"value":589},{"type":173,"tag":309,"props":3328,"children":3329},{"style":592},[3330],{"type":179,"value":595},{"type":173,"tag":309,"props":3332,"children":3333},{"style":384},[3334],{"type":179,"value":638},{"type":173,"tag":309,"props":3336,"children":3337},{"style":316},[3338],{"type":179,"value":900},{"type":173,"tag":309,"props":3340,"children":3341},{"style":349},[3342],{"type":179,"value":3343},"home",{"type":173,"tag":309,"props":3345,"children":3346},{"style":316},[3347],{"type":179,"value":900},{"type":173,"tag":309,"props":3349,"children":3350},{"style":316},[3351],{"type":179,"value":2316},{"type":173,"tag":309,"props":3353,"children":3354},{"style":316},[3355],{"type":179,"value":3356}," ()",{"type":173,"tag":309,"props":3358,"children":3359},{"style":328},[3360],{"type":179,"value":614},{"type":173,"tag":309,"props":3362,"children":3363},{"style":592},[3364],{"type":179,"value":619},{"type":173,"tag":309,"props":3366,"children":3367},{"style":384},[3368],{"type":179,"value":638},{"type":173,"tag":309,"props":3370,"children":3371},{"style":316},[3372],{"type":179,"value":900},{"type":173,"tag":309,"props":3374,"children":3375},{"style":349},[3376],{"type":179,"value":1917},{"type":173,"tag":309,"props":3378,"children":3379},{"style":316},[3380],{"type":179,"value":900},{"type":173,"tag":309,"props":3382,"children":3383},{"style":384},[3384],{"type":179,"value":955},{"type":173,"tag":309,"props":3386,"children":3387},{"style":316},[3388],{"type":179,"value":260},{"type":173,"tag":309,"props":3390,"children":3391},{"style":592},[3392],{"type":179,"value":964},{"type":173,"tag":309,"props":3394,"children":3395},{"style":384},[3396],{"type":179,"value":3397},"())\n",{"type":173,"tag":309,"props":3399,"children":3400},{"class":311,"line":415},[3401,3405,3409],{"type":173,"tag":309,"props":3402,"children":3403},{"style":316},[3404],{"type":179,"value":679},{"type":173,"tag":309,"props":3406,"children":3407},{"style":322},[3408],{"type":179,"value":325},{"type":173,"tag":309,"props":3410,"children":3411},{"style":316},[3412],{"type":179,"value":361},{"type":173,"tag":309,"props":3414,"children":3415},{"class":311,"line":425},[3416],{"type":173,"tag":309,"props":3417,"children":3418},{"emptyLinePlaceholder":419},[3419],{"type":179,"value":422},{"type":173,"tag":309,"props":3421,"children":3422},{"class":311,"line":454},[3423,3427,3432],{"type":173,"tag":309,"props":3424,"children":3425},{"style":316},[3426],{"type":179,"value":319},{"type":173,"tag":309,"props":3428,"children":3429},{"style":322},[3430],{"type":179,"value":3431},"template",{"type":173,"tag":309,"props":3433,"children":3434},{"style":316},[3435],{"type":179,"value":361},{"type":173,"tag":309,"props":3437,"children":3438},{"class":311,"line":481},[3439,3444,3448],{"type":173,"tag":309,"props":3440,"children":3441},{"style":316},[3442],{"type":179,"value":3443},"  \u003C",{"type":173,"tag":309,"props":3445,"children":3446},{"style":322},[3447],{"type":179,"value":299},{"type":173,"tag":309,"props":3449,"children":3450},{"style":316},[3451],{"type":179,"value":361},{"type":173,"tag":309,"props":3453,"children":3454},{"class":311,"line":507},[3455,3460,3464],{"type":173,"tag":309,"props":3456,"children":3457},{"style":316},[3458],{"type":179,"value":3459},"    {{",{"type":173,"tag":309,"props":3461,"children":3462},{"style":384},[3463],{"type":179,"value":574},{"type":173,"tag":309,"props":3465,"children":3466},{"style":316},[3467],{"type":179,"value":3468},"}}\n",{"type":173,"tag":309,"props":3470,"children":3471},{"class":311,"line":532},[3472,3477,3481],{"type":173,"tag":309,"props":3473,"children":3474},{"style":316},[3475],{"type":179,"value":3476},"  \u003C/",{"type":173,"tag":309,"props":3478,"children":3479},{"style":322},[3480],{"type":179,"value":299},{"type":173,"tag":309,"props":3482,"children":3483},{"style":316},[3484],{"type":179,"value":361},{"type":173,"tag":309,"props":3486,"children":3487},{"class":311,"line":541},[3488,3492,3496],{"type":173,"tag":309,"props":3489,"children":3490},{"style":316},[3491],{"type":179,"value":679},{"type":173,"tag":309,"props":3493,"children":3494},{"style":322},[3495],{"type":179,"value":3431},{"type":173,"tag":309,"props":3497,"children":3498},{"style":316},[3499],{"type":179,"value":361},{"type":173,"tag":188,"props":3501,"children":3503},{"id":3502},"query-builder",[3504],{"type":179,"value":3505},"Query builder",{"type":173,"tag":182,"props":3507,"children":3508},{},[3509,3511,3516],{"type":179,"value":3510},"The ",{"type":173,"tag":198,"props":3512,"children":3514},{"className":3513},[],[3515],{"type":179,"value":50},{"type":179,"value":3517}," composable provides methods for querying and fetching your contents.",{"type":173,"tag":182,"props":3519,"children":3520},{},[3521],{"type":179,"value":3522},"Create a query builder to search contents.",{"type":173,"tag":299,"props":3524,"children":3526},{"className":2229,"code":3525,"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",[3527],{"type":173,"tag":198,"props":3528,"children":3529},{"__ignoreMap":167},[3530,3538,3562,3569,3577,3616,3623,3631],{"type":173,"tag":309,"props":3531,"children":3532},{"class":311,"line":312},[3533],{"type":173,"tag":309,"props":3534,"children":3535},{"style":553},[3536],{"type":179,"value":3537},"// Create a query looking for anything in content/ directory\n",{"type":173,"tag":309,"props":3539,"children":3540},{"class":311,"line":364},[3541,3545,3550,3554,3558],{"type":173,"tag":309,"props":3542,"children":3543},{"style":328},[3544],{"type":179,"value":565},{"type":173,"tag":309,"props":3546,"children":3547},{"style":384},[3548],{"type":179,"value":3549}," contentQuery ",{"type":173,"tag":309,"props":3551,"children":3552},{"style":316},[3553],{"type":179,"value":341},{"type":173,"tag":309,"props":3555,"children":3556},{"style":592},[3557],{"type":179,"value":619},{"type":173,"tag":309,"props":3559,"children":3560},{"style":384},[3561],{"type":179,"value":969},{"type":173,"tag":309,"props":3563,"children":3564},{"class":311,"line":415},[3565],{"type":173,"tag":309,"props":3566,"children":3567},{"emptyLinePlaceholder":419},[3568],{"type":179,"value":422},{"type":173,"tag":309,"props":3570,"children":3571},{"class":311,"line":425},[3572],{"type":173,"tag":309,"props":3573,"children":3574},{"style":553},[3575],{"type":179,"value":3576},"// Create a query looking into content/articles directory\n",{"type":173,"tag":309,"props":3578,"children":3579},{"class":311,"line":454},[3580,3584,3588,3592,3596,3600,3604,3608,3612],{"type":173,"tag":309,"props":3581,"children":3582},{"style":328},[3583],{"type":179,"value":565},{"type":173,"tag":309,"props":3585,"children":3586},{"style":384},[3587],{"type":179,"value":3549},{"type":173,"tag":309,"props":3589,"children":3590},{"style":316},[3591],{"type":179,"value":341},{"type":173,"tag":309,"props":3593,"children":3594},{"style":592},[3595],{"type":179,"value":619},{"type":173,"tag":309,"props":3597,"children":3598},{"style":384},[3599],{"type":179,"value":638},{"type":173,"tag":309,"props":3601,"children":3602},{"style":316},[3603],{"type":179,"value":900},{"type":173,"tag":309,"props":3605,"children":3606},{"style":349},[3607],{"type":179,"value":946},{"type":173,"tag":309,"props":3609,"children":3610},{"style":316},[3611],{"type":179,"value":900},{"type":173,"tag":309,"props":3613,"children":3614},{"style":384},[3615],{"type":179,"value":662},{"type":173,"tag":309,"props":3617,"children":3618},{"class":311,"line":481},[3619],{"type":173,"tag":309,"props":3620,"children":3621},{"emptyLinePlaceholder":419},[3622],{"type":179,"value":422},{"type":173,"tag":309,"props":3624,"children":3625},{"class":311,"line":507},[3626],{"type":173,"tag":309,"props":3627,"children":3628},{"style":553},[3629],{"type":179,"value":3630},"// Create a query looking into content/articles/nuxt3 directory\n",{"type":173,"tag":309,"props":3632,"children":3633},{"class":311,"line":532},[3634,3638,3642,3646,3650,3654,3658,3662,3666,3670,3674,3679,3683],{"type":173,"tag":309,"props":3635,"children":3636},{"style":328},[3637],{"type":179,"value":565},{"type":173,"tag":309,"props":3639,"children":3640},{"style":384},[3641],{"type":179,"value":3549},{"type":173,"tag":309,"props":3643,"children":3644},{"style":316},[3645],{"type":179,"value":341},{"type":173,"tag":309,"props":3647,"children":3648},{"style":592},[3649],{"type":179,"value":619},{"type":173,"tag":309,"props":3651,"children":3652},{"style":384},[3653],{"type":179,"value":638},{"type":173,"tag":309,"props":3655,"children":3656},{"style":316},[3657],{"type":179,"value":900},{"type":173,"tag":309,"props":3659,"children":3660},{"style":349},[3661],{"type":179,"value":946},{"type":173,"tag":309,"props":3663,"children":3664},{"style":316},[3665],{"type":179,"value":900},{"type":173,"tag":309,"props":3667,"children":3668},{"style":316},[3669],{"type":179,"value":2316},{"type":173,"tag":309,"props":3671,"children":3672},{"style":316},[3673],{"type":179,"value":402},{"type":173,"tag":309,"props":3675,"children":3676},{"style":349},[3677],{"type":179,"value":3678},"nuxt3",{"type":173,"tag":309,"props":3680,"children":3681},{"style":316},[3682],{"type":179,"value":900},{"type":173,"tag":309,"props":3684,"children":3685},{"style":384},[3686],{"type":179,"value":662},{"type":173,"tag":188,"props":3688,"children":3690},{"id":3689},"wherequery",[3691],{"type":173,"tag":198,"props":3692,"children":3694},{"className":3693},[],[3695],{"type":179,"value":3696},"where(query)",{"type":173,"tag":3187,"props":3698,"children":3699},{},[3700],{"type":173,"tag":3191,"props":3701,"children":3702},{},[3703,3709,3710],{"type":173,"tag":198,"props":3704,"children":3706},{"className":3705},[],[3707],{"type":179,"value":3708},"query",{"type":179,"value":1719},{"type":173,"tag":3187,"props":3711,"children":3712},{},[3713,3724],{"type":173,"tag":3191,"props":3714,"children":3715},{},[3716,3718],{"type":179,"value":3717},"Type: ",{"type":173,"tag":198,"props":3719,"children":3721},{"className":3720},[],[3722],{"type":179,"value":3723},"Partial\u003CQueryBuilderParams>",{"type":173,"tag":3191,"props":3725,"children":3726},{},[3727],{"type":173,"tag":1116,"props":3728,"children":3729},{},[3730],{"type":179,"value":3731},"Required",{"type":173,"tag":182,"props":3733,"children":3734},{},[3735],{"type":179,"value":3736},"Filter results by query.",{"type":173,"tag":182,"props":3738,"children":3739},{},[3740,3742,3749],{"type":179,"value":3741},"Where queries are based on subset of ",{"type":173,"tag":206,"props":3743,"children":3746},{"href":3744,"rel":3745},"https://www.mongodb.com/docs/manual/reference/operator/query",[210],[3747],{"type":179,"value":3748},"Mongo query syntax",{"type":179,"value":3750},", it handles:",{"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":2229,"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":1740},{"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":1740},{"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":2298},{"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":2316},{"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":2229,"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":3125},{"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":3125},{"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":2298},{"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":2316},{"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":3187,"props":4907,"children":4908},{},[4909],{"type":173,"tag":3191,"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":3187,"props":4919,"children":4920},{},[4921,4931],{"type":173,"tag":3191,"props":4922,"children":4923},{},[4924,4925],{"type":179,"value":3717},{"type":173,"tag":198,"props":4926,"children":4928},{"className":4927},[],[4929],{"type":179,"value":4930},"object",{"type":173,"tag":3191,"props":4932,"children":4933},{},[4934],{"type":173,"tag":1116,"props":4935,"children":4936},{},[4937],{"type":179,"value":3731},{"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":2229,"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":2316},{"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":1116,"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":1116,"props":5490,"children":5491},{},[5492],{"type":179,"value":5493},"case-insensitive",{"type":179,"value":5495}," or ",{"type":173,"tag":1116,"props":5497,"children":5498},{},[5499],{"type":179,"value":5500},"numerically rather than alphabetically",{"type":179,"value":260},{"type":173,"tag":3187,"props":5503,"children":5504},{},[5505,5524,5542],{"type":173,"tag":3191,"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":3191,"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":3191,"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":2229,"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":2316},{"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":2699},[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":3187,"props":5706,"children":5707},{},[5708],{"type":173,"tag":3191,"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":3187,"props":5718,"children":5719},{},[5720,5730],{"type":173,"tag":3191,"props":5721,"children":5722},{},[5723,5724],{"type":179,"value":3717},{"type":173,"tag":198,"props":5725,"children":5727},{"className":5726},[],[5728],{"type":179,"value":5729},"number",{"type":173,"tag":3191,"props":5731,"children":5732},{},[5733],{"type":173,"tag":1116,"props":5734,"children":5735},{},[5736],{"type":179,"value":3731},{"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":2229,"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":3187,"props":5845,"children":5846},{},[5847],{"type":173,"tag":3191,"props":5848,"children":5849},{},[5850,5855],{"type":173,"tag":198,"props":5851,"children":5853},{"className":5852},[],[5854],{"type":179,"value":5716},{"type":173,"tag":3187,"props":5856,"children":5857},{},[5858,5867],{"type":173,"tag":3191,"props":5859,"children":5860},{},[5861,5862],{"type":179,"value":3717},{"type":173,"tag":198,"props":5863,"children":5865},{"className":5864},[],[5866],{"type":179,"value":5729},{"type":173,"tag":3191,"props":5868,"children":5869},{},[5870],{"type":173,"tag":1116,"props":5871,"children":5872},{},[5873],{"type":179,"value":3731},{"type":173,"tag":182,"props":5875,"children":5876},{},[5877],{"type":179,"value":5878},"Skip results.",{"type":173,"tag":299,"props":5880,"children":5882},{"className":2229,"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":3187,"props":6011,"children":6012},{},[6013],{"type":173,"tag":3191,"props":6014,"children":6015},{},[6016,6021],{"type":173,"tag":198,"props":6017,"children":6019},{"className":6018},[],[6020],{"type":179,"value":474},{"type":173,"tag":3187,"props":6022,"children":6023},{},[6024,6041],{"type":173,"tag":3191,"props":6025,"children":6026},{},[6027,6028,6034,6035],{"type":179,"value":3717},{"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":3191,"props":6042,"children":6043},{},[6044],{"type":173,"tag":1116,"props":6045,"children":6046},{},[6047],{"type":179,"value":3731},{"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":2229,"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":2316},{"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":3187,"props":6265,"children":6266},{},[6267],{"type":173,"tag":3191,"props":6268,"children":6269},{},[6270,6275],{"type":173,"tag":198,"props":6271,"children":6273},{"className":6272},[],[6274],{"type":179,"value":474},{"type":173,"tag":3187,"props":6276,"children":6277},{},[6278,6293],{"type":173,"tag":3191,"props":6279,"children":6280},{},[6281,6282,6287,6288],{"type":179,"value":3717},{"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":3191,"props":6294,"children":6295},{},[6296],{"type":173,"tag":1116,"props":6297,"children":6298},{},[6299],{"type":179,"value":3731},{"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":2229,"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":2316},{"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":1171},{"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":2229,"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":2229,"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":3187,"props":6674,"children":6675},{},[6676,6704],{"type":173,"tag":3191,"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":3187,"props":6686,"children":6687},{},[6688,6697],{"type":173,"tag":3191,"props":6689,"children":6690},{},[6691,6692],{"type":179,"value":3717},{"type":173,"tag":198,"props":6693,"children":6695},{"className":6694},[],[6696],{"type":179,"value":6040},{"type":173,"tag":3191,"props":6698,"children":6699},{},[6700],{"type":173,"tag":1116,"props":6701,"children":6702},{},[6703],{"type":179,"value":3731},{"type":173,"tag":3191,"props":6705,"children":6706},{},[6707,6712],{"type":173,"tag":198,"props":6708,"children":6710},{"className":6709},[],[6711],{"type":179,"value":4917},{"type":173,"tag":3187,"props":6713,"children":6714},{},[6715,6725],{"type":173,"tag":3191,"props":6716,"children":6717},{},[6718,6719],{"type":179,"value":3717},{"type":173,"tag":198,"props":6720,"children":6722},{"className":6721},[],[6723],{"type":179,"value":6724},"{ before: number, after: number }",{"type":173,"tag":3191,"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":2229,"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":2298},{"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":2316},{"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":1091},{"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":2316},{"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":1171},{"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":2699},[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":1424},{"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":1432},{"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":3112},{"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":1668},{"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":2229,"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":2229,"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":2699},[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":3249,"depth":364,"text":3252},{"id":3502,"depth":364,"text":3505},{"id":3689,"depth":364,"text":3696},{"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","3.composables/1.query-content",1725981874486]