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