Skip to content
Triggered via push September 26, 2024 14:39
Status Failure
Total duration 1m 56s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/HospitForm/HospitForm2.tsx#L139
Type '"code"' is not assignable to type '"occurrence" | "startOccurrence" | "hospitReason" | "inUteroTransfer" | "pregnancyMonitoring" | "vme" | "maturationCorticotherapie" | "chirurgicalGesture" | "childbirth" | ... 37 more ... | "birthDeliveryDate"'.
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/HospitForm/HospitForm2.tsx#L165
Type '"encounterStartDate"' is not assignable to type '"occurrence" | "startOccurrence" | "hospitReason" | "inUteroTransfer" | "pregnancyMonitoring" | "vme" | "maturationCorticotherapie" | "chirurgicalGesture" | "childbirth" | ... 37 more ... | "birthDeliveryDate"'. Did you mean '"encounterStatus"'?
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/HospitForm/HospitForm2.tsx#L174
Type '"encounterEndDate"' is not assignable to type '"occurrence" | "startOccurrence" | "hospitReason" | "inUteroTransfer" | "pregnancyMonitoring" | "vme" | "maturationCorticotherapie" | "chirurgicalGesture" | "childbirth" | ... 37 more ... | "birthDeliveryDate"'.
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/HospitForm/HospitForm2.tsx#L193
Type '(legacyData: HospitDataType) => { id: number; title: string; isInclusive: true; occurrence: { value: number; comparator: Comparators; }; encounterService: Hierarchy<ScopeElement, string>[] | null; ... 5 more ...; code: any; }' is not assignable to type '(legacyData: HospitDataType, criteriaData: CriteriaItemDataCache) => CriteriaData<NewHospitDataType>'.
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/HospitForm/HospitForm2.tsx#L204
Property 'encounterStartDate' does not exist on type 'HospitDataType'. Did you mean 'encounterStatus'?
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/HospitForm/HospitForm2.tsx#L204
Property 'encounterStartDate' does not exist on type 'HospitDataType'. Did you mean 'encounterStatus'?
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/HospitForm/HospitForm2.tsx#L207
Property 'encounterStartDate' does not exist on type 'HospitDataType'. Did you mean 'encounterStatus'?
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/HospitForm/HospitForm2.tsx#L208
Property 'encounterStartDate' does not exist on type 'HospitDataType'. Did you mean 'encounterStatus'?
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/HospitForm/HospitForm2.tsx#L209
Property 'includeEncounterStartDateNull' does not exist on type 'HospitDataType'.
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test: src/components/CreationCohort/DataList_Criteria.tsx#L9
'GhmForm' is defined but never used
test: src/components/CreationCohort/DiagramView/DiagramView.tsx#L51
React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/components/BiologySearch/BiologySearch.tsx#L165
React Hook useEffect has a missing dependency: 'getBiologySearchResults'. Either include it or remove the dependency array
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/components/Form/BiologyForm.tsx#L116
React Hook useEffect has missing dependencies: 'onChangeValue' and 'selectedCriteria.code'. Either include them or remove the dependency array
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/components/Form/BiologyForm.tsx#L129
React Hook useEffect has a missing dependency: 'onChangeValue'. Either include it or remove the dependency array