Letzten TDR-Messungen anzeigen in Dropdown-Menü
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// /redux/slices/tdmChartSlice.ts
|
||||
import { createSlice, PayloadAction } from "@reduxjs/toolkit";
|
||||
import { fetchAllTDMData } from "../thunks/fetchAllTDMThunk";
|
||||
import type { TDMEntry } from "../../types"; // optional, wenn ausgelagert
|
||||
import type { TDMEntry } from "../types/tdmEntryTypes";
|
||||
|
||||
interface TDMChartState {
|
||||
data: TDMEntry[][]; // 32 Arrays (je Slot)
|
||||
|
||||
6
redux/types/tdmEntryTypes.ts
Normal file
6
redux/types/tdmEntryTypes.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
// redux/types/tdmEntryTypes.ts
|
||||
export interface TDMEntry {
|
||||
id: number;
|
||||
t: string;
|
||||
// ggf. weitere Felder wie m, p usw.
|
||||
}
|
||||
Reference in New Issue
Block a user