Skip to content

add todos

add todos #439

Triggered via push October 11, 2024 14:09
Status Failure
Total duration 1m 13s
Artifacts

main.yml

on: push
main  /  ...  /  validate-pr-refs
0s
main / validate-pr-refs / validate-pr-refs
main  /  ...  /  test-js-code
1m 2s
main / test / test-js-code
Fit to window
Zoom out
Zoom in

Annotations

9 errors
main / test / test-js-code: src/pages/teacherDashboard/classes/ClassTable.tsx#L28
Property 'onPageChange' is missing in type '{ children: (classes: (Result<Class, "name" | "school" | "read_classmates_data" | "receive_requests_until"> & { teacher: { id: number; } & Omit<{ user: number; school?: number | undefined; is_admin: boolean; }, "id"> & { ...; } & { ...; }; })[]) => Element; useLazyListQuery: UseLazyQuery<...>; filters: { ...; } | un...' but required in type 'Omit<TablePaginationProps<JSXElementConstructor<TablePaginationBaseProps>, {}>, "component" | "page" | "count" | "rowsPerPage" | "rowsPerPageOptions">'.
main / test / test-js-code: src/pages/teacherDashboard/classes/JoinClassRequestTable.tsx#L41
Property 'onPageChange' is missing in type '{ children: (users: (Result<User, "teacher" | "student" | "first_name" | "last_name" | "email" | "is_active" | "date_joined"> & { requesting_to_join_class?: ({ id: string; } & Omit<...> & { ...; }) | undefined; })[]) => Element; useLazyListQuery: UseLazyQuery<...>; filters: { ...; }; preferCacheValue: true; }' but required in type 'Omit<TablePaginationProps<JSXElementConstructor<TablePaginationBaseProps>, {}>, "component" | "page" | "count" | "rowsPerPage" | "rowsPerPageOptions">'.
main / test / test-js-code: src/pages/teacherDashboard/classes/joinClassRequest/HandleRequest.tsx#L38
Property 'onPageChange' is missing in type '{ children: (studentUsers: (Result<User, "teacher" | "student" | "first_name" | "last_name" | "email" | "is_active" | "date_joined"> & { requesting_to_join_class?: ({ id: string; } & Omit<...> & { ...; }) | undefined; })[]) => Element; useLazyListQuery: UseLazyQuery<...>; filters: { ...; }; }' but required in type 'Omit<TablePaginationProps<JSXElementConstructor<TablePaginationBaseProps>, {}>, "component" | "page" | "count" | "rowsPerPage" | "rowsPerPageOptions">'.
main / test / test-js-code: src/pages/teacherDashboard/classes/transferStudents/StudentTable.tsx#L23
Property 'onPageChange' is missing in type '{ children: (users: (Result<User, "teacher" | "student" | "first_name" | "last_name" | "email" | "is_active" | "date_joined"> & { requesting_to_join_class?: ({ id: string; } & Omit<...> & { ...; }) | undefined; })[]) => Element; useLazyListQuery: UseLazyQuery<...>; filters: { ...; }; preferCacheValue: true; }' but required in type 'Omit<TablePaginationProps<JSXElementConstructor<TablePaginationBaseProps>, {}>, "component" | "page" | "count" | "rowsPerPage" | "rowsPerPageOptions">'.
main / test / test-js-code: src/pages/teacherDashboard/school/TeacherInvitationTable.tsx#L65
Property 'onPageChange' is missing in type '{ children: (schoolTeacherInvitations: (Result<SchoolTeacherInvitation, "expires_at" | "invited_teacher_first_name" | "invited_teacher_last_name" | "invited_teacher_email" | "invited_teacher_is_admin"> & Fields)[]) => Element; useLazyListQuery: UseLazyQuery<...>; preferCacheValue: true; }' but required in type 'Omit<TablePaginationProps<JSXElementConstructor<TablePaginationBaseProps>, {}>, "component" | "page" | "count" | "rowsPerPage" | "rowsPerPageOptions">'.
main / test / test-js-code: src/pages/teacherDashboard/school/TeacherTable.tsx#L58
Property 'onPageChange' is missing in type '{ children: (users: (Result<User, "teacher" | "student" | "first_name" | "last_name" | "email" | "is_active" | "date_joined"> & { requesting_to_join_class?: ({ id: string; } & Omit<...> & { ...; }) | undefined; })[]) => Element; useLazyListQuery: UseLazyQuery<...>; filters: { ...; }; preferCacheValue: true; }' but required in type 'Omit<TablePaginationProps<JSXElementConstructor<TablePaginationBaseProps>, {}>, "component" | "page" | "count" | "rowsPerPage" | "rowsPerPageOptions">'.
main / test / test-js-code: src/pages/teacherDashboard/school/TransferClasses.tsx#L78
Property 'onPageChange' is missing in type '{ children: (classes: (Result<Class, "name" | "school" | "read_classmates_data" | "receive_requests_until"> & { teacher: { id: number; } & Omit<{ user: number; school?: number | undefined; is_admin: boolean; }, "id"> & { ...; } & { ...; }; })[]) => Element; useLazyListQuery: UseLazyQuery<...>; filters: { ...; }; }' but required in type 'Omit<TablePaginationProps<JSXElementConstructor<TablePaginationBaseProps>, {}>, "component" | "page" | "count" | "rowsPerPage" | "rowsPerPageOptions">'.
main / test / test-js-code: src/pages/teacherDashboard/school/leave/Leave.tsx#L105
Property 'onPageChange' is missing in type '{ children: (classes: (Result<Class, "name" | "school" | "read_classmates_data" | "receive_requests_until"> & { teacher: { id: number; } & Omit<{ user: number; school?: number | undefined; is_admin: boolean; }, "id"> & { ...; } & { ...; }; })[]) => Element; useLazyListQuery: UseLazyQuery<...>; filters: { ...; }; }' but required in type 'Omit<TablePaginationProps<JSXElementConstructor<TablePaginationBaseProps>, {}>, "component" | "page" | "count" | "rowsPerPage" | "rowsPerPageOptions">'.
main / test / test-js-code
Process completed with exit code 2.