chore: moved more types to ReduxTypes.d.ts
parent
fb99c3491c
commit
4589bde672
@ -0,0 +1,23 @@
|
||||
/**
|
||||
* Note: The types defined in this file have to be self contained.
|
||||
* We must not import anything in this file, especially not something relying on the window object (even indirectly, through an import chain).
|
||||
*/
|
||||
|
||||
export type SessionSettingCategory =
|
||||
| 'privacy'
|
||||
| 'notifications'
|
||||
| 'conversations'
|
||||
| 'messageRequests'
|
||||
| 'appearance'
|
||||
| 'permissions'
|
||||
| 'help'
|
||||
| 'recoveryPhrase'
|
||||
| 'ClearData';
|
||||
|
||||
export type PasswordAction = 'set' | 'change' | 'remove' | 'enter';
|
||||
|
||||
export type EditProfilePictureModalProps = {
|
||||
avatarPath: string | null;
|
||||
profileName: string | undefined;
|
||||
ourId: string;
|
||||
};
|
@ -1,10 +0,0 @@
|
||||
export type SessionSettingCategory =
|
||||
| 'privacy'
|
||||
| 'notifications'
|
||||
| 'conversations'
|
||||
| 'messageRequests'
|
||||
| 'appearance'
|
||||
| 'permissions'
|
||||
| 'help'
|
||||
| 'recoveryPhrase'
|
||||
| 'ClearData';
|
Loading…
Reference in New Issue