Merge branch 'worktree-agent-abf55bbee56e6ed70' into claude/relaxed-maxwell-c10wof

# Conflicts:
#	src/i18n/locales/ar.ts
#	src/i18n/locales/de.ts
#	src/i18n/locales/en.ts
#	src/i18n/locales/es.ts
#	src/i18n/locales/fr.ts
#	src/i18n/locales/hi.ts
#	src/i18n/locales/id.ts
#	src/i18n/locales/it.ts
#	src/i18n/locales/ja.ts
#	src/i18n/locales/ko.ts
#	src/i18n/locales/nl.ts
#	src/i18n/locales/pl.ts
#	src/i18n/locales/pt.ts
#	src/i18n/locales/ru.ts
#	src/i18n/locales/th.ts
#	src/i18n/locales/tr.ts
#	src/i18n/locales/vi.ts
#	src/i18n/locales/zh.ts
#	src/lib/backup.ts
This commit is contained in:
Claude committed 2026-10-09 15:20:40 +00:00
commit 53d984af8a
30 files changed
+2472 -6

No files matched your search

+20
View File
@@ -57,6 +57,8 @@ export interface MediaItem {
rewatchDates?: string[]
/** Note moyenne du public sur 10 (TMDB ou AniList). */
publicRating?: number
/** Épisodes cochés par jour (AAAA-MM-JJ → nombre), pour les défis. Privé (retiré des profils publics). */
episodeLog?: Record<string, number>
createdAt: string // ISO
updatedAt: string // ISO
@@ -90,6 +92,24 @@ export interface Settings {
themeMode: ThemeMode
/** Notifications reçues (true par défaut si absent). Nécessite un compte. */
notifPrefs?: NotifPrefs
/** Défis de visionnage (synchronisés avec les réglages, privés). */
challenges?: Challenge[]
}
/** Défi : « voir N films en 2026 », « 20 épisodes cette semaine »… */
export interface Challenge {
id: string
/** Objectif (quantité) */
target: number
media: MediaType | 'all'
/** Titres terminés ou épisodes vus */
unit: 'titles' | 'episodes'
period: 'week' | 'month' | 'year' | 'custom'
/** Bornes incluses, AAAA-MM-JJ */
start: string
end: string
name?: string
archived?: boolean
}
/** Types de notifications que l'on choisit de recevoir (true par défaut). */