cleanup: alte GIS-Fetch-Dateien und unnötige Service-Imports entfernt – vollständige Umstellung auf zentrale Thunks abgeschlossen
This commit is contained in:
7
redux/thunks/database/fetchLocationDevicesThunk.js
Normal file
7
redux/thunks/database/fetchLocationDevicesThunk.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// /redux/thunks/fetchLocationDevicesThunk.js
|
||||
import { createAsyncThunk } from "@reduxjs/toolkit";
|
||||
import { fetchLocationDevicesService } from "../../../services/database/fetchLocationDevicesService";
|
||||
|
||||
export const fetchLocationDevicesThunk = createAsyncThunk("locationDevices/fetch", async () => {
|
||||
return await fetchLocationDevicesService();
|
||||
});
|
||||
@@ -1,7 +1,7 @@
|
||||
// /redux/thunks/fetchGisStationsMeasurementsThunk.js
|
||||
// /redux/thunks/webservice/fetchGisStationsMeasurementsThunk.js
|
||||
|
||||
import { createAsyncThunk } from "@reduxjs/toolkit";
|
||||
import { fetchGisStationsMeasurementsService } from "../../services/webservice/fetchGisStationsMeasurementsService";
|
||||
import { fetchGisStationsMeasurementsService } from "../../../services/webservice/fetchGisStationsMeasurementsService";
|
||||
|
||||
/**
|
||||
* Redux-Thunk für fetchGisStationsMeasurements
|
||||
@@ -1,7 +1,7 @@
|
||||
// /redux/thunks/fetchGisStationsStaticDistrictThunk.js
|
||||
// /redux/thunks/webservice/fetchGisStationsStaticDistrictThunk.js
|
||||
|
||||
import { createAsyncThunk } from "@reduxjs/toolkit";
|
||||
import { fetchGisStationsStaticDistrictService } from "../../services/webservice/fetchGisStationsStaticDistrictService";
|
||||
import { fetchGisStationsStaticDistrictService } from "../../../services/webservice/fetchGisStationsStaticDistrictService";
|
||||
|
||||
/**
|
||||
* Redux-Thunk für fetchGisStationsStaticDistrict
|
||||
@@ -1,7 +1,7 @@
|
||||
// /redux/thunks/fetchGisStationsStatusDistrictThunk.js
|
||||
// /redux/thunks/webservice/fetchGisStationsStatusDistrictThunk.js
|
||||
|
||||
import { createAsyncThunk } from "@reduxjs/toolkit";
|
||||
import { fetchGisStationsStatusDistrictService } from "../../services/webservice/fetchGisStationsStatusDistrictService";
|
||||
import { fetchGisStationsStatusDistrictService } from "../../../services/webservice/fetchGisStationsStatusDistrictService";
|
||||
|
||||
/**
|
||||
* Redux-Thunk für fetchGisStationsStatusDistrict
|
||||
@@ -1,7 +1,7 @@
|
||||
// /redux/thunks/fetchGisSystemStaticThunk.js
|
||||
// /redux/thunks/webservice/fetchGisSystemStaticThunk.js
|
||||
|
||||
import { createAsyncThunk } from "@reduxjs/toolkit";
|
||||
import { fetchGisSystemStaticService } from "../../services/webservice/fetchGisSystemStaticService";
|
||||
import { fetchGisSystemStaticService } from "../../../services/webservice/fetchGisSystemStaticService";
|
||||
|
||||
/**
|
||||
* Redux-Thunk für fetchGisSystemStatic
|
||||
Reference in New Issue
Block a user