Skip to main content

Module schema

Module schema 

Source
Expand description

ServerConfig root + value objects.

See the bounded-context doc [docs/design/jss-parity/05-config-platform-context.md] for the aggregate model. In short: ServerConfig is the root, loaded by crate::config::loader::ConfigLoader from a precedence-ordered list of sources, and validated once at the end of the load.

The struct shapes below are designed so the same JSS config.json file boots both JSS and solid-pod-rs — field names and JSON structure mirror JSS’s config.json where semantics align.

Structs§

AuthConfig
Auth toggles.
ExtrasConfig
Flat bag for operator-facing knobs not yet promoted to a typed section. Each field is #[serde(default)] + skip_serializing_if so a pristine ExtrasConfig serialises to an empty object.
NotificationsConfig
Solid Notifications channel toggles.
SecurityConfig
Security primitives — SSRF, dotfiles, ACL origin.
ServerConfig
Fully resolved server configuration snapshot.
ServerSection
HTTP listener settings — matches JSS host/port/baseUrl.

Enums§

StorageBackendConfig
Tagged storage backend selector — matches JSS’s { "type": "fs"|"memory"|"s3", … } JSON shape.