From 4af7d2f6ff8b38365c97a89c295710f5ed3266f5 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Mon, 30 Mar 2026 17:56:42 +0200 Subject: Manage insertion for multireferences fields --- lib/model/content.mli | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/model/content.mli') diff --git a/lib/model/content.mli b/lib/model/content.mli index ab8d838..e972b83 100644 --- a/lib/model/content.mli +++ b/lib/model/content.mli @@ -16,3 +16,6 @@ val root : 'a t -> 'a t val fields : 'a t -> 'a Field.t Seq.t (** Iterate over the fields in the content *) + +val find_target : 'a t -> string -> 'a option +(** Get the content type pointed by the given field name *) -- cgit v1.2.3