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.activities.list

List normalized activity entries synced from health integrations.

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

    List normalized activity entries synced from health integrations.

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

    List normalized activity entries synced from health integrations.

    Goal

    Provide app workflows with canonical activity data across providers and transports.

    Context

    Used by analytics dashboards, coaching workflows, and health summaries.

    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 { HealthActivityRecord } from '../models';
    import { HEALTH_TELEMETRY_EVENTS } from '../telemetry';
    
    export const HealthListActivities = defineQuery({
    	meta: {
    		key: 'health.activities.list',
    		version: '1.0.0',
    		description:
    			'List normalized activity entries synced from health integrations.',
    		goal: 'Provide app workflows with canonical activity data across providers and transports.',
    		context:
    			'Used by analytics dashboards, coaching workflows, and health summaries.',
    		owners: ['@platform.integrations'],
    		tags: ['health', 'activities', 'wearables'],
    		stability: 'experimental',
    	},
    	io: {
    		input: HealthListActivitiesInput,
    		output: HealthListActivitiesOutput,
    	},
    	policy: {
    		auth: 'user',
    	},
    });