diff --git a/lib/types/redux-types.js b/lib/types/redux-types.js --- a/lib/types/redux-types.js +++ b/lib/types/redux-types.js @@ -182,6 +182,11 @@ } from '../keyserver-conn/keyserver-conn-types.js'; import type { SendMessageError } from '../utils/errors.js'; +// Before making changes here, make sure to consider how the added property +// should be stored. Think about redux-persist or SQLite as storage, +// backup and make sure blacklists/whitelists on all platforms are +// reflecting that. Please also update the Notion doc with Redux state: +// https://www.notion.so/commapp/Application-storage-1e3d823c518b807ab023daed163682b5#1e4d823c518b80bc97c2d0b5448413ad. export type BaseAppState = { +navInfo: NavInfo, +currentUserInfo: ?CurrentUserInfo, diff --git a/native/redux/state-types.js b/native/redux/state-types.js --- a/native/redux/state-types.js +++ b/native/redux/state-types.js @@ -50,6 +50,11 @@ 'commServicesAccessToken', ]; +// Before making changes here, make sure to consider how the added property +// should be stored. Think about redux-persist or SQLite as storage, +// backup and make sure blacklists/whitelists on all platforms are +// reflecting that. Please also update the Notion doc with Redux state: +// https://www.notion.so/commapp/Application-storage-1e3d823c518b807ab023daed163682b5#1e4d823c518b80bc97c2d0b5448413ad. export type AppState = { +navInfo: NavInfo, +currentUserInfo: ?CurrentUserInfo, diff --git a/web/redux/redux-setup.js b/web/redux/redux-setup.js --- a/web/redux/redux-setup.js +++ b/web/redux/redux-setup.js @@ -99,6 +99,11 @@ 'customServer', ]; +// Before making changes here, make sure to consider how the added property +// should be stored. Think about redux-persist or SQLite as storage, +// backup and make sure blacklists/whitelists on all platforms are +// reflecting that. Please also update the Notion doc with Redux state: +// https://www.notion.so/commapp/Application-storage-1e3d823c518b807ab023daed163682b5#1e4d823c518b80bc97c2d0b5448413ad. export type AppState = { +navInfo: WebNavInfo, +currentUserInfo: ?CurrentUserInfo,