mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 13:52:20 +00:00
fix(insights): make TRAJECTORY_TYPES a distinct array, not an alias
This commit is contained in:
1 parent
8e00e1615d
commit
01f3374ab0
1 file changed
+3
-1
@@ -310,7 +310,9 @@ export function isVitalsBaselineType(type: string): boolean {
|
||||
* conservative 7–14-day OLS projection is honest; the engine gates anything
|
||||
* without a real trend out to `insufficient` regardless.
|
||||
*/
|
||||
export const TRAJECTORY_TYPES: MeasurementType[] = VITALS_BASELINE_TYPES;
|
||||
// A distinct array (not an alias of VITALS_BASELINE_TYPES) so the trajectory
|
||||
// set can diverge later and stays a single, non-duplicate export.
|
||||
export const TRAJECTORY_TYPES: MeasurementType[] = [...VITALS_BASELINE_TYPES];
|
||||
|
||||
/** `true` when the type is a metric the trajectory engine supports. */
|
||||
export function isTrajectoryType(type: string): boolean {
|
||||
|
||||
Reference in new issue
Block a user