Changeset View
Changeset View
Standalone View
Standalone View
lib/types/redux-types.js
Show First 20 Lines • Show All 112 Lines • ▼ Show 20 Lines | |||||
export type NativeAppState = BaseAppState<*> & { | export type NativeAppState = BaseAppState<*> & { | ||||
sessionID?: void, | sessionID?: void, | ||||
deviceToken: ?string, | deviceToken: ?string, | ||||
cookie: ?string, | cookie: ?string, | ||||
... | ... | ||||
}; | }; | ||||
export type WebAppState = BaseAppState<*> & { | export type WebAppState = BaseAppState<*> & { | ||||
sessionID: ?string, | sessionID: ?string, | ||||
deviceToken?: void, | deviceToken: ?string, | ||||
cookie?: void, | cookie?: void, | ||||
primaryIdentityPublicKey: ?string, | primaryIdentityPublicKey: ?string, | ||||
pushApiPublicKey: ?string, | pushApiPublicKey: ?string, | ||||
... | ... | ||||
}; | }; | ||||
export type AppState = NativeAppState | WebAppState; | export type AppState = NativeAppState | WebAppState; | ||||
export type BaseAction = | export type BaseAction = | ||||
▲ Show 20 Lines • Show All 804 Lines • Show Last 20 Lines |