Merge the document layout default and the air quality history into release/v1.42.0

This commit is contained in:
Marc-André Bombeck committed 2026-10-09 10:02:56 +02:00
commit 57c44006ee
35 files changed
+1884 -76

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ const documentsLayoutSchema = z
arrangement: z
.enum(DOCUMENTS_LAYOUT_ARRANGEMENTS)
.describe(
'`stacked` gives every month its own block; `flow` runs the documents across the full width and wraps, with month names inline. Default "stacked".',
'`stacked` gives every month its own block; `flow` runs the documents across the full width and wraps, with month names inline. Default "flow"; an account that never chose keeps following the default.',
),
})
.meta({
+23
View File
@@ -163,6 +163,29 @@ const environmentOverview = z
.describe(
"The model domain of that day: `cams_europe` (about 11 km, with pollen) or `cams_global` (about 45 km, no pollen).",
),
history: z
.object({
total: z
.number()
.int()
.describe(
"Past days with entries the source can serve at their place (from 2013 in Europe, from August 2022 elsewhere). Older days stay without values.",
),
done: z
.number()
.int()
.describe("Of those, the days whose air quality is stored."),
complete: z
.boolean()
.describe("True when nothing the source serves is left."),
checkedAt: z
.string()
.describe("ISO instant of the run that counted them."),
})
.nullable()
.describe(
"Progress of the background backfill that fills air quality for every past day with entries. Null before its first run and while air quality is off.",
),
})
.describe("v1.42 — the air-quality part of the module."),
latestDay: z