[{"data":1,"prerenderedAt":1954},["ShallowReactive",2],{"navigation_docs":3,"-docs-core-content-modeling-fields-select":478,"-docs-core-content-modeling-fields-select-surround":1718,"mdc--x3lu8g-key":1723,"mdc--5ugjsa-key":1735,"mdc--evu2iu-key":1744,"mdc-rlfo-key":1753,"mdc--dmjfhf-key":1770,"mdc--sz1000-key":1787,"mdc--z504j2-key":1803,"mdc-of2q3a-key":1819,"mdc--vl48ac-key":1828,"mdc--j75b70-key":1843,"mdc--rb8zmg-key":1864,"mdc-od5rku-key":1878,"mdc--bg6odx-key":1887,"mdc-qrsd8t-key":1896,"mdc--z84m0w-key":1912,"mdc-7oq4f5-key":1921,"mdc--ptzd4t-key":1938},[4,352,446],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Docs",false,"\u002Fdocs\u002Fcore","docs\u002F1.core",[10,35,141,174,195,212,242,318],{"title":11,"icon":6,"path":12,"stem":13,"children":14,"page":6},"Getting Started","\u002Fdocs\u002Fcore\u002Fgetting-started","docs\u002F1.core\u002F1.getting-started",[15,19,23,27,31],{"title":16,"path":17,"stem":18},"Introduction","\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fintroduction","docs\u002F1.core\u002F1.getting-started\u002F1.introduction",{"title":20,"path":21,"stem":22},"Quick Start","\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fquick-start","docs\u002F1.core\u002F1.getting-started\u002F2.quick-start",{"title":24,"path":25,"stem":26},"Add to an Existing Site","\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fexisting-site","docs\u002F1.core\u002F1.getting-started\u002F3.existing-site",{"title":28,"path":29,"stem":30},"Configuration","\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fconfiguration","docs\u002F1.core\u002F1.getting-started\u002F4.configuration",{"title":32,"path":33,"stem":34},"How Tenon works","\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fhow-tenon-works","docs\u002F1.core\u002F1.getting-started\u002F5.how-tenon-works",{"title":36,"icon":6,"path":37,"stem":38,"children":39,"page":6},"Content Modeling","\u002Fdocs\u002Fcore\u002Fcontent-modeling","docs\u002F1.core\u002F2.content-modeling",[40,44,111,115,119],{"title":41,"path":42,"stem":43},"Collections and Globals","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fcollections-and-globals","docs\u002F1.core\u002F2.content-modeling\u002F1.collections-and-globals",{"title":45,"icon":6,"path":46,"stem":47,"children":48},"Fields","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002Findex",[49,51,55,59,63,67,71,75,79,83,87,91,95,99,103,107],{"title":50,"path":46,"stem":47},"Overview",{"title":52,"path":53,"stem":54},"Array","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Farray","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F01.array",{"title":56,"path":57,"stem":58},"Blocks","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fblocks","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F02.blocks",{"title":60,"path":61,"stem":62},"Boolean","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fboolean","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F03.boolean",{"title":64,"path":65,"stem":66},"Date","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fdate","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F04.date",{"title":68,"path":69,"stem":70},"File","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Ffile","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F05.file",{"title":72,"path":73,"stem":74},"Group","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fgroup","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F06.group",{"title":76,"path":77,"stem":78},"Image","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fimage","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F07.image",{"title":80,"path":81,"stem":82},"Link","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Flink","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F08.link",{"title":84,"path":85,"stem":86},"Number","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fnumber","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F09.number",{"title":88,"path":89,"stem":90},"Relation","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Frelation","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F10.relation",{"title":92,"path":93,"stem":94},"Rich text","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Frich-text","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F11.rich-text",{"title":96,"path":97,"stem":98},"Select","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fselect","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F12.select",{"title":100,"path":101,"stem":102},"Size","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fsize","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F13.size",{"title":104,"path":105,"stem":106},"Slug","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fslug","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F14.slug",{"title":108,"path":109,"stem":110},"Text","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Ftext","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F15.text",{"title":112,"path":113,"stem":114},"Relations","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Frelations","docs\u002F1.core\u002F2.content-modeling\u002F3.relations",{"title":116,"path":117,"stem":118},"Media","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fmedia","docs\u002F1.core\u002F2.content-modeling\u002F4.media",{"title":120,"icon":6,"path":121,"stem":122,"children":123},"Presets","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fpresets","docs\u002F1.core\u002F2.content-modeling\u002F5.presets\u002Findex",[124,125,129,133,137],{"title":50,"path":121,"stem":122},{"title":126,"path":127,"stem":128},"Menu","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fpresets\u002Fmenu","docs\u002F1.core\u002F2.content-modeling\u002F5.presets\u002F1.menu",{"title":130,"path":131,"stem":132},"Pages","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fpresets\u002Fpages","docs\u002F1.core\u002F2.content-modeling\u002F5.presets\u002F2.pages",{"title":134,"path":135,"stem":136},"Settings","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fpresets\u002Fsettings","docs\u002F1.core\u002F2.content-modeling\u002F5.presets\u002F3.settings",{"title":138,"path":139,"stem":140},"Strings","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fpresets\u002Fstrings","docs\u002F1.core\u002F2.content-modeling\u002F5.presets\u002F4.strings",{"title":142,"icon":6,"path":143,"stem":144,"children":145,"page":6},"Working with Content","\u002Fdocs\u002Fcore\u002Fworking-with-content","docs\u002F1.core\u002F3.working-with-content",[146,150,154,158,162,166,170],{"title":147,"path":148,"stem":149},"Reading","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Freading","docs\u002F1.core\u002F3.working-with-content\u002F1.reading",{"title":151,"path":152,"stem":153},"Writing and Drafts","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Fwriting","docs\u002F1.core\u002F3.working-with-content\u002F2.writing",{"title":155,"path":156,"stem":157},"Scheduled publishing","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Fscheduled-publishing","docs\u002F1.core\u002F3.working-with-content\u002F3.scheduled-publishing",{"title":159,"path":160,"stem":161},"HTTP API and Client","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Fhttp-api-and-client","docs\u002F1.core\u002F3.working-with-content\u002F4.http-api-and-client",{"title":163,"path":164,"stem":165},"Headless","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Fheadless","docs\u002F1.core\u002F3.working-with-content\u002F5.headless",{"title":167,"path":168,"stem":169},"Localization","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Flocalization","docs\u002F1.core\u002F3.working-with-content\u002F6.localization",{"title":171,"path":172,"stem":173},"Hooks","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Fhooks","docs\u002F1.core\u002F3.working-with-content\u002F7.hooks",{"title":175,"icon":6,"path":176,"stem":177,"children":178,"page":6},"Building Your Site","\u002Fdocs\u002Fcore\u002Fbuilding-your-site","docs\u002F1.core\u002F4.building-your-site",[179,183,187,191],{"title":180,"path":181,"stem":182},"Pages and SEO","\u002Fdocs\u002Fcore\u002Fbuilding-your-site\u002Fpages-and-seo","docs\u002F1.core\u002F4.building-your-site\u002F1.pages-and-seo",{"title":184,"path":185,"stem":186},"Components","\u002Fdocs\u002Fcore\u002Fbuilding-your-site\u002Fcomponents","docs\u002F1.core\u002F4.building-your-site\u002F2.components",{"title":188,"path":189,"stem":190},"Menus","\u002Fdocs\u002Fcore\u002Fbuilding-your-site\u002Fmenus","docs\u002F1.core\u002F4.building-your-site\u002F3.menus",{"title":192,"path":193,"stem":194},"Live Preview","\u002Fdocs\u002Fcore\u002Fbuilding-your-site\u002Flive-preview","docs\u002F1.core\u002F4.building-your-site\u002F4.live-preview",{"title":196,"icon":6,"path":197,"stem":198,"children":199,"page":6},"Users and Access","\u002Fdocs\u002Fcore\u002Fusers-and-access","docs\u002F1.core\u002F5.users-and-access",[200,204,208],{"title":201,"path":202,"stem":203},"Authentication","\u002Fdocs\u002Fcore\u002Fusers-and-access\u002Fauthentication","docs\u002F1.core\u002F5.users-and-access\u002F1.authentication",{"title":205,"path":206,"stem":207},"Access Control","\u002Fdocs\u002Fcore\u002Fusers-and-access\u002Faccess-control","docs\u002F1.core\u002F5.users-and-access\u002F2.access-control",{"title":209,"path":210,"stem":211},"API Keys","\u002Fdocs\u002Fcore\u002Fusers-and-access\u002Fapi-keys","docs\u002F1.core\u002F5.users-and-access\u002F3.api-keys",{"title":213,"icon":6,"path":214,"stem":215,"children":216},"Customization","\u002Fdocs\u002Fcore\u002Fcustomization","docs\u002F1.core\u002F6.customization\u002Findex",[217,218,222,226,230,234,238],{"title":50,"path":214,"stem":215},{"title":219,"path":220,"stem":221},"Admin","\u002Fdocs\u002Fcore\u002Fcustomization\u002Fadmin","docs\u002F1.core\u002F6.customization\u002F1.admin",{"title":223,"path":224,"stem":225},"Custom Fields","\u002Fdocs\u002Fcore\u002Fcustomization\u002Fcustom-fields","docs\u002F1.core\u002F6.customization\u002F2.custom-fields",{"title":227,"path":228,"stem":229},"Custom Pages and Actions","\u002Fdocs\u002Fcore\u002Fcustomization\u002Fcustom-pages-and-actions","docs\u002F1.core\u002F6.customization\u002F3.custom-pages-and-actions",{"title":231,"path":232,"stem":233},"Styles and UI Libraries","\u002Fdocs\u002Fcore\u002Fcustomization\u002Fstyles-and-ui-libraries","docs\u002F1.core\u002F6.customization\u002F4.styles-and-ui-libraries",{"title":235,"path":236,"stem":237},"Rich Text Extensions","\u002Fdocs\u002Fcore\u002Fcustomization\u002Frich-text-extensions","docs\u002F1.core\u002F6.customization\u002F5.rich-text-extensions",{"title":239,"path":240,"stem":241},"Plugins","\u002Fdocs\u002Fcore\u002Fcustomization\u002Fplugins","docs\u002F1.core\u002F6.customization\u002F6.plugins",{"title":243,"icon":6,"path":244,"stem":245,"children":246},"Operations","\u002Fdocs\u002Fcore\u002Foperations","docs\u002F1.core\u002F7.operations\u002Findex",[247,248,266,288,306,310,314],{"title":50,"path":244,"stem":245},{"title":249,"icon":6,"path":250,"stem":251,"children":252},"Email","\u002Fdocs\u002Fcore\u002Foperations\u002Femail","docs\u002F1.core\u002F7.operations\u002F1.email\u002Findex",[253,254,258,262],{"title":50,"path":250,"stem":251},{"title":255,"path":256,"stem":257},"SMTP","\u002Fdocs\u002Fcore\u002Foperations\u002Femail\u002Fsmtp","docs\u002F1.core\u002F7.operations\u002F1.email\u002F1.smtp",{"title":259,"path":260,"stem":261},"Cloudflare","\u002Fdocs\u002Fcore\u002Foperations\u002Femail\u002Fcloudflare","docs\u002F1.core\u002F7.operations\u002F1.email\u002F2.cloudflare",{"title":263,"path":264,"stem":265},"Custom adapter","\u002Fdocs\u002Fcore\u002Foperations\u002Femail\u002Fcustom-adapter","docs\u002F1.core\u002F7.operations\u002F1.email\u002F3.custom-adapter",{"title":267,"icon":6,"path":268,"stem":269,"children":270},"Jobs","\u002Fdocs\u002Fcore\u002Foperations\u002Fjobs","docs\u002F1.core\u002F7.operations\u002F2.jobs\u002Findex",[271,272,276,280,284],{"title":50,"path":268,"stem":269},{"title":273,"path":274,"stem":275},"Queue jobs","\u002Fdocs\u002Fcore\u002Foperations\u002Fjobs\u002Fqueue-jobs","docs\u002F1.core\u002F7.operations\u002F2.jobs\u002F1.queue-jobs",{"title":277,"path":278,"stem":279},"Recurring jobs","\u002Fdocs\u002Fcore\u002Foperations\u002Fjobs\u002Frecurring-jobs","docs\u002F1.core\u002F7.operations\u002F2.jobs\u002F2.recurring-jobs",{"title":281,"path":282,"stem":283},"The clock","\u002Fdocs\u002Fcore\u002Foperations\u002Fjobs\u002Fclock","docs\u002F1.core\u002F7.operations\u002F2.jobs\u002F3.clock",{"title":285,"path":286,"stem":287},"Manage jobs","\u002Fdocs\u002Fcore\u002Foperations\u002Fjobs\u002Fmanage-jobs","docs\u002F1.core\u002F7.operations\u002F2.jobs\u002F4.manage-jobs",{"title":289,"icon":6,"path":290,"stem":291,"children":292},"Webhooks","\u002Fdocs\u002Fcore\u002Foperations\u002Fwebhooks","docs\u002F1.core\u002F7.operations\u002F3.webhooks\u002Findex",[293,294,298,302],{"title":50,"path":290,"stem":291},{"title":295,"path":296,"stem":297},"Send webhooks","\u002Fdocs\u002Fcore\u002Foperations\u002Fwebhooks\u002Fsend-webhooks","docs\u002F1.core\u002F7.operations\u002F3.webhooks\u002F1.send-webhooks",{"title":299,"path":300,"stem":301},"Receive webhooks","\u002Fdocs\u002Fcore\u002Foperations\u002Fwebhooks\u002Freceive-webhooks","docs\u002F1.core\u002F7.operations\u002F3.webhooks\u002F2.receive-webhooks",{"title":303,"path":304,"stem":305},"Rebuild on publish","\u002Fdocs\u002Fcore\u002Foperations\u002Fwebhooks\u002Frebuild-on-publish","docs\u002F1.core\u002F7.operations\u002F3.webhooks\u002F3.rebuild-on-publish",{"title":307,"path":308,"stem":309},"Backup and Restore","\u002Fdocs\u002Fcore\u002Foperations\u002Fbackup-and-restore","docs\u002F1.core\u002F7.operations\u002F4.backup-and-restore",{"title":311,"path":312,"stem":313},"Lifecycle Hooks","\u002Fdocs\u002Fcore\u002Foperations\u002Flifecycle-hooks","docs\u002F1.core\u002F7.operations\u002F5.lifecycle-hooks",{"title":315,"path":316,"stem":317},"Upgrades and Schema Changes","\u002Fdocs\u002Fcore\u002Foperations\u002Fupgrades-and-schema-changes","docs\u002F1.core\u002F7.operations\u002F6.upgrades-and-schema-changes",{"title":319,"icon":6,"path":320,"stem":321,"children":322,"page":6},"Reference","\u002Fdocs\u002Fcore\u002Freference","docs\u002F1.core\u002F8.reference",[323,326,344,348],{"title":28,"path":324,"stem":325},"\u002Fdocs\u002Fcore\u002Freference\u002Fconfiguration","docs\u002F1.core\u002F8.reference\u002F1.configuration",{"title":327,"icon":6,"path":328,"stem":329,"children":330},"API","\u002Fdocs\u002Fcore\u002Freference\u002Fapi","docs\u002F1.core\u002F8.reference\u002F2.api\u002Findex",[331,332,336,340],{"title":50,"path":328,"stem":329},{"title":333,"path":334,"stem":335},"Local API","\u002Fdocs\u002Fcore\u002Freference\u002Fapi\u002Flocal-api","docs\u002F1.core\u002F8.reference\u002F2.api\u002F1.local-api",{"title":337,"path":338,"stem":339},"Client","\u002Fdocs\u002Fcore\u002Freference\u002Fapi\u002Fclient","docs\u002F1.core\u002F8.reference\u002F2.api\u002F2.client",{"title":341,"path":342,"stem":343},"HTTP routes","\u002Fdocs\u002Fcore\u002Freference\u002Fapi\u002Fhttp-routes","docs\u002F1.core\u002F8.reference\u002F2.api\u002F3.http-routes",{"title":345,"path":346,"stem":347},"Errors and types","\u002Fdocs\u002Fcore\u002Freference\u002Ferrors-and-types","docs\u002F1.core\u002F8.reference\u002F3.errors-and-types",{"title":349,"path":350,"stem":351},"Package exports","\u002Fdocs\u002Fcore\u002Freference\u002Fpackage-exports","docs\u002F1.core\u002F8.reference\u002F4.package-exports",{"title":353,"icon":6,"path":354,"stem":355,"children":356,"page":6},"Guide","\u002Fdocs\u002Fguide","docs\u002F2.guide",[357,383,400,417],{"title":358,"icon":6,"path":359,"stem":360,"children":361},"Frameworks","\u002Fdocs\u002Fguide\u002Fframeworks","docs\u002F2.guide\u002F1.frameworks\u002Findex",[362,363,367,371,375,379],{"title":50,"path":359,"stem":360},{"title":364,"path":365,"stem":366},"Astro","\u002Fdocs\u002Fguide\u002Fframeworks\u002Fastro","docs\u002F2.guide\u002F1.frameworks\u002F1.astro",{"title":368,"path":369,"stem":370},"Nuxt","\u002Fdocs\u002Fguide\u002Fframeworks\u002Fnuxt","docs\u002F2.guide\u002F1.frameworks\u002F2.nuxt",{"title":372,"path":373,"stem":374},"TanStack Start","\u002Fdocs\u002Fguide\u002Fframeworks\u002Ftanstack-start","docs\u002F2.guide\u002F1.frameworks\u002F3.tanstack-start",{"title":376,"path":377,"stem":378},"Standalone","\u002Fdocs\u002Fguide\u002Fframeworks\u002Fstandalone","docs\u002F2.guide\u002F1.frameworks\u002F4.standalone",{"title":380,"path":381,"stem":382},"Other Frameworks","\u002Fdocs\u002Fguide\u002Fframeworks\u002Fother-frameworks","docs\u002F2.guide\u002F1.frameworks\u002F5.other-frameworks",{"title":384,"icon":6,"path":385,"stem":386,"children":387},"Deployment","\u002Fdocs\u002Fguide\u002Fdeployment","docs\u002F2.guide\u002F2.deployment\u002Findex",[388,389,393,397],{"title":50,"path":385,"stem":386},{"title":390,"path":391,"stem":392},"Node","\u002Fdocs\u002Fguide\u002Fdeployment\u002Fnode","docs\u002F2.guide\u002F2.deployment\u002F1.node",{"title":394,"path":395,"stem":396},"Vercel","\u002Fdocs\u002Fguide\u002Fdeployment\u002Fvercel","docs\u002F2.guide\u002F2.deployment\u002F2.vercel",{"title":259,"path":398,"stem":399},"\u002Fdocs\u002Fguide\u002Fdeployment\u002Fcloudflare","docs\u002F2.guide\u002F2.deployment\u002F3.cloudflare",{"title":401,"icon":6,"path":402,"stem":403,"children":404,"page":6},"Databases and Storage","\u002Fdocs\u002Fguide\u002Fdatabases-and-storage","docs\u002F2.guide\u002F3.databases-and-storage",[405,409,413],{"title":406,"path":407,"stem":408},"Databases","\u002Fdocs\u002Fguide\u002Fdatabases-and-storage\u002Fdatabases","docs\u002F2.guide\u002F3.databases-and-storage\u002F1.databases",{"title":410,"path":411,"stem":412},"Media Storage","\u002Fdocs\u002Fguide\u002Fdatabases-and-storage\u002Fmedia-storage","docs\u002F2.guide\u002F3.databases-and-storage\u002F2.media-storage",{"title":414,"path":415,"stem":416},"Image Providers","\u002Fdocs\u002Fguide\u002Fdatabases-and-storage\u002Fimage-providers","docs\u002F2.guide\u002F3.databases-and-storage\u002F3.image-providers",{"title":418,"icon":6,"path":419,"stem":420,"children":421,"page":6},"Recipes","\u002Fdocs\u002Fguide\u002Frecipes","docs\u002F2.guide\u002F4.recipes",[422,426,430,434,438,442],{"title":423,"path":424,"stem":425},"Seed Content","\u002Fdocs\u002Fguide\u002Frecipes\u002Fseed-content","docs\u002F2.guide\u002F4.recipes\u002F1.seed-content",{"title":427,"path":428,"stem":429},"Tracking and Consent","\u002Fdocs\u002Fguide\u002Frecipes\u002Ftracking-and-consent","docs\u002F2.guide\u002F4.recipes\u002F2.tracking-and-consent",{"title":431,"path":432,"stem":433},"Build a Custom Field","\u002Fdocs\u002Fguide\u002Frecipes\u002Fbuild-a-custom-field","docs\u002F2.guide\u002F4.recipes\u002F3.build-a-custom-field",{"title":435,"path":436,"stem":437},"Write a Plugin","\u002Fdocs\u002Fguide\u002Frecipes\u002Fwrite-a-plugin","docs\u002F2.guide\u002F4.recipes\u002F4.write-a-plugin",{"title":439,"path":440,"stem":441},"Build a Headless Site with Next.js","\u002Fdocs\u002Fguide\u002Frecipes\u002Fbuild-a-headless-site-with-nextjs","docs\u002F2.guide\u002F4.recipes\u002F5.build-a-headless-site-with-nextjs",{"title":443,"path":444,"stem":445},"Troubleshooting","\u002Fdocs\u002Fguide\u002Frecipes\u002Ftroubleshooting","docs\u002F2.guide\u002F4.recipes\u002F6.troubleshooting",{"title":447,"icon":6,"path":448,"stem":449,"children":450,"page":6},"CLI","\u002Fdocs\u002Fcli","docs\u002F3.cli",[451,454,458,462,466,470,474],{"title":50,"path":452,"stem":453},"\u002Fdocs\u002Fcli\u002Foverview","docs\u002F3.cli\u002F1.overview",{"title":455,"path":456,"stem":457},"create-tenoncms","\u002Fdocs\u002Fcli\u002Fcreate-tenoncms","docs\u002F3.cli\u002F2.create-tenoncms",{"title":459,"path":460,"stem":461},"tenon backup","\u002Fdocs\u002Fcli\u002Fbackup","docs\u002F3.cli\u002F3.backup",{"title":463,"path":464,"stem":465},"tenon users","\u002Fdocs\u002Fcli\u002Fusers","docs\u002F3.cli\u002F4.users",{"title":467,"path":468,"stem":469},"tenon media","\u002Fdocs\u002Fcli\u002Fmedia","docs\u002F3.cli\u002F5.media",{"title":471,"path":472,"stem":473},"tenon upgrade","\u002Fdocs\u002Fcli\u002Fupgrade","docs\u002F3.cli\u002F6.upgrade",{"title":475,"path":476,"stem":477},"tenon login","\u002Fdocs\u002Fcli\u002Flogin","docs\u002F3.cli\u002F7.login",{"id":479,"title":96,"body":480,"description":1712,"extension":1713,"links":1714,"meta":1715,"navigation":957,"path":97,"seo":1716,"stem":98,"__hash__":1717},"docs\u002Fdocs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F12.select.md",{"type":481,"value":482,"toc":1704},"minimark",[483,487,492,817,821,872,889,894,1478,1481,1485,1495,1498,1508,1512,1517,1584,1660,1663,1666,1670,1697,1700],[484,485],"field-preview",{"name":486},"select",[488,489,491],"h2",{"id":490},"example","Example",[493,494,500],"pre",{"className":495,"code":496,"filename":497,"language":498,"meta":499,"style":499},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export const posts = defineCollection({\n  fields: {\n    category: { type: \"select\", options: [\"news\", \"guide\"], required: true },\n    tags: { type: \"select\", options: [\"vue\", \"react\", \"astro\"], many: true },\n    color: {\n      type: \"select\",\n      options: [\n        { value: \"brand\", label: \"Brand color\" },\n        { value: \"muted\", label: \"Muted\" },\n      ],\n    },\n  },\n});\n","cms\u002Fcollections\u002Fposts.ts","ts","",[501,502,503,534,547,616,682,692,709,720,754,785,793,799,805],"code",{"__ignoreMap":499},[504,505,508,512,516,520,524,528,531],"span",{"class":506,"line":507},"line",1,[504,509,511],{"class":510},"s7zQu","export",[504,513,515],{"class":514},"spNyl"," const",[504,517,519],{"class":518},"sTEyZ"," posts ",[504,521,523],{"class":522},"sMK4o","=",[504,525,527],{"class":526},"s2Zo4"," defineCollection",[504,529,530],{"class":518},"(",[504,532,533],{"class":522},"{\n",[504,535,537,541,544],{"class":506,"line":536},2,[504,538,540],{"class":539},"swJcz","  fields",[504,542,543],{"class":522},":",[504,545,546],{"class":522}," {\n",[504,548,550,553,555,558,561,563,566,569,572,575,578,580,583,585,588,590,592,594,597,599,602,604,607,609,613],{"class":506,"line":549},3,[504,551,552],{"class":539},"    category",[504,554,543],{"class":522},[504,556,557],{"class":522}," {",[504,559,560],{"class":539}," type",[504,562,543],{"class":522},[504,564,565],{"class":522}," \"",[504,567,486],{"class":568},"sfazB",[504,570,571],{"class":522},"\"",[504,573,574],{"class":522},",",[504,576,577],{"class":539}," options",[504,579,543],{"class":522},[504,581,582],{"class":518}," [",[504,584,571],{"class":522},[504,586,587],{"class":568},"news",[504,589,571],{"class":522},[504,591,574],{"class":522},[504,593,565],{"class":522},[504,595,596],{"class":568},"guide",[504,598,571],{"class":522},[504,600,601],{"class":518},"]",[504,603,574],{"class":522},[504,605,606],{"class":539}," required",[504,608,543],{"class":522},[504,610,612],{"class":611},"sfNiH"," true",[504,614,615],{"class":522}," },\n",[504,617,619,622,624,626,628,630,632,634,636,638,640,642,644,646,649,651,653,655,658,660,662,664,667,669,671,673,676,678,680],{"class":506,"line":618},4,[504,620,621],{"class":539},"    tags",[504,623,543],{"class":522},[504,625,557],{"class":522},[504,627,560],{"class":539},[504,629,543],{"class":522},[504,631,565],{"class":522},[504,633,486],{"class":568},[504,635,571],{"class":522},[504,637,574],{"class":522},[504,639,577],{"class":539},[504,641,543],{"class":522},[504,643,582],{"class":518},[504,645,571],{"class":522},[504,647,648],{"class":568},"vue",[504,650,571],{"class":522},[504,652,574],{"class":522},[504,654,565],{"class":522},[504,656,657],{"class":568},"react",[504,659,571],{"class":522},[504,661,574],{"class":522},[504,663,565],{"class":522},[504,665,666],{"class":568},"astro",[504,668,571],{"class":522},[504,670,601],{"class":518},[504,672,574],{"class":522},[504,674,675],{"class":539}," many",[504,677,543],{"class":522},[504,679,612],{"class":611},[504,681,615],{"class":522},[504,683,685,688,690],{"class":506,"line":684},5,[504,686,687],{"class":539},"    color",[504,689,543],{"class":522},[504,691,546],{"class":522},[504,693,695,698,700,702,704,706],{"class":506,"line":694},6,[504,696,697],{"class":539},"      type",[504,699,543],{"class":522},[504,701,565],{"class":522},[504,703,486],{"class":568},[504,705,571],{"class":522},[504,707,708],{"class":522},",\n",[504,710,712,715,717],{"class":506,"line":711},7,[504,713,714],{"class":539},"      options",[504,716,543],{"class":522},[504,718,719],{"class":518}," [\n",[504,721,723,726,729,731,733,736,738,740,743,745,747,750,752],{"class":506,"line":722},8,[504,724,725],{"class":522},"        {",[504,727,728],{"class":539}," value",[504,730,543],{"class":522},[504,732,565],{"class":522},[504,734,735],{"class":568},"brand",[504,737,571],{"class":522},[504,739,574],{"class":522},[504,741,742],{"class":539}," label",[504,744,543],{"class":522},[504,746,565],{"class":522},[504,748,749],{"class":568},"Brand color",[504,751,571],{"class":522},[504,753,615],{"class":522},[504,755,757,759,761,763,765,768,770,772,774,776,778,781,783],{"class":506,"line":756},9,[504,758,725],{"class":522},[504,760,728],{"class":539},[504,762,543],{"class":522},[504,764,565],{"class":522},[504,766,767],{"class":568},"muted",[504,769,571],{"class":522},[504,771,574],{"class":522},[504,773,742],{"class":539},[504,775,543],{"class":522},[504,777,565],{"class":522},[504,779,780],{"class":568},"Muted",[504,782,571],{"class":522},[504,784,615],{"class":522},[504,786,788,791],{"class":506,"line":787},10,[504,789,790],{"class":518},"      ]",[504,792,708],{"class":522},[504,794,796],{"class":506,"line":795},11,[504,797,798],{"class":522},"    },\n",[504,800,802],{"class":506,"line":801},12,[504,803,804],{"class":522},"  },\n",[504,806,808,811,814],{"class":506,"line":807},13,[504,809,810],{"class":522},"}",[504,812,813],{"class":518},")",[504,815,816],{"class":522},";\n",[818,819,820],"p",{},"The type of a read is the union of the values:",[493,822,824],{"className":495,"code":823,"language":498,"meta":499,"style":499},"post.category; \u002F\u002F \"news\" | \"guide\"\npost.tags; \u002F\u002F (\"vue\" | \"react\" | \"astro\")[] | null | undefined\npost.color; \u002F\u002F \"brand\" | \"muted\" | null | undefined\n",[501,825,826,844,858],{"__ignoreMap":499},[504,827,828,831,834,837,840],{"class":506,"line":507},[504,829,830],{"class":518},"post",[504,832,833],{"class":522},".",[504,835,836],{"class":518},"category",[504,838,839],{"class":522},";",[504,841,843],{"class":842},"sHwdD"," \u002F\u002F \"news\" | \"guide\"\n",[504,845,846,848,850,853,855],{"class":506,"line":536},[504,847,830],{"class":518},[504,849,833],{"class":522},[504,851,852],{"class":518},"tags",[504,854,839],{"class":522},[504,856,857],{"class":842}," \u002F\u002F (\"vue\" | \"react\" | \"astro\")[] | null | undefined\n",[504,859,860,862,864,867,869],{"class":506,"line":549},[504,861,830],{"class":518},[504,863,833],{"class":522},[504,865,866],{"class":518},"color",[504,868,839],{"class":522},[504,870,871],{"class":842}," \u002F\u002F \"brand\" | \"muted\" | null | undefined\n",[873,874,875,883],"ul",{},[876,877,878,879,882],"li",{},"An option is a string, or ",[501,880,881],{},"{ value, label }"," when the label in the admin should differ from the stored value.",[876,884,885,886,833],{},"A label can be translated: ",[501,887,888],{},"{ value: \"brand\", label: { en: \"Brand color\", de: \"Markenfarbe\" } }",[890,891,893],"h3",{"id":892},"render-it","Render it",[895,896,898,1103,1299],"code-group",{"sync":897},"framework",[493,899,902],{"className":900,"code":901,"filename":364,"language":666,"meta":499,"style":499},"language-astro shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","---\nconst categories = { news: \"News\", guide: \"Guide\" };\n---\n\n\u003Carticle class={`category-${post.category}`}>\n  \u003Cspan>{categories[post.category]}\u003C\u002Fspan>\n  \u003Cul>\n    {post.tags?.map((tag) => \u003Cli>#{tag}\u003C\u002Fli>)}\n  \u003C\u002Ful>\n\u003C\u002Farticle>\n",[501,903,904,909,949,953,959,994,1020,1028,1085,1094],{"__ignoreMap":499},[504,905,906],{"class":506,"line":507},[504,907,908],{"class":842},"---\n",[504,910,911,914,917,919,921,924,926,928,931,933,935,938,940,942,944,946],{"class":506,"line":536},[504,912,913],{"class":514},"const",[504,915,916],{"class":518}," categories ",[504,918,523],{"class":522},[504,920,557],{"class":522},[504,922,923],{"class":539}," news",[504,925,543],{"class":522},[504,927,565],{"class":522},[504,929,930],{"class":568},"News",[504,932,571],{"class":522},[504,934,574],{"class":522},[504,936,937],{"class":539}," guide",[504,939,543],{"class":522},[504,941,565],{"class":522},[504,943,353],{"class":568},[504,945,571],{"class":522},[504,947,948],{"class":522}," };\n",[504,950,951],{"class":506,"line":549},[504,952,908],{"class":842},[504,954,955],{"class":506,"line":618},[504,956,958],{"emptyLinePlaceholder":957},true,"\n",[504,960,961,964,967,970,973,976,979,982,984,986,988,991],{"class":506,"line":684},[504,962,963],{"class":522},"\u003C",[504,965,966],{"class":539},"article",[504,968,969],{"class":514}," class",[504,971,972],{"class":522},"={",[504,974,975],{"class":522},"`",[504,977,978],{"class":568},"category-",[504,980,981],{"class":522},"${",[504,983,830],{"class":518},[504,985,833],{"class":522},[504,987,836],{"class":518},[504,989,990],{"class":522},"}`",[504,992,993],{"class":522},"}>\n",[504,995,996,999,1001,1004,1007,1009,1012,1015,1017],{"class":506,"line":694},[504,997,998],{"class":522},"  \u003C",[504,1000,504],{"class":539},[504,1002,1003],{"class":522},">{",[504,1005,1006],{"class":518},"categories[post",[504,1008,833],{"class":522},[504,1010,1011],{"class":518},"category]",[504,1013,1014],{"class":522},"}\u003C\u002F",[504,1016,504],{"class":539},[504,1018,1019],{"class":522},">\n",[504,1021,1022,1024,1026],{"class":506,"line":711},[504,1023,998],{"class":522},[504,1025,873],{"class":539},[504,1027,1019],{"class":522},[504,1029,1030,1033,1035,1037,1039,1042,1045,1047,1049,1053,1055,1058,1061,1063,1066,1069,1072,1074,1076,1078,1080,1082],{"class":506,"line":722},[504,1031,1032],{"class":522},"    {",[504,1034,830],{"class":518},[504,1036,833],{"class":522},[504,1038,852],{"class":518},[504,1040,1041],{"class":522},"?.",[504,1043,1044],{"class":526},"map",[504,1046,530],{"class":518},[504,1048,530],{"class":522},[504,1050,1052],{"class":1051},"sHdIc","tag",[504,1054,813],{"class":522},[504,1056,1057],{"class":514}," =>",[504,1059,1060],{"class":522}," \u003C",[504,1062,876],{"class":539},[504,1064,1065],{"class":522},">",[504,1067,1068],{"class":518},"#",[504,1070,1071],{"class":522},"{",[504,1073,1052],{"class":518},[504,1075,1014],{"class":522},[504,1077,876],{"class":539},[504,1079,1065],{"class":522},[504,1081,813],{"class":518},[504,1083,1084],{"class":522},"}\n",[504,1086,1087,1090,1092],{"class":506,"line":756},[504,1088,1089],{"class":522},"  \u003C\u002F",[504,1091,873],{"class":539},[504,1093,1019],{"class":522},[504,1095,1096,1099,1101],{"class":506,"line":787},[504,1097,1098],{"class":522},"\u003C\u002F",[504,1100,966],{"class":539},[504,1102,1019],{"class":522},[493,1104,1107],{"className":1105,"code":1106,"filename":368,"language":648,"meta":499,"style":499},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup lang=\"ts\">\nconst categories = { news: \"News\", guide: \"Guide\" };\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Carticle :class=\"`category-${post.category}`\">\n    \u003Cspan>{{ categories[post.category] }}\u003C\u002Fspan>\n    \u003Cul>\n      \u003Cli v-for=\"tag in post.tags\" :key=\"tag\">#{{ tag }}\u003C\u002Fli>\n    \u003C\u002Ful>\n  \u003C\u002Farticle>\n\u003C\u002Ftemplate>\n",[501,1108,1109,1132,1166,1174,1178,1187,1207,1225,1233,1274,1283,1291],{"__ignoreMap":499},[504,1110,1111,1113,1116,1119,1122,1124,1126,1128,1130],{"class":506,"line":507},[504,1112,963],{"class":522},[504,1114,1115],{"class":539},"script",[504,1117,1118],{"class":514}," setup",[504,1120,1121],{"class":514}," lang",[504,1123,523],{"class":522},[504,1125,571],{"class":522},[504,1127,498],{"class":568},[504,1129,571],{"class":522},[504,1131,1019],{"class":522},[504,1133,1134,1136,1138,1140,1142,1144,1146,1148,1150,1152,1154,1156,1158,1160,1162,1164],{"class":506,"line":536},[504,1135,913],{"class":514},[504,1137,916],{"class":518},[504,1139,523],{"class":522},[504,1141,557],{"class":522},[504,1143,923],{"class":539},[504,1145,543],{"class":522},[504,1147,565],{"class":522},[504,1149,930],{"class":568},[504,1151,571],{"class":522},[504,1153,574],{"class":522},[504,1155,937],{"class":539},[504,1157,543],{"class":522},[504,1159,565],{"class":522},[504,1161,353],{"class":568},[504,1163,571],{"class":522},[504,1165,948],{"class":522},[504,1167,1168,1170,1172],{"class":506,"line":549},[504,1169,1098],{"class":522},[504,1171,1115],{"class":539},[504,1173,1019],{"class":522},[504,1175,1176],{"class":506,"line":618},[504,1177,958],{"emptyLinePlaceholder":957},[504,1179,1180,1182,1185],{"class":506,"line":684},[504,1181,963],{"class":522},[504,1183,1184],{"class":539},"template",[504,1186,1019],{"class":522},[504,1188,1189,1191,1193,1196,1198,1200,1203,1205],{"class":506,"line":694},[504,1190,998],{"class":522},[504,1192,966],{"class":539},[504,1194,1195],{"class":514}," :class",[504,1197,523],{"class":522},[504,1199,571],{"class":522},[504,1201,1202],{"class":568},"`category-${post.category}`",[504,1204,571],{"class":522},[504,1206,1019],{"class":522},[504,1208,1209,1212,1214,1216,1219,1221,1223],{"class":506,"line":711},[504,1210,1211],{"class":522},"    \u003C",[504,1213,504],{"class":539},[504,1215,1065],{"class":522},[504,1217,1218],{"class":518},"{{ categories[post.category] }}",[504,1220,1098],{"class":522},[504,1222,504],{"class":539},[504,1224,1019],{"class":522},[504,1226,1227,1229,1231],{"class":506,"line":722},[504,1228,1211],{"class":522},[504,1230,873],{"class":539},[504,1232,1019],{"class":522},[504,1234,1235,1238,1240,1243,1245,1247,1250,1252,1255,1257,1259,1261,1263,1265,1268,1270,1272],{"class":506,"line":756},[504,1236,1237],{"class":522},"      \u003C",[504,1239,876],{"class":539},[504,1241,1242],{"class":514}," v-for",[504,1244,523],{"class":522},[504,1246,571],{"class":522},[504,1248,1249],{"class":568},"tag in post.tags",[504,1251,571],{"class":522},[504,1253,1254],{"class":514}," :key",[504,1256,523],{"class":522},[504,1258,571],{"class":522},[504,1260,1052],{"class":568},[504,1262,571],{"class":522},[504,1264,1065],{"class":522},[504,1266,1267],{"class":518},"#{{ tag }}",[504,1269,1098],{"class":522},[504,1271,876],{"class":539},[504,1273,1019],{"class":522},[504,1275,1276,1279,1281],{"class":506,"line":787},[504,1277,1278],{"class":522},"    \u003C\u002F",[504,1280,873],{"class":539},[504,1282,1019],{"class":522},[504,1284,1285,1287,1289],{"class":506,"line":795},[504,1286,1089],{"class":522},[504,1288,966],{"class":539},[504,1290,1019],{"class":522},[504,1292,1293,1295,1297],{"class":506,"line":801},[504,1294,1098],{"class":522},[504,1296,1184],{"class":539},[504,1298,1019],{"class":522},[493,1300,1304],{"className":1301,"code":1302,"filename":372,"language":1303,"meta":499,"style":499},"language-tsx shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","const categories = { news: \"News\", guide: \"Guide\" };\n\n\u003Carticle className={`category-${post.category}`}>\n  \u003Cspan>{categories[post.category]}\u003C\u002Fspan>\n  \u003Cul>\n    {post.tags?.map((tag) => (\n      \u003Cli key={tag}>#{tag}\u003C\u002Fli>\n    ))}\n  \u003C\u002Ful>\n\u003C\u002Farticle>;\n","tsx",[501,1305,1306,1340,1344,1371,1391,1399,1426,1454,1461,1469],{"__ignoreMap":499},[504,1307,1308,1310,1312,1314,1316,1318,1320,1322,1324,1326,1328,1330,1332,1334,1336,1338],{"class":506,"line":507},[504,1309,913],{"class":514},[504,1311,916],{"class":518},[504,1313,523],{"class":522},[504,1315,557],{"class":522},[504,1317,923],{"class":539},[504,1319,543],{"class":522},[504,1321,565],{"class":522},[504,1323,930],{"class":568},[504,1325,571],{"class":522},[504,1327,574],{"class":522},[504,1329,937],{"class":539},[504,1331,543],{"class":522},[504,1333,565],{"class":522},[504,1335,353],{"class":568},[504,1337,571],{"class":522},[504,1339,948],{"class":522},[504,1341,1342],{"class":506,"line":536},[504,1343,958],{"emptyLinePlaceholder":957},[504,1345,1346,1348,1350,1353,1355,1357,1359,1361,1363,1365,1367,1369],{"class":506,"line":549},[504,1347,963],{"class":522},[504,1349,966],{"class":539},[504,1351,1352],{"class":514}," className",[504,1354,972],{"class":522},[504,1356,975],{"class":522},[504,1358,978],{"class":568},[504,1360,981],{"class":522},[504,1362,830],{"class":518},[504,1364,833],{"class":522},[504,1366,836],{"class":518},[504,1368,990],{"class":522},[504,1370,993],{"class":522},[504,1372,1373,1375,1377,1379,1381,1383,1385,1387,1389],{"class":506,"line":618},[504,1374,998],{"class":522},[504,1376,504],{"class":539},[504,1378,1003],{"class":522},[504,1380,1006],{"class":518},[504,1382,833],{"class":522},[504,1384,1011],{"class":518},[504,1386,1014],{"class":522},[504,1388,504],{"class":539},[504,1390,1019],{"class":522},[504,1392,1393,1395,1397],{"class":506,"line":684},[504,1394,998],{"class":522},[504,1396,873],{"class":539},[504,1398,1019],{"class":522},[504,1400,1401,1403,1405,1407,1409,1411,1413,1415,1417,1419,1421,1423],{"class":506,"line":694},[504,1402,1032],{"class":522},[504,1404,830],{"class":518},[504,1406,833],{"class":522},[504,1408,852],{"class":518},[504,1410,1041],{"class":522},[504,1412,1044],{"class":526},[504,1414,530],{"class":518},[504,1416,530],{"class":522},[504,1418,1052],{"class":1051},[504,1420,813],{"class":522},[504,1422,1057],{"class":514},[504,1424,1425],{"class":518}," (\n",[504,1427,1428,1430,1432,1435,1437,1439,1442,1444,1446,1448,1450,1452],{"class":506,"line":711},[504,1429,1237],{"class":522},[504,1431,876],{"class":539},[504,1433,1434],{"class":514}," key",[504,1436,972],{"class":522},[504,1438,1052],{"class":518},[504,1440,1441],{"class":522},"}>",[504,1443,1068],{"class":518},[504,1445,1071],{"class":522},[504,1447,1052],{"class":518},[504,1449,1014],{"class":522},[504,1451,876],{"class":539},[504,1453,1019],{"class":522},[504,1455,1456,1459],{"class":506,"line":722},[504,1457,1458],{"class":518},"    ))",[504,1460,1084],{"class":522},[504,1462,1463,1465,1467],{"class":506,"line":756},[504,1464,1089],{"class":522},[504,1466,873],{"class":539},[504,1468,1019],{"class":522},[504,1470,1471,1473,1475],{"class":506,"line":787},[504,1472,1098],{"class":522},[504,1474,966],{"class":539},[504,1476,1477],{"class":522},">;\n",[818,1479,1480],{},"A read returns the stored value, not the label. Map it to a label in your site, as above. Because the type is a union, TypeScript checks that the map covers every value.",[488,1482,1484],{"id":1483},"many-values","Many values",[818,1486,1487,1490,1491,1494],{},[501,1488,1489],{},"many: true"," stores a list of distinct values. With ",[501,1492,1493],{},"required",", the list needs at least one value:",[484,1496],{"name":1497},"select-many",[818,1499,1500,1501,1504,1505,833],{},"A ",[501,1502,1503],{},"many"," select cannot be filtered and cannot be ",[501,1506,1507],{},"unique",[488,1509,1511],{"id":1510},"appearance","Appearance",[818,1513,1514,1516],{},[501,1515,1510],{}," picks the input in the admin:",[1518,1519,1520,1535],"table",{},[1521,1522,1523],"thead",{},[1524,1525,1526,1529,1532],"tr",{},[1527,1528,1511],"th",{},[1527,1530,1531],{},"Input",[1527,1533,1534],{},"Fits",[1536,1537,1538,1556,1571],"tbody",{},[1524,1539,1540,1547,1553],{},[1541,1542,1543,1546],"td",{},[501,1544,1545],{},"\"dropdown\""," (default)",[1541,1548,1549,1550,1552],{},"A menu. With ",[501,1551,1503],{},", a combobox with chips",[1541,1554,1555],{},"Many options",[1524,1557,1558,1563,1568],{},[1541,1559,1560],{},[501,1561,1562],{},"\"list\"",[1541,1564,1565,1566],{},"Radio buttons, or checkboxes with ",[501,1567,1503],{},[1541,1569,1570],{},"A few options",[1524,1572,1573,1578,1581],{},[1541,1574,1575],{},[501,1576,1577],{},"\"buttons\"",[1541,1579,1580],{},"A row of toggle buttons",[1541,1582,1583],{},"Two to five short options",[493,1585,1587],{"className":495,"code":1586,"language":498,"meta":499,"style":499},"align: { type: \"select\", options: [\"left\", \"center\", \"right\"], appearance: \"buttons\" },\n",[501,1588,1589],{"__ignoreMap":499},[504,1590,1591,1595,1597,1599,1601,1603,1605,1607,1609,1611,1613,1615,1617,1619,1622,1624,1626,1628,1631,1633,1635,1637,1640,1642,1644,1646,1649,1651,1653,1656,1658],{"class":506,"line":507},[504,1592,1594],{"class":1593},"sBMFI","align",[504,1596,543],{"class":522},[504,1598,557],{"class":522},[504,1600,560],{"class":1593},[504,1602,543],{"class":522},[504,1604,565],{"class":522},[504,1606,486],{"class":568},[504,1608,571],{"class":522},[504,1610,574],{"class":522},[504,1612,577],{"class":1593},[504,1614,543],{"class":522},[504,1616,582],{"class":539},[504,1618,571],{"class":522},[504,1620,1621],{"class":568},"left",[504,1623,571],{"class":522},[504,1625,574],{"class":522},[504,1627,565],{"class":522},[504,1629,1630],{"class":568},"center",[504,1632,571],{"class":522},[504,1634,574],{"class":522},[504,1636,565],{"class":522},[504,1638,1639],{"class":568},"right",[504,1641,571],{"class":522},[504,1643,601],{"class":539},[504,1645,574],{"class":522},[504,1647,1648],{"class":1593}," appearance",[504,1650,543],{"class":522},[504,1652,565],{"class":522},[504,1654,1655],{"class":568},"buttons",[504,1657,571],{"class":522},[504,1659,615],{"class":522},[484,1661],{"name":1662},"select-buttons",[484,1664],{"name":1665},"select-list",[488,1667,1669],{"id":1668},"options","Options",[1671,1672,1673,1679,1683,1690],"field-group",{},[1674,1675],"field",{"name":1676,"type":1677,":required":1678},"type","\"select\"","true",[1674,1680,1682],{"name":1668,"type":1681,":required":1678},"(string | { value, label })[]","The allowed values.",[1674,1684,1686,1687,833],{"name":1503,"type":1685},"boolean","Store a list of values instead of one. Default ",[501,1688,1689],{},"false",[1674,1691,1694,1695,833],{"name":1510,"type":1692,":badges":1693},"\"dropdown\" | \"list\" | \"buttons\"","[{\"label\":\"Admin only\",\"color\":\"note\"}]","The input in the admin. Default ",[501,1696,1545],{},[1698,1699],"field-common-options",{},[1701,1702,1703],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}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);}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":499,"searchDepth":536,"depth":536,"links":1705},[1706,1709,1710,1711],{"id":490,"depth":536,"text":491,"children":1707},[1708],{"id":892,"depth":549,"text":893},{"id":1483,"depth":536,"text":1484},{"id":1510,"depth":536,"text":1511},{"id":1668,"depth":536,"text":1669},"One or more values from a fixed list of options.","md",null,{},{"title":96,"description":1712},"SYac-xipiNT4LdhBCYyDIbp3gZTw40VNAoOfX8LDsv4",[1719,1721],{"title":92,"path":93,"stem":94,"description":1720,"children":-1},"Formatted text with headings, lists, links and images.",{"title":100,"path":101,"stem":102,"description":1722,"children":-1},"A number with a CSS unit, for spacing and widths that editors set.",{"data":1724,"body":1725},{},{"type":1726,"children":1727},"root",[1728],{"type":1729,"tag":818,"props":1730,"children":1731},"element",{},[1732],{"type":1733,"value":1734},"text","The label in the admin. Defaults to the key. Pass an object to translate it.",{"data":1736,"body":1737},{},{"type":1726,"children":1738},[1739],{"type":1729,"tag":818,"props":1740,"children":1741},{},[1742],{"type":1733,"value":1743},"Help text below the input.",{"data":1745,"body":1746},{},{"type":1726,"children":1747},[1748],{"type":1729,"tag":818,"props":1749,"children":1750},{},[1751],{"type":1733,"value":1752},"The value MUST be present. A list needs at least one item.",{"data":1754,"body":1755},{},{"type":1726,"children":1756},[1757],{"type":1729,"tag":818,"props":1758,"children":1759},{},[1760,1762,1768],{"type":1733,"value":1761},"The value of a new document, when the field is missing. A plain value also fills the new form in the admin. A function, like ",{"type":1729,"tag":501,"props":1763,"children":1765},{"className":1764},[],[1766],{"type":1733,"value":1767},"({ user }) => user?.id",{"type":1733,"value":1769},", runs on the server only.",{"data":1771,"body":1772},{},{"type":1726,"children":1773},[1774],{"type":1729,"tag":818,"props":1775,"children":1776},{},[1777,1779,1786],{"type":1733,"value":1778},"No other document of the collection has the same value. See ",{"type":1729,"tag":1780,"props":1781,"children":1783},"a",{"href":1782},"\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields#validation",[1784],{"type":1733,"value":1785},"Validation",{"type":1733,"value":833},{"data":1788,"body":1789},{},{"type":1726,"children":1790},[1791],{"type":1729,"tag":818,"props":1792,"children":1793},{},[1794,1796,1802],{"type":1733,"value":1795},"Your own check. See ",{"type":1729,"tag":1780,"props":1797,"children":1799},{"href":1798},"\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields#your-own-checks",[1800],{"type":1733,"value":1801},"Your own checks",{"type":1733,"value":833},{"data":1804,"body":1805},{},{"type":1726,"children":1806},[1807],{"type":1729,"tag":818,"props":1808,"children":1809},{},[1810,1812,1818],{"type":1733,"value":1811},"Show the field only when other values match. See ",{"type":1729,"tag":1780,"props":1813,"children":1815},{"href":1814},"\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields#conditions",[1816],{"type":1733,"value":1817},"Conditions",{"type":1733,"value":833},{"data":1820,"body":1821},{},{"type":1726,"children":1822},[1823],{"type":1729,"tag":818,"props":1824,"children":1825},{},[1826],{"type":1733,"value":1827},"Public reads leave the value out. Signed-in users and server code see it.",{"data":1829,"body":1830},{},{"type":1726,"children":1831},[1832],{"type":1729,"tag":818,"props":1833,"children":1834},{},[1835,1837,1842],{"type":1733,"value":1836},"Who can read and write this field. See ",{"type":1729,"tag":1780,"props":1838,"children":1839},{"href":206},[1840],{"type":1733,"value":1841},"Access control",{"type":1733,"value":833},{"data":1844,"body":1845},{},{"type":1726,"children":1846},[1847],{"type":1729,"tag":818,"props":1848,"children":1849},{},[1850,1852,1857,1859,1863],{"type":1733,"value":1851},"In a localized collection, every field is stored per language. ",{"type":1729,"tag":501,"props":1853,"children":1855},{"className":1854},[],[1856],{"type":1733,"value":1689},{"type":1733,"value":1858}," shares this field between languages. Only on top-level fields. See ",{"type":1729,"tag":1780,"props":1860,"children":1861},{"href":168},[1862],{"type":1733,"value":167},{"type":1733,"value":833},{"data":1865,"body":1866},{},{"type":1726,"children":1867},[1868],{"type":1729,"tag":818,"props":1869,"children":1870},{},[1871,1873,1877],{"type":1733,"value":1872},"Functions that run for this field on every write and read, before the collection's hooks. See ",{"type":1729,"tag":1780,"props":1874,"children":1875},{"href":172},[1876],{"type":1733,"value":171},{"type":1733,"value":833},{"data":1879,"body":1880},{},{"type":1726,"children":1881},[1882],{"type":1729,"tag":818,"props":1883,"children":1884},{},[1885],{"type":1733,"value":1886},"The admin does not show the input. The value still saves. Use it for values a hook sets.",{"data":1888,"body":1889},{},{"type":1726,"children":1890},[1891],{"type":1729,"tag":818,"props":1892,"children":1893},{},[1894],{"type":1733,"value":1895},"The admin shows the input disabled. Code and hooks can still write it.",{"data":1897,"body":1898},{},{"type":1726,"children":1899},[1900],{"type":1729,"tag":818,"props":1901,"children":1902},{},[1903,1905,1911],{"type":1733,"value":1904},"The share of the row the field takes. Fields next to each other fill a row. In a narrow form, every field takes the full width. Default ",{"type":1729,"tag":501,"props":1906,"children":1908},{"className":1907},[],[1909],{"type":1733,"value":1910},"\"full\"",{"type":1733,"value":833},{"data":1913,"body":1914},{},{"type":1726,"children":1915},[1916],{"type":1729,"tag":818,"props":1917,"children":1918},{},[1919],{"type":1733,"value":1920},"A line above the field, to break up a long form. A string adds a heading above the line.",{"data":1922,"body":1923},{},{"type":1726,"children":1924},[1925],{"type":1729,"tag":818,"props":1926,"children":1927},{},[1928,1930,1936],{"type":1733,"value":1929},"The tab that shows this field. Define the tabs with ",{"type":1729,"tag":501,"props":1931,"children":1933},{"className":1932},[],[1934],{"type":1733,"value":1935},"tabs",{"type":1733,"value":1937}," on the collection, global, group or list item.",{"data":1939,"body":1940},{},{"type":1726,"children":1941},[1942],{"type":1729,"tag":818,"props":1943,"children":1944},{},[1945,1947,1953],{"type":1733,"value":1946},"The box that holds this field. Define the boxes with ",{"type":1729,"tag":501,"props":1948,"children":1950},{"className":1949},[],[1951],{"type":1733,"value":1952},"fieldsets",{"type":1733,"value":833},1795884717357]