Skip to content

Bump typeorm from 0.2.38 to 0.3.0 #1697

Bump typeorm from 0.2.38 to 0.3.0

Bump typeorm from 0.2.38 to 0.3.0 #1697

Triggered via pull request March 21, 2024 19:29
Status Failure
Total duration 2m 1s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 14 warnings
typescript
Argument of type '{ username: string; }' is not assignable to parameter of type 'FindOneOptions<AdminUserModel>'.
typescript
Argument of type '{ username: string; }' is not assignable to parameter of type 'FindOneOptions<AdminUserModel>'.
typescript
Type 'UserModel' is not assignable to type 'boolean | FindOperator<any> | FindOptionsWhere<UserModel> | FindOptionsWhere<UserModel>[] | EqualOperator<UserModel>'.
typescript
Type 'CourseModel' is not assignable to type 'boolean | FindOperator<any> | FindOptionsWhere<CourseModel> | FindOptionsWhere<CourseModel>[] | EqualOperator<...>'.
typescript
Type 'CourseModel' is not assignable to type 'boolean | FindOperator<any> | FindOptionsWhere<CourseModel> | FindOptionsWhere<CourseModel>[] | EqualOperator<...>'.
typescript
Type 'CourseModel' is not assignable to type 'boolean | FindOperator<any> | FindOptionsWhere<CourseModel> | FindOptionsWhere<CourseModel>[] | EqualOperator<...>'.
typescript
Type 'number' has no properties in common with type 'FindOneOptions<QuestionModel>'.
typescript
Expected 1 arguments, but got 2.
typescript
Expected 1 arguments, but got 2.
typescript
Type 'UserModel' is not assignable to type 'boolean | FindOperator<any> | FindOptionsWhere<UserModel> | FindOptionsWhere<UserModel>[] | EqualOperator<UserModel>'.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@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. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint: packages/app/components/Apply/EditCourse.tsx#L38
React Hook useEffect has a missing dependency: 'form'. Either include it or remove the dependency array
lint: packages/app/components/Apply/SelectCourses.tsx#L55
React Hook useEffect has missing dependencies: 'initialValues' and 'profile?.pendingCourses'. Either include them or remove the dependency array
lint: packages/app/components/Queue/QueueUtils.tsx#L3
Missing return type on function
lint: packages/app/components/Queue/Student/StudentQueue.tsx#L122
React Hook useEffect has missing dependencies: 'cid' and 'router'. Either include them or remove the dependency array
lint: packages/app/components/Queue/TA/TAQueueDetailQuestion.tsx#L40
Missing return type on function
lint: packages/app/components/Settings/SettingsPage.tsx#L73
React Hook useEffect contains a call to 'setAvatarSize'. Without a list of dependencies, this can lead to an infinite chain of updates. To fix this, pass [isMobile, windowWidth] as a second argument to the useEffect Hook
lint: packages/app/hooks/useDefaultMessage.ts#L3
Missing return type on function
lint: packages/app/hooks/useIsMobile.tsx#L3
Missing return type on function
lint: packages/server/src/resources/resources.service.ts#L106
Missing return type on function
lint: packages/server/src/semester/setCourse.command.ts#L97
Missing return type on function
typescript
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
typescript
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/