17 lines
477 B
TypeScript
17 lines
477 B
TypeScript
/**
|
|
* Following a user or a playlist puts their dumps in the index's "followed"
|
|
* tab. This module types what the signed-in user follows, as the client's
|
|
* `FollowProvider` loads it to show the Follow buttons pressed.
|
|
*
|
|
* @module
|
|
*/
|
|
|
|
/**
|
|
* Returned by `GET /api/me/follow` to `FollowProvider`, which then keeps
|
|
* it up to date itself as the user follows and unfollows.
|
|
*/
|
|
export interface FollowStatus {
|
|
followedUserIds: string[];
|
|
followedPlaylistIds: string[];
|
|
}
|