diff options
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) *) |
