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.

learningJourney.platformTour.getTrack

Fetch platform primitives tour track definition.

  • Type: operation (query)
  • Version: 1.0.0
  • Stability: experimental
  • Owners: examples.learning-journey.platform-tour
  • Tags: learning, platform, tour
  • field.key.label
    learningJourney.platformTour.getTrack
    field.version.label
    1.0.0
    field.type.label
    operation (query)
    field.title.label
    learningJourney.platformTour.getTrack
    field.description.label

    Fetch platform primitives tour track definition.

  • Type: operation (query)
  • Version: 1.0.0
  • Stability: experimental
  • Owners: examples.learning-journey.platform-tour
  • Tags: learning, platform, tour
  • field.tags.label
    learning,platform,tour
    field.owners.label
    examples.learning-journey.platform-tour
    field.stability.label
    experimental

    Fetch platform primitives tour track definition.

    Goal

    Expose track metadata to UIs and templates.

    Context

    Called by Studio/Playground to render journey steps.

    Source Definition

    import { defineCommand, defineQuery } from '@lssm-tech/lib.contracts-spec';
    import { defineSchemaModel, ScalarTypeEnum } from '@lssm-tech/lib.schema';
    import { JourneyTrackModel } from '@lssm-tech/module.learning-journey/contracts/journey';
    import { platformPrimitivesTourTrack } from '../track';
    
    export const GetPlatformTourTrack = defineQuery({
    	meta: {
    		key: 'learningJourney.platformTour.getTrack',
    		version: '1.0.0',
    		stability: 'experimental',
    		owners: ['examples.learning-journey.platform-tour'],
    		tags: ['learning', 'platform', 'tour'],
    		description: 'Fetch platform primitives tour track definition.',
    		goal: 'Expose track metadata to UIs and templates.',
    		context: 'Called by Studio/Playground to render journey steps.',
    	},
    	io: {
    		input: defineSchemaModel({
    			name: 'PlatformTourTrackInput',
    			description: 'Track input',
    			fields: {},
    		}),
    		output: TrackResponseModel,
    	},
    	policy: { auth: 'user' },
    });