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 }),