16 lines
384 B
TypeScript
16 lines
384 B
TypeScript
/**
|
|
* Types what the signed-in user follows, as the client's `FollowProvider`
|
|
* loads it to show follow buttons pressed.
|
|
*
|
|
* @module
|
|
*/
|
|
|
|
/**
|
|
* Returned by `GET /api/follows/status` to `FollowProvider`, which then keeps
|
|
* it up to date itself as the user follows and unfollows.
|
|
*/
|
|
export interface FollowStatus {
|
|
followedUserIds: string[];
|
|
followedPlaylistIds: string[];
|
|
}
|