MTES-MCT / camino

Le cadastre minier numérique ouvert
https://camino.beta.gouv.fr
GNU Affero General Public License v3.0
3 stars 3 forks source link

chore(graphql): réécriture de quelques routes GraphQL #1400

Closed anis closed 4 months ago

anis commented 4 months ago

Routes réécrites :

codecov-commenter commented 4 months ago

Codecov Report

Attention: Patch coverage is 71.19114% with 104 lines in your changes missing coverage. Please review.

Project coverage is 79.54%. Comparing base (b736520) to head (a882303). Report is 2 commits behind head on master.

Files Patch % Lines
packages/api/src/api/rest/utilisateurs.ts 71.34% 47 Missing :warning:
packages/api/src/api/rest/demarches.ts 52.63% 36 Missing :warning:
...ages/api/src/api/graphql/resolvers/utilisateurs.ts 11.11% 16 Missing :warning:
packages/api/src/tools/api-mailjet/newsletter.ts 0.00% 2 Missing :warning:
.../ui/src/components/page/footer/newsletter-form.tsx 0.00% 1 Missing :warning:
...ges/ui/src/components/titre/demarche-api-client.ts 66.66% 1 Missing :warning:
...c/components/utilisateur/utilisateur-api-client.ts 66.66% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1400 +/- ## ======================================= Coverage 79.53% 79.54% ======================================= Files 769 769 Lines 93187 93281 +94 Branches 6557 6572 +15 ======================================= + Hits 74120 74198 +78 - Misses 18929 18945 +16 Partials 138 138 ``` | [Flag](https://app.codecov.io/gh/MTES-MCT/camino/pull/1400/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MTES-MCT) | Coverage Δ | | |---|---|---| | [api](https://app.codecov.io/gh/MTES-MCT/camino/pull/1400/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MTES-MCT) | `74.43% <70.80%> (+<0.01%)` | :arrow_up: | | [api-integration](https://app.codecov.io/gh/MTES-MCT/camino/pull/1400/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MTES-MCT) | `67.39% <70.80%> (+0.01%)` | :arrow_up: | | [api-unit](https://app.codecov.io/gh/MTES-MCT/camino/pull/1400/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MTES-MCT) | `33.23% <0.00%> (-0.09%)` | :arrow_down: | | [common](https://app.codecov.io/gh/MTES-MCT/camino/pull/1400/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MTES-MCT) | `95.61% <100.00%> (+<0.01%)` | :arrow_up: | | [ui](https://app.codecov.io/gh/MTES-MCT/camino/pull/1400/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MTES-MCT) | `76.30% <57.14%> (+0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MTES-MCT#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.