- added volume setting for sighting hits

This commit is contained in:
2025-10-17 16:12:02 +01:00
parent 3eb539fd9d
commit 82b84dc46e
14 changed files with 145 additions and 59 deletions

View File

@@ -297,6 +297,9 @@ export type SoundState = {
NPEDsound: SoundValue;
hotlists: Hotlist[];
soundOptions?: SoundUploadValue[];
sightingVolume: number;
NPEDsoundVolume: number;
hotlistSoundVolume: number;
};
type UpdateAction = {
@@ -313,7 +316,12 @@ type AddAction = {
payload: SoundUploadValue;
};
export type SoundAction = UpdateAction | AddAction;
type VolumeAction = {
type: "SIGHTINGVOLUME" | "NPEDVOLUME" | "HOTLISTVOLUME";
payload: number;
};
export type SoundAction = UpdateAction | AddAction | VolumeAction;
export type WifiSettingValues = {
ssid: string;
password: string;