Merge pull request #9349 from tchak/graphql-with-pending-correction
chore(graphql): update stored query to include corrections
This commit is contained in:
commit
a4b8ad8f3c
1 changed files with 8 additions and 0 deletions
|
@ -43,6 +43,7 @@ class API::V2::StoredQuery
|
|||
$includeInstructeurs: Boolean = true
|
||||
$includeAvis: Boolean = false
|
||||
$includeMessages: Boolean = false
|
||||
$includeCorrections: Boolean = false
|
||||
$includeGeometry: Boolean = false
|
||||
) {
|
||||
demarche(number: $demarcheNumber) {
|
||||
|
@ -135,6 +136,7 @@ class API::V2::StoredQuery
|
|||
$includeInstructeurs: Boolean = true
|
||||
$includeAvis: Boolean = false
|
||||
$includeMessages: Boolean = false
|
||||
$includeCorrections: Boolean = false
|
||||
$includeGeometry: Boolean = false
|
||||
) {
|
||||
groupeInstructeur(number: $groupeInstructeurNumber) {
|
||||
|
@ -201,6 +203,7 @@ class API::V2::StoredQuery
|
|||
$includeInstructeurs: Boolean = true
|
||||
$includeAvis: Boolean = false
|
||||
$includeMessages: Boolean = false
|
||||
$includeCorrections: Boolean = false
|
||||
$includeGeometry: Boolean = false
|
||||
) {
|
||||
dossier(number: $dossierNumber) {
|
||||
|
@ -250,6 +253,7 @@ class API::V2::StoredQuery
|
|||
dateTraitement
|
||||
dateExpiration
|
||||
dateSuppressionParUsager
|
||||
dateDerniereCorrectionEnAttente @include(if: $includeCorrections)
|
||||
motivation
|
||||
motivationAttachment {
|
||||
...FileFragment
|
||||
|
@ -409,6 +413,10 @@ class API::V2::StoredQuery
|
|||
attachments {
|
||||
...FileFragment
|
||||
}
|
||||
correction @include(if: $includeCorrections) {
|
||||
reason
|
||||
dateResolution
|
||||
}
|
||||
}
|
||||
|
||||
fragment GeoAreaFragment on GeoArea {
|
||||
|
|
Loading…
Reference in a new issue