25 lines
464 B
Markdown
25 lines
464 B
Markdown
<!-- /docs/redux/slices/webservice/gisLinesStatusSlice.md -->
|
||
|
||
# 🧩 gisLinesStatusSlice.js
|
||
|
||
Lädt und speichert Statusdaten von Linien (z. B. Spannungswerte, Betriebszustand) aus dem Webservice.
|
||
|
||
## Zustand
|
||
|
||
```js
|
||
{
|
||
data: [],
|
||
status: "idle" | "loading" | "succeeded" | "failed",
|
||
error: string | null
|
||
}
|
||
```
|
||
|
||
## Thunk
|
||
|
||
- `fetchGisLinesStatusThunk()`
|
||
|
||
## Selector
|
||
|
||
```js
|
||
selectGisLinesStatusFromWebservice = (state) => state.gisLinesStatusFromWebservice
|
||
``` |