Expose revisions on GraphQL API

This commit is contained in:
Paul Chavard 2020-07-16 12:48:35 +02:00
parent 3b89d04098
commit 91bc2db594
6 changed files with 99 additions and 19 deletions

View file

@ -304,6 +304,7 @@ type Demarche {
"""
updatedSince: ISO8601DateTime
): DossierConnection!
draftRevision: Revision!
groupeInstructeurs: [GroupeInstructeur!]!
id: ID!
@ -311,6 +312,8 @@ type Demarche {
Le numero de la démarche.
"""
number: Int!
publishedRevision: Revision
revisions: [Revision!]!
service: Service!
"""
@ -411,6 +414,7 @@ type Dossier {
Le numero du dossier.
"""
number: Int!
revision: Revision!
"""
L'état du dossier.
@ -1097,6 +1101,17 @@ type RepetitionChamp implements Champ {
stringValue: String
}
type Revision {
annotationDescriptors: [ChampDescriptor!]!
champDescriptors: [ChampDescriptor!]!
"""
Date de la création.
"""
dateCreation: ISO8601DateTime!
id: ID!
}
type SelectionUtilisateur implements GeoArea {
geometry: GeoJSON!
id: ID!