- added sounds for all hotlist sounds

This commit is contained in:
2025-10-20 11:32:45 +01:00
parent a152c15ec7
commit 0867b3b743
5 changed files with 63 additions and 18 deletions

View File

@@ -285,17 +285,20 @@ export type FormValues = {
sightingSound: SoundValue;
NPEDsound: SoundValue;
hotlists: Hotlist[];
hotlistSound: SoundValue;
};
export type SoundUploadValue = {
name: string;
soundFile: File | null;
soundFileName?: string;
soundFile?: File | null;
};
export type SoundState = {
sightingSound: SoundValue;
NPEDsound: SoundValue;
hotlists: Hotlist[];
hotlistSound: SoundValue;
soundOptions?: SoundUploadValue[];
sightingVolume: number;
NPEDsoundVolume: number;
@@ -310,7 +313,8 @@ type UpdateAction = {
hotlists: Hotlist[];
sightingVolume: number;
NPEDsoundVolume: number;
hotlistSoundVolume?: number;
hotlistSoundVolume: number;
hotlistSound: SoundValue;
};
};