add redux in csc

This commit is contained in:
Tykayn 2025-08-08 11:31:27 +02:00 committed by tykayn
parent a89007a81b
commit 3534919502
14 changed files with 277 additions and 12 deletions

View file

@ -0,0 +1,18 @@
// Define initial state
import {StateInterface} from './reducers';
export const initialState: StateInterface = {
app: {
backendAPIRoot: "",
demoMode: true, // selon l'environnement
},
currentLang: "fr_FR",
currentTheme: "light",
langsList: ["fr_FR", "en_US"],
themesList: ["light", "dark"],
user: {
isAuthenticated: false,
id: "",
},
};