Changeset View
Changeset View
Standalone View
Standalone View
web/redux/redux-setup.js
Show All 38 Lines | |||||
import reduceNavInfo from './nav-reducer'; | import reduceNavInfo from './nav-reducer'; | ||||
import { | import { | ||||
reducePrimaryIdentityPublicKey, | reducePrimaryIdentityPublicKey, | ||||
setPrimaryIdentityPublicKey, | setPrimaryIdentityPublicKey, | ||||
} from './primary-identity-public-key-reducer'; | } from './primary-identity-public-key-reducer'; | ||||
import { getVisibility } from './visibility'; | import { getVisibility } from './visibility'; | ||||
export type WindowDimensions = { width: number, height: number }; | export type WindowDimensions = { width: number, height: number }; | ||||
export type CalendarCommunityFilter = { | |||||
+threadIDs: $ReadOnlyArray<string>, | |||||
}; | |||||
export type AppState = { | export type AppState = { | ||||
navInfo: NavInfo, | navInfo: NavInfo, | ||||
deviceID: ?string, | deviceID: ?string, | ||||
currentUserInfo: ?CurrentUserInfo, | currentUserInfo: ?CurrentUserInfo, | ||||
draftStore: DraftStore, | draftStore: DraftStore, | ||||
sessionID: ?string, | sessionID: ?string, | ||||
entryStore: EntryStore, | entryStore: EntryStore, | ||||
threadStore: ThreadStore, | threadStore: ThreadStore, | ||||
userStore: UserStore, | userStore: UserStore, | ||||
messageStore: MessageStore, | messageStore: MessageStore, | ||||
updatesCurrentAsOf: number, | updatesCurrentAsOf: number, | ||||
loadingStatuses: { [key: string]: { [idx: number]: LoadingStatus } }, | loadingStatuses: { [key: string]: { [idx: number]: LoadingStatus } }, | ||||
calendarFilters: $ReadOnlyArray<CalendarFilter>, | calendarFilters: $ReadOnlyArray<CalendarFilter>, | ||||
communityFilter: ?CalendarCommunityFilter, | |||||
urlPrefix: string, | urlPrefix: string, | ||||
windowDimensions: WindowDimensions, | windowDimensions: WindowDimensions, | ||||
cookie?: void, | cookie?: void, | ||||
deviceToken?: void, | deviceToken?: void, | ||||
baseHref: string, | baseHref: string, | ||||
connection: ConnectionInfo, | connection: ConnectionInfo, | ||||
watchedThreadIDs: $ReadOnlyArray<string>, | watchedThreadIDs: $ReadOnlyArray<string>, | ||||
lifecycleState: LifecycleState, | lifecycleState: LifecycleState, | ||||
▲ Show 20 Lines • Show All 193 Lines • Show Last 20 Lines |