added sound context, and functionality to select sighting sound

This commit is contained in:
2025-09-30 14:51:37 +01:00
parent 673df1a4f4
commit 2aeae761f8
9 changed files with 109 additions and 86 deletions

View File

@@ -278,3 +278,14 @@ export type FormValues = {
export type SoundUploadValue = {
soundFile: File | null;
};
export type SoundState = {
sightingSound: SoundValue;
NPEDsound: SoundValue;
hotlists: Hotlist[];
};
export type SoundPayload = {
type: string;
payload: SoundState;
};