docs: Projektstruktur der Dokumentation an Quellcode angepasst
- Verzeichnisstruktur unter /docs spiegelt nun die tatsächliche Projektstruktur wider - frontend/server-Trennung entfernt zugunsten von /docs/pages, /docs/redux, /docs/utils etc. - Erhöht Wiederauffindbarkeit, Übersichtlichkeit und Entwicklerfreundlichkeit
This commit is contained in:
26
docs/redux/slices/webService/gisStationsMeasurementsSlice.md
Normal file
26
docs/redux/slices/webService/gisStationsMeasurementsSlice.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# 📈 gisStationsMeasurementsSlice
|
||||
|
||||
Verwaltet Messdaten für GIS-Stationen, z. B. Spannungen, Strom, Sensorwerte etc.
|
||||
|
||||
## 🔧 Pfad
|
||||
`/redux/slices/webService/gisStationsMeasurementsSlice.js`
|
||||
|
||||
## 📦 Initial State
|
||||
|
||||
```ts
|
||||
{
|
||||
data: [],
|
||||
status: "idle",
|
||||
error: null
|
||||
}
|
||||
```
|
||||
|
||||
## 🔁 Thunk: `fetchGisStationsMeasurementsFromWebService`
|
||||
|
||||
Verwendet `fetchGisStationsMeasurements()` als API-Quelle.
|
||||
|
||||
## 📊 Selector
|
||||
|
||||
```ts
|
||||
selectGisStationsMeasurements = (state) => state.gisStationsMeasurements.data;
|
||||
```
|
||||
@@ -0,0 +1,18 @@
|
||||
# 🏙️ gisStationsStaticDistrictSlice
|
||||
|
||||
Verwaltet statische Daten für GIS-Bezirksstationen.
|
||||
|
||||
## 🔧 Pfad
|
||||
`/redux/slices/webService/gisStationsStaticDistrictSlice.js`
|
||||
|
||||
## 📦 Initial State
|
||||
|
||||
```ts
|
||||
{
|
||||
data: [],
|
||||
status: "idle",
|
||||
error: null
|
||||
}
|
||||
```
|
||||
|
||||
## 🔁 Thunk: `fetchGisStationsStaticDistrictFromWebService`
|
||||
26
docs/redux/slices/webService/gisStationsStaticSlice.md
Normal file
26
docs/redux/slices/webService/gisStationsStaticSlice.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# 🛰️ gisStationsStaticSlice
|
||||
|
||||
Verwaltet statische Informationen zu GIS-Stationen – z. B. für das Dropdown im DataSheet-Bereich.
|
||||
|
||||
## 🔧 Pfad
|
||||
`/redux/slices/webService/gisStationsStaticSlice.js`
|
||||
|
||||
## 📦 Initial State
|
||||
|
||||
```ts
|
||||
{
|
||||
data: null,
|
||||
status: "idle",
|
||||
error: null
|
||||
}
|
||||
```
|
||||
|
||||
## 🔁 Thunk: `fetchGisStationsStatic`
|
||||
|
||||
Lädt Daten über dynamisch erzeugte URL (`idMap` aus `window.location.search`).
|
||||
|
||||
## 🧪 Logging
|
||||
|
||||
```ts
|
||||
console.log("📡 API Request URL in redux slice:", url);
|
||||
```
|
||||
@@ -0,0 +1,18 @@
|
||||
# 📶 gisStationsStatusDistrictSlice
|
||||
|
||||
Verwaltet Statusinformationen für GIS-Bezirksstationen (z. B. online/offline, Fehlerstatus).
|
||||
|
||||
## 🔧 Pfad
|
||||
`/redux/slices/webService/gisStationsStatusDistrictSlice.js`
|
||||
|
||||
## 📦 Initial State
|
||||
|
||||
```ts
|
||||
{
|
||||
data: [],
|
||||
status: "idle",
|
||||
error: null
|
||||
}
|
||||
```
|
||||
|
||||
## 🔁 Thunk: `fetchGisStationsStatusDistrictFromWebService`
|
||||
25
docs/redux/slices/webService/gisSystemStaticSlice.md
Normal file
25
docs/redux/slices/webService/gisSystemStaticSlice.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# 🧭 gisSystemStaticSlice
|
||||
|
||||
Verwaltet statische GIS-Systemdaten (`Systems[]`), die vom Server zurückgegeben werden.
|
||||
|
||||
## 🔧 Pfad
|
||||
`/redux/slices/webService/gisSystemStaticSlice.js`
|
||||
|
||||
## 📦 Initial State
|
||||
|
||||
```ts
|
||||
{
|
||||
data: [], // enthält Systems[]
|
||||
status: "idle", // Ladezustand
|
||||
error: null
|
||||
}
|
||||
```
|
||||
|
||||
## 🔁 Thunk: `fetchGisSystemStaticFromWebService`
|
||||
|
||||
Ruft `fetchGisSystemStatic()` auf und speichert nur das Feld `Systems` im Redux-State.
|
||||
|
||||
## 🧩 Aktionen
|
||||
|
||||
- `setGisSystemStatic(data)` → manuelles Setzen von `Systems[]`
|
||||
- `fulfilled` → speichert Systems[]
|
||||
Reference in New Issue
Block a user