diff options
| author | Sébastien Dailly <sebastien@dailly.me> | 2026-11-20 18:47:26 +0100 |
|---|---|---|
| committer | Sébastien Dailly <sebastien@dailly.me> | 2026-11-20 18:47:26 +0100 |
| commit | fa4970bf1b74f3fa0b2f63cbd461d98c251dc0f0 (patch) | |
| tree | 577a41415e67510f08f43fc48c794c36a10f6e80 /lib/model/model.mli | |
| parent | b05e2d2be7be28ee6c577671002797cf9abaf177 (diff) | |
Updated the model for representing ocaml types in the application type
Diffstat (limited to 'lib/model/model.mli')
| -rw-r--r-- | lib/model/model.mli | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/model/model.mli b/lib/model/model.mli index 6cf2b11..a8941d9 100644 --- a/lib/model/model.mli +++ b/lib/model/model.mli @@ -39,8 +39,8 @@ - {!Identifier} — the names of contents and fields, validated so that they are always safe to embed as SQL identifiers. - {!Content}, {!Section}, {!Field} — the structure of the model. - - {!Typ} — the field types (the nature of the data; the data itself lives - in the value package as [Value.value]). + - {!Typ} — the field types (the nature of the data; the data itself lives in + the value package as [Value.value]). - {!Reference} — a link from a reference field to its target content. - {!DataList} — a static list declared in the configuration: referenceable, but not editable by the user. @@ -103,7 +103,7 @@ module Typ = Typ the value package): [None] (leave as is), [V] (a single value) or [Seq] (a sequence of references, for multivalued fields). *) -type 'db typ = ('db, target) Typ.t +type ('db, 'ocaml) typ = ('db, 'ocaml, target) Typ.t (** A field type descriptor ; ['db] is the database representation of the field (e.g. [string option] for a text field, [int64] for a multivalued reference) *) |
