feat: Add internal runtime configuration
This commit is contained in:
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
/*!
|
||||
* Copyright (c) 2024 PLANKA Software GmbH
|
||||
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
|
||||
*/
|
||||
|
||||
import ActionTypes from '../constants/ActionTypes';
|
||||
|
||||
const handleBootstrapUpdate = (bootstrap) => ({
|
||||
type: ActionTypes.BOOTSTRAP_UPDATE_HANDLE,
|
||||
payload: {
|
||||
bootstrap,
|
||||
},
|
||||
});
|
||||
|
||||
export default {
|
||||
handleBootstrapUpdate,
|
||||
};
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
import router from './router';
|
||||
import socket from './socket';
|
||||
import bootstrap from './bootstrap';
|
||||
import login from './login';
|
||||
import core from './core';
|
||||
import modals from './modals';
|
||||
@@ -34,6 +35,7 @@ import notificationServices from './notification-services';
|
||||
export default {
|
||||
...router,
|
||||
...socket,
|
||||
...bootstrap,
|
||||
...login,
|
||||
...core,
|
||||
...modals,
|
||||
|
||||
@@ -5,6 +5,13 @@
|
||||
|
||||
import ActionTypes from '../constants/ActionTypes';
|
||||
|
||||
const handleUsersReset = (users) => ({
|
||||
type: ActionTypes.USERS_RESET_HANDLE,
|
||||
payload: {
|
||||
users,
|
||||
},
|
||||
});
|
||||
|
||||
const createUser = (data) => ({
|
||||
type: ActionTypes.USER_CREATE,
|
||||
payload: {
|
||||
@@ -399,6 +406,7 @@ const removeUserFromBoardFilter = (id, boardId, currentListId) => ({
|
||||
});
|
||||
|
||||
export default {
|
||||
handleUsersReset,
|
||||
createUser,
|
||||
handleUserCreate,
|
||||
clearUserCreateError,
|
||||
|
||||
Reference in New Issue
Block a user