docs
This commit is contained in:
@@ -1,18 +1,25 @@
|
||||
# 📶 gisStationsStatusDistrictSlice
|
||||
<!-- /docs/redux/slices/webservice/gisStationsStatusDistrictSlice.md -->
|
||||
|
||||
Verwaltet Statusinformationen für GIS-Bezirksstationen (z. B. online/offline, Fehlerstatus).
|
||||
# 🧩 gisStationsStatusDistrictSlice.js
|
||||
|
||||
## 🔧 Pfad
|
||||
`/redux/slices/webService/gisStationsStatusDistrictSlice.js`
|
||||
Verwaltet den Status aller Stationen im aktuellen Bezirk aus Webservice-Daten.
|
||||
|
||||
## 📦 Initial State
|
||||
## Zustand
|
||||
|
||||
```ts
|
||||
```js
|
||||
{
|
||||
data: [],
|
||||
status: "idle",
|
||||
error: null
|
||||
status: "idle" | "loading" | "succeeded" | "failed",
|
||||
error: string | null
|
||||
}
|
||||
```
|
||||
|
||||
## 🔁 Thunk: `fetchGisStationsStatusDistrictFromWebService`
|
||||
## Thunk
|
||||
|
||||
- `fetchGisStationsStatusDistrictThunk()`
|
||||
|
||||
## Selector
|
||||
|
||||
```js
|
||||
selectGisStationsStatusDistrict = (state) => state.gisStationsStatusDistrict.data
|
||||
```
|
||||
Reference in New Issue
Block a user