import { sdk } from '../sdk' import { changeAdminCredentials } from './changeAdminCredentials' import { toggleSignups } from './toggleSignups' import { verifyDatabase } from './verifyDatabase' /** * Package actions registered with StartOS. * * - change-admin-credentials: rotate the admin email + password from the * StartOS UI without dropping to a shell. See changeAdminCredentials.ts * for the full design notes. * - toggle-signups: open/close the multi-user sign-up gate. The same * toggle is also available in-app at Settings -> Instance Settings * (admin only). See toggleSignups.ts. * - verify-database: read-only PRAGMA integrity_check + quick_check * plus row-count snapshot. Run after a backup or a host crash. */ export const actions = sdk.Actions.of() .addAction(changeAdminCredentials) .addAction(toggleSignups) .addAction(verifyDatabase)