[{"data":1,"prerenderedAt":1366},["ShallowReactive",2],{"navigation_docs":3,"-guide-content-versions":613,"-guide-content-versions-surround":1363},[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":124,"body":615,"description":1342,"extension":1357,"links":1358,"meta":1359,"navigation":1360,"path":125,"seo":1361,"stem":126,"__hash__":1362},"docs\u002F3.guide\u002F1.content\u002F3.versions.md",{"type":616,"value":617,"toc":1341},"minimark",[618,622,627,630,703,706,714,721,727,731,854,902,906,911,947,984,988,1047,1051,1065,1069,1076,1132,1136,1158,1162,1167,1184,1189,1197,1203,1209,1214,1228,1234,1311,1314,1320,1326,1330],[619,620,621],"p",{},"The team works on a draft; the website only shows what someone has published. Every save keeps a snapshot of the\npage or entry, called a version, so earlier states can be looked at, compared with the newest one and brought back.\nTwo people (or a person and an AI assistant) editing the same thing at once cannot overwrite each other without\nnoticing. This works the same for pages and for entries of every collection that has drafts.",[623,624,626],"h2",{"id":625},"what-users-can-do","What users can do",[619,628,629],{},"Editors and admins:",[631,632,633,645,657,667,681,691,697],"ul",{},[634,635,636,640,641,644],"li",{},[637,638,639],"strong",{},"Save a draft."," In the page editor this happens by itself (autosave, 2 seconds after the last change, or\nCtrl\u002FCmd+S). In the entry editor it is the ",[637,642,643],{},"Save draft"," button (or Ctrl\u002FCmd+S). Saving never changes the\nwebsite.",[634,646,647,650,651,653,654,656],{},[637,648,649],{},"Publish"," the latest version: from the editor (",[637,652,649],{},"), or for several at once from the page or entry\nlist (select rows, ",[637,655,649],{},"). Unsaved changes are saved first.",[634,658,659,662,663,666],{},[637,660,661],{},"Unpublish",": take a page or entry off the site. Its versions are kept. From the page list (row menu or bulk),\nor the entry editor's ",[637,664,665],{},"More actions"," menu, or the entry list (bulk).",[634,668,669,672,673,676,677,680],{},[637,670,671],{},"See the history",": newest first, with who saved each version, when, its note, a ",[637,674,675],{},"Published"," badge on the\nlive version and ",[637,678,679],{},"· latest"," on the newest.",[634,682,683,686,687,690],{},[637,684,685],{},"Open a version"," to see its content as an outline (for a page, each top element's tag or component and its first\nwords; for a module's json field, what its module lists), and,\nfor an older version, ",[637,688,689],{},"Changes since this version",": what is different in the newest version.",[634,692,693,696],{},[637,694,695],{},"Restore"," an older version: it is copied into a new newest version. Nothing is published and no history is\nlost.",[634,698,699,702],{},[637,700,701],{},"Resolve a conflict"," when someone else saved in between (see below).",[619,704,705],{},"Automatically:",[631,707,708,711],{},[634,709,710],{},"Every save that changes something adds a version. Saving without changes adds none, so autosave does not flood\nthe history.",[634,712,713],{},"Changing a page's title, slug or SEO in its settings also saves a version. When the page was live without other\npending changes, that version is published straight away, so the site follows.",[619,715,716,717,720],{},"AI assistants save drafts only and never publish. Their changes appear in the same history and on the AI changes\nscreen, where a person can review and revert them; see ",[718,719,365],"a",{"href":372},".",[619,722,723,724,726],{},"Collections without drafts have none of this: a save is live at once, there are no versions, no history and no\npublish or unpublish (see ",[718,725,116],{"href":117},").",[623,728,730],{"id":729},"who-may-do-it","Who may do it",[732,733,734,750],"table",{},[735,736,737],"thead",{},[738,739,740,744,747],"tr",{},[741,742,743],"th",{},"Action",[741,745,746],{},"Permission",[741,748,749],{},"Roles",[751,752,753,768,780,793,805,817,830,842],"tbody",{},[738,754,755,759,765],{},[756,757,758],"td",{},"Save a page draft, restore a page version",[756,760,761],{},[762,763,764],"code",{},"collections.website-pages.update",[756,766,767],{},"admin, editor, ai",[738,769,770,773,778],{},[756,771,772],{},"Create a page (first version)",[756,774,775],{},[762,776,777],{},"collections.website-pages.create",[756,779,767],{},[738,781,782,785,790],{},[756,783,784],{},"Publish or unpublish a page",[756,786,787],{},[762,788,789],{},"collections.website-pages.publish",[756,791,792],{},"admin, editor",[738,794,795,798,803],{},[756,796,797],{},"Page history, open and compare versions",[756,799,800],{},[762,801,802],{},"collections.website-pages.read",[756,804,767],{},[738,806,807,810,815],{},[756,808,809],{},"Revert an AI change",[756,811,812,814],{},[762,813,764],{},", and not an AI user",[756,816,792],{},[738,818,819,822,827],{},[756,820,821],{},"Save, restore an entry version",[756,823,824],{},[762,825,826],{},"collections.\u003Cslug>.update",[756,828,829],{},"admin; editor by default",[738,831,832,835,840],{},[756,833,834],{},"Publish or unpublish an entry",[756,836,837],{},[762,838,839],{},"collections.\u003Cslug>.publish",[756,841,829],{},[738,843,844,847,852],{},[756,845,846],{},"Entry history, open and compare versions",[756,848,849],{},[762,850,851],{},"collections.\u003Cslug>.read",[756,853,829],{},[631,855,856,859,879,885,891],{},[634,857,858],{},"\"Editor by default\": a collection can narrow what editors may do; otherwise editors get every permission.",[634,860,861,862,865,866,869,870,873,874,876,877,726],{},"ai: only what a collection gives it. The website module gives it ",[762,863,864],{},"read",", ",[762,867,868],{},"create"," and ",[762,871,872],{},"update"," on pages and posts\n(drafts only, never publish) and ",[762,875,864],{}," on the header, footer and navigation. Other collections opened to AI\nassistants are reachable as drafts only (",[718,878,365],{"href":372},[634,880,881,882,884],{},"Saving an entry's text in another language needs the collection's ",[762,883,872],{},". The website module's page rules (no\npath the site uses itself, one item template per collection) hold however a page is saved.",[634,886,887,888,890],{},"AI users hold ",[762,889,764],{},", which restoring needs, but cannot restore: they cannot sign in to\nthe admin, and none of their tools restores.",[634,892,893,894,869,896,898,899,901],{},"In the admin, ",[637,895,649],{},[637,897,661],{}," are hidden or disabled without the publish permission, and\n",[637,900,695],{}," is hidden without the update permission.",[623,903,905],{"id":904},"in-the-admin","In the admin",[907,908,910],"h3",{"id":909},"page-editor","Page editor",[619,912,913,914,865,917,865,920,865,923,926,927,869,930,933,934,937,938,941,942,869,945,720],{},"The top bar shows the save state, with these labels: ",[637,915,916],{},"No changes",[637,918,919],{},"Unsaved changes",[637,921,922],{},"Saving…",[637,924,925],{},"Saved",",\n",[637,928,929],{},"Changed elsewhere",[637,931,932],{},"Save failed",". Next to it are an ",[637,935,936],{},"Unpublished changes"," badge (when the latest version\nis not the live one), the ",[637,939,940],{},"History"," button, ",[637,943,944],{},"Preview",[637,946,649],{},[631,948,949,955,960,981],{},[634,950,951,954],{},[637,952,953],{},"Autosave",": every change is saved 2 seconds later. Changes made while a save is running are saved next.\nLeaving the editor or closing the tab saves pending changes first. A failed save with field problems keeps the\npage unsaved and marks the problems.",[634,956,957,959],{},[637,958,649],{}," saves pending changes, publishes the latest version and shows \"Published \u002F The site will rebuild.\"\nIf the version cannot be published, the problems are shown and the editor selects the element of the first\nproblem.",[634,961,962,965,966,969,970,973,974,977,978,980],{},[637,963,964],{},"Conflict dialog"," \"Someone else saved this page\": opens when a save is refused because the page changed\nelsewhere. Autosave stops until it is resolved. Choices: ",[637,967,968],{},"Copy my content"," (the page's content on the\nclipboard), ",[637,971,972],{},"Reload their version"," (your changes are lost) or ",[637,975,976],{},"Overwrite with mine"," (saves your content on\ntop of theirs as a new version; theirs stays in the history). Clicking ",[637,979,929],{}," reopens it.",[634,982,983],{},"In another language the same autosave and conflict guard apply; the history then loads versions in that\nlanguage.",[907,985,987],{"id":986},"entry-editor","Entry editor",[631,989,990,1028,1031],{},[634,991,992,993,865,996,998,999,1001,1002,1005,1006,1008,1009,1008,1012,1014,1015,1018,1019,1021,1022,1024,1025,1027],{},"Header: a status badge (",[637,994,995],{},"Unsaved",[637,997,936],{},", or draft\u002Fpublished), ",[637,1000,643],{}," (just ",[637,1003,1004],{},"Save","\nfor collections without drafts), ",[637,1007,649],{}," \u002F ",[637,1010,1011],{},"Publish changes",[637,1013,675],{}," (see\n",[718,1016,987],{"href":1017},"\u002Fguide\u002Fcontent\u002Fcollections#entry-editor","), and ",[637,1020,665],{}," with ",[637,1023,940],{}," (once the entry has a\nversion) and ",[637,1026,661],{}," (when it is published).",[634,1029,1030],{},"No autosave. A guard asks before leaving with unsaved changes.",[634,1032,1033,1036,1037,1040,1041,1043,1044,1046],{},[637,1034,1035],{},"Conflict",": the dialog \"Someone else saved this entry\" offers what the page editor does: ",[637,1038,1039],{},"Reload their\nversion"," (unsaved changes are lost), ",[637,1042,976],{}," (saved on top of theirs, which stays in the\nhistory) and ",[637,1045,968],{},"; or cancel to keep editing.",[907,1048,1050],{"id":1049},"lists","Lists",[631,1052,1053],{},[634,1054,1055,1056,1059,1060,1008,1062,1064],{},"The page list and each collection list: status badges (published \u002F draft, plus ",[637,1057,1058],{},"Changes"," when a published item\nhas unpublished changes), status filter, and row and bulk ",[637,1061,649],{},[637,1063,661],{},". Bulk unpublish only acts\non the selected items that are published.",[907,1066,1068],{"id":1067},"version-history-panel","Version history panel",[619,1070,1071,1072,1075],{},"A slide-over titled ",[637,1073,1074],{},"Version history",", shared by pages and entries:",[631,1077,1078,1089,1124,1127],{},[634,1079,1080,1081,1084,1085,1088],{},"20 versions at a time, ",[637,1082,1083],{},"Load older versions"," for more. Each row: time ago (full date on hover), author\n(",[637,1086,1087],{},"Unknown"," when the user is gone or it was the system) and note.",[634,1090,1091,1092,1095,1096],{},"Clicking a row opens it. The newest version shows only its outline. An older one also shows ",[637,1093,1094],{},"Changes since\nthis version",", comparing it with the newest version:\n",[631,1097,1098,1105,1121],{},[634,1099,1100,1101,1104],{},"entries: field by field, in field order, with labels such as \"SEO › SEO title\". A json field lists its changes as\nthe module that checks it describes them (the website module: a page's content node by node); one whose module\ndescribes none, or is switched off, and any other field (text, repeater, relation, link…) is shown as ",[637,1102,1103],{},"Changed","\nas a whole;",[634,1106,1107,1108,865,1111,865,1114,1117,1118,1120],{},"pages: field by field too, so a change of title, slug or SEO shows, and the content node by node. Each element,\ntext or component is ",[637,1109,1110],{},"Added",[637,1112,1113],{},"Removed",[637,1115,1116],{},"Moved"," or ",[637,1119,1103],{},", and a changed one names what changed (its\ntext in a language, an attribute, a property). A node counts as moved only when its parent changes or its order\namong the siblings it kept changes: adding or removing a node moves no other. Under them the website module notes\nthat styles and animations are kept with the site, not in versions;",[634,1122,1123],{},"\"Same as the latest version.\" when nothing differs.",[634,1125,1126],{},"Versions are loaded in the language being edited, so translated text is compared too.",[634,1128,1129,1131],{},[637,1130,695],{}," (all rows except the newest) asks \"Restore this version?\" and then copies it into a new version.\nThe editor reloads to show it. Before restoring, the page editor first saves what autosave has not sent yet; the\nentry editor asks before replacing unsaved changes. When someone saved in between, the panel says \"Someone else\nsaved in the meantime\".",[623,1133,1135],{"id":1134},"on-the-website","On the website",[631,1137,1138,1141,1144,1147,1153],{},[634,1139,1140],{},"The site only ever reads published versions: for pages the slug, title, SEO and content all come from the\npublished version, never from the draft.",[634,1142,1143],{},"Publishing and unpublishing rebuild the site when the collection is public (pages are). The change is visible\nonce the rebuild is done. Unpublishing an item that was not published does nothing.",[634,1145,1146],{},"Collections without drafts are live at once: creating, saving or deleting rebuilds the site.",[634,1148,1149,1150,1152],{},"Drafts can be seen through ",[637,1151,944],{},": a link that works for 10 minutes.",[634,1154,1155,1156,720],{},"A page that goes live under a new slug leaves a redirect from its old path; see\n",[718,1157,181],{"href":182},[623,1159,1161],{"id":1160},"rules-and-limits","Rules and limits",[619,1163,1164],{},[637,1165,1166],{},"Drafts versus published content.",[631,1168,1169,1172,1175,1178,1181],{},[634,1170,1171],{},"A draft may be incomplete: required fields may be empty.",[634,1173,1174],{},"Publishing checks the version strictly: required fields, the page's content, every reference still existing, and\nalt text on images. Otherwise it is refused with \"This version cannot be published yet\" and the problems.",[634,1176,1177],{},"Publishing with no version yet is refused (\"Nothing to publish yet: save first\").",[634,1179,1180],{},"The admin always publishes the latest version. To publish an older one, restore it, then publish.",[634,1182,1183],{},"\"Unpublished changes\" means the latest version is not the published one.",[619,1185,1186],{},[637,1187,1188],{},"Conflict guard.",[631,1190,1191,1194],{},[634,1192,1193],{},"Every save and restore remembers which version the editor started from. If someone else saved since, the save is\nrefused with \"This page was changed by someone else. Reload to see their changes.\" (the item's name instead of\n\"page\").",[634,1195,1196],{},"AI assistants are held to the same guard. A person with the editor open then gets the conflict on their next\nsave.",[619,1198,1199,1202],{},[637,1200,1201],{},"Unchanged saves."," If nothing changed, no version is added. In another language, only that language's text is\ncompared.",[619,1204,1205,1208],{},[637,1206,1207],{},"Versions hold all languages."," A version holds the default language and every translation. Saving one language\nkeeps the others in the new version; restoring brings back every language as it was then.",[619,1210,1211],{},[637,1212,1213],{},"Restore.",[631,1215,1216,1219,1222,1225],{},[634,1217,1218],{},"Copies an old version into a new newest version; history is never rewritten.",[634,1220,1221],{},"Checked as a draft against today's fields and components; references that no longer exist are refused.",[634,1223,1224],{},"Never publishes.",[634,1226,1227],{},"Always adds a version, even when the old version equals the newest. Restoring the version that is already the\nnewest adds nothing.",[619,1229,1230,1233],{},[637,1231,1232],{},"Notes."," Optional, at most 200 characters. Notes the system writes:",[732,1235,1236,1246],{},[735,1237,1238],{},[738,1239,1240,1243],{},[741,1241,1242],{},"Note",[741,1244,1245],{},"When",[751,1247,1248,1258,1268,1278,1288,1298],{},[738,1249,1250,1255],{},[756,1251,1252],{},[762,1253,1254],{},"Created",[756,1256,1257],{},"first version, unless a note was given",[738,1259,1260,1265],{},[756,1261,1262],{},[762,1263,1264],{},"Translated (\u003Ccode>)",[756,1266,1267],{},"a save of another language without a note",[738,1269,1270,1275],{},[756,1271,1272],{},[762,1273,1274],{},"Updated page settings",[756,1276,1277],{},"title, slug, SEO or template changed in page settings",[738,1279,1280,1285],{},[756,1281,1282],{},[762,1283,1284],{},"Updated page settings (slug was \"\u003Cold>\")",[756,1286,1287],{},"the same, with a new slug on a published page",[738,1289,1290,1295],{},[756,1291,1292],{},[762,1293,1294],{},"Restored from \u003CYYYY-MM-DD HH:MM> (\u003Cauthor>)",[756,1296,1297],{},"restore; time in UTC, author when known",[738,1299,1300,1308],{},[756,1301,1302,1008,1305],{},[762,1303,1304],{},"Created by AI",[762,1306,1307],{},"Updated by AI",[756,1309,1310],{},"AI assistants' collection tools; their page tools pass the AI's own note",[619,1312,1313],{},"Normal saves from the team carry no note. A note given when publishing is kept in the audit log: \"Published page\n\"Prijzen\": Prijzen voor 2027\".",[619,1315,1316,1319],{},[637,1317,1318],{},"Deleting"," an item deletes all its versions. Old versions never block deleting media or other items they mention:\ntheir reference is emptied instead.",[619,1321,1322,1325],{},[637,1323,1324],{},"Retention."," Versions are kept until the item is deleted, but old ones are thinned out by retention: versions older\nthan two years by default (at least 30 days, adjustable), never an entry's latest or published version.",[623,1327,1329],{"id":1328},"for-developers","For developers",[619,1331,1332,1333,1336,1337,1340],{},"The code and its tests: ",[762,1334,1335],{},"shade\u002Ffeatures\u002Fentries\u002FREADME.md"," in the ",[762,1338,1339],{},"shade"," repository.",{"title":1342,"searchDepth":1343,"depth":1343,"links":1344},"",2,[1345,1346,1347,1354,1355,1356],{"id":625,"depth":1343,"text":626},{"id":729,"depth":1343,"text":730},{"id":904,"depth":1343,"text":905,"children":1348},[1349,1351,1352,1353],{"id":909,"depth":1350,"text":910},3,{"id":986,"depth":1350,"text":987},{"id":1049,"depth":1350,"text":1050},{"id":1067,"depth":1350,"text":1068},{"id":1134,"depth":1343,"text":1135},{"id":1160,"depth":1343,"text":1161},{"id":1328,"depth":1343,"text":1329},"md",null,{},true,{"title":124,"description":1342},"67lyZuFXQWa1PTxbiipwyNeghYPtuYr3bmxa6ZNQ0uI",[1364,1365],{"title":120,"path":121,"stem":122,"description":1342,"children":-1},{"title":128,"path":129,"stem":130,"description":1342,"children":-1},1796500158493]