Deprecate Home, Local, Public pages

This commit is contained in:
Marquis Kurt 2020-01-07 11:25:02 -05:00
parent 66eb312fe7
commit 5d26434855
No known key found for this signature in database
GPG Key ID: 725636D259F5402D
3 changed files with 15 additions and 0 deletions

View File

@ -28,6 +28,11 @@ interface IHomePageState {
isMasonryLayout?: boolean;
}
/**
* The base class for the home timeline.
* @deprecated Use TimelinePage with the props `timeline="/timelines/home"`
* and `stream="/streaming/user"`.
*/
class HomePage extends Component<any, IHomePageState> {
client: Mastodon;
streamListener: StreamListener;

View File

@ -28,6 +28,11 @@ interface ILocalPageState {
isMasonryLayout?: boolean;
}
/**
* The base class for the local timeline.
* @deprecated Use TimelinePage with the props `timeline="/timelines/public?local=true"`
* and `stream="/streaming/public/local"`.
*/
class LocalPage extends Component<any, ILocalPageState> {
client: Mastodon;
streamListener: StreamListener;

View File

@ -28,6 +28,11 @@ interface IPublicPageState {
isMasonryLayout?: boolean;
}
/**
* The base class for the public timeline.
* @deprecated Use TimelinePage with the props `timeline="/timelines/public"`
* and `stream="/streaming/public"`.
*/
class PublicPage extends Component<any, IPublicPageState> {
client: Mastodon;
streamListener: StreamListener;