Skip to main content

Module spec

Module spec 

Source
Expand description

The saved ViewSpec — the single source of truth at render time.

Once a ViewSpec exists, rendering reads it and nothing else: no inference, no AI, no guessing. Inference (super::infer) and the future view designer only ever produce one of these.

Structs§

FieldViewSpec
Per-field display configuration. One of these exists for every column the admin knows about, even hidden ones (we still need to know to hide them).
ViewSpec
The full visual contract for one model. This is the single source of truth at render time — no inference, no AI, no guessing happens once a ViewSpec exists. Inference and the (future) designer only ever produce one of these.

Constants§

VIEW_SPEC_VERSION
Current ViewSpec schema version. Bumped when the on-disk shape changes so older saved specs can be migrated rather than silently misread.