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

refactor(utilisateur): simplifie la structure d'un utilisateur entreprise #1423

Closed vmaubert closed 3 months ago

vmaubert commented 3 months ago
codecov-commenter commented 3 months ago

Codecov Report

Attention: Patch coverage is 67.85714% with 36 lines in your changes missing coverage. Please review.

Project coverage is 64.13%. Comparing base (36ec7a6) to head (d752741). Report is 2 commits behind head on master.

Files Patch % Lines
packages/api/src/types.ts 12.50% 7 Missing :warning:
...i/src/api/rest/administrations.test.integration.ts 0.00% 4 Missing :warning:
...ges/api/src/database/queries/permissions/titres.ts 0.00% 4 Missing :warning:
...api/src/api/rest/titre-demande.test.integration.ts 0.00% 3 Missing :warning:
...s/api/src/api/rest/entreprises.test.integration.ts 0.00% 2 Missing :warning:
...c/database/queries/permissions/titres-activites.ts 0.00% 2 Missing :warning:
...c/database/queries/permissions/titres-demarches.ts 0.00% 2 Missing :warning:
.../src/database/queries/permissions/titres-etapes.ts 0.00% 2 Missing :warning:
...s/api/src/database/queries/utilisateurs.queries.ts 0.00% 2 Missing :warning:
packages/ui/src/components/dashboard.tsx 0.00% 2 Missing :warning:
... and 6 more

:exclamation: There is a different number of reports uploaded between BASE (36ec7a6) and HEAD (d752741). Click for more details.

HEAD has 2 uploads less than BASE | Flag | BASE (36ec7a6) | HEAD (d752741) | |------|------|------| |api|2|1| |api-integration|1|0|
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1423 +/- ## =========================================== - Coverage 80.71% 64.13% -16.58% =========================================== Files 721 721 Lines 91943 91943 Branches 6548 4967 -1581 =========================================== - Hits 74210 58967 -15243 - Misses 17640 32789 +15149 - Partials 93 187 +94 ``` | [Flag](https://app.codecov.io/gh/MTES-MCT/camino/pull/1423/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/1423/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MTES-MCT) | `34.65% <10.81%> (-42.54%)` | :arrow_down: | | [api-integration](https://app.codecov.io/gh/MTES-MCT/camino/pull/1423/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MTES-MCT) | `?` | | | [api-unit](https://app.codecov.io/gh/MTES-MCT/camino/pull/1423/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MTES-MCT) | `34.65% <10.81%> (-0.01%)` | :arrow_down: | | [common](https://app.codecov.io/gh/MTES-MCT/camino/pull/1423/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MTES-MCT) | `95.59% <100.00%> (-0.01%)` | :arrow_down: | | [ui](https://app.codecov.io/gh/MTES-MCT/camino/pull/1423/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MTES-MCT) | `76.35% <95.00%> (+<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.