@vestra-player/sdk - v1.11.3
    Preparing search index...

    Variable TIMELINE_LIMITSConst

    TIMELINE_LIMITS: Readonly<{ marks: 1000; ranges: 1000; titleChars: 100 }> = ...

    The player's limits on one plugin's timeline layer (TimelineLayer). A list over them fails with code invalid, reported to Scope.onError (set and setRanges never throw). The player's tests check that these agree with the player.

    The plugin publishes the first 1000 of its ranges; the player refuses a longer list whole.

    import { TIMELINE_LIMITS } from "@vestra-player/sdk/testing";

    // A longer list would be refused whole.
    plugin.timeline.layer().setRanges(
    segments
    .slice(0, TIMELINE_LIMITS.ranges)
    .map((s) => ({ ...s, style: "region" as const })),
    );

    1.6.9