[{"data":1,"prerenderedAt":1020},["ShallowReactive",2],{"navigation_docs":3,"-start-concepts":613,"-start-concepts-surround":1017},[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":19,"body":615,"description":1000,"extension":1011,"links":1012,"meta":1013,"navigation":1014,"path":20,"seo":1015,"stem":21,"__hash__":1016},"docs\u002F1.start\u002F2.concepts.md",{"type":616,"value":617,"toc":999},"minimark",[618,627,632,638,642,654,734,742,757,761,767,778,782,785,813,822,825,832,836,877,886,890,904,910,914,917,995],[619,620,621,622,626],"p",{},"The ideas the rest of these docs build on. Each section links to the page with the details; the exact words are in the\n",[623,624,625],"a",{"href":24},"glossary",".",[628,629,631],"h2",{"id":630},"one-instance-per-business","One instance per business",[619,633,634,635,626],{},"An instance is one SHADE with its own database, on a server of its own: what the business itself calls its own\nsetup, on a server it chooses. Its content, media, accounts and settings live there and nowhere else. Updating SHADE is a new image for every instance; nothing is shared between them.\nSee ",[623,636,637],{"href":47},"Setting up an instance",[628,639,641],{"id":640},"the-kernel-and-its-modules","The kernel and its modules",[619,643,644,645,649,650,653],{},"Whatever adds behaviour to SHADE is a ",[646,647,648],"strong",{},"module",". The ",[646,651,652],{},"kernel"," is the small base they all plug into.",[655,656,657,664,674,701,709,716,719],"ul",{},[658,659,660,661,663],"li",{},"The ",[646,662,652],{}," holds who is signed in, what each person may do, the event bus, background jobs, configuration, the\nloader that starts the modules and, as decided but not built yet, a scoped handle through which a module reaches the database. It also keeps the\nrules every module obeys the same way, such as the guard on outgoing calls. It knows nothing about content, email or\nthe admin's screens, and names no module.",[658,665,666,667,669,670,673],{},"A ",[646,668,648],{}," owns its tables, routes, screens and events, and reaches another only through its front door or the\nevent bus. Content, media, search, email, the audit log, privacy and retention, backups and the team are modules of\ncore, built into the image. A package an admin installs, such as the website or appointments, is a module too: an\n",[646,671,672],{},"installed module",", which the code and most of these pages still call a module.",[658,675,676,677],{},"A module has three properties, and none of them is a kind of module:\n",[655,678,679,685,691],{},[658,680,681,684],{},[646,682,683],{},"Source",": built in (in the image) or installed (a package).",[658,686,687,690],{},[646,688,689],{},"Required",": always on. Only built-in modules are. The others an admin can switch off under Settings, Modules:\nits routes, screens and schedules stop while its data stays.",[658,692,693,695,696,700],{},[646,694,393],{},": trusted or untrusted. Only installed modules have it (see ",[623,697,699],{"href":698},"#trusted-and-untrusted-modules-and-who-signed","below",").",[658,702,703,704,708],{},"Decided but not built yet (decision 0019 point 15): source will decide authority, never trust. A built-in module will\nact as the system, with only the system grants it declares, and an installed one as its own package (",[705,706,707],"code",{},"package:\u003Cname>","),\nnever holding the classes of action that modules may never hold, even when it is official and trusted.",[658,710,711,712,715],{},"Also decided but not built yet: a module can ",[646,713,714],{},"require"," others, and an installed one names a range of versions.\nSwitching a module on will also switch on what it requires, after showing you, and switching one off will be refused\nwhile an enabled module requires it.",[658,717,718],{},"Also decided but not built yet: switching a module off or pausing it keeps its tables, and the look-up and erasure of\npersonal data and the purge after the retention period still run over its data.",[658,720,666,721,724,725,729,730,733],{},[646,722,723],{},"program"," is not a module (see ",[623,726,728],{"href":727},"#programs","Programs","), and the dashboard's tiles, the ",[646,731,732],{},"cards",", are not modules\neither: a card shows something and adds nothing to the instance.",[619,735,736,737,739,740,626],{},"Some built-in modules are always on: team, settings, audit, privacy, errors, operations, backups, the export, content,\nmedia, delivery, email, the admin shell, contacts and the module manager. The others are switched per instance. Building\na switch for each of them is in progress, and the ",[623,738,31],{"href":32}," page lists the modules. For managing the\ninstalled ones, see ",[623,741,317],{"href":318},[619,743,744,745,748,749,752,753,756],{},"An installed module asks for what it needs by declaring ",[646,746,747],{},"capabilities"," (",[705,750,751],{},"email",", ",[705,754,755],{},"files","…); an admin sees them\nbefore it is switched on.",[628,758,760],{"id":759},"flavours","Flavours",[619,762,666,763,766],{},[646,764,765],{},"flavour"," is a starting point: a list of the official modules to install, with the default language, which modules\nstart switched on and, if you want it, a few sample pages or products marked as samples that one action removes.\nWebsite, shop and bookings come first, and a bare instance installs nothing. Every flavour runs from the same image, so\nthere are no branches per client, and changing flavour later means switching modules on or off.",[619,768,769,770,773,774,777],{},"Flavours are not built yet. The design is that the project publishes them in its ",[646,771,772],{},"official catalogue",", a signed list\nof the official modules and flavours, and that the owner picks one on the first run. The image carries no installed\nmodule. The project resolves each flavour into one list of modules, every installed one with its exact version and hash,\nin the order their requirements give, and signs that list with its release key. The instance checks the list again when\nit installs, and fetches nothing the list does not name. Today an operator installs each one by hand. The design is in\ndecision record 0019, in the ",[705,775,776],{},"shade"," repository.",[628,779,781],{"id":780},"trusted-and-untrusted-modules-and-who-signed","Trusted and untrusted modules, and who signed",[619,783,784],{},"Release keys and revocation lists are not built yet. Two words say how an installed module (a module, in today's words) runs, and a third says who signed it:",[655,786,787,793,800,810],{},[658,788,666,789,792],{},[646,790,791],{},"trusted"," module is a server package. It runs inside SHADE, with its own tables, routes, admin screens and\nbackground work. It is signed by a key the instance trusts, or, where the operator allows approvals, approved by an\nadmin who signs in again to do so.",[658,794,795,796,799],{},"An ",[646,797,798],{},"untrusted"," module is one file that runs in a sandbox, with only the capabilities it declares, no database of its\nown and no way into the server. Anyone may write one.",[658,801,802,805,806,809],{},[646,803,804],{},"Official"," names who signed, not a kind of trust. It says the project signed the package with its ",[646,807,808],{},"release key",",\nso an official server package installs with no key pair of the operator's and no approval. Once installed it runs\nexactly as any other trusted module does, and the consent screen still shows what it asks for. A signature on an\nuntrusted module says who made it and changes nothing about how it runs. The operator's own keys and an admin's\napproval work the same way for the operator's own server packages; only the signer's label differs.",[658,811,812],{},"Trust follows who signed, never where the package was downloaded from. The instance carries the project's public keys,\na main one and a backup, and only the backup can revoke the main key. Each release carries a list of revoked keys and\npackage hashes, and a list only adds revocations.",[619,814,815,816,819,820,626],{},"See ",[623,817,818],{"href":394},"Trust and installing"," and\n",[623,821,337],{"href":433},[628,823,728],{"id":824},"programs",[619,826,666,827,829,830,626],{},[646,828,723],{}," is one of the client's own programs, in any language, running beside the instance in a container. It is\nnot a module and not a level of trust: the container is what holds it in, so it does not go through the sandbox, and\nno program is called trusted. An admin approves it on the Programs screen and starts it, and it reaches SHADE only with\nits own token. See ",[623,831,728],{"href":350},[628,833,835],{"id":834},"team-accounts-and-visitors","Team, accounts and visitors",[655,837,838,858,864],{},[658,839,840,843,844,847,848,752,851,854,855,626],{},[646,841,842],{},"Team members"," use the admin. Each has one role: ",[705,845,846],{},"admin"," (everything), ",[705,849,850],{},"editor",[705,852,853],{},"ai"," (an AI assistant, which can\nonly save drafts), or a custom role an admin defines. What a role may do is a list of ",[646,856,857],{},"actions",[658,859,860,863],{},[646,861,862],{},"Visitors"," are anyone on a frontend, the website or an app.",[658,865,866,869,870,819,873,876],{},[646,867,868],{},"Accounts"," are visitors who signed in. Core keeps them; a module gives them ",[646,871,872],{},"account roles",[646,874,875],{},"abilities"," (for example managing their own bookings).",[619,878,879,880,752,882,819,884,626],{},"Actions and abilities never cross: an account can never act in the admin, and a team member's actions never reach account\nroutes. See ",[623,881,217],{"href":218},[623,883,221],{"href":222},[623,885,868],{"href":250},[628,887,889],{"id":888},"the-website-module-and-the-site","The website module and the site",[655,891,892,898],{},[658,893,660,894,897],{},[646,895,896],{},"website module"," is where pages are made: pages, navigation, footer, posts, components, the theme and\nredirects, edited in the admin with the visual editor.",[658,899,660,900,903],{},[646,901,902],{},"site"," is a frontend that renders them: a fully static Astro site rebuilt on every publish, served by Caddy or\na static host. Other frontends (Next.js, Nuxt, SvelteKit or plain HTTP) read the same content over the API.",[619,905,906,907,626],{},"An instance does not need a website: without the module, SHADE serves only its admin and API.\nSee ",[623,908,909],{"href":154},"The website",[628,911,913],{"id":912},"tokens","Tokens",[619,915,916],{},"Programs talk to SHADE with an API token, never a person's password. Each token acts as one team member and can do no\nmore than they may:",[918,919,920,933],"table",{},[921,922,923],"thead",{},[924,925,926,930],"tr",{},[927,928,929],"th",{},"Kind",[927,931,932],{},"For",[934,935,936,947,957,970,985],"tbody",{},[924,937,938,944],{},[939,940,941],"td",{},[705,942,943],{},"build",[939,945,946],{},"The site's build: fetches published content and reports how each build went",[924,948,949,954],{},[939,950,951],{},[705,952,953],{},"read",[939,955,956],{},"Another site or app that only reads published content",[924,958,959,964],{},[939,960,961],{},[705,962,963],{},"mcp",[939,965,966,967,969],{},"An AI assistant connected over MCP, as an ",[705,968,853],{}," team member",[924,971,972,977],{},[939,973,974],{},[705,975,976],{},"data",[939,978,979,980,984],{},"Another system that reads the collections it was given, and with ",[981,982,983],"em",{},"Read and write"," changes their entries",[924,986,987,992],{},[939,988,989],{},[705,990,991],{},"automation",[939,993,994],{},"An admin's own trusted script, such as a content import, limited to the actions chosen",[619,996,815,997,626],{},[623,998,257],{"href":258},{"title":1000,"searchDepth":1001,"depth":1001,"links":1002},"",2,[1003,1004,1005,1006,1007,1008,1009,1010],{"id":630,"depth":1001,"text":631},{"id":640,"depth":1001,"text":641},{"id":759,"depth":1001,"text":760},{"id":780,"depth":1001,"text":781},{"id":824,"depth":1001,"text":728},{"id":834,"depth":1001,"text":835},{"id":888,"depth":1001,"text":889},{"id":912,"depth":1001,"text":913},"md",null,{},true,{"title":19,"description":1000},"52KtvBRYatzG_dXPHaYrk_w4QKhJ-cIFkBqNNKuHHaE",[1018,1019],{"title":15,"path":16,"stem":17,"description":1000,"children":-1},{"title":23,"path":24,"stem":25,"description":1000,"children":-1},1796500152481]