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.

achievement.unlocked

An achievement has been unlocked.

  • Type: event (event)
  • Version: 1.0.0
  • Stability: stable
  • Tags: learning, gamification, achievement
  • File: packages/modules/learning-journey/src/events.ts
  • field.key.label
    achievement.unlocked
    field.version.label
    1.0.0
    field.type.label
    event (event)
    field.title.label
    achievement.unlocked
    field.description.label

    An achievement has been unlocked.

  • Type: event (event)
  • Version: 1.0.0
  • Stability: stable
  • Tags: learning, gamification, achievement
  • File: packages/modules/learning-journey/src/events.ts
  • field.tags.label
    learning,gamification,achievement
    field.owners.label
    field.stability.label
    stable

    An achievement has been unlocked.

    Source Definition

    import { defineEvent } from '@lssm-tech/lib.contracts-spec';
    import { defineSchemaModel, ScalarTypeEnum } from '@lssm-tech/lib.schema';
    import { LEARNING_JOURNEY_OWNERS } from './contracts/shared';
    
    export const AchievementUnlockedEvent = defineEvent({
    	meta: {
    		key: 'achievement.unlocked',
    		version: '1.0.0',
    		description: 'An achievement has been unlocked.',
    		stability: 'stable',
    		owners: [...LEARNING_JOURNEY_OWNERS],
    		tags: ['learning', 'gamification', 'achievement'],
    	},
    	payload: AchievementUnlockedPayload,
    });