Explore this module further in the Mover Registry: @sage/shared
Structs
Favorite
Data on relationship created between a User
and the content they want to favorite.
Favorites
All of the relationships that exist between User
s and the content they have favorited.
Constants
Error code when attempting to favorite content that has already been favorited.Functions
add
Favorite the content.
assert_has_not_favorited
Aborts with EAlreadyFavorited
if the content has already been favorited.
create
Creates a new instance of Favorites
.