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

    Interface ManagedTeam

    A long-lived team profile managed outside of any single game session.

    playerIds mirrors ManagedPlayer.teamIds — keep in sync atomically via syncPlayerTeams().

    interface ManagedTeam {
        archivedAt: Date | null;
        color: string;
        gameLog: GameLogEntry[];
        icon: string;
        id: string;
        labelIds: string[];
        name: string;
        playerIds: string[];
        totalScore: number;
    }
    Index

    Properties

    archivedAt: Date | null

    ISO timestamp when this team was archived, or null if active.

    color: string

    CSS hex colour for the team badge (e.g. '#3a57b7').

    gameLog: GameLogEntry[]

    Ordered participation history. Updated by GameMaster epic.

    icon: string

    Lucide icon key (e.g. 'Zap', 'Shield').

    id: string
    labelIds: string[]

    IDs of ManagedLabels attached to this team.

    name: string
    playerIds: string[]

    IDs of ManagedPlayers on this team.

    totalScore: number

    Cumulative score across all game sessions. Updated by GameMaster epic.