Changeset View
Changeset View
Standalone View
Standalone View
lib/types/redux-types.js
Show First 20 Lines • Show All 116 Lines • ▼ Show 20 Lines | export type NativeAppState = BaseAppState<*> & { | ||||
cookie: ?string, | cookie: ?string, | ||||
... | ... | ||||
}; | }; | ||||
export type WebAppState = BaseAppState<*> & { | export type WebAppState = BaseAppState<*> & { | ||||
sessionID: ?string, | sessionID: ?string, | ||||
deviceToken?: void, | deviceToken?: void, | ||||
cookie?: void, | cookie?: void, | ||||
cryptoStore: CryptoStore, | cryptoStore: CryptoStore, | ||||
pushApiPublicKey: ?string, | |||||
... | ... | ||||
}; | }; | ||||
export type AppState = NativeAppState | WebAppState; | export type AppState = NativeAppState | WebAppState; | ||||
export type BaseAction = | export type BaseAction = | ||||
| { | | { | ||||
+type: '@@redux/INIT', | +type: '@@redux/INIT', | ||||
+payload?: void, | +payload?: void, | ||||
▲ Show 20 Lines • Show All 801 Lines • Show Last 20 Lines |