Changeset View
Changeset View
Standalone View
Standalone View
web/redux/redux-setup.js
Show All 29 Lines | |||||
import type { MessageStore } from 'lib/types/message-types.js'; | import type { MessageStore } from 'lib/types/message-types.js'; | ||||
import type { UserPolicies } from 'lib/types/policy-types.js'; | import type { UserPolicies } from 'lib/types/policy-types.js'; | ||||
import type { BaseAction } from 'lib/types/redux-types.js'; | import type { BaseAction } from 'lib/types/redux-types.js'; | ||||
import type { ReportStore } from 'lib/types/report-types.js'; | import type { ReportStore } from 'lib/types/report-types.js'; | ||||
import type { ConnectionInfo } from 'lib/types/socket-types.js'; | import type { ConnectionInfo } from 'lib/types/socket-types.js'; | ||||
import type { ThreadStore } from 'lib/types/thread-types.js'; | import type { ThreadStore } from 'lib/types/thread-types.js'; | ||||
import type { CurrentUserInfo, UserStore } from 'lib/types/user-types.js'; | import type { CurrentUserInfo, UserStore } from 'lib/types/user-types.js'; | ||||
import { setNewSessionActionType } from 'lib/utils/action-utils.js'; | import { setNewSessionActionType } from 'lib/utils/action-utils.js'; | ||||
import type { NotifPermissionAlertInfo } from 'lib/utils/push-alerts.js'; | |||||
import { | import { | ||||
updateWindowActiveActionType, | updateWindowActiveActionType, | ||||
setDeviceIDActionType, | setDeviceIDActionType, | ||||
updateNavInfoActionType, | updateNavInfoActionType, | ||||
updateWindowDimensionsActionType, | updateWindowDimensionsActionType, | ||||
updateCalendarCommunityFilter, | updateCalendarCommunityFilter, | ||||
clearCalendarCommunityFilter, | clearCalendarCommunityFilter, | ||||
Show All 28 Lines | export type AppState = { | ||||
loadingStatuses: { [key: string]: { [idx: number]: LoadingStatus } }, | loadingStatuses: { [key: string]: { [idx: number]: LoadingStatus } }, | ||||
calendarFilters: $ReadOnlyArray<CalendarFilter>, | calendarFilters: $ReadOnlyArray<CalendarFilter>, | ||||
calendarPickedCommunityID: ?string, | calendarPickedCommunityID: ?string, | ||||
urlPrefix: string, | urlPrefix: string, | ||||
windowDimensions: WindowDimensions, | windowDimensions: WindowDimensions, | ||||
cookie?: void, | cookie?: void, | ||||
deviceToken: ?string, | deviceToken: ?string, | ||||
baseHref: string, | baseHref: string, | ||||
notifPermissionAlertInfo: NotifPermissionAlertInfo, | |||||
connection: ConnectionInfo, | connection: ConnectionInfo, | ||||
watchedThreadIDs: $ReadOnlyArray<string>, | watchedThreadIDs: $ReadOnlyArray<string>, | ||||
lifecycleState: LifecycleState, | lifecycleState: LifecycleState, | ||||
enabledApps: EnabledApps, | enabledApps: EnabledApps, | ||||
reportStore: ReportStore, | reportStore: ReportStore, | ||||
nextLocalID: number, | nextLocalID: number, | ||||
dataLoaded: boolean, | dataLoaded: boolean, | ||||
windowActive: boolean, | windowActive: boolean, | ||||
▲ Show 20 Lines • Show All 227 Lines • Show Last 20 Lines |