2018-05-07 00:50:55 -04:00
|
|
|
// @flow
|
|
|
|
|
2019-04-24 10:02:08 -04:00
|
|
|
declare type Subscription = {
|
2018-05-07 00:50:55 -04:00
|
|
|
channelName: string, // @CryptoCandor,
|
|
|
|
uri: string, // lbry://@CryptoCandor#9152f3b054f692076a6882d1b58a30e8781cc8e6
|
2020-11-02 11:51:08 -05:00
|
|
|
notificationsDisabled?: boolean,
|
2018-05-07 00:50:55 -04:00
|
|
|
};
|
2018-10-19 16:38:07 -04:00
|
|
|
|
2020-11-02 11:51:08 -05:00
|
|
|
declare type Following = {
|
|
|
|
uri: string, // lbry://@CryptoCandor#9152f3b054f692076a6882d1b58a30e8781cc8e6
|
|
|
|
notificationsDisabled: boolean,
|
2018-11-21 16:20:55 -05:00
|
|
|
};
|
|
|
|
|
2019-04-24 10:02:08 -04:00
|
|
|
declare type SubscriptionState = {
|
2018-10-19 16:38:07 -04:00
|
|
|
subscriptions: Array<Subscription>,
|
2020-11-02 11:51:08 -05:00
|
|
|
following: Array<Following>,
|
2018-10-19 16:38:07 -04:00
|
|
|
loading: boolean,
|
2018-11-21 16:20:55 -05:00
|
|
|
firstRunCompleted: boolean,
|
|
|
|
};
|