Skip to main content

Module setting

Module setting 

Source
Expand description

EnhanceSetting — the internal model that configures an EnhanceApplication.

The internal storage form is a BlueprintId ref: the store does not hold the Blueprint body itself; that is resolved through BlueprintStore. HTTP POST/PUT input goes through EnhanceSettingInput and receives Blueprint data inline; the server orchestrates a BPStore.write_new and converts to a Ref before persisting.

Runtime parameters (ttl_secs, meta) live on EnhanceSetting. The EnhanceApplication fetches the setting on every tick and picks up changes, so setting edits act as a hot reload.

Structs§

EnhanceSetting
Internal storage form — the view held by the store and by EnhanceApplication. A BlueprintId ref plus runtime parameters.
EnhanceSettingInput
HTTP POST/PUT input shape — the caller’s view. Blueprint data is inline; the server does BPStore.write_new and converts it to a Ref before persisting.
EnhanceSettingMeta
Extension metadata attached to an EnhanceSetting. Placeholder — something will land here for certain, so the slot exists up front.