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

63 lines
1.2 KiB
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-11 10:42:43 +02:00
fromText: "",
2025-09-04 11:30:08 +02:00
fromFile: "",
2025-08-11 10:42:43 +02:00
toText: "",
filters: {
engineType: {
availableList: {},
selectedList: {}
},
findings: {
availableList: {},
selectedList: {}
},
ata: {
availableList: {},
selectedList: {}
},
partNumber: {
availableList: {},
selectedList: {}
},
technicalManual: {
availableList: {},
selectedList: {}
},
onOffWing: {
availableList: {},
selectedList: {}
}
},
2025-09-04 11:30:08 +02:00
similarCases: [
{
id: 1,
}
],
2025-08-11 10:42:43 +02:00
searchInput: "",
enableAiSuggestion: false,
technicalManuals: [],
2025-09-04 11:30:08 +02:00
resumeTitle: "Work stoppage case for CFM56-7B engine (ESN: 802379)...",
2025-08-11 10:42:43 +02:00
admin: {
pendingUsers: {},
users: {},
currentUser: {},
statistics: {}
}
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: "",
},
};