feat(settings/clock/alarm): implement (achievements)

This commit is contained in:
2026-01-24 22:48:04 +01:00
parent 3231c7def5
commit 1ec5953c71
10 changed files with 146 additions and 0 deletions

View File

@@ -72,8 +72,12 @@ export const useAchievementsStore = defineStore("achievements", () => {
};
return {
// TODO: rename to unlocked
achievements: computed(() => storage.value.unlocked),
advancement: computed(() => storage.value.advancement),
allObtained: computed(
() => storage.value.unlocked.length === ACHIEVEMENTS.length,
),
unlock,
reset,
isUnlocked: computed(