mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-27 23:27:31 +00:00
docs(storage): fix stale nine-category comments after the eight-category shrink
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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 }),
|
||||
|
||||
Reference in New Issue
Block a user