summaryrefslogtreecommitdiff
path: root/lib/model/content.mli
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2026-11-18 20:24:52 +0100
committerSébastien Dailly <sebastien@dailly.me>2026-11-18 21:57:48 +0100
commit62123e577ee5d4066d53f8ad7e5ac3d2eb190430 (patch)
treef569686630681a9eceb2685f69b55fe5a2bac17c /lib/model/content.mli
parent7087a0c2c84e796e474784cbd28d4a4e574cf2c0 (diff)
Securized the queries in the database with a dedicated type for the Identifiers
Diffstat (limited to 'lib/model/content.mli')
-rw-r--r--lib/model/content.mli4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/model/content.mli b/lib/model/content.mli
index e972b83..7f0e2cb 100644
--- a/lib/model/content.mli
+++ b/lib/model/content.mli
@@ -1,7 +1,7 @@
type 'a t
-val v : string -> 'a Section.t list -> 'a t list -> 'a t
-val id : _ t -> string
+val v : Identifier.t -> 'a Section.t list -> 'a t list -> 'a t
+val id : _ t -> Identifier.t
val subcontents : 'a t -> 'a t list
(** Return the direct subcontent *)