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.

learning.journey.listTracks

List adaptive learning journeys for a learner or product.

  • Type: operation (query)
  • Version: 1.0.0
  • Stability: stable
  • Tags: adaptive-learning, journey, learning
  • File: packages/modules/learning-journey/src/contracts/journey.ts
  • field.key.label
    learning.journey.listTracks
    field.version.label
    1.0.0
    field.type.label
    operation (query)
    field.title.label
    learning.journey.listTracks
    field.description.label

    List adaptive learning journeys for a learner or product.

  • Type: operation (query)
  • Version: 1.0.0
  • Stability: stable
  • Tags: adaptive-learning, journey, learning
  • File: packages/modules/learning-journey/src/contracts/journey.ts
  • field.tags.label
    adaptive-learning,journey,learning
    field.owners.label
    field.stability.label
    stable

    List adaptive learning journeys for a learner or product.

    Goal

    Expose the adaptive journey catalog to UI and API surfaces.

    Context

    Called when rendering journey lists, launchers, or registries.

    Source Definition

    import { defineCommand, defineQuery } from '@lssm-tech/lib.contracts-spec';
    import { defineSchemaModel, ScalarTypeEnum } from '@lssm-tech/lib.schema';
    import { LEARNING_JOURNEY_OWNERS } from './shared';
    
    export const ListJourneyTracksContract = defineQuery({
    	meta: {
    		key: 'learning.journey.listTracks',
    		version: '1.0.0',
    		stability: 'stable',
    		owners: [...LEARNING_JOURNEY_OWNERS],
    		tags: ['adaptive-learning', 'journey', 'learning'],
    		description: 'List adaptive learning journeys for a learner or product.',
    		goal: 'Expose the adaptive journey catalog to UI and API surfaces.',
    		context: 'Called when rendering journey lists, launchers, or registries.',
    	},
    	io: { input: JourneyTrackListInput, output: JourneyTrackListOutput },
    	policy: { auth: 'user' },
    });