Riksdagsmonitor Intelligence Platform โ€” API Documentation - v1.0.30
    Preparing search index...

    Variable horizonContextHelpersConst

    horizonContextHelpers: Readonly<
    ย ย ย ย {
    ย ย ย ย ย ย ย ย loadRegistry: () => ArticleTypesRegistry;
    ย ย ย ย ย ย ย ย getArticleType: (id: string) => ArticleTypeEntry;
    ย ย ย ย ย ย ย ย daysToElection: (articleDate: string) => number;
    ย ย ย ย ย ย ย ย activeCycleAnchor: (articleDate: string) => "current" | "next";
    ย ย ย ย ย ย ย ย weoVintage: (articleDate: string) => string;
    ย ย ย ย ย ย ย ย sessionPhase: (
    ย ย ย ย ย ย ย ย ย ย ย ย articleDate: string,
    ย ย ย ย ย ย ย ย ) => "autumn" | "xmas-recess" | "spring" | "summer-recess";
    ย ย ย ย ย ย ย ย horizonContext: (typeId: string, articleDate: string) => HorizonContext;
    ย ย ย ย },
    > = ...

    Public convenience wrappers โ€” exported as a frozen object so callers can spread or destructure without accidentally mutating state.