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.

integration.syncRun.list

List sync run history.

  • Type: operation (query)
  • Version: 1.0.0
  • Stability: stable
  • Owners: @example.integration-hub
  • Tags: integration, sync, run, list
  • File: packages/examples/integration-hub/src/sync/sync.operations.ts
  • field.key.label
    integration.syncRun.list
    field.version.label
    1.0.0
    field.type.label
    operation (query)
    field.title.label
    integration.syncRun.list
    field.description.label

    List sync run history.

  • Type: operation (query)
  • Version: 1.0.0
  • Stability: stable
  • Owners: @example.integration-hub
  • Tags: integration, sync, run, list
  • File: packages/examples/integration-hub/src/sync/sync.operations.ts
  • field.tags.label
    integration,sync,run,list
    field.owners.label
    @example.integration-hub
    field.stability.label
    stable

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