CSC: add initial state for redux

This commit is contained in:
Tykayn 2025-08-11 10:42:43 +02:00 committed by tykayn
parent 14cdf17ec3
commit 94ed0ba28b
4 changed files with 83 additions and 7 deletions

View file

@ -6,6 +6,44 @@ export const initialState: StateInterface = {
app: {
backendAPIRoot: "",
demoMode: true,
fromText: "",
toText: "",
filters: {
engineType: {
availableList: {},
selectedList: {}
},
findings: {
availableList: {},
selectedList: {}
},
ata: {
availableList: {},
selectedList: {}
},
partNumber: {
availableList: {},
selectedList: {}
},
technicalManual: {
availableList: {},
selectedList: {}
},
onOffWing: {
availableList: {},
selectedList: {}
}
},
similarCases: {},
searchInput: "",
enableAiSuggestion: false,
technicalManuals: [],
admin: {
pendingUsers: {},
users: {},
currentUser: {},
statistics: {}
}
},
currentLang: "fr_FR",
currentTheme: "light",