diff --git a/src/api/endpoints/user.ts b/src/api/endpoints/user.ts index 703b4cc..b7fead0 100644 --- a/src/api/endpoints/user.ts +++ b/src/api/endpoints/user.ts @@ -40,9 +40,9 @@ export type ListUsersResult = ListResult< > export type ListUsersArg = ListArg<{ students_in_class: Class["id"] - only_teachers: boolean _id: User["id"] | User["id"][] name: string + type: "teacher" | "student" | "independent" | "indy" }> export default function getReadUserEndpoints(