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 sync run history.
Goal
View sync history and status.
Context
Sync monitoring.
Source Definition
import {
defineCommand,
defineQuery,
} from '@lssm-tech/lib.contracts-spec/operations';
import {
AddFieldMappingInputModel,
CreateSyncConfigInputModel,
FieldMappingModel,
ListSyncRunsInputModel,
ListSyncRunsOutputModel,
SyncConfigModel,
SyncRunModel,
TriggerSyncInputModel,
} from './sync.schema';
export const ListSyncRunsContract = defineQuery({
meta: {
key: 'integration.syncRun.list',
version: '1.0.0',
stability: 'stable',
owners: ['@example.integration-hub'],
tags: ['integration', 'sync', 'run', 'list'],
description: 'List sync run history.',
goal: 'View sync history and status.',
context: 'Sync monitoring.',
},
io: { input: ListSyncRunsInputModel, output: ListSyncRunsOutputModel },
policy: { auth: 'user' },
acceptance: {
scenarios: [
{
key: 'list-runs-happy-path',
given: ['User has access to syncs'],
when: ['User lists sync runs'],
then: ['List of runs is returned'],
},
],
examples: [
{
key: 'list-recent',
input: { limit: 10 },
output: { items: [], total: 50 },
},
],
},
});