From 4588375238b3cddb5e51ca381f510fdc7b179308 Mon Sep 17 00:00:00 2001 From: jubnl Date: Thu, 20 Aug 2026 21:03:44 +0200 Subject: [PATCH] docs(storage): fix stale nine-category comments after the eight-category shrink --- client/src/components/Admin/storage/storageModel.ts | 2 +- shared/src/storage/storage.schema.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/Admin/storage/storageModel.ts b/client/src/components/Admin/storage/storageModel.ts index 0e1e850ac..b223ed2ec 100644 --- a/client/src/components/Admin/storage/storageModel.ts +++ b/client/src/components/Admin/storage/storageModel.ts @@ -110,7 +110,7 @@ export interface DegenerateMirror { */ export const CACHE_CATEGORIES: readonly StorageCategory[] = ['photos-google', 'places'] -/** The nine categories resolved draft-over-state (draft entries win; defaults fill the rest). */ +/** The configurable categories resolved draft-over-state (draft entries win; defaults fill the rest). */ export function effectiveCategoryMap(state: StorageAdminState, draft: StorageConfig): Record { const map = {} as Record for (const category of STORAGE_CATEGORIES) { diff --git a/shared/src/storage/storage.schema.ts b/shared/src/storage/storage.schema.ts index aa59bf71d..759a99493 100644 --- a/shared/src/storage/storage.schema.ts +++ b/shared/src/storage/storage.schema.ts @@ -223,7 +223,7 @@ export const storageAdminStateSchema = z.object({ categories: z.array(storageCategorySchema), }), ), - // Exhaustive record: the effective world always maps all nine categories. + // Exhaustive record: the effective world always maps all eight configurable categories. categories: z.record( storageCategorySchema, z.object({ backend: z.string().min(1), source: storageCategorySourceSchema }),