ng-implementation/sae-csc/src/app/redux/initialState.ts
2025-09-08 14:09:25 +02:00

62 lines
1.2 KiB
TypeScript

// Define initial state
import {StateInterface} from './reducers';
export const initialState: StateInterface = {
app: {
backendAPIRoot: "",
demoMode: true,
fromText: "",
fromFile: "",
toText: "",
filters: {
engineType: {
availableList: {},
selectedList: {}
},
findings: {
availableList: {},
selectedList: {}
},
ata: {
availableList: {},
selectedList: {}
},
partNumber: {
availableList: {},
selectedList: {}
},
technicalManual: {
availableList: {},
selectedList: {}
},
onOffWing: {
availableList: {},
selectedList: {}
}
},
similarCases: [
{
id: 1,
}
],
searchInput: "",
enableAiSuggestion: false,
technicalManuals: [],
resumeTitle: "Work stoppage case for CFM56-7B engine (ESN: 802379)...",
admin: {
pendingUsers: {},
users: {},
currentUser: {},
statistics: {}
}
},
currentLang: "fr_FR",
currentTheme: "light",
langsList: ["fr_FR", "en_US"],
themesList: ["light", "dark"],
user: {
isAuthenticated: false,
id: "",
},
};