summaryrefslogtreecommitdiff
path: root/lib/model/model.mli
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2026-11-19 13:26:42 +0100
committerSébastien Dailly <sebastien@dailly.me>2026-11-19 13:26:42 +0100
commitfb75994d097cb1d6a1a0ea871c2d2213aa4e3c31 (patch)
tree2e783d1472971c1823ec6e7a9cb484ebda2b0b43 /lib/model/model.mli
parentd1047791e9e25bc5a30ffc62f31c3d898843f042 (diff)
Path over contents evaluation
Diffstat (limited to 'lib/model/model.mli')
-rw-r--r--lib/model/model.mli5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/model/model.mli b/lib/model/model.mli
index e81a844..f51386c 100644
--- a/lib/model/model.mli
+++ b/lib/model/model.mli
@@ -124,6 +124,11 @@ module DataList = Data_list
editable by the user. Lists have their own fields (no sections); a reference
field in a list can only target another list. *)
+module Path = Path
+(** Evaluation of a path through fields: from a content or a list, follow the
+ fields named by the path (intermediate segments must be reference fields)
+ and get the final field. *)
+
module Section = Section
(** A group of fields displayed together, with a per-language [label] and an
optional [criteria] controlling when the whole section is displayed. *)