OSS-first docs

These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.

health.nutrition.list

List normalized nutrition and hydration records from connected providers.

  • Type: operation (query)
  • Version: 1.0.0
  • Stability: experimental
  • Owners: @platform.integrations
  • Tags: health, nutrition, wearables
  • field.key.label
    health.nutrition.list
    field.version.label
    1.0.0
    field.type.label
    operation (query)
    field.title.label
    health.nutrition.list
    field.description.label

    List normalized nutrition and hydration records from connected providers.

  • Type: operation (query)
  • Version: 1.0.0
  • Stability: experimental
  • Owners: @platform.integrations
  • Tags: health, nutrition, wearables
  • field.tags.label
    health,nutrition,wearables
    field.owners.label
    @platform.integrations
    field.stability.label
    experimental

    List normalized nutrition and hydration records from connected providers.

    Goal

    Provide canonical nutrition data for health goals, coaching, and analytics.

    Context

    Used by nutrition reporting, diet workflows, and aggregate health views.

    Source Definition

    import {
    	type AnyOperationSpec,
    	defineCommand,
    	defineQuery,
    } from '@lssm-tech/lib.contracts-spec/operations';
    import type { OperationSpecRegistry } from '@lssm-tech/lib.contracts-spec/operations/registry';
    import { ScalarTypeEnum, SchemaModel } from '@lssm-tech/lib.schema';
    import { HealthNutritionRecord } from '../models';
    import { HEALTH_TELEMETRY_EVENTS } from '../telemetry';
    
    export const HealthListNutrition = defineQuery({
    	meta: {
    		key: 'health.nutrition.list',
    		version: '1.0.0',
    		description:
    			'List normalized nutrition and hydration records from connected providers.',
    		goal: 'Provide canonical nutrition data for health goals, coaching, and analytics.',
    		context:
    			'Used by nutrition reporting, diet workflows, and aggregate health views.',
    		owners: ['@platform.integrations'],
    		tags: ['health', 'nutrition', 'wearables'],
    		stability: 'experimental',
    	},
    	io: {
    		input: HealthListNutritionInput,
    		output: HealthListNutritionOutput,
    	},
    	policy: {
    		auth: 'user',
    	},
    });