Created
February 4, 2021 08:17
-
-
Save tchak/94246323cfad98eca4edb345c14e3fa1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query exportDemarche($demarcheNumber: Int!, $after: String) { | |
demarche(number: $demarcheNumber) { | |
number | |
dossiers(first: 100, after: $after) { | |
pageInfo { | |
hasNextPage | |
endCursor | |
} | |
nodes { | |
...DossierFragment | |
} | |
} | |
} | |
} | |
fragment DossierFragment on Dossier { | |
number | |
datePassageEnConstruction | |
dateTraitement | |
motivationAttachment { | |
...FileFragment | |
} | |
pdf { | |
filename | |
url | |
} | |
champs { | |
...ChampOrAnnotationFragment | |
} | |
annotations { | |
...ChampOrAnnotationFragment | |
} | |
messages { | |
...MessageFragment | |
} | |
avis { | |
...AvisFragment | |
} | |
demandeur { | |
...PersonneMoraleFragment | |
} | |
} | |
fragment MessageFragment on Message { | |
id | |
attachment { | |
...FileFragment | |
} | |
} | |
fragment AvisFragment on Avis { | |
id | |
attachment { | |
...FileFragment | |
} | |
} | |
fragment ChampOrAnnotationFragment on Champ { | |
...ChampFragment | |
... on RepetitionChamp { | |
champs { | |
...ChampFragment | |
} | |
} | |
} | |
fragment ChampFragment on Champ { | |
id | |
label | |
... on SiretChamp { | |
etablissement { | |
...PersonneMoraleFragment | |
} | |
} | |
... on PieceJustificativeChamp { | |
file { | |
...FileFragment | |
} | |
} | |
} | |
fragment PersonneMoraleFragment on PersonneMorale { | |
siret | |
entreprise { | |
attestationFiscaleAttachment { | |
...FileFragment | |
} | |
attestationSocialeAttachment { | |
...FileFragment | |
} | |
} | |
} | |
fragment FileFragment on File { | |
filename | |
checksum | |
url | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment