🗝
/
docs
/
library
menu
library
#
fuz_app 🗝
fullstack app library
npm i -D @fuzdev/fuz_app
homepage
app.fuz.dev
repo
fuzdev/fuz_app
npm
@fuzdev/fuz_app
version
0.54.0
license
MIT
data
package.json
library.json
actions/action_bridge.ts
ActionRouteOptions
ActionEventOptions
map_action_auth
derive_http_method
create_action_route_spec
create_action_event_spec
actions/action_codegen.ts
PROTOCOL_ACTION_METHODS
ProtocolActionMethod
is_protocol_action_method
ImportBuilder
get_executor_phases
DEFAULT_COLLECTIONS_PATH
DEFAULT_SPECS_MODULE
DEFAULT_METATYPES_PATH
get_handler_return_type
generate_phase_handlers
create_banner
to_action_spec_identifier
to_action_spec_input_identifier
to_action_spec_output_identifier
generate_actions_api_method_signature
ActionMethodEnumKind
ACTION_METHOD_ENUM_KINDS_ALL
generate_action_method_enums
generate_action_method_enum_block
generate_typed_action_event_alias
generate_action_specs_record
generate_action_inputs_outputs
generate_action_event_datas
generate_frontend_actions_api
generate_frontend_action_handlers
generate_backend_actions_api
generate_backend_action_handlers_map
SpecSource
create_namespace_qualifier
compose_gen_file
actions/action_event_data.ts
ActionEventData
ActionEventRequestResponseData
ActionEventRemoteNotificationData
ActionEventLocalCallData
ActionEventDataUnion
actions/action_event_helpers.ts
is_request_response
is_remote_notification
is_local_call
is_send_request
is_receive_request
is_send_response
is_receive_response
is_notification_send
is_notification_receive
is_execute
is_initial
is_parsed
is_handling
is_handled
is_failed
is_send_request_with_parsed_input
is_notification_send_with_parsed_input
validate_step_transition
validate_phase_for_kind
validate_phase_transition
get_initial_phase
should_validate_output
is_action_complete
create_initial_data
extract_action_result
actions/action_event_types.ts
ActionExecutor
ActionEventStep
ACTION_EVENT_STEP_TRANSITIONS
ACTION_EVENT_PHASE_BY_KIND
ACTION_EVENT_PHASE_TRANSITIONS
ActionEventEnvironment
actions/action_event.ts
ActionEventChangeObserver
ActionEvent
create_action_event
create_action_event_from_json
parse_action_event
actions/action_peer.ts
ActionPeerSendOptions
ActionPeerOptions
ActionPeer
actions/action_registry.ts
ActionRegistry
actions/action_rpc.ts
ActionContext
ActionHandler
RpcAction
rpc_action
CreateRpcEndpointOptions
create_rpc_endpoint
actions/action_spec.ts
ActionKind
ActionInitiator
ActionAuth
ActionSideEffects
ActionSpec
RequestResponseActionSpec
RemoteNotificationActionSpec
LocalCallActionSpec
ActionSpecUnion
is_action_spec
ActionEventPhase
actions/action_types.ts
BaseHandlerContext
WsActionHandler
Action
actions/broadcast_api.ts
ShouldDeliverFn
CreateBroadcastApiOptions
BroadcastApi
create_broadcast_api
actions/cancel.ts
CancelNotificationParams
cancel_action_spec
cancel_handler
cancel_action
actions/frontend_rpc_client.ts
CreateFrontendRpcClientOptions
FrontendRpcClient
create_frontend_rpc_client
actions/heartbeat.ts
heartbeat_action_spec
heartbeat_handler
heartbeat_action
actions/protocol.ts
protocol_actions
protocol_action_specs
actions/register_action_ws.ts
DEFAULT_SERVER_HEARTBEAT_TIMEOUT
SocketOpenContext
SocketCloseContext
ServerHeartbeatOptions
RegisterActionWsOptions
RegisterActionWsResult
register_action_ws
actions/register_ws_endpoint.ts
RegisterWsEndpointOptions
register_ws_endpoint
actions/request_tracker.svelte.ts
RequestTrackerItem
RequestTracker
actions/rpc_client.ts
TransportForMethod
CreateRpcClientOptions
create_rpc_client
RpcClientCallOptions
ThrowingApi
create_throwing_api
actions/socket.svelte.ts
DEFAULT_CLOSE_CODE
DEFAULT_RECONNECT_DELAY
DEFAULT_RECONNECT_DELAY_MAX
DEFAULT_BACKOFF_FACTOR
DEFAULT_HEARTBEAT_INTERVAL
DEFAULT_HEARTBEAT_RECEIVE_TIMEOUT
DEFAULT_QUEUE_MAX_SIZE
SocketStatus
SocketMessageHandler
SocketErrorHandler
FrontendWebsocketReconnectOptions
FrontendWebsocketHeartbeatOptions
FrontendWebsocketQueueOptions
FrontendWebsocketClientOptions
FrontendWebsocketClient
socket_status_to_async_status
actions/transports_http.ts
FrontendHttpTransport
actions/transports_ws_auth_guard.ts
AuditEventHandler
WS_DISCONNECT_EVENT_TYPES
create_ws_auth_guard
create_ws_logout_closer
actions/transports_ws_backend.ts
ConnectionIdentity
FilterableBroadcastTransport
is_filterable_broadcast_transport
BackendWebsocketTransport
actions/transports_ws.ts
WebsocketConnection
WebsocketRpcConnection
FrontendWebsocketTransport
actions/transports.ts
WS_CLOSE_SESSION_REVOKED
WS_CLOSE_CLIENT_HEARTBEAT_TIMEOUT
WS_CLOSE_SERVER_HEARTBEAT_TIMEOUT
TransportName
TransportSendOptions
Transport
Transports
auth/account_action_specs.ts
VerifyInput
SessionListInput
SessionListOutput
SessionRevokeInput
SessionRevokeOutput
SessionRevokeAllInput
SessionRevokeAllOutput
TokenCreateInput
TokenCreateOutput
TokenListInput
TokenListOutput
TokenRevokeInput
TokenRevokeOutput
account_verify_action_spec
account_session_list_action_spec
account_session_revoke_action_spec
account_session_revoke_all_action_spec
account_token_create_action_spec
account_token_list_action_spec
account_token_revoke_action_spec
all_account_action_specs
auth/account_actions.ts
AccountActionOptions
AccountActionDeps
create_account_actions
auth/account_queries.ts
query_create_account
query_account_by_id
query_account_by_username
query_account_by_email
query_account_by_username_or_email
query_update_account_password
query_delete_account
query_account_has_any
query_create_actor
query_actor_by_account
query_actor_by_id
query_create_account_with_actor
query_admin_account_list
auth/account_routes.ts
AccountStatusInput
AccountStatusOutput
AccountStatusUnauthenticatedError
create_account_status_route_spec
AccountStatusOptions
DEFAULT_MAX_SESSIONS
DEFAULT_MAX_TOKENS
DEFAULT_LOGIN_FAIL_FLOOR_MS
DEFAULT_LOGIN_FAIL_JITTER_MS
AuthSessionRouteOptions
AccountRouteOptions
LoginInput
LoginOutput
LogoutInput
LogoutOutput
PasswordChangeInput
PasswordChangeOutput
create_account_route_specs
auth/account_schema.ts
USERNAME_LENGTH_MIN
USERNAME_LENGTH_MAX
USERNAME_PROVIDED_LENGTH_MAX
Username
UsernameProvided
Email
Account
SessionAccount
Actor
PERMIT_REVOKED_REASON_LENGTH_MAX
Permit
is_permit_active
AuthSession
ApiToken
SessionAccountJson
AuthSessionJson
ClientApiTokenJson
PermitSummaryJson
ActorSummaryJson
AdminAccountJson
PendingOfferSummaryJson
AdminAccountEntryJson
CreateAccountInput
GrantPermitInput
to_session_account
to_admin_account
auth/admin_action_specs.ts
AUDIT_LOG_LIST_LIMIT_MAX
AdminAccountListInput
AdminAccountListOutput
AdminSessionListInput
AdminSessionListOutput
AdminSessionRevokeAllInput
AdminSessionRevokeAllOutput
AdminTokenRevokeAllInput
AdminTokenRevokeAllOutput
AuditLogListInput
AuditLogListOutput
AuditLogPermitHistoryInput
AuditLogPermitHistoryOutput
InviteCreateInput
InviteCreateOutput
InviteListInput
InviteListOutput
InviteDeleteInput
InviteDeleteOutput
AppSettingsGetInput
AppSettingsGetOutput
AppSettingsUpdateInput
AppSettingsUpdateOutput
admin_account_list_action_spec
admin_session_list_action_spec
admin_session_revoke_all_action_spec
admin_token_revoke_all_action_spec
audit_log_list_action_spec
audit_log_permit_history_action_spec
invite_create_action_spec
invite_list_action_spec
invite_delete_action_spec
app_settings_get_action_spec
app_settings_update_action_spec
all_admin_action_specs
auth/admin_actions.ts
AdminActionOptions
AdminActionDeps
create_admin_actions
auth/api_token_queries.ts
ApiTokenQueryDeps
query_create_api_token
query_validate_api_token
query_revoke_all_api_tokens_for_account
query_revoke_api_token_for_account
query_api_token_list_for_account
query_api_token_enforce_limit
auth/api_token.ts
API_TOKEN_PREFIX
API_TOKEN_ID_REGEX
ApiTokenId
hash_api_token
generate_api_token
auth/app_settings_queries.ts
query_app_settings_load
query_app_settings_load_with_username
query_app_settings_update
auth/app_settings_schema.ts
AppSettings
AppSettingsJson
AppSettingsWithUsernameJson
UpdateAppSettingsInput
auth/audit_log_queries.ts
get_audit_metadata_validation_failures
reset_audit_metadata_validation_failures
get_audit_unknown_event_type_failures
reset_audit_unknown_event_type_failures
query_audit_log
query_audit_log_list
query_audit_log_list_with_usernames
query_audit_log_list_for_account
query_audit_log_list_permit_history
query_audit_log_cleanup_before
AuditLogFireAndForgetDeps
audit_log_fire_and_forget
auth/audit_log_routes.ts
AuditLogRouteOptions
create_audit_log_route_specs
auth/audit_log_schema.ts
AUDIT_EVENT_TYPES
AuditEventType
AUDIT_EVENT_TYPE_NAME_REGEX
AuditEventTypeName
AuditOutcome
AUDIT_METADATA_SCHEMAS
AuditMetadataMap
AuditLogEvent
get_audit_metadata
AuditLogInput
AuditLogConfig
BUILTIN_AUDIT_LOG_CONFIG
CreateAuditLogConfigOptions
create_audit_log_config
AUDIT_LOG_DEFAULT_LIMIT
AuditLogListOptions
AuditLogEventJson
AuditLogEventWithUsernamesJson
PermitHistoryEventJson
AdminSessionJson
AUDIT_LOG_SCHEMA
AUDIT_LOG_INDEXES
auth/bearer_auth.ts
create_bearer_auth_middleware
auth/bootstrap_account.ts
BootstrapAccountInput
BootstrapAccountSuccess
BootstrapAccountFailure
BootstrapAccountResult
BootstrapAccountDeps
bootstrap_account
auth/bootstrap_routes.ts
BootstrapInput
BootstrapOutput
BootstrapStatus
BootstrapRouteOptions
CheckBootstrapStatusDeps
check_bootstrap_status
create_bootstrap_route_specs
auth/cleanup.ts
AuthCleanupDeps
AuthCleanupResult
cleanup_expired_permit_offers
run_auth_cleanup
auth/daemon_token_middleware.ts
DEFAULT_ROTATION_INTERVAL_MS
DaemonTokenWriteDeps
get_daemon_token_path
write_daemon_token
resolve_keeper_account_id
DaemonTokenRotationOptions
DaemonTokenRotation
start_daemon_token_rotation
create_daemon_token_middleware
auth/daemon_token.ts
DaemonToken
DAEMON_TOKEN_HEADER
DaemonTokenState
generate_daemon_token
validate_daemon_token
auth/ddl.ts
ACCOUNT_SCHEMA
ACTOR_SCHEMA
ACTOR_INDEX
PERMIT_SCHEMA
PERMIT_INDEXES
AUTH_SESSION_SCHEMA
AUTH_SESSION_INDEXES
API_TOKEN_SCHEMA
ACCOUNT_EMAIL_INDEX
ACCOUNT_USERNAME_CI_INDEX
API_TOKEN_INDEX
BOOTSTRAP_LOCK_SCHEMA
BOOTSTRAP_LOCK_SEED
INVITE_SCHEMA
INVITE_INDEXES
APP_SETTINGS_SCHEMA
APP_SETTINGS_SEED
auth/deps.ts
AppDeps
RouteFactoryDeps
auth/invite_queries.ts
query_create_invite
query_invite_find_unclaimed_by_email
query_invite_find_unclaimed_by_username
query_invite_find_unclaimed_match
query_invite_claim
query_invite_list_all
query_invite_list_all_with_usernames
query_invite_delete_unclaimed
auth/invite_schema.ts
Invite
InviteJson
InviteWithUsernamesJson
CreateInviteInput
auth/keyring.ts
Keyring
create_keyring
validate_keyring
ValidatedKeyringResult
create_validated_keyring
auth/middleware.ts
AuthMiddlewareOptions
create_auth_middleware_specs
auth/migrations.ts
AUTH_MIGRATION_NAMESPACE
AUTH_MIGRATIONS
AUTH_MIGRATION_NS
auth/password_argon2.ts
hash_password
verify_password
verify_dummy
argon2_password_deps
auth/password.ts
PASSWORD_LENGTH_MIN
PASSWORD_LENGTH_MAX
Password
PasswordProvided
PasswordHashDeps
auth/permit_offer_action_specs.ts
ERROR_OFFER_SELF_TARGET
ERROR_OFFER_TERMINAL
ERROR_OFFER_EXPIRED
ERROR_OFFER_NOT_FOUND
ERROR_OFFER_ROLE_NOT_GRANTABLE
ERROR_OFFER_NOT_AUTHORIZED
PermitOfferCreateInput
PermitOfferAcceptInput
PermitOfferDeclineInput
PermitOfferRetractInput
PermitOfferListInput
PermitRevokeInput
PermitOfferHistoryInput
PermitOfferCreateOutput
PermitOfferAcceptOutput
PermitOfferOkOutput
PermitOfferListOutput
PermitOfferHistoryOutput
PermitRevokeOutput
permit_offer_create_action_spec
permit_offer_accept_action_spec
permit_offer_decline_action_spec
permit_offer_retract_action_spec
permit_offer_list_action_spec
permit_offer_history_action_spec
permit_revoke_action_spec
all_permit_offer_action_specs
auth/permit_offer_actions.ts
PermitOfferCreateAuthorize
PermitOfferActionOptions
authorize_admin_or_holder
PermitOfferActionDeps
create_permit_offer_actions
auth/permit_offer_notifications.ts
NotificationSender
PERMIT_OFFER_RECEIVED_NOTIFICATION_METHOD
PERMIT_OFFER_RETRACTED_NOTIFICATION_METHOD
PERMIT_OFFER_ACCEPTED_NOTIFICATION_METHOD
PERMIT_OFFER_DECLINED_NOTIFICATION_METHOD
PERMIT_OFFER_SUPERSEDE_NOTIFICATION_METHOD
PERMIT_REVOKE_NOTIFICATION_METHOD
PermitOfferReceivedParams
PermitOfferRetractedParams
PermitOfferAcceptedParams
PermitOfferDeclinedParams
PermitOfferSupersedeParams
PermitRevokeParams
permit_offer_received_notification_spec
permit_offer_retracted_notification_spec
permit_offer_accepted_notification_spec
permit_offer_declined_notification_spec
permit_offer_supersede_notification_spec
permit_revoke_notification_spec
PERMIT_OFFER_NOTIFICATION_SPECS
build_permit_offer_received_notification
build_permit_offer_retracted_notification
build_permit_offer_accepted_notification
build_permit_offer_declined_notification
build_permit_offer_supersede_notification
build_permit_revoke_notification
auth/permit_offer_queries.ts
PermitOfferAlreadyTerminalError
PermitOfferExpiredError
PermitOfferNotFoundError
PermitOfferSelfTargetError
query_permit_offer_create
query_permit_offer_decline
query_permit_offer_retract
query_permit_offer_list
query_permit_offer_history_for_account
query_permit_offer_find_pending
query_permit_offer_sweep_expired
AcceptOfferInput
AcceptOfferResult
query_accept_offer
auth/permit_offer_schema.ts
PERMIT_OFFER_SCOPE_SENTINEL_UUID
PERMIT_OFFER_MESSAGE_LENGTH_MAX
PERMIT_OFFER_DEFAULT_TTL_MS
PERMIT_OFFER_SCHEMA
PERMIT_OFFER_PENDING_UNIQUE_INDEX
PERMIT_OFFER_INBOX_INDEX
PermitOffer
SupersededOffer
CreatePermitOfferInput
PermitOfferJson
to_permit_offer_json
auth/permit_queries.ts
query_grant_permit
query_permit_find_active_role_for_actor
RevokePermitResult
query_revoke_permit
query_permit_find_active_for_actor
query_permit_has_role
query_permit_list_for_actor
query_permit_find_account_id_for_role
RevokeForScopeResult
query_permit_revoke_for_scope
RevokeRoleResult
query_permit_revoke_role
auth/request_context.ts
RequestContext
REQUEST_CONTEXT_KEY
AUTH_SESSION_TOKEN_HASH_KEY
get_request_context
require_request_context
has_role
has_scoped_role
has_any_scoped_role
create_request_context_middleware
require_auth
require_role
refresh_permits
build_request_context
auth/require_keeper.ts
require_keeper
auth/role_schema.ts
RoleName
ROLE_KEEPER
ROLE_ADMIN
BUILTIN_ROLES
BuiltinRole
RoleOptions
BUILTIN_ROLE_OPTIONS
RoleSchemaResult
create_role_schema
auth/route_guards.ts
fuz_auth_guard_resolver
auth/self_service_role_action_specs.ts
ERROR_ROLE_NOT_SELF_SERVICE_ELIGIBLE
SelfServiceRoleSetInput
SelfServiceRoleSetOutput
self_service_role_set_action_spec
all_self_service_role_action_specs
auth/self_service_role_actions.ts
SelfServiceRoleActionsOptions
SelfServiceRoleActionDeps
create_self_service_role_actions
auth/session_cookie.ts
SESSION_AGE_MAX
SessionCookieOptions
SESSION_COOKIE_OPTIONS
SessionOptions
ParsedSession
parse_session
create_session_cookie_value
ProcessSessionResult
create_session_config
fuz_session_config
process_session_cookie
auth/session_lifecycle.ts
CreateSessionAndSetCookieOptions
create_session_and_set_cookie
auth/session_middleware.ts
get_session_cookie
set_session_cookie
clear_session_cookie
create_session_middleware
auth/session_queries.ts
AUTH_SESSION_LIFETIME_MS
AUTH_SESSION_EXTEND_THRESHOLD_MS
hash_session_token
generate_session_token
query_create_session
query_session_get_valid
query_session_touch
query_session_revoke_by_hash_unscoped
query_session_revoke_for_account
query_session_revoke_all_for_account
query_session_list_for_account
query_session_enforce_limit
query_session_list_all_active
query_session_cleanup_expired
session_touch_fire_and_forget
auth/signup_routes.ts
SignupRouteOptions
SignupInput
SignupOutput
create_signup_route_specs
auth/standard_action_specs.ts
all_standard_action_specs
auth/standard_rpc_actions.ts
StandardRpcActionsOptions
StandardRpcActionsDeps
create_standard_rpc_actions
cli/args.ts
ParseResult
parse_command_args
create_extract_global_flags
cli/config.ts
get_app_dir
get_config_path
load_config
save_config
cli/daemon.ts
DaemonInfo
get_daemon_info_path
write_daemon_info
read_daemon_info
is_daemon_running
check_daemon_health
StopDaemonResult
stop_daemon
cli/help.ts
CommandMeta
HelpCategory
HelpOptions
HelpGenerator
to_max_length
format_arg_name
create_help
cli/logger.ts
CliLogger
create_cli_logger
cli/util.ts
colors
run_local
confirm
crypto.ts
generate_random_base64url
db/assert_row.ts
assert_row
db/create_db.ts
CreateDbResult
create_db
db/db_pg.ts
create_pg_db
db/db_pglite.ts
create_pglite_db
db/db.ts
DbClient
DbDeps
DbDriverResult
DbType
no_nested_transaction
Db
db/migrate.ts
Migration
MigrationNamespace
MigrationResult
MigrationErrorKind
MigrationErrorContext
MigrationError
run_migrations
baseline
db/pg_error.ts
is_pg_unique_violation
db/query_deps.ts
QueryDeps
db/sql_identifier.ts
VALID_SQL_IDENTIFIER
assert_valid_sql_identifier
db/status.ts
MigrationStatus
TableStatus
DbStatus
query_db_status
format_db_status
dev/setup.ts
SetupLogger
default_setup_logger
SetupEnvResult
SetupTokenResult
ResetDbResult
SetupEnvOptions
SetupBootstrapTokenOptions
CreateDatabaseOptions
ResetDatabaseOptions
parse_db_name
generate_random_key
read_env_var
setup_env_file
setup_bootstrap_token
reset_bootstrap_token
create_database
reset_database
SeedDevAccountInput
SeedDevAccountResult
SeedDevAccountDeps
seed_dev_account
env/dotenv.ts
parse_dotenv
load_env_file
env/load.ts
EnvValidationError
log_env_validation_error
load_env
env/mask.ts
MASKED_VALUE
format_env_display_value
env/resolve.ts
resolve_env_vars
has_env_vars
get_env_var_names
resolve_env_vars_in_object
resolve_env_vars_required
EnvVarRef
scan_env_vars
EnvValidationResult
validate_env_vars
FormatMissingEnvVarsOptions
format_missing_env_vars
env/update_env_variable.ts
UpdateEnvVariableOptions
update_env_variable
hono_context.ts
CREDENTIAL_TYPES
CredentialType
CREDENTIAL_TYPE_KEY
AUTH_API_TOKEN_ID_KEY
http/common_routes.ts
create_health_route_spec
ServerStatusOptions
create_server_status_route_spec
SurfaceRouteOptions
create_surface_route_spec
http/db_routes.ts
TableInfo
TableWithCount
PrimaryKeyInfo
ColumnInfo
DbRouteOptions
create_db_route_specs
http/error_schemas.ts
ERROR_INVALID_REQUEST_BODY
ERROR_INVALID_JSON_BODY
ERROR_INVALID_ROUTE_PARAMS
ERROR_INVALID_QUERY_PARAMS
ERROR_AUTHENTICATION_REQUIRED
ERROR_INSUFFICIENT_PERMISSIONS
ERROR_RATE_LIMIT_EXCEEDED
ERROR_INVALID_CREDENTIALS
ERROR_PAYLOAD_TOO_LARGE
ERROR_FORBIDDEN_ORIGIN
ERROR_FORBIDDEN_REFERER
ERROR_BEARER_REJECTED_BROWSER
ERROR_INVALID_TOKEN
ERROR_ACCOUNT_NOT_FOUND
ERROR_KEEPER_REQUIRES_DAEMON_TOKEN
ERROR_INVALID_DAEMON_TOKEN
ERROR_KEEPER_ACCOUNT_NOT_CONFIGURED
ERROR_KEEPER_ACCOUNT_NOT_FOUND
ERROR_ALREADY_BOOTSTRAPPED
ERROR_TOKEN_FILE_MISSING
ERROR_BOOTSTRAP_NOT_CONFIGURED
ERROR_NO_MATCHING_INVITE
ERROR_SIGNUP_CONFLICT
ERROR_INVITE_NOT_FOUND
ERROR_INVITE_MISSING_IDENTIFIER
ERROR_INVITE_DUPLICATE
ERROR_INVITE_ACCOUNT_EXISTS_USERNAME
ERROR_INVITE_ACCOUNT_EXISTS_EMAIL
ERROR_ROLE_NOT_WEB_GRANTABLE
ERROR_PERMIT_NOT_FOUND
ERROR_INVALID_EVENT_TYPE
ERROR_FOREIGN_KEY_VIOLATION
ERROR_TABLE_NOT_FOUND
ERROR_TABLE_NO_PRIMARY_KEY
ERROR_ROW_NOT_FOUND
ERROR_DATABASE_CONNECTION_FAILED
ApiError
ValidationError
PermissionError
KeeperError
RateLimitError
PayloadTooLargeError
ForeignKeyError
RouteErrorSchemas
RateLimitKey
derive_error_schemas
http/jsonrpc_errors.ts
UNKNOWN_ERROR_MESSAGE
JsonrpcErrorName
JSONRPC_ERROR_CODES
jsonrpc_error_messages
ThrownJsonrpcError
jsonrpc_errors
JSONRPC_ERROR_CODE_TO_HTTP_STATUS
HTTP_STATUS_TO_JSONRPC_ERROR_CODE
jsonrpc_error_code_to_http_status
http_status_to_jsonrpc_error_code
http/jsonrpc_helpers.ts
create_jsonrpc_request
create_jsonrpc_response
create_jsonrpc_notification
create_jsonrpc_error_response
create_jsonrpc_error_response_from_thrown
is_jsonrpc_request_id
is_jsonrpc_object
is_jsonrpc_message
is_jsonrpc_request
is_jsonrpc_notification
is_jsonrpc_response
is_jsonrpc_error_response
to_jsonrpc_message_id
to_jsonrpc_params
to_jsonrpc_result
http/jsonrpc.ts
JSONRPC_VERSION
JsonrpcRequestId
JsonrpcMethod
JsonrpcProgressToken
JsonrpcMcpMeta
JsonrpcRequestParamsMeta
JsonrpcRequestParams
JsonrpcNotificationParams
JsonrpcResult
JsonrpcRequest
JsonrpcNotification
JsonrpcResponse
JSONRPC_PARSE_ERROR
JSONRPC_INVALID_REQUEST
JSONRPC_METHOD_NOT_FOUND
JSONRPC_INVALID_PARAMS
JSONRPC_INTERNAL_ERROR
JSONRPC_SERVER_ERROR_START
JSONRPC_SERVER_ERROR_END
JsonrpcServerErrorCode
JsonrpcErrorCode
JsonrpcErrorObject
JsonrpcErrorResponse
JsonrpcResponseOrError
JsonrpcMessage
JsonrpcMessageFromClientToServer
JsonrpcMessageFromServerToClient
http/middleware_spec.ts
MiddlewareSpec
http/origin.ts
parse_allowed_origins
should_allow_origin
verify_request_source
http/pending_effects.ts
PendingEffectsContext
emit_after_commit
http/proxy.ts
normalize_ip
ProxyOptions
ParsedProxy
parse_proxy_entry
is_trusted_ip
resolve_client_ip
create_proxy_middleware
create_proxy_middleware_spec
get_client_ip
http/route_spec.ts
RouteAuth
AuthGuardResolver
RouteMethod
RouteContext
RouteHandler
RouteSpec
get_route_input
get_route_params
get_route_query
apply_middleware_specs
apply_route_specs
prefix_route_specs
http/schema_helpers.ts
is_null_schema
is_void_schema
is_strict_object_schema
schema_to_surface
middleware_applies
merge_error_schemas
http/surface_query.ts
filter_protected_routes
filter_public_routes
filter_role_routes
filter_authenticated_routes
filter_keeper_routes
filter_routes_for_role
routes_by_auth_type
filter_routes_by_prefix
filter_routes_with_input
filter_routes_with_params
filter_routes_with_query
filter_mutation_routes
filter_rate_limited_routes
format_route_key
surface_auth_summary
http/surface.ts
AppSurfaceRoute
AppSurfaceMiddleware
AppSurfaceEnv
AppSurfaceEvent
AppSurfaceRpcMethod
AppSurfaceRpcEndpoint
AppSurfaceDiagnostic
AppSurface
AppSurfaceSpec
RpcEndpointSpec
GenerateAppSurfaceOptions
collect_middleware_errors
env_schema_to_surface
events_to_surface
generate_app_surface
create_app_surface_spec
rate_limiter.ts
DEFAULT_RATE_LIMITER_MAX_KEYS
RateLimiterOptions
DEFAULT_LOGIN_IP_RATE_LIMIT
DEFAULT_LOGIN_ACCOUNT_RATE_LIMIT
DEFAULT_ACTION_IP_RATE_LIMIT
DEFAULT_ACTION_ACCOUNT_RATE_LIMIT
RateLimitResult
RateLimiter
create_rate_limiter
rate_limit_exceeded_response
realtime/sse_auth_guard.ts
AUDIT_LOG_CHANNEL
DISCONNECT_EVENT_TYPES
create_sse_auth_guard
AuditLogSse
AUDIT_LOG_EVENT_SPECS
AUDIT_LOG_SSE_MAX_PER_SCOPE
create_audit_log_sse
realtime/sse.ts
SseStream
SseNotification
create_sse_response
SSE_CONNECTED_COMMENT
EventSpec
create_validated_broadcaster
realtime/subscriber_registry.ts
Subscriber
SubscriberRegistryOptions
SubscribeOptions
SubscriberRegistry
runtime/deno.ts
create_deno_runtime
runtime/deps.ts
StatResult
CommandResult
RunCommandOptions
EnvDeps
ReadTextFromOffsetResult
FsReadDeps
FsWriteDeps
FsRemoveDeps
CommandDeps
FetchDeps
LogDeps
TerminalDeps
ProcessDeps
RuntimeDeps
runtime/fs.ts
write_file_atomic
runtime/mock.ts
MockRuntime
create_mock_runtime
reset_mock_runtime
set_mock_stdin
MockExitError
runtime/node.ts
create_node_runtime
schema_meta.ts
SchemaFieldMeta
sensitivity.ts
Sensitivity
server/app_backend.ts
AppBackend
CreateAppBackendOptions
create_app_backend
server/app_server.ts
EffectErrorContext
AppServerOptions
AppServerContext
AppServer
DEFAULT_MAX_BODY_SIZE
create_app_server
server/env.ts
BaseServerEnv
ServerEnvOptions
ServerEnvOptionsError
ServerEnvOptionsResult
validate_server_env
server/startup.ts
log_startup_summary
server/static.ts
ServeStaticOptions
ServeStaticFactory
create_static_middleware
server/validate_nginx.ts
NginxValidationResult
validate_nginx_config
testing/admin_integration.ts
StandardAdminIntegrationTestOptions
describe_standard_admin_integration_tests
testing/adversarial_404.ts
describe_adversarial_404
testing/adversarial_headers.ts
AdversarialHeaderCase
create_standard_adversarial_cases
describe_standard_adversarial_headers
testing/adversarial_input.ts
generate_input_test_cases
generate_params_test_cases
generate_query_test_cases
describe_adversarial_input
testing/app_server.ts
stub_password_deps
TEST_COOKIE_SECRET
BootstrapTestAccountOptions
bootstrap_test_account
TestAppServer
TestAppServerOptions
create_test_app_server
CreateTestAppOptions
SuiteAppOptions
TestAccount
TestApp
create_test_app
testing/assert_dev_env.ts
testing/assertions.ts
resolve_fixture_path
assert_surface_matches_snapshot
assert_surface_deterministic
assert_only_expected_public_routes
get_route_error_schema
assert_error_schema_valid
assert_full_middleware_stack
testing/attack_surface.ts
AdversarialTestOptions
describe_adversarial_auth
resolve_standard_error_schema_tightness
StandardAttackSurfaceOptions
describe_standard_attack_surface_tests
testing/audit_completeness.ts
AuditCompletenessTestOptions
describe_audit_completeness_tests
testing/auth_apps.ts
create_test_request_context
create_test_app_from_specs
AuthTestApps
create_auth_test_apps
select_auth_app
resolve_test_path
testing/data_exposure.ts
collect_json_schema_property_names
assert_output_schemas_no_sensitive_fields
assert_non_admin_schemas_no_admin_fields
DataExposureTestOptions
describe_data_exposure_tests
testing/db.ts
IS_CI
DbFactory
reset_pglite
create_pglite_factory
create_pg_factory
AUTH_TRUNCATE_TABLES
AUTH_INTEGRATION_TRUNCATE_TABLES
AUTH_DROP_TABLES
drop_auth_schema
create_describe_db
log_db_factory_status
testing/entities.ts
TestAccountOverrides
create_test_account
TestActorOverrides
create_test_actor
TestPermitOverrides
create_test_permit
create_test_context
TestAuditEventOverrides
create_test_audit_event
testing/error_coverage.ts
extract_declared_error_codes
UncoveredEntry
CoverageFilterOptions
ErrorCoverageCollector
DEFAULT_INTEGRATION_ERROR_COVERAGE
ErrorCoverageOptions
assert_error_coverage
testing/integration_helpers.ts
find_route_spec
REST_AUTH_ROUTE_SUFFIXES
RestAuthRouteSuffix
find_auth_route
assert_response_matches_spec
create_expired_test_cookie
check_error_response_fields
assert_no_error_info_leakage
assert_rate_limit_retry_after_header
SENSITIVE_FIELD_BLOCKLIST
ADMIN_ONLY_FIELD_BLOCKLIST
collect_json_keys_recursive
assert_no_sensitive_fields_in_json
pick_auth_headers
testing/integration.ts
StandardIntegrationTestOptions
describe_standard_integration_tests
testing/middleware.ts
BearerAuthTestOptions
BearerAuthTestCase
BearerAuthMocks
create_bearer_auth_mocks
TEST_CLIENT_IP
create_bearer_auth_test_app
describe_bearer_auth_cases
TEST_MIDDLEWARE_PATH
TestMiddlewareStackOptions
TestMiddlewareStackApp
create_test_middleware_stack_app
testing/mock_fs.ts
MockFs
create_mock_fs
testing/rate_limiting.ts
RateLimitingTestOptions
describe_rate_limiting_tests
testing/round_trip.ts
RoundTripTestOptions
describe_round_trip_validation
testing/rpc_attack_surface.ts
RpcAttackSurfaceOptions
describe_rpc_attack_surface_tests
testing/rpc_helpers.ts
RpcEndpointsSuiteOption
resolve_rpc_endpoints_for_setup
create_rpc_post_init
create_rpc_get_url
assert_jsonrpc_error_response
assert_jsonrpc_success_response
RpcTestTransport
http_transport
RpcCallResult
RpcCallArgs
rpc_call
rpc_call_non_browser
RpcCallResultForSpec
RpcCallForSpecArgs
rpc_call_for_spec
rpc_call_typed
find_rpc_action
find_rpc_method
require_rpc_endpoint_path
testing/rpc_round_trip.ts
RpcRoundTripTestOptions
describe_rpc_round_trip_tests
testing/schema_generators.ts
detect_format
generate_valid_value
resolve_valid_path
generate_valid_body
testing/sse_round_trip.ts
SseRouteTestSpec
SseRouteTestOptions
describe_sse_route_tests
testing/standard.ts
StandardTestOptions
describe_standard_tests
testing/stubs.ts
create_throwing_stub
create_noop_stub
stub
create_stub_db
stub_handler
stub_mw
stub_app_deps
create_stub_app_deps
create_stub_api_middleware
create_stub_app_server_context
CreateTestAppSurfaceSpecOptions
create_test_app_surface_spec
testing/surface_invariants.ts
assert_protected_routes_declare_401
assert_role_routes_declare_403
assert_input_routes_declare_400
assert_params_routes_declare_400
assert_query_routes_declare_400
assert_descriptions_present
assert_no_duplicate_routes
assert_middleware_errors_propagated
assert_error_schemas_structurally_valid
assert_error_code_status_consistency
assert_404_schemas_use_specific_errors
ErrorSchemaSpecificity
ErrorSchemaAuditEntry
audit_error_schema_tightness
SurfaceSecurityPolicyOptions
assert_sensitive_routes_rate_limited
assert_no_unexpected_public_mutations
assert_mutation_routes_use_post
assert_keeper_routes_under_prefix
ErrorSchemaTightnessOptions
FUZ_APP_STOCK_ROUTE_TIGHTNESS_ALLOWLIST
DEFAULT_ERROR_SCHEMA_TIGHTNESS
assert_error_schema_tightness
assert_surface_invariants
assert_surface_security_policy
testing/ws_round_trip.ts
FakeWs
create_fake_ws
FakeHonoContextOptions
create_fake_hono_context
StubUpgrade
create_stub_upgrade
MinimalActionEnvironment
dispatch_ws_message
WsConnectIdentity
MockWsClient
JsonrpcNotificationFrame
JsonrpcSuccessResponseFrame
JsonrpcErrorResponseFrame
is_notification
is_notification_with
is_response_for
CreateWsTestHarnessOptions
WsTestHarness
create_ws_test_harness
keeper_identity
build_broadcast_api
ui/account_sessions_state.svelte.ts
AccountSessionsRpc
account_sessions_rpc_context
AccountSessionsStateOptions
AccountSessionsState
ui/AccountSessions.svelte
AccountSessions
ui/admin_accounts_state.svelte.ts
AdminAccountsRpc
admin_accounts_rpc_context
AdminAccountsStateOptions
AdminAccountsState
ui/admin_invites_state.svelte.ts
AdminInvitesRpc
admin_invites_rpc_context
AdminInvitesStateOptions
AdminInvitesState
ui/admin_rpc_adapters.ts
AdminRpcApi
AdminRpcAdapters
create_admin_rpc_adapters
ProvideAdminRpcContextsOptions
provide_admin_rpc_contexts
ui/admin_sessions_state.svelte.ts
AdminSessionsStateOptions
AdminSessionsState
ui/AdminAccounts.svelte
AdminAccounts
ui/AdminAuditLog.svelte
AdminAuditLog
ui/AdminInvites.svelte
AdminInvites
ui/AdminOverview.svelte
AdminOverview
ui/AdminPermitHistory.svelte
AdminPermitHistory
ui/AdminSessions.svelte
AdminSessions
ui/AdminSettings.svelte
AdminSettings
ui/AdminSurface.svelte
AdminSurface
ui/app_settings_state.svelte.ts
AppSettingsRpc
app_settings_rpc_context
AppSettingsStateOptions
AppSettingsState
ui/AppShell.svelte
AppShell
ui/audit_log_state.svelte.ts
AuditLogRpc
audit_log_rpc_context
AuditLogStateOptions
AuditLogState
ui/auth_state.svelte.ts
auth_state_context
AuthState
ui/BootstrapForm.svelte
BootstrapForm
ui/ColumnLayout.svelte
ColumnLayout
ui/ConfirmButton.svelte
ConfirmButton
ui/Datatable.svelte
Datatable
ui/datatable.ts
DATATABLE_MIN_COLUMN_WIDTH
DATATABLE_COLUMN_WIDTH_DEFAULT
DatatableColumn
ui/form_state.svelte.ts
FormState
ui/format_scope.ts
FormatScope
default_format_scope
format_scope_context
resolve_scope_label
ui/loadable.svelte.ts
Loadable
ui/LoginForm.svelte
LoginForm
ui/LogoutButton.svelte
LogoutButton
ui/MenuLink.svelte
MenuLink
ui/OpenSignupToggle.svelte
OpenSignupToggle
ui/permit_offers_state.svelte.ts
permit_offers_state_context
PermitOffersRpc
PermitOfferNotification
PermitOfferSubscribe
PermitOffersStateOptions
PermitOffersState
ui/PermitOfferForm.svelte
PermitOfferForm
ui/PermitOfferHistory.svelte
PermitOfferHistory
ui/PermitOfferInbox.svelte
PermitOfferInbox
ui/popover.svelte.ts
PopoverParameters
PopoverTriggerParameters
TransitionFunction
PopoverContentParameters
Popover
ui/PopoverButton.svelte
PopoverButton
ui/position_helpers.ts
CardinalPosition
Position
Alignment
generate_position_styles
ui/sidebar_state.svelte.ts
sidebar_state_context
SidebarStateOptions
SidebarState
ui/SignupForm.svelte
SignupForm
ui/SurfaceExplorer.svelte
SurfaceExplorer
ui/table_state.svelte.ts
TABLE_LIMIT_MAX
TableState
ui/ui_fetch.ts
ui_fetch
parse_response_error
ui/ui_format.ts
format_relative_time
format_uptime
truncate_middle
truncate_uuid
format_value
format_datetime_local
format_audit_metadata