class Favorites
extends BaseApi
import { Favorites } from "https://deno.land/x/gesso@v0.1.2/src/Favorites.ts";
Constructors
new
Favorites(config: Configuration)Methods
addCourseToFavorites(): Promise<Favorite>
addGroupToFavorites(): Promise<Favorite>
listFavoriteCourses(params?: ListFavoriteCoursesParams, body?: unknown): Promise<Course[]>
listFavoriteGroups(body?: unknown): Promise<Group[]>
removeCourseFromFavorites(): Promise<Favorite>
removeGroupFromFavorites(): Promise<Favorite>
resetCourseFavorites(body?: unknown): Promise<Scope>
resetGroupFavorites(body?: unknown): Promise<Scope>