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

    Interface Layout

    A named arrangement of Widgets displayed on the GM screen.

    gameId === null indicates a global reusable template. isActive marks which layout is currently shown in the GM view. The four default layouts correspond to game phases: lobby, active question, scoreboard, and results.

    interface Layout {
        gameId: string | null;
        id: string;
        isActive: boolean;
        name: string;
        order: number;
        target: "admin" | "player";
    }
    Index

    Properties

    gameId: string | null

    null for global templates not tied to a specific game.

    id: string
    isActive: boolean
    name: string
    order: number

    Display order within the layout switcher.

    target: "admin" | "player"