Expose repetitions and options on champ_descriptors

This commit is contained in:
Paul Chavard 2020-07-16 12:50:00 +02:00
parent eb6c4b3dd1
commit 86f562e7ea
3 changed files with 34 additions and 2 deletions

View file

@ -54,6 +54,11 @@ interface Champ {
}
type ChampDescriptor {
"""
Description des champs d'un bloc répétable.
"""
champDescriptors: [ChampDescriptor!]
"""
Description du champ.
"""
@ -65,6 +70,11 @@ type ChampDescriptor {
"""
label: String!
"""
List des options d'un champ avec selection.
"""
options: [String!]
"""
Est-ce que le champ est obligatoire ?
"""
@ -1317,4 +1327,4 @@ type ValidationError {
A description of the error
"""
message: String!
}
}