[FIX] Implement BANNER API course database population #888
backend.yaml
on: pull_request
Annotations
12 errors and 16 warnings
Lint:
functions/scripts/populate-courses.ts#L14
Insert `⏎·`
|
Lint:
functions/src/courses/Course.service.ts#L40
Replace `"Main"·|·"Off·Campus"·|·"Online"·|·"Victoria,·BC"` with `'Main'·|·'Off·Campus'·|·'Online'·|·'Victoria,·BC'`
|
Lint:
functions/src/courses/Course.service.ts#L41
Replace `·"Gradable·Lab"·|·"Lab"·|·"Lecture"·|·"Lecture·Topic"·|·"Tutorial"` with `⏎····|·'Gradable·Lab'⏎····|·'Lab'⏎····|·'Lecture'⏎····|·'Lecture·Topic'⏎····|·'Tutorial'`
|
Lint:
functions/src/courses/Course.service.ts#L56
Replace `"OR"·|·"TO"` with `'OR'·|·'TO'`
|
Lint:
functions/src/courses/Course.service.ts#L65
Replace `"F2F"·|·"OL"` with `'F2F'·|·'OL'`
|
Lint:
functions/src/courses/Course.service.ts#L66
Replace `"Face-to-face"·|·"Fully·Online"` with `'Face-to-face'·|·'Fully·Online'`
|
Lint:
functions/src/courses/Course.service.ts#L93
Replace `"M"` with `'M'`
|
Lint:
functions/src/courses/Course.service.ts#L94
Replace `"Main"·|·"Off·Campus"·|·"Online"·|·"Victoria,·BC"` with `'Main'·|·'Off·Campus'·|·'Online'·|·'Victoria,·BC'`
|
Lint:
functions/src/courses/Course.service.ts#L103
Replace `"GLB"·|·"L01"·|·"LAB"·|·"LEC"·|·"TUT"` with `'GLB'·|·'L01'·|·'LAB'·|·'LEC'·|·'TUT'`
|
Lint:
functions/src/courses/Course.service.ts#L104
Replace `"CLAS"` with `'CLAS'`
|
Build
Expected 2 arguments, but got 1.
|
Build
Process completed with exit code 2.
|
Lint
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@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Lint
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@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Lint:
functions/src/banner/banner.ts#L55
Unexpected any. Specify a different type
|
Lint:
functions/src/banner/bannerClient.ts#L86
Unexpected any. Specify a different type
|
Lint:
functions/src/banner/bannerClient.ts#L92
Missing return type on function
|
Lint:
functions/src/courses/Course.service.ts#L8
'batch' is defined but never used
|
Lint:
functions/src/courses/Course.service.ts#L8
'ref' is defined but never used
|
Lint:
functions/src/courses/Course.service.ts#L12
'SectionsSubstore' is defined but never used
|
Lint:
functions/src/courses/Course.service.ts#L14
'getSections' is defined but never used
|
Lint:
functions/src/courses/Course.service.ts#L15
'mapLimit' is defined but never used
|
Lint:
functions/src/courses/Course.service.ts#L84
Unexpected any. Specify a different type
|
Lint:
functions/src/courses/Course.service.ts#L117
'Section' is defined but never used
|
Build
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@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build
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@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test
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@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test
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@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|