/** The admin's sections (1.3.0): one address each, in the sidebar (components/AppShell.tsx). */ export const ADMIN_SECTIONS = { people: { path: "/admin", title: "People", sub: "Everyone with a church account. Roles in each site (an Events supervisor, for example) are set in that site." }, deletions: { path: "/admin/deletions", title: "Deletion requests", sub: "People who asked to delete their account." }, church: { path: "/admin/church", title: "Church profile", sub: "The church's name, logo, colours and contact details, used by all its sites." }, linked: { path: "/admin/linked", title: "Linked products", sub: "The church's sites and apps that sign people in here." }, signin: { path: "/admin/signin", title: "Sign-in settings", sub: "Who may make an account, two-step sign-in for admins, and how long people stay signed in." }, messages: { path: "/admin/messages", title: "Email and WhatsApp", sub: "How Accounts sends sign-in codes, password links and security notices." }, notice: { path: "/admin/notice", title: "Privacy notice", sub: "What people read before they sign in for the first time, and after it changes." }, backups: { path: "/admin/backups", title: "Backups", sub: "Copies of the Accounts database, kept on this server." }, jobs: { path: "/admin/jobs", title: "Background jobs", sub: "What the server does on a schedule. Switch a job on or off or change when it runs: your choice wins over the server's .env and applies straight away." }, licence: { path: "/admin/licence", title: "Licence", sub: "Accounts' connection to Cross Code." }, audit: { path: "/admin/audit", title: "Audit log", sub: "What admins and the church's sites changed here." }, } as const; export type AdminSection = keyof typeof ADMIN_SECTIONS;