feat: Add internal runtime configuration

This commit is contained in:
Maksim Eltyshev
2026-01-22 18:02:42 +01:00
parent b852481850
commit 1264fd5715
79 changed files with 561 additions and 122 deletions
+17
View File
@@ -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 EntryActionTypes from '../constants/EntryActionTypes';
const handleBootstrapUpdate = (bootstrap) => ({
type: EntryActionTypes.BOOTSTRAP_UPDATE_HANDLE,
payload: {
bootstrap,
},
});
export default {
handleBootstrapUpdate,
};
+2
View File
@@ -4,6 +4,7 @@
*/
import socket from './socket';
import bootstrap from './bootstrap';
import login from './login';
import core from './core';
import modals from './modals';
@@ -32,6 +33,7 @@ import notificationServices from './notification-services';
export default {
...socket,
...bootstrap,
...login,
...core,
...modals,
+6
View File
@@ -5,6 +5,11 @@
import EntryActionTypes from '../constants/EntryActionTypes';
const handleUsersReset = () => ({
type: EntryActionTypes.USERS_RESET_HANDLE,
payload: {},
});
const createUser = (data) => ({
type: EntryActionTypes.USER_CREATE,
payload: {
@@ -246,6 +251,7 @@ const removeUserFromFilterInCurrentBoard = (id) => ({
});
export default {
handleUsersReset,
createUser,
handleUserCreate,
clearUserCreateError,