docs
This commit is contained in:
21
docs/redux/thunks/database/pois/addPoiThunk.md
Normal file
21
docs/redux/thunks/database/pois/addPoiThunk.md
Normal file
@@ -0,0 +1,21 @@
|
||||
<!-- /docs/redux/thunks/database/pois/addPoiThunk.md -->
|
||||
|
||||
# ➕ addPoiThunk.js
|
||||
|
||||
Async-Thunk zur Erstellung eines neuen POIs.
|
||||
|
||||
## Verwendung
|
||||
|
||||
```js
|
||||
dispatch(addPoiThunk({
|
||||
name: "Messstelle 1",
|
||||
poiTypeId: 2,
|
||||
latitude: 53.21,
|
||||
longitude: 8.43,
|
||||
idLD: 12
|
||||
}));
|
||||
```
|
||||
|
||||
## Intern
|
||||
|
||||
Ruft `addPoiService(formData)` auf und gibt das Ergebnis zurück.
|
||||
16
docs/redux/thunks/database/pois/deletePoiThunk.md
Normal file
16
docs/redux/thunks/database/pois/deletePoiThunk.md
Normal file
@@ -0,0 +1,16 @@
|
||||
<!-- /docs/redux/thunks/database/pois/deletePoiThunk.md -->
|
||||
|
||||
# ❌ deletePoiThunk.js
|
||||
|
||||
Async-Thunk zum Löschen eines POIs anhand seiner ID.
|
||||
|
||||
## Verwendung
|
||||
|
||||
```js
|
||||
dispatch(deletePoiThunk(15));
|
||||
```
|
||||
|
||||
## Verhalten
|
||||
|
||||
- Ruft `deletePoiService(id)` auf
|
||||
- Gibt die ID im Erfolgsfall zurück
|
||||
15
docs/redux/thunks/database/pois/fetchPoiIconsDataThunk.md
Normal file
15
docs/redux/thunks/database/pois/fetchPoiIconsDataThunk.md
Normal file
@@ -0,0 +1,15 @@
|
||||
<!-- /docs/redux/thunks/database/pois/fetchPoiIconsDataThunk.md -->
|
||||
|
||||
# 🖼️ fetchPoiIconsDataThunk.js
|
||||
|
||||
Lädt alle verfügbaren POI-Icons aus dem Backend.
|
||||
|
||||
## Verwendung
|
||||
|
||||
```js
|
||||
dispatch(fetchPoiIconsDataThunk());
|
||||
```
|
||||
|
||||
## Intern
|
||||
|
||||
- Ruft `fetchPoiIconsDataService()` auf
|
||||
15
docs/redux/thunks/database/pois/fetchPoiMarkersThunk.md
Normal file
15
docs/redux/thunks/database/pois/fetchPoiMarkersThunk.md
Normal file
@@ -0,0 +1,15 @@
|
||||
<!-- /docs/redux/thunks/database/pois/fetchPoiMarkersThunk.md -->
|
||||
|
||||
# 📍 fetchPoiMarkersThunk.js
|
||||
|
||||
Lädt alle POI-Marker (Positionsdaten) aus dem Backend.
|
||||
|
||||
## Verwendung
|
||||
|
||||
```js
|
||||
dispatch(fetchPoiMarkersThunk());
|
||||
```
|
||||
|
||||
## Intern
|
||||
|
||||
- Ruft `fetchPoiMarkersService()` auf
|
||||
15
docs/redux/thunks/database/pois/fetchPoiTypThunk.md
Normal file
15
docs/redux/thunks/database/pois/fetchPoiTypThunk.md
Normal file
@@ -0,0 +1,15 @@
|
||||
<!-- /docs/redux/thunks/database/pois/fetchPoiTypThunk.md -->
|
||||
|
||||
# 🗂️ fetchPoiTypThunk.js
|
||||
|
||||
Lädt alle verfügbaren POI-Typen aus der Datenbank.
|
||||
|
||||
## Verwendung
|
||||
|
||||
```js
|
||||
dispatch(fetchPoiTypThunk());
|
||||
```
|
||||
|
||||
## Intern
|
||||
|
||||
- Ruft `fetchPoiTypService()` auf
|
||||
20
docs/redux/thunks/database/pois/updatePoiThunk.md
Normal file
20
docs/redux/thunks/database/pois/updatePoiThunk.md
Normal file
@@ -0,0 +1,20 @@
|
||||
<!-- /docs/redux/thunks/database/pois/updatePoiThunk.md -->
|
||||
|
||||
# 📝 updatePoiThunk.js
|
||||
|
||||
Aktualisiert einen bestehenden POI mit neuen Daten.
|
||||
|
||||
## Verwendung
|
||||
|
||||
```js
|
||||
dispatch(updatePoiThunk({
|
||||
idPoi: 15,
|
||||
description: "Neue Beschreibung",
|
||||
idPoiTyp: 3,
|
||||
idLD: 8
|
||||
}));
|
||||
```
|
||||
|
||||
## Intern
|
||||
|
||||
- Ruft `updatePoiService(poi)` auf
|
||||
Reference in New Issue
Block a user