[{"data":1,"prerenderedAt":1585},["ShallowReactive",2],{"navigation_docs":3,"-guide-content-fields":613,"-guide-content-fields-surround":1582},[4,39,101,378,540,562,584,606],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":38},"Start","i-lucide-rocket","\u002Fstart","1.start",[10,14,18,22,26,30,34],{"title":11,"path":12,"stem":13},"Our approach","\u002Fstart\u002Four-approach","1.start\u002F0.our-approach",{"title":15,"path":16,"stem":17},"Introduction","\u002Fstart\u002Fintroduction","1.start\u002F1.introduction",{"title":19,"path":20,"stem":21},"Concepts","\u002Fstart\u002Fconcepts","1.start\u002F2.concepts",{"title":23,"path":24,"stem":25},"Glossary","\u002Fstart\u002Fglossary","1.start\u002F3.glossary",{"title":27,"path":28,"stem":29},"Try it locally","\u002Fstart\u002Ftry-it-locally","1.start\u002F4.try-it-locally",{"title":31,"path":32,"stem":33},"Features","\u002Fstart\u002Ffeatures","1.start\u002F5.features",{"title":35,"path":36,"stem":37},"Questions","\u002Fstart\u002Ffaq","1.start\u002F6.faq",false,{"title":40,"icon":41,"path":42,"stem":43,"children":44,"page":38},"Run SHADE","i-lucide-server","\u002Frun","2.run",[45,49,53,57,61,65,69,73,77,81,85,89,93,97],{"title":46,"path":47,"stem":48},"Setting up an instance (Coolify)","\u002Frun\u002Fcoolify","2.run\u002F1.coolify",{"title":50,"path":51,"stem":52},"Console commands","\u002Frun\u002Fconsole","2.run\u002F10.console",{"title":54,"path":55,"stem":56},"Rotating APP_SECRET","\u002Frun\u002Frotating-app-secret","2.run\u002F11.rotating-app-secret",{"title":58,"path":59,"stem":60},"Checking an instance","\u002Frun\u002Fdoctor","2.run\u002F12.doctor",{"title":62,"path":63,"stem":64},"Self-hosting by hand","\u002Frun\u002Fown-server-by-hand","2.run\u002F13.own-server-by-hand",{"title":66,"path":67,"stem":68},"NixOS (experimental)","\u002Frun\u002Fnixos","2.run\u002F14.nixos",{"title":70,"path":71,"stem":72},"Self-hosting without Coolify","\u002Frun\u002Fown-server","2.run\u002F2.own-server",{"title":74,"path":75,"stem":76},"Hosting the site on a static host","\u002Frun\u002Fstatic-hosts","2.run\u002F3.static-hosts",{"title":78,"path":79,"stem":80},"Licence","\u002Frun\u002Flicence","2.run\u002F4.licence",{"title":82,"path":83,"stem":84},"Updating and backups","\u002Frun\u002Fupdating-and-backups","2.run\u002F5.updating-and-backups",{"title":86,"path":87,"stem":88},"Troubleshooting","\u002Frun\u002Ftroubleshooting","2.run\u002F6.troubleshooting",{"title":90,"path":91,"stem":92},"Logs, request ids, traces and metrics","\u002Frun\u002Flogs","2.run\u002F7.logs",{"title":94,"path":95,"stem":96},"Maintenance mode","\u002Frun\u002Fmaintenance-mode","2.run\u002F8.maintenance-mode",{"title":98,"path":99,"stem":100},"Usage limits","\u002Frun\u002Fusage-limits","2.run\u002F9.usage-limits",{"title":102,"icon":103,"path":104,"stem":105,"children":106},"Guide","i-lucide-book-open","\u002Fguide","3.guide",[107,109,147,192,210,280,310,364],{"title":102,"path":104,"stem":108},"3.guide\u002Findex",{"title":110,"icon":111,"path":112,"stem":113,"children":114,"page":38},"Content","i-lucide-file-text","\u002Fguide\u002Fcontent","3.guide\u002F1.content",[115,119,123,127,131,135,139,143],{"title":116,"path":117,"stem":118},"Collections and entries","\u002Fguide\u002Fcontent\u002Fcollections","3.guide\u002F1.content\u002F1.collections",{"title":120,"path":121,"stem":122},"Field types","\u002Fguide\u002Fcontent\u002Ffields","3.guide\u002F1.content\u002F2.fields",{"title":124,"path":125,"stem":126},"Drafts, publishing and version history","\u002Fguide\u002Fcontent\u002Fversions","3.guide\u002F1.content\u002F3.versions",{"title":128,"path":129,"stem":130},"Languages","\u002Fguide\u002Fcontent\u002Flanguages","3.guide\u002F1.content\u002F4.languages",{"title":132,"path":133,"stem":134},"Data sources","\u002Fguide\u002Fcontent\u002Fdata-sources","3.guide\u002F1.content\u002F5.data-sources",{"title":136,"path":137,"stem":138},"Media","\u002Fguide\u002Fcontent\u002Fmedia","3.guide\u002F1.content\u002F6.media",{"title":140,"path":141,"stem":142},"Search","\u002Fguide\u002Fcontent\u002Fsearch","3.guide\u002F1.content\u002F7.search",{"title":144,"path":145,"stem":146},"Trash","\u002Fguide\u002Fcontent\u002Ftrash","3.guide\u002F1.content\u002F8.trash",{"title":148,"icon":149,"path":150,"stem":151,"children":152,"page":38},"Website","i-lucide-globe","\u002Fguide\u002Fwebsite","3.guide\u002F2.website",[153,156,160,164,168,172,176,180,184,188],{"title":148,"path":154,"stem":155},"\u002Fguide\u002Fwebsite\u002Fwebsite","3.guide\u002F2.website\u002F1.website",{"title":157,"path":158,"stem":159},"Scroll scenes","\u002Fguide\u002Fwebsite\u002Fscroll-scenes","3.guide\u002F2.website\u002F10.scroll-scenes",{"title":161,"path":162,"stem":163},"Pages and posts","\u002Fguide\u002Fwebsite\u002Fpages","3.guide\u002F2.website\u002F2.pages",{"title":165,"path":166,"stem":167},"The visual editor","\u002Fguide\u002Fwebsite\u002Fvisual-editor","3.guide\u002F2.website\u002F3.visual-editor",{"title":169,"path":170,"stem":171},"Roles and locks","\u002Fguide\u002Fwebsite\u002Froles-and-locks","3.guide\u002F2.website\u002F4.roles-and-locks",{"title":173,"path":174,"stem":175},"Header and footer","\u002Fguide\u002Fwebsite\u002Fheader-and-footer","3.guide\u002F2.website\u002F5.header-and-footer",{"title":177,"path":178,"stem":179},"Theme","\u002Fguide\u002Fwebsite\u002Ftheme","3.guide\u002F2.website\u002F6.theme",{"title":181,"path":182,"stem":183},"Redirects","\u002Fguide\u002Fwebsite\u002Fredirects","3.guide\u002F2.website\u002F7.redirects",{"title":185,"path":186,"stem":187},"Site settings","\u002Fguide\u002Fwebsite\u002Fsite-settings","3.guide\u002F2.website\u002F8.site-settings",{"title":189,"path":190,"stem":191},"The site","\u002Fguide\u002Fwebsite\u002Fthe-site","3.guide\u002F2.website\u002F9.the-site",{"title":193,"icon":194,"path":195,"stem":196,"children":197,"page":38},"Publishing","i-lucide-send","\u002Fguide\u002Fpublishing","3.guide\u002F3.publishing",[198,202,206],{"title":199,"path":200,"stem":201},"Publishing and preview","\u002Fguide\u002Fpublishing\u002Fpublishing","3.guide\u002F3.publishing\u002F1.publishing",{"title":203,"path":204,"stem":205},"Builds","\u002Fguide\u002Fpublishing\u002Fbuilds","3.guide\u002F3.publishing\u002F2.builds",{"title":207,"path":208,"stem":209},"CDN caches","\u002Fguide\u002Fpublishing\u002Fcaches","3.guide\u002F3.publishing\u002F3.caches",{"title":211,"icon":212,"path":213,"stem":214,"children":215,"page":38},"People, security and privacy","i-lucide-shield","\u002Fguide\u002Fpeople-and-security","3.guide\u002F4.people-and-security",[216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276],{"title":217,"path":218,"stem":219},"People in SHADE","\u002Fguide\u002Fpeople-and-security\u002Fpeople-in-shade","3.guide\u002F4.people-and-security\u002F0.people-in-shade",{"title":221,"path":222,"stem":223},"Team and roles","\u002Fguide\u002Fpeople-and-security\u002Fteam","3.guide\u002F4.people-and-security\u002F1.team",{"title":225,"path":226,"stem":227},"Errors and security alerts","\u002Fguide\u002Fpeople-and-security\u002Ferrors","3.guide\u002F4.people-and-security\u002F10.errors",{"title":229,"path":230,"stem":231},"Exporting an instance","\u002Fguide\u002Fpeople-and-security\u002Fexporting","3.guide\u002F4.people-and-security\u002F11.exporting",{"title":233,"path":234,"stem":235},"Organisations","\u002Fguide\u002Fpeople-and-security\u002Forganisations","3.guide\u002F4.people-and-security\u002F12.organisations",{"title":237,"path":238,"stem":239},"Signing in through an identity provider (team)","\u002Fguide\u002Fpeople-and-security\u002Fidentity-providers","3.guide\u002F4.people-and-security\u002F13.identity-providers",{"title":241,"path":242,"stem":243},"System status","\u002Fguide\u002Fpeople-and-security\u002Fsystem-status","3.guide\u002F4.people-and-security\u002F14.system-status",{"title":245,"path":246,"stem":247},"Appearance","\u002Fguide\u002Fpeople-and-security\u002Fappearance","3.guide\u002F4.people-and-security\u002F15.appearance",{"title":249,"path":250,"stem":251},"Accounts and personal pages","\u002Fguide\u002Fpeople-and-security\u002Faccounts","3.guide\u002F4.people-and-security\u002F2.accounts",{"title":253,"path":254,"stem":255},"Signing in (team)","\u002Fguide\u002Fpeople-and-security\u002Fsign-in","3.guide\u002F4.people-and-security\u002F3.sign-in",{"title":257,"path":258,"stem":259},"API tokens","\u002Fguide\u002Fpeople-and-security\u002Fapi-tokens","3.guide\u002F4.people-and-security\u002F4.api-tokens",{"title":261,"path":262,"stem":263},"Audit log","\u002Fguide\u002Fpeople-and-security\u002Faudit","3.guide\u002F4.people-and-security\u002F5.audit",{"title":265,"path":266,"stem":267},"Request protection","\u002Fguide\u002Fpeople-and-security\u002Fprotection","3.guide\u002F4.people-and-security\u002F6.protection",{"title":269,"path":270,"stem":271},"Personal data per person","\u002Fguide\u002Fpeople-and-security\u002Fprivacy","3.guide\u002F4.people-and-security\u002F7.privacy",{"title":273,"path":274,"stem":275},"Data retention","\u002Fguide\u002Fpeople-and-security\u002Fretention","3.guide\u002F4.people-and-security\u002F8.retention",{"title":277,"path":278,"stem":279},"Consent banner","\u002Fguide\u002Fpeople-and-security\u002Fconsent","3.guide\u002F4.people-and-security\u002F9.consent",{"title":281,"icon":282,"path":283,"stem":284,"children":285,"page":38},"Services","i-lucide-plug","\u002Fguide\u002Fservices","3.guide\u002F5.services",[286,290,294,298,302,306],{"title":287,"path":288,"stem":289},"Email","\u002Fguide\u002Fservices\u002Femail","3.guide\u002F5.services\u002F1.email",{"title":291,"path":292,"stem":293},"Opening hours","\u002Fguide\u002Fservices\u002Fopening-hours","3.guide\u002F5.services\u002F4.opening-hours",{"title":295,"path":296,"stem":297},"Webhooks","\u002Fguide\u002Fservices\u002Fwebhooks","3.guide\u002F5.services\u002F5.webhooks",{"title":299,"path":300,"stem":301},"Locations","\u002Fguide\u002Fservices\u002Flocations","3.guide\u002F5.services\u002F6.locations",{"title":303,"path":304,"stem":305},"VAT rates","\u002Fguide\u002Fservices\u002Fvat-rates","3.guide\u002F5.services\u002F7.vat-rates",{"title":307,"path":308,"stem":309},"Channels","\u002Fguide\u002Fservices\u002Fchannels","3.guide\u002F5.services\u002F8.channels",{"title":311,"icon":312,"path":313,"stem":314,"children":315,"page":38},"InstalledModules","i-lucide-puzzle","\u002Fguide\u002Fmodules","3.guide\u002F6.modules",[316,320,324,328,332,336,340,344,348,352,356,360],{"title":317,"path":318,"stem":319},"Modules","\u002Fguide\u002Fmodules\u002Fmanaging","3.guide\u002F6.modules\u002F1.managing",{"title":321,"path":322,"stem":323},"Dutch services (module)","\u002Fguide\u002Fmodules\u002Fnl","3.guide\u002F6.modules\u002F10.nl",{"title":325,"path":326,"stem":327},"Editorial (module)","\u002Fguide\u002Fmodules\u002Feditorial","3.guide\u002F6.modules\u002F11.editorial",{"title":329,"path":330,"stem":331},"Appointments (module)","\u002Fguide\u002Fmodules\u002Fappointments","3.guide\u002F6.modules\u002F2.appointments",{"title":333,"path":334,"stem":335},"Shop (the commerce module)","\u002Fguide\u002Fmodules\u002Fshop","3.guide\u002F6.modules\u002F3.shop",{"title":337,"path":338,"stem":339},"Untrusted modules","\u002Fguide\u002Fmodules\u002Funtrusted","3.guide\u002F6.modules\u002F4.untrusted",{"title":341,"path":342,"stem":343},"Analytics (module)","\u002Fguide\u002Fmodules\u002Fanalytics","3.guide\u002F6.modules\u002F5.analytics",{"title":345,"path":346,"stem":347},"Error forwarding (module)","\u002Fguide\u002Fmodules\u002Ferror-forwarding","3.guide\u002F6.modules\u002F6.error-forwarding",{"title":349,"path":350,"stem":351},"Client programs","\u002Fguide\u002Fmodules\u002Fprograms","3.guide\u002F6.modules\u002F7.programs",{"title":353,"path":354,"stem":355},"Import and export (module)","\u002Fguide\u002Fmodules\u002Fimport","3.guide\u002F6.modules\u002F8.import",{"title":357,"path":358,"stem":359},"Payments (module)","\u002Fguide\u002Fmodules\u002Fpayments","3.guide\u002F6.modules\u002F8.payments",{"title":361,"path":362,"stem":363},"Forms (module)","\u002Fguide\u002Fmodules\u002Fforms","3.guide\u002F6.modules\u002F9.forms",{"title":365,"icon":366,"path":367,"stem":368,"children":369,"page":38},"AI assistants","i-lucide-bot","\u002Fguide\u002Fai","3.guide\u002F7.ai",[370,374],{"title":371,"path":372,"stem":373},"AI assistants (MCP)","\u002Fguide\u002Fai\u002Fassistants","3.guide\u002F7.ai\u002F1.assistants",{"title":375,"path":376,"stem":377},"Connecting an AI assistant","\u002Fguide\u002Fai\u002Fconnecting","3.guide\u002F7.ai\u002F2.connecting",{"title":379,"icon":380,"path":381,"stem":382,"children":383,"page":38},"Developers","i-lucide-code","\u002Fdevelopers","4.developers",[384,388,392,396,400,404,408,412,416,420,424,428,432,435,489,493,497,501,536],{"title":385,"path":386,"stem":387},"Architecture","\u002Fdevelopers\u002Farchitecture","4.developers\u002F1.architecture",{"title":389,"path":390,"stem":391},"Capabilities","\u002Fdevelopers\u002Fcapabilities","4.developers\u002F10.capabilities",{"title":393,"path":394,"stem":395},"Trust","\u002Fdevelopers\u002Ftrust","4.developers\u002F11.trust",{"title":397,"path":398,"stem":399},"Redis and the ports","\u002Fdevelopers\u002Fredis","4.developers\u002F12.redis",{"title":401,"path":402,"stem":403},"The worker container role","\u002Fdevelopers\u002Fworker","4.developers\u002F13.worker",{"title":405,"path":406,"stem":407},"kv: a module's own key-value storage","\u002Fdevelopers\u002Fkv","4.developers\u002F14.kv",{"title":409,"path":410,"stem":411},"Processes: long-running work on the worker","\u002Fdevelopers\u002Fprocesses","4.developers\u002F15.processes",{"title":413,"path":414,"stem":415},"Network: a module's outgoing calls","\u002Fdevelopers\u002Fnetwork","4.developers\u002F16.network",{"title":417,"path":418,"stem":419},"Realtime","\u002Fdevelopers\u002Frealtime","4.developers\u002F17.realtime",{"title":421,"path":422,"stem":423},"Private files","\u002Fdevelopers\u002Ffiles","4.developers\u002F18.files",{"title":425,"path":426,"stem":427},"Notify","\u002Fdevelopers\u002Fnotify","4.developers\u002F19.notify",{"title":429,"path":430,"stem":431},"Collections","\u002Fdevelopers\u002Fcollections","4.developers\u002F2.collections",{"title":337,"path":433,"stem":434},"\u002Fdevelopers\u002Funtrusted","4.developers\u002F20.untrusted",{"title":436,"icon":312,"path":437,"stem":438,"children":439},"Writing a plugin","\u002Fdevelopers\u002Fmodules","4.developers\u002F3.modules\u002Findex",[440,442,446,450,454,458,462,466,470,473,477,481,485],{"title":441,"path":437,"stem":438},"Writing a module",{"title":443,"path":444,"stem":445},"Module SDK and tooling","\u002Fdevelopers\u002Fmodules\u002Fsdk-and-tooling","4.developers\u002F3.modules\u002F1.sdk-and-tooling",{"title":447,"path":448,"stem":449},"Connecting accounts with OAuth2","\u002Fdevelopers\u002Fmodules\u002Foauth","4.developers\u002F3.modules\u002F10.oauth",{"title":451,"path":452,"stem":453},"Calls between modules","\u002Fdevelopers\u002Fmodules\u002Fcalls-between-modules","4.developers\u002F3.modules\u002F11.calls-between-modules",{"title":455,"path":456,"stem":457},"Experimental parts","\u002Fdevelopers\u002Fmodules\u002Fexperimental-parts","4.developers\u002F3.modules\u002F12.experimental-parts",{"title":459,"path":460,"stem":461},"The manifest","\u002Fdevelopers\u002Fmodules\u002Fmanifest","4.developers\u002F3.modules\u002F2.manifest",{"title":463,"path":464,"stem":465},"Routes","\u002Fdevelopers\u002Fmodules\u002Froutes","4.developers\u002F3.modules\u002F3.routes",{"title":467,"path":468,"stem":469},"Admin screens and the site part","\u002Fdevelopers\u002Fmodules\u002Fadmin-and-site","4.developers\u002F3.modules\u002F4.admin-and-site",{"title":110,"path":471,"stem":472},"\u002Fdevelopers\u002Fmodules\u002Fcontent","4.developers\u002F3.modules\u002F5.content",{"title":474,"path":475,"stem":476},"Background work and services","\u002Fdevelopers\u002Fmodules\u002Fbackground-and-services","4.developers\u002F3.modules\u002F6.background-and-services",{"title":478,"path":479,"stem":480},"SDK reference","\u002Fdevelopers\u002Fmodules\u002Fsdk-reference","4.developers\u002F3.modules\u002F7.sdk-reference",{"title":482,"path":483,"stem":484},"The website module's SDK","\u002Fdevelopers\u002Fmodules\u002Fwebsite-sdk","4.developers\u002F3.modules\u002F8.website-sdk",{"title":486,"path":487,"stem":488},"Incoming webhooks","\u002Fdevelopers\u002Fmodules\u002Fincoming-webhooks","4.developers\u002F3.modules\u002F9.incoming-webhooks",{"title":490,"path":491,"stem":492},"Core and the website module","\u002Fdevelopers\u002Fcore-and-website-module","4.developers\u002F4.core-and-website-module",{"title":494,"path":495,"stem":496},"The API","\u002Fdevelopers\u002Fapi","4.developers\u002F6.api",{"title":498,"path":499,"stem":500},"API reference","\u002Fdevelopers\u002Fapi-reference","4.developers\u002F6.api-reference",{"title":502,"icon":503,"path":504,"stem":505,"children":506},"Sites in other frameworks","i-lucide-layout-template","\u002Fdevelopers\u002Fframeworks","4.developers\u002F7.frameworks\u002Findex",[507,508,512,516,520,524,528,532],{"title":502,"path":504,"stem":505},{"title":509,"path":510,"stem":511},"Accounts: sign-in and modules' routes","\u002Fdevelopers\u002Fframeworks\u002Faccounts","4.developers\u002F7.frameworks\u002F1.accounts",{"title":513,"path":514,"stem":515},"`@shadestack\u002Ftree`","\u002Fdevelopers\u002Fframeworks\u002Ftree","4.developers\u002F7.frameworks\u002F2.tree",{"title":517,"path":518,"stem":519},"Expressions and styles","\u002Fdevelopers\u002Fframeworks\u002Fexpressions-and-styles","4.developers\u002F7.frameworks\u002F3.expressions-and-styles",{"title":521,"path":522,"stem":523},"`@shadestack\u002Frender`","\u002Fdevelopers\u002Fframeworks\u002Frender","4.developers\u002F7.frameworks\u002F4.render",{"title":525,"path":526,"stem":527},"`@shadestack\u002Finteractions`","\u002Fdevelopers\u002Fframeworks\u002Finteractions","4.developers\u002F7.frameworks\u002F5.interactions",{"title":529,"path":530,"stem":531},"`@shadestack\u002Fa11y`","\u002Fdevelopers\u002Fframeworks\u002Fa11y","4.developers\u002F7.frameworks\u002F6.a11y",{"title":533,"path":534,"stem":535},"Your own page for SHADE's links","\u002Fdevelopers\u002Fframeworks\u002Flinks","4.developers\u002F7.frameworks\u002F7.links",{"title":537,"path":538,"stem":539},"Build a client module","\u002Fdevelopers\u002Fclient-module","4.developers\u002F9.client-module",{"title":541,"icon":542,"path":543,"stem":544,"children":545,"page":38},"Security","i-lucide-shield-check","\u002Fsecurity","5.security",[546,550,554,558],{"title":547,"path":548,"stem":549},"Reporting a vulnerability","\u002Fsecurity\u002Freporting","5.security\u002F0.reporting",{"title":551,"path":552,"stem":553},"Security testing","\u002Fsecurity\u002Ftesting","5.security\u002F1.testing",{"title":555,"path":556,"stem":557},"Hardening a production instance","\u002Fsecurity\u002Fhardening","5.security\u002F2.hardening",{"title":559,"path":560,"stem":561},"Manual testing with Kali Linux","\u002Fsecurity\u002Fmanual-testing","5.security\u002F3.manual-testing",{"title":563,"icon":564,"path":565,"stem":566,"children":567,"page":38},"Contributing","i-lucide-git-pull-request","\u002Fcontributing","6.contributing",[568,572,576,580],{"title":569,"path":570,"stem":571},"Reading the code","\u002Fcontributing\u002Freading-the-code","6.contributing\u002F1.reading-the-code",{"title":573,"path":574,"stem":575},"Docs site","\u002Fcontributing\u002Fdocs-site","6.contributing\u002F2.docs-site",{"title":577,"path":578,"stem":579},"Releases","\u002Fcontributing\u002Freleases","6.contributing\u002F3.releases",{"title":581,"path":582,"stem":583},"Load tests","\u002Fcontributing\u002Fload-tests","6.contributing\u002F4.load-tests",{"title":585,"icon":586,"path":587,"stem":588,"children":589,"page":38},"Project","i-lucide-map","\u002Fproject","7.project",[590,594,598,602],{"title":591,"path":592,"stem":593},"Roadmap","\u002Fproject\u002Froadmap","7.project\u002F1.roadmap",{"title":595,"path":596,"stem":597},"Known issues","\u002Fproject\u002Fknown-issues","7.project\u002F2.known-issues",{"title":599,"path":600,"stem":601},"Changelog","\u002Fproject\u002Fchangelog","7.project\u002F3.changelog",{"title":603,"path":604,"stem":605},"Decisions","\u002Fproject\u002Fdecisions","7.project\u002F4.decisions",{"title":607,"path":608,"stem":609,"children":610,"icon":612},"Community","\u002Fcommunity","8.community\u002Findex",[611],{"title":607,"path":608,"stem":609},"i-lucide-users",{"id":614,"title":120,"body":615,"description":1544,"extension":1576,"links":1577,"meta":1578,"navigation":1579,"path":121,"seo":1580,"stem":122,"__hash__":1581},"docs\u002F3.guide\u002F1.content\u002F2.fields.md",{"type":616,"value":617,"toc":1543},"minimark",[618,629,634,661,665,668,744,748,769,1037,1040,1043,1104,1108,1111,1114,1130,1132,1147,1149,1161,1163,1178,1180,1202,1204,1225,1227,1239,1241,1257,1259,1271,1273,1285,1287,1299,1301,1316,1318,1350,1352,1375,1377,1392,1394,1409,1411,1426,1428,1450,1454,1461,1464,1472,1475,1479,1482,1485,1489,1528,1532],[619,620,621,622,625,626,628],"p",{},"A collection (pages, posts, a module's products…) is a list of fields, and every field has a kind: text, number,\nimage, a list of repeating items, and so on. The kind decides what the editor sees in the admin, which values are\naccepted and what the website receives. SHADE has 18 kinds. The same fields also make up the forms for module\nsettings. For collections in general see ",[623,624,116],"a",{"href":117},"; for text in several\nlanguages see ",[623,627,128],{"href":129},".",[630,631,633],"h2",{"id":632},"what-users-can-do","What users can do",[635,636,637,645,650,656],"ul",{},[638,639,640,644],"li",{},[641,642,643],"strong",{},"Editors"," fill in fields in the entry form of a collection. Every kind has its own input: text boxes, a number\ninput, a switch, date pickers, a rich text editor, a link picker, a media picker, a picker for entries of another\ncollection and repeating items; a json field is built in its module's own screen (a website page's content in the\nwebsite editor).",[638,646,647,649],{},[641,648,643],{}," see the validation message next to the field it belongs to, and a hint when a field is not\ntranslated yet.",[638,651,652,655],{},[641,653,654],{},"Editors working in another language"," can only change fields that are stored per language; the others are locked\nwith the help text \"The same in every language. Change it in {language}.\"",[638,657,658,660],{},[641,659,379],{}," choose the fields of a collection or module setting in code. There is no screen to add or\nchange fields.",[630,662,664],{"id":663},"who-may-do-it","Who may do it",[619,666,667],{},"Fields have no permissions of their own: whoever may edit an entry may edit all its fields.",[669,670,671,687],"table",{},[672,673,674],"thead",{},[675,676,677,681,684],"tr",{},[678,679,680],"th",{},"Action",[678,682,683],{},"Permission",[678,685,686],{},"Roles",[688,689,690,709,722,733],"tbody",{},[675,691,692,696,706],{},[693,694,695],"td",{},"Fill in fields of an entry",[693,697,698,702,703],{},[699,700,701],"code",{},"collections.\u003Cslug>.create"," \u002F ",[699,704,705],{},".update",[693,707,708],{},"admin; editor unless the collection's access says otherwise",[675,710,711,714,719],{},[693,712,713],{},"Publish (runs the strict checks below)",[693,715,716],{},[699,717,718],{},"collections.\u003Cslug>.publish",[693,720,721],{},"admin; editor unless restricted",[675,723,724,727,730],{},[693,725,726],{},"Fill in fields through AI (MCP)",[693,728,729],{},"the collection must be opened to AI assistants",[693,731,732],{},"ai: drafts only, never publishes",[675,734,735,738,741],{},[693,736,737],{},"Define fields",[693,739,740],{},"none: done in code",[693,742,743],{},"developers",[630,745,747],{"id":746},"field-kinds-at-a-glance","Field kinds at a glance",[619,749,750,751,755,756,760,761,764,765,768],{},"\"Translatable\" is the default (see ",[623,752,754],{"href":753},"#common-options","Common options","): ",[757,758,759],"em",{},"yes",", ",[757,762,763],{},"no"," (a developer may switch it on),\nor ",[757,766,767],{},"never",". Groups and repeaters are structure: their members decide.",[669,770,771,787],{},[672,772,773],{},[675,774,775,778,781,784],{},[678,776,777],{},"Kind",[678,779,780],{},"Editor",[678,782,783],{},"Translatable",[678,785,786],{},"Site receives",[688,788,789,801,813,826,839,851,866,879,892,905,918,931,944,957,970,983,996,1010,1023],{},[675,790,791,794,797,799],{},[693,792,793],{},"text",[693,795,796],{},"single-line input",[693,798,759],{},[693,800,793],{},[675,802,803,806,809,811],{},[693,804,805],{},"textarea",[693,807,808],{},"multi-line input",[693,810,759],{},[693,812,793],{},[675,814,815,818,821,823],{},[693,816,817],{},"email",[693,819,820],{},"email input",[693,822,763],{},[693,824,825],{},"an address or nothing",[675,827,828,831,834,836],{},[693,829,830],{},"emails",[693,832,833],{},"tags, one address each",[693,835,767],{},[693,837,838],{},"list of addresses",[675,840,841,844,847,849],{},[693,842,843],{},"url",[693,845,846],{},"URL input",[693,848,763],{},[693,850,825],{},[675,852,853,856,862,864],{},[693,854,855],{},"slug",[693,857,858,859],{},"input with a leading ",[699,860,861],{},"\u002F",[693,863,759],{},[693,865,793],{},[675,867,868,871,874,876],{},[693,869,870],{},"number",[693,872,873],{},"number input",[693,875,767],{},[693,877,878],{},"a number or nothing",[675,880,881,884,887,889],{},[693,882,883],{},"money",[693,885,886],{},"amount input in euros",[693,888,767],{},[693,890,891],{},"an amount or nothing",[675,893,894,897,900,902],{},[693,895,896],{},"toggle",[693,898,899],{},"switch",[693,901,767],{},[693,903,904],{},"yes or no",[675,906,907,910,913,915],{},[693,908,909],{},"date",[693,911,912],{},"date or date-time input",[693,914,767],{},[693,916,917],{},"a date or nothing",[675,919,920,923,926,928],{},[693,921,922],{},"select",[693,924,925],{},"dropdown",[693,927,767],{},[693,929,930],{},"the chosen option or nothing",[675,932,933,936,939,941],{},[693,934,935],{},"richtext",[693,937,938],{},"rich text editor",[693,940,759],{},[693,942,943],{},"formatted text or nothing",[675,945,946,949,952,954],{},[693,947,948],{},"link",[693,950,951],{},"link picker (a page or item on the site, or a URL)",[693,953,763],{},[693,955,956],{},"a link or nothing",[675,958,959,962,965,967],{},[693,960,961],{},"image",[693,963,964],{},"media picker (images)",[693,966,767],{},[693,968,969],{},"the image with its sizes and alt text",[675,971,972,975,978,980],{},[693,973,974],{},"file",[693,976,977],{},"media picker (documents)",[693,979,767],{},[693,981,982],{},"the file",[675,984,985,988,991,993],{},[693,986,987],{},"relation",[693,989,990],{},"entry picker",[693,992,767],{},[693,994,995],{},"the linked entries",[675,997,998,1001,1004,1007],{},[693,999,1000],{},"group",[693,1002,1003],{},"card with nested fields",[693,1005,1006],{},"members",[693,1008,1009],{},"its fields together",[675,1011,1012,1015,1018,1020],{},[693,1013,1014],{},"repeater",[693,1016,1017],{},"list of collapsible items",[693,1019,1006],{},[693,1021,1022],{},"the list of items",[675,1024,1025,1028,1031,1034],{},[693,1026,1027],{},"json",[693,1029,1030],{},"how much it holds and which module checks it; built in that module's screen (a page's content in the website editor)",[693,1032,1033],{},"never (a page's texts hold their languages)",[693,1035,1036],{},"the value its module's check gave",[630,1038,754],{"id":1039},"common-options",[619,1041,1042],{},"Every field has these:",[635,1044,1045,1052,1058,1069,1087,1093,1099],{},[638,1046,1047,1048,1051],{},"A name and a ",[641,1049,1050],{},"label"," (the label is shown in Dutch on a Dutch admin).",[638,1053,1054,1057],{},[641,1055,1056],{},"Help",": text under the input.",[638,1059,1060,1063,1064,1068],{},[641,1061,1062],{},"Required",": marked with an asterisk; enforced when publishing, not in drafts (see ",[623,1065,1067],{"href":1066},"#rules-and-limits","Rules and\nlimits",").",[638,1070,1071,1074,1075,1078,1079,1082,1083,1086],{},[641,1072,1073],{},"Show if",": the field is hidden unless another field next to it has a given value, or one of several values.\nEntry forms, groups and repeater items all apply it. The forms module uses it: ",[757,1076,1077],{},"Choices"," shows only for a ",[757,1080,1081],{},"Choice\nfrom a list"," or a ",[757,1084,1085],{},"Choice of buttons",". A hidden field keeps its value.",[638,1088,1089,1092],{},[641,1090,1091],{},"Default value",": the value a new entry or repeater item starts with; also filled in when the value is missing\non save. A default that is not a valid value for the field is refused.",[638,1094,1095,1098],{},[641,1096,1097],{},"Unique"," (collections only): no two entries may have the same value; a duplicate is refused with a message\nnaming the field. Only for kinds that hold one simple value (text, textarea, email, url, slug, number, toggle,\ndate, select). A translated unique field (a slug) is unique per language.",[638,1100,1101,1103],{},[641,1102,783],{},": the value is kept per language. Defaults to the kind's choice (table above).",[630,1105,1107],{"id":1106},"each-kind","Each kind",[619,1109,1110],{},"Shared rules: in a draft every field may be empty (formats are still checked); when publishing, required fields must\nbe filled in. \"Empty\" means nothing filled in, an empty list or, for text kinds, only spaces.",[1112,1113,793],"h3",{"id":793},[635,1115,1116,1121,1127],{},[638,1117,1118,1120],{},[641,1119,780],{},": single-line input, with a placeholder and a maximum length when set.",[638,1122,1123,1126],{},[641,1124,1125],{},"Validation",": spaces around the text are trimmed; at most the maximum length; required means at least 1\ncharacter.",[638,1128,1129],{},"Can be filtered on in lists. May be a collection's title field or the source of its slug.",[1112,1131,805],{"id":805},[635,1133,1134,1139,1144],{},[638,1135,1136,1138],{},[641,1137,780],{},": a multi-line input that grows with its text (3 rows by default), with a placeholder and a maximum\nlength when set.",[638,1140,1141,1143],{},[641,1142,1125],{},": as text.",[638,1145,1146],{},"One value per line (a choice list): in another language it is translated line by line, as many lines as the\ndefault language, in the same order; another number of lines is refused.",[1112,1148,817],{"id":817},[635,1150,1151,1156],{},[638,1152,1153,1155],{},[641,1154,780],{},": an email input; clearing it leaves it empty.",[638,1157,1158,1160],{},[641,1159,1125],{},": a valid email address, at most 254 characters.",[1112,1162,830],{"id":830},[635,1164,1165,1170,1175],{},[638,1166,1167,1169],{},[641,1168,780],{},": one tag per address: type one and press Enter, or paste several at once (commas, spaces and\nsemicolons split them); its cross removes one.",[638,1171,1172,1174],{},[641,1173,1125],{},": each a valid email address, trimmed and lowercased, the same address kept once; at most the\nmaximum (default 20, at most 100). Required: at least one when publishing.",[638,1176,1177],{},"Used for who hears of something: the shop's and the appointments' notification addresses.",[1112,1179,843],{"id":843},[635,1181,1182,1187],{},[638,1183,1184,1186],{},[641,1185,780],{},": a URL input; clearing it leaves it empty.",[638,1188,1189,1191,1192,1195,1196,1199,1200,628],{},[641,1190,1125],{},": an address starting with ",[699,1193,1194],{},"http:\u002F\u002F"," or ",[699,1197,1198],{},"https:\u002F\u002F","; where the developer allows it, also a path on the\nsite starting with ",[699,1201,861],{},[1112,1203,855],{"id":855},[635,1205,1206,1214],{},[638,1207,1208,1210,1211,1213],{},[641,1209,780],{},": input with a ",[699,1212,861],{}," in front. A slug can follow another field, usually the title (made fit for an\naddress), until the editor changes the slug by hand. In a list item the slug follows its sibling field in the same item. Once the\nentry is published, a slug that has a value keeps it, and no longer follows the field.",[638,1215,1216,1218,1219,1221,1222,1224],{},[641,1217,1125],{},": lowercase letters, digits and dashes, parts separated by ",[699,1220,861],{},", at most 200 characters, no leading\n",[699,1223,861],{},". A required slug must not be empty when publishing, except the pages' slug: the home page has the empty slug.",[1112,1226,870],{"id":870},[635,1228,1229,1234],{},[638,1230,1231,1233],{},[641,1232,780],{},": a number input with the minimum, maximum and step when set.",[638,1235,1236,1238],{},[641,1237,1125],{},": a whole number, or a number with at most the allowed decimals; within the minimum and maximum, and\nwithin what the database keeps: a whole number between about −2.1 and 2.1 billion, a number with decimals below\n10 to the power (15 − decimals). Amounts of money are a money field.",[1112,1240,883],{"id":883},[635,1242,1243,1248],{},[638,1244,1245,1247],{},[641,1246,780],{},": an amount in euros, with the admin language's decimal sign (\"12,50\" in Dutch, \"12.50\" in English),\nrounded to the cent. Lists show it as \"€ 12,50\".",[638,1249,1250,1252,1253,1256],{},[641,1251,1125],{},": within the minimum and maximum, and at most about 21 million euros either way. Kept as a whole\nnumber of cents (",[699,1254,1255],{},"1250","), which is also what the API reads and writes. Euros only.",[1112,1258,896],{"id":896},[635,1260,1261,1266],{},[638,1262,1263,1265],{},[641,1264,780],{},": a switch.",[638,1267,1268,1270],{},[641,1269,1125],{},": on or off, never empty; when missing, its default or off.",[1112,1272,909],{"id":909},[635,1274,1275,1280],{},[638,1276,1277,1279],{},[641,1278,780],{},": a date input, or a date-time input in the browser's local time.",[638,1281,1282,1284],{},[641,1283,1125],{},": a valid date, or a date and time.",[1112,1286,922],{"id":922},[635,1288,1289,1294],{},[638,1290,1291,1293],{},[641,1292,780],{},": a dropdown of the option labels, with a clear button when the field is not required.",[638,1295,1296,1298],{},[641,1297,1125],{},": one of the options. Old versions keep options that were later removed readable. Lists show the\noption's label.",[1112,1300,935],{"id":935},[635,1302,1303,1308,1313],{},[638,1304,1305,1307],{},[641,1306,780],{},": a rich text editor whose toolbar offers what the developer chose from: bold, italic, underline, link,\nheadings (levels 2, 3 and 4, as the site renders), bullet list, numbered list, quote, code. Default: bold, italic,\nlink and both lists.",[638,1309,1310,1312],{},[641,1311,1125],{},": a required rich text must hold some text when publishing (empty paragraphs count as empty).",[638,1314,1315],{},"Cannot be filtered on or be unique.",[1112,1317,948],{"id":948},[635,1319,1320,1325,1347],{},[638,1321,1322,1324],{},[641,1323,780],{},": a button that opens a popover with the tabs \"On the site\" and \"URL\" (only those the field allows). On\nthe site: the kind of page (\"Pages\", or a collection with item pages such as \"Posts\"), a search (\"Search…\") and an\noptional anchor. Then a URL box, \"Open in a new tab\", \"Apply\" and a \"Clear link\" button.",[638,1326,1327,1329,1330,760,1332,760,1334,760,1336,760,1339,1342,1343,1346],{},[641,1328,1125],{},": a link to a page or item, or a URL starting with ",[699,1331,1194],{},[699,1333,1198],{},[699,1335,861],{},[699,1337,1338],{},"#",[699,1340,1341],{},"mailto:"," or\n",[699,1344,1345],{},"tel:",", at most 2000 characters. The linked entry must exist and have an address on the site (pages; collections\nwith item pages): \"Entries of \"forms\" have no address to link to\" otherwise.",[638,1348,1349],{},"Links keep working when the linked page's slug changes; a linked entry cannot be deleted (the message names who\nlinks to it).",[1112,1351,961],{"id":961},[635,1353,1354,1363,1372],{},[638,1355,1356,1358,1359,1362],{},[641,1357,780],{},": a thumbnail, \"Choose image\" \u002F \"Change\" opening the media library, \"Remove image\" (with ",[641,1360,1361],{},"Undo"," in\nthe message; the image stays in the library), the filename, and the badges \"No alt text\" or \"Image no longer\nexists\". The thumbnail is framed in the field's aspect ratio: a hint of how the site shows it, not a crop; an image\nis cropped in the media library, and the site crops around the focal point.",[638,1364,1365,1367,1368,1371],{},[641,1366,1125],{},": the media item must exist and be an image (",[757,1369,1370],{},"This file is not an image","). Publishing also requires\nthe image to have alt text.",[638,1373,1374],{},"A media item in use cannot be deleted.",[1112,1376,974],{"id":974},[635,1378,1379,1384],{},[638,1380,1381,1383],{},[641,1382,780],{},": the chosen file's name as a link, \"Choose file\" \u002F \"Change file\" opening the media library on documents\n(PDF), or on images when the field accepts only images, and \"Remove the file\" when the field is not required.",[638,1385,1386,1388,1389,1068],{},[641,1387,1125],{},": as image, without the alt-text rule; when the field limits the file types, the file must be one\nof them (",[757,1390,1391],{},"This type of file is not allowed here",[1112,1393,987],{"id":987},[635,1395,1396,1401,1406],{},[638,1397,1398,1400],{},[641,1399,780],{},": a searchable picker of entries of another collection, labelled by their title; drafts are marked\n\"(draft)\", deleted entries \"Missing entry\". Where several may be chosen, their order is kept.",[638,1402,1403,1405],{},[641,1404,1125],{},": every chosen entry must exist, each at most once, at most 1000. The other collection cannot be a\nsingleton.",[638,1407,1408],{},"A single relation can be filtered on.",[1112,1410,1000],{"id":1000},[635,1412,1413,1418,1423],{},[638,1414,1415,1417],{},[641,1416,780],{},": a card with its fields.",[638,1419,1420,1422],{},[641,1421,1125],{},": its fields carry their own rules; a group itself cannot be required (nor can a toggle).",[638,1424,1425],{},"Its fields can be filtered on.",[1112,1427,1014],{"id":1014},[635,1429,1430,1442,1447],{},[638,1431,1432,1434,1435,1437,1438],{},[641,1433,780],{},": collapsible items titled by one of their fields (else \"Item N\"), move up\u002Fdown, remove, and an add\nbutton (default \"Add item\"). Add is disabled at the maximum (\"Maximum of {max} reached.\"). A removed item goes at\nonce, with ",[641,1436,1361],{}," in the message (\"",[1439,1440,1441],"item",{}," removed\") to put it back where it was. Removing works below the minimum\nin a draft, with the hint \"At least {min} needed before publishing.\"\nIn another language the items are fixed: only their text changes.",[638,1443,1444,1446],{},[641,1445,1125],{},": at most the maximum always; at least the minimum when publishing; required means at least one.",[638,1448,1449],{},"Items keep their translations when they are moved.",[630,1451,1453],{"id":1452},"in-the-admin","In the admin",[619,1455,1456],{},[1457,1458],"img",{"alt":1459,"src":1460},"A post open in its form: title, slug, date, summary, image, text and SEO fields","\u002Fscreenshots\u002Fpost-editor.png",[619,1462,1463],{},"There is no screen for fields as such. Every form shows the label, help, required mark and the validation message\nof each field, in the same way in:",[635,1465,1466,1469],{},[638,1467,1468],{},"the entry form of a collection and the page settings;",[638,1470,1471],{},"module settings.",[619,1473,1474],{},"In collection lists each kind has a short cell text: the option label for selects, \"Yes\"\u002F\"No\" for toggles,\n\"Attached\" for media, \"Linked\" \u002F \"{count} linked\" for relations, \"{count} items\" for repeaters, the URL or \"Link on\nthe site\" for links, \"…\" for rich text, groups and json fields, and \"—\" for empty values.",[630,1476,1478],{"id":1477},"on-the-website","On the website",[619,1480,1481],{},"Only fields of public collections reach the site, only from published versions and only the fields chosen for the\nsite. Images, files and links to pages and item pages arrive ready to use. Related entries are only included when\nthey are published. In another language, translatable text falls back to the default language where it is missing.",[619,1483,1484],{},"Rich text is shown with a fixed set of formatting only: paragraphs, headings (h2–h4), lists, quotes, line breaks,\nbold, italic, underline, code and links with safe addresses.",[630,1486,1488],{"id":1487},"rules-and-limits","Rules and limits",[635,1490,1491,1497,1503,1509,1515,1521],{},[638,1492,1493,1496],{},[641,1494,1495],{},"Drafts vs publish."," Saving a draft accepts incomplete content: required fields may be empty and a repeater's\nminimum is not checked, but formats, maximums, options and references are. Publishing checks the version strictly,\nincluding that every referenced media item, entry and page exists and that images have alt text. Collections\nwithout drafts check strictly on every save.",[638,1498,1499,1502],{},[641,1500,1501],{},"Only known fields are kept",": anything that is not one of the collection's fields is refused.",[638,1504,1505,1508],{},[641,1506,1507],{},"Missing values"," take the default value, else stay empty (lists empty, toggles off). Saving only some fields\nleaves the others unchanged.",[638,1510,1511,1514],{},[641,1512,1513],{},"References",": media, pages and entries referred to must exist (the message names the field); they cannot be\ndeleted while in use; old versions never block a delete.",[638,1516,1517,1520],{},[641,1518,1519],{},"Fields are checked when SHADE starts",": a mistake in a collection's fields stops it from starting.",[638,1522,1523,1525,1526,628],{},[641,1524,128],{},": only translatable fields can differ per language; repeaters and json fields keep one structure across\nlanguages (a page's tree holds every language in its texts). See ",[623,1527,128],{"href":129},[630,1529,1531],{"id":1530},"for-developers","For developers",[619,1533,1534,1535,1538,1539,1542],{},"The code and its tests: ",[699,1536,1537],{},"shade\u002Ffields\u002FREADME.md"," in the ",[699,1540,1541],{},"shade"," repository.",{"title":1544,"searchDepth":1545,"depth":1545,"links":1546},"",2,[1547,1548,1549,1550,1551,1572,1573,1574,1575],{"id":632,"depth":1545,"text":633},{"id":663,"depth":1545,"text":664},{"id":746,"depth":1545,"text":747},{"id":1039,"depth":1545,"text":754},{"id":1106,"depth":1545,"text":1107,"children":1552},[1553,1555,1556,1557,1558,1559,1560,1561,1562,1563,1564,1565,1566,1567,1568,1569,1570,1571],{"id":793,"depth":1554,"text":793},3,{"id":805,"depth":1554,"text":805},{"id":817,"depth":1554,"text":817},{"id":830,"depth":1554,"text":830},{"id":843,"depth":1554,"text":843},{"id":855,"depth":1554,"text":855},{"id":870,"depth":1554,"text":870},{"id":883,"depth":1554,"text":883},{"id":896,"depth":1554,"text":896},{"id":909,"depth":1554,"text":909},{"id":922,"depth":1554,"text":922},{"id":935,"depth":1554,"text":935},{"id":948,"depth":1554,"text":948},{"id":961,"depth":1554,"text":961},{"id":974,"depth":1554,"text":974},{"id":987,"depth":1554,"text":987},{"id":1000,"depth":1554,"text":1000},{"id":1014,"depth":1554,"text":1014},{"id":1452,"depth":1545,"text":1453},{"id":1477,"depth":1545,"text":1478},{"id":1487,"depth":1545,"text":1488},{"id":1530,"depth":1545,"text":1531},"md",null,{},true,{"title":120,"description":1544},"GbD_eOfJz0uGXtgt9Fi-7dxxLo-W2wYDw9l925WX3qk",[1583,1584],{"title":116,"path":117,"stem":118,"description":1544,"children":-1},{"title":124,"path":125,"stem":126,"description":1544,"children":-1},1796500158466]