Riksdagsmonitor Intelligence Platform โ€” API Documentation - v0.8.68
    Preparing search index...

    Module Shared/Types

    Core type definitions for Riksdagsmonitor browser modules. Provides shared interfaces for chart configuration, data loading, and dashboard components.

    Intelligence domain type system โ€” canonical data models for political entities (MPs, parties, coalitions, voting records), risk scoring dimensions, and intelligence product schemas. Ensures type-safe data flow from CIA Platform CSV exports through analysis pipelines to visualization output.

    Developer experience investment โ€” strong typing reduces integration bugs, accelerates onboarding for contributors, and makes the API surface self-documenting. Critical for future developer ecosystem (API consumers, plugin authors, third-party integrations).

    Technical credibility asset โ€” TypeScript type definitions demonstrate engineering maturity to technical audiences (CTOs, developers, open-source community). Publishable as npm types package for ecosystem growth.

    Interfaces

    ThemeColors
    Breakpoints
    ChartOptions
    DataSource
    LoadOptions
    LoadResult
    DashboardModule
    DashboardConfig
    CSVRow
    ChartTooltipContext
    ChartDatasetSpec
    ChartLike
    NewsArticleMetadata

    Type Aliases

    ChartTickValue