server/app_server_context.ts view source
AppServerContext import type {AppServerContext} from '@fuzdev/fuz_app/server/app_server_context.js'; Context passed to create_route_specs.
deps
type AppDeps
backend
type AppBackend
bootstrap_status
type BootstrapStatus
session_options
type SessionOptions<string>
ip_rate_limiter
Shared IP rate limiter (from options). null when not configured.
type RateLimiter | null
login_account_rate_limiter
Per-account login rate limiter (from options). null when not configured.
type RateLimiter | null
signup_account_rate_limiter
Per-account signup rate limiter (from options). null when not configured.
type RateLimiter | null
action_ip_rate_limiter
Per-IP action-dispatcher rate limiter — shared across HTTP RPC + WS. null when not configured.
type RateLimiter | null
action_account_rate_limiter
Per-actor action-dispatcher rate limiter — shared across HTTP RPC + WS. null when not configured.
type RateLimiter | null
audit_sse
Factory-managed audit log SSE. Non-null when the audit_log_sse
option was passed to create_app_server, null when omitted.
Use require_audit_sse(ctx) to assert the invariant.
type AuditLogSse | null