Skip to content

update cds hooks

update cds hooks #754

Triggered via push September 30, 2024 17:14
Status Success
Total duration 1m 4s
Artifacts

ci-workflow.yml

on: push
Check tsc, lint, and prettier
55s
Check tsc, lint, and prettier
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
Check tsc, lint, and prettier
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Check tsc, lint, and prettier
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Check tsc, lint, and prettier: src/cds-hooks/prefetch/PrefetchHydrator.ts#L5
Unexpected any. Specify a different type
Check tsc, lint, and prettier: src/cds-hooks/prefetch/PrefetchHydrator.ts#L55
Unexpected any. Specify a different type
Check tsc, lint, and prettier: src/cds-hooks/prefetch/PrefetchHydrator.ts#L63
Unexpected any. Specify a different type
Check tsc, lint, and prettier: src/cds-hooks/resources/HookTypes.ts#L319
Unexpected any. Specify a different type
Check tsc, lint, and prettier: src/cds-hooks/resources/OrderSign.ts#L9
Unexpected any. Specify a different type
Check tsc, lint, and prettier: src/views/Help/Help.tsx#L47
Fast refresh only works when a file only exports components. Move your component(s) to a separate file
Check tsc, lint, and prettier: src/views/Help/Help.tsx#L219
Fast refresh can't handle anonymous components. Add a name to your export
Check tsc, lint, and prettier: src/views/Patient/MedReqDropDown/MedReqDropDown.tsx#L66
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
Check tsc, lint, and prettier: src/views/Patient/MedReqDropDown/MedReqDropDown.tsx#L114
React Hook useEffect has missing dependencies: 'cdsUrl' and 'setHooksCards'. Either include them or remove the dependency array
Check tsc, lint, and prettier: src/views/Patient/MedReqDropDown/MedReqDropDown.tsx#L145
React Hook useEffect has a missing dependency: 'medicationBundle?.data'. Either include it or remove the dependency array. If 'setSelectedMedicationCard' needs the current value of 'medicationBundle.data', you can also switch to useReducer instead of useState and read 'medicationBundle.data' in the reducer