Revision 693ca1c66492559940ef86d1e60a62897aeb4159
Committed on 05/11/2018 1:55 am by
Bertrand Dunogier <bertrand.dunogier@ez.no> [GitHub Diff]
Added content types to generated domain (#51)
types can be obtained from the "_type" field of DomainGroup items. They give access
to the type's info ("_info"), as well as field definitions, indexed by their identifier.
Field definition objects are typed when the type has specific settings or constraints:
```
{
content {
_types {
article {
_info { id name }
title {
name
fieldTypeIdentifier
constraints {Ā minLength maxLength }
}
body {
fieldTypeIdentifier
}
}
}
}
}
```
More Types of Fields Definitions