Changeset View
Changeset View
Standalone View
Standalone View
lib/types/redux-types.js
Show First 20 Lines • Show All 104 Lines • ▼ Show 20 Lines | export type BaseAppState<NavInfo: BaseNavInfo> = { | ||||
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, | ||||
userPolicies: UserPolicies, | userPolicies: UserPolicies, | ||||
deviceToken: ?string, | deviceToken: ?string, | ||||
+commServicesAccessToken: ?string, | |||||
... | ... | ||||
}; | }; | ||||
// Web JS runtime doesn't have access to the cookie for security reasons. | // Web JS runtime doesn't have access to the cookie for security reasons. | ||||
// Native JS doesn't have a sessionID because the cookieID is used instead. | // Native JS doesn't have a sessionID because the cookieID is used instead. | ||||
export type NativeAppState = BaseAppState<*> & { | export type NativeAppState = BaseAppState<*> & { | ||||
sessionID?: void, | sessionID?: void, | ||||
cookie: ?string, | cookie: ?string, | ||||
▲ Show 20 Lines • Show All 852 Lines • Show Last 20 Lines |