auth/app_settings_routes.ts view source
AppSettingsRouteOptions Per-factory configuration for app settings route specs.
app_settings
Mutable ref to the in-memory app settings — mutated on PATCH.
type AppSettings
Admin app settings route specs.
GET and PATCH routes for managing global app settings (e.g. open signup toggle).
All routes require the admin role.
2 declarations
auth/app_settings_routes.ts view source
AppSettingsRouteOptions Per-factory configuration for app settings route specs.
app_settingsMutable ref to the in-memory app settings — mutated on PATCH.
auth/app_settings_routes.ts view source
(deps: Pick<RouteFactoryDeps, "log" | "on_audit_event">, options: AppSettingsRouteOptions): RouteSpec[] Create admin app settings route specs.
depsstateless capabilities (log, on_audit_event)
Pick<RouteFactoryDeps, "log" | "on_audit_event">optionsper-factory configuration
RouteSpec[] route specs for app settings management