docs(storage): fix stale nine-category comments after the eight-category shrink

This commit is contained in:
jubnl
2026-08-20 21:03:44 +02:00
parent a1e8f0f7d3
commit 4588375238
2 changed files with 2 additions and 2 deletions
@@ -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<StorageCategory, string> {
const map = {} as Record<StorageCategory, string>
for (const category of STORAGE_CATEGORIES) {
+1 -1
View File
@@ -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 }),