mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-02 07:59:56 -04:00
imported current state of the mockup into the public repo
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Signed-off-by: Philip Molares <philip.molares@udo.edu> Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
commit
93ce059577
161 changed files with 17419 additions and 0 deletions
20
src/redux/application-config/actions.ts
Normal file
20
src/redux/application-config/actions.ts
Normal file
|
@ -0,0 +1,20 @@
|
|||
import {Action, ActionCreator} from 'redux';
|
||||
import {ApplicationConfigState} from "./types";
|
||||
|
||||
export const SET_APPLICATION_CONFIG_ACTION_TYPE = 'config/set';
|
||||
|
||||
export interface SetApplicationConfigAction extends Action {
|
||||
type: string;
|
||||
payload: {
|
||||
state: ApplicationConfigState;
|
||||
};
|
||||
}
|
||||
|
||||
export const setApplicationConfig: ActionCreator<SetApplicationConfigAction> = (state: ApplicationConfigState) => ({
|
||||
type: SET_APPLICATION_CONFIG_ACTION_TYPE,
|
||||
payload: {
|
||||
state
|
||||
},
|
||||
})
|
||||
|
||||
export type ApplicationConfigActions = SetApplicationConfigAction;
|
Loading…
Add table
Add a link
Reference in a new issue