Cache audio

This commit is contained in:
2025-02-06 22:32:25 +01:00
parent ccb64fc048
commit fb3a59aa59
8 changed files with 173 additions and 67 deletions

View File

@ -46,3 +46,9 @@ export class CharacterHairStorage extends BaseStorage<any> {
return characterType?.sprite
}
}
export class SoundStorage extends BaseStorage<{ id: string; name: string; base64: string }> {
constructor() {
super('sounds', 'id, name, createdAt, updatedAt')
}
}