Viktorani API - v0.0.8
    Preparing search index...

    Interface DifficultyLevel

    A configurable difficulty tier with a point value and display colour. Stored in the difficulties collection; seeded with Easy / Medium / Hard on first run.

    interface DifficultyLevel {
        color: string;
        id: string;
        name: string;
        order: number;
        score: number;
    }
    Index

    Properties

    Properties

    color: string

    CSS hex colour used in the UI (e.g. '#27ae60').

    id: string
    name: string
    order: number

    Zero-based display order in lists and dropdowns.

    score: number

    Points awarded when a player answers a question at this difficulty correctly.