Skip to main content

Module config

Module config 

Source
Expand description

Server configuration.

A deliberately small slice of upstream’s ~292 options: what the routes that exist actually need. Options are added when a route needs one, not speculatively, so that every field here has a behavior behind it. Each carries upstream’s env var name and upstream’s default; a wrong default in this file is a security default.

Structs§

FeatureSupport
What this server can actually do, as reported by GET /serverInfo.
ServerConfig
The keys and identity a request is checked against.

Constants§

REPORTED_PARSE_SERVER_VERSION
The parse-server version parse-rust reports as its own.

Functions§

default_protected_fields
The upstream default, {_User: {'*': ['email']}} (Options/Definitions.js:495-499).
merge_protected_fields_defaults
Fold the defaults into a configured protectedFields, as upstream does at option-resolution time (ParseServer.ts:657-673).

Type Aliases§

ProtectedFieldsConfig
Server-level protectedFields: class name, then entity, then the fields that entity may not see (Options/Definitions.js:491-500).