Files
remark42/frontend/app/store/actions.ts
T
Misha VyrtsevandUmputun 3b4628d0bd Auth login design (#390)
* break auth panel render into submethods

* move var definition

* break renderUnathorized into submethods

* hide login providers behind dropdown if they are exceed length of 3

* amend dropdown to behave nicely being placed in another dropdown

* add style to providers enclosed in dropdown

* add provider reducer and actions

* add provider save/restore to app flow

* place last login provider first in providers list

* infer StoreState from combineReducers return type

* move collapsed threads retoration to action

* fix: provider lost in other

* add dynamic threshold depending on window width

* fix & add tests
2019-07-25 22:54:59 -05:00

20 lines
611 B
TypeScript

import { COMMENTS_ACTIONS } from './comments/types';
import { POST_INFO_ACTIONS } from './post_info/types';
import { SORT_ACTIONS } from './sort/types';
import { THEME_ACTIONS } from './theme/types';
import { THREAD_ACTIONS } from './thread/types';
import { USER_ACTIONS } from './user/types';
import { USER_INFO_ACTIONS } from './user-info/types';
import { PROVIDER_ACTIONS } from './provider/types';
/** Merged store actions */
export type ACTIONS =
| COMMENTS_ACTIONS
| POST_INFO_ACTIONS
| SORT_ACTIONS
| THEME_ACTIONS
| THREAD_ACTIONS
| USER_ACTIONS
| USER_INFO_ACTIONS
| PROVIDER_ACTIONS;