- Introduced `get_profile_reference_values_current_snapshot` and `get_profile_reference_values_recent_snapshot` functions to retrieve current and recent reference values for profiles. - Updated the placeholder resolver to include new placeholders for current and recent reference values. - Added new API endpoints for fetching current and recent reference values snapshots. - Enhanced the frontend API utility to support the new snapshot endpoints. - Improved unit tests to validate the new data layer functions and their behavior.
41 lines
1.0 KiB
Python
41 lines
1.0 KiB
Python
"""
|
|
Placeholder Registrations Package
|
|
|
|
Auto-imports all placeholder registrations to populate the global registry.
|
|
"""
|
|
|
|
# Import all registration modules to trigger auto-registration
|
|
from . import nutrition_part_a
|
|
from . import nutrition_part_b
|
|
from . import nutrition_part_c
|
|
from . import nutrition_score
|
|
from . import body_metrics
|
|
from . import body_extras
|
|
from . import activity_metrics
|
|
from . import activity_session_insights
|
|
from . import schlaf_erholung
|
|
from . import vitalwerte
|
|
from . import profil_zeitraum
|
|
from . import phase_0b_meta_scores
|
|
from . import phase_0b_ziele_fokus
|
|
from . import korrelationen
|
|
from . import profile_reference_values
|
|
|
|
__all__ = [
|
|
'nutrition_part_a',
|
|
'nutrition_part_b',
|
|
'nutrition_part_c',
|
|
'nutrition_score',
|
|
'body_metrics',
|
|
'body_extras',
|
|
'activity_metrics',
|
|
'activity_session_insights',
|
|
'schlaf_erholung',
|
|
'vitalwerte',
|
|
'profil_zeitraum',
|
|
'phase_0b_meta_scores',
|
|
'phase_0b_ziele_fokus',
|
|
'korrelationen',
|
|
'profile_reference_values',
|
|
]
|