ng-implementation/sae-csc/src/app/redux/initialState.ts

19 lines
346 B
TypeScript
Raw Normal View History

2025-08-08 11:31:27 +02:00
// Define initial state
import {StateInterface} from './reducers';
export const initialState: StateInterface = {
app: {
backendAPIRoot: "",
2025-08-08 16:43:50 +02:00
demoMode: true,
2025-08-08 11:31:27 +02:00
},
currentLang: "fr_FR",
currentTheme: "light",
langsList: ["fr_FR", "en_US"],
themesList: ["light", "dark"],
user: {
isAuthenticated: false,
id: "",
},
};