feat(yedek): JSON yedeği arayüzü (indir, önizle, geri yükle, geri al)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-13 20:56:51 +03:00
parent 0d70576df7
commit b974525cf6
10 changed files with 463 additions and 3 deletions
+2
View File
@@ -25,6 +25,8 @@ export const queryKeys = {
/** Rapor kırılımı (`query` = sunucu sorgu metni); kayıt değişince `reports` öneki yenilenir */
reportBreakdown: (query: string) => ['reports', 'breakdown', query] as const,
reports: ['reports'] as const,
/** JSON yedeği: son yedek zamanı + geri dönüş noktaları */
backup: ['backup'] as const,
period: (id: string) => ['period', id] as const,
planItems: (id: string) => ['period', id, 'plan-items'] as const,
summary: (id: string) => ['period', id, 'summary'] as const,