Skip to content

Remove optional typings #6

Remove optional typings

Remove optional typings #6

Triggered via push June 14, 2024 12:46
Status Failure
Total duration 1m 38s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 3 warnings
Unit tests: src/domain/usecases/__tests__/ExportUsersUseCase.spec.ts#L1
Property 'filterOptions' is missing in type '{ name: string; columns: ("name" | "organisationUnits" | "userRoles" | "userGroups" | "id" | "created" | "createdBy" | "lastUpdated" | "dataViewOrganisationUnits" | "email" | "firstName" | ... 10 more ... | "lastModifiedBy")[]; format: "csv"; orgUnitsField: "code"; isEmptyTemplate: true; }' but required in type 'ExportUsersUseCaseOptions'.
Unit tests: src/domain/usecases/__tests__/ExportUsersUseCase.spec.ts#L1
Type '{ name: string; columns: ("name" | "organisationUnits" | "userRoles" | "userGroups" | "id" | "created" | "createdBy" | "lastUpdated" | "dataViewOrganisationUnits" | "email" | "firstName" | ... 10 more ... | "lastModifiedBy")[]; format: "csv"; orgUnitsField: "code"; }' is missing the following properties from type 'ExportUsersUseCaseOptions': filterOptions, isEmptyTemplate
Unit tests: src/domain/usecases/__tests__/ExportUsersUseCase.spec.ts#L1
Type '{ name: string; columns: ("name" | "organisationUnits" | "userRoles" | "userGroups" | "id" | "created" | "createdBy" | "lastUpdated" | "dataViewOrganisationUnits" | "email" | "firstName" | ... 10 more ... | "lastModifiedBy")[]; format: "json"; orgUnitsField: "code"; }' is missing the following properties from type 'ExportUsersUseCaseOptions': filterOptions, isEmptyTemplate
Unit tests
Process completed with exit code 2.
Unit tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Unit tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/