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.
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',
},
});