mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 21:10:59 +00:00
Merge the document layout default and the air quality history into release/v1.42.0
This commit is contained in:
commit
57c44006ee
35 files changed
+1884
-76
No files matched your search
@@ -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({
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user