Skip to content

feat: create a single etablissements page #2352

feat: create a single etablissements page

feat: create a single etablissements page #2352

Triggered via pull request October 9, 2024 12:43
Status Failure
Total duration 1m 52s
Artifacts

pre-merge.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 6 warnings
Type check: app/(header-default)/etablissements/[slug]/_components/etablissements-section/index.tsx#L30
Property 'map' does not exist on type 'void | IDataFetchingState'.
Type check: app/(header-default)/etablissements/[slug]/_components/etablissements-section/index.tsx#L41
Property 'filter' does not exist on type 'void | IDataFetchingState'.
Type check: app/(header-default)/etablissements/[slug]/_components/etablissements-section/index.tsx#L44
Argument of type 'void | IDataFetchingState' is not assignable to parameter of type 'SetStateAction<IEtablissement[] | undefined>'.
Type check: app/(header-default)/etablissements/[slug]/_components/etablissements-section/index.tsx#L58
Element implicitly has an 'any' type because expression of type '0' can't be used to index type 'void | IDataFetchingState'.
Type check: app/(header-default)/etablissements/[slug]/_components/etablissements-section/index.tsx#L59
Element implicitly has an 'any' type because expression of type '0' can't be used to index type 'void | IDataFetchingState'.
Type check: app/(header-default)/etablissements/[slug]/_components/etablissements-section/index.tsx#L76
Type 'IEtablissement[] | undefined' is not assignable to type 'IEtablissement[]'.
Type check: app/(header-default)/etablissements/[slug]/page.tsx#L105
Type '{ etablissements: IEtablissement[]; uniteLegale: IUniteLegale; }' is not assignable to type 'IntrinsicAttributes & { uniteLegale: IUniteLegale; session: ISession | null; slug: string; }'.
Type check: app/api/data-fetching/routes-scopes.ts#L4
Property 'etablissements' is missing in type '{ 'espace-agent/carte-professionnelle-TP': AppScope.protectedCertificats; 'espace-agent/conformite': AppScope.conformite; 'espace-agent/opqibi': AppScope.protectedCertificats; 'espace-agent/qualibat': AppScope.protectedCertificats; ... 9 more ...; 'eori-validation': AppScope.none; }' but required in type 'Record<"association" | "etablissements" | "espace-agent/beneficiaires" | "observations" | "espace-agent/carte-professionnelle-TP" | "espace-agent/conformite" | "espace-agent/opqibi" | ... 7 more ... | "eori-validation", AppScope>'.
Build
Process completed with exit code 1.
End2end tests
Process completed with exit code 1.
Install dependencies
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Type check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
End2end tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/